i got the same error, i have tried re install xampp and i have tried reinstall ubuntu many times.... please anyone who got it to work tell me how?
this is the only reason im not sure i want linux
jeggy wrote:i got the same error
<?php
$a = $_GET['u'];
echo $a;
?>
jeggy wrote:on http://localhost/index.php , but when it is http://localhost/index.php?u=abc it works and print out "abc"
<?php
if(isset($_GET['u'])) {
$a = $_GET['u'];
} else {
$a = 'foo';
}
echo $a;
?>
Users browsing this forum: No registered users and 9 guests