I have a following code
in something.php which actually renders a javascript
on one machine I get promt as valid and on one machine I get it as invalid. Do u know the reason?
| Code: |
|
<?php session_start();?> <html> <head> <script src="something.php" language =javascript></script> ........ <body> <?php $_SESSION['user']="hello"; ?> Code to refresh the page |
in something.php which actually renders a javascript
| Code: |
|
<? if($_SESSION['user') { echo "alert('valid')"; } else { echo "alert('invalid'); } |
on one machine I get promt as valid and on one machine I get it as invalid. Do u know the reason?
