php-windows | 2003112
Date: 11/27/03
- Next message: Disko_kex: "RE: [PHP-WIN] i need help"
- Previous message: Hasan Barış Karayel: "[PHP-WIN] i need help"
- In reply to: Hasan Barış Karayel: "[PHP-WIN] i need help"
- Next in thread: Disko_kex: "RE: [PHP-WIN] i need help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Do you have register_globals on?
If not, try this:
<?php
echo "<br>Your username = " . $HTTP_GET_VARS['username'] . "<br>";
echo "Your password = " . $HTTP_GET_VARS['password'] . "<br>";
?>
Regards
Mike
-----Original Message-----
From: Hasan Barış Karayel [mailto:h_b_k302 <email protected>]
Sent: Thursday, November 27, 2003 11:26 AM
To: php-windows <email protected>
Subject: [PHP-WIN] i need help
Hi
i am new in PHP...
i made very a simple code but it did not work properly...
this is my code:
<!-------------------------- index1.php"
-------------------------------------------->
<html>
<head><title>::WaterBike Team Istanbul - ITU::</title></head> <body bgcolor
= "black"> <font color = white> <a
href="index1.php?username=baris&password=bkarayel">Show my password</a>
<?php echo("<br>Your username = ". $username."<br>"); echo("Your password =
". $password."<br>"); ?> </font> </body> </html>
when i click the link, i expect this output:
Show my password
Your username : baris
Your password : bkarayel
But the output is:
Show my password
Your usename :
Your password :
what is the problem?(note: my system is windows 98 - apache 2.0.48 - php
4.3.4)
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Disko_kex: "RE: [PHP-WIN] i need help"
- Previous message: Hasan Barış Karayel: "[PHP-WIN] i need help"
- In reply to: Hasan Barış Karayel: "[PHP-WIN] i need help"
- Next in thread: Disko_kex: "RE: [PHP-WIN] i need help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

