RE: [PHP-WIN] PHP problem
| From: | Jill dot Ramonsky at Aculab dot com | Date: | Fri, 25 Apr 2003 13:25:18 +0000 |
| Subject: | RE: [PHP-WIN] PHP problem | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-19617@lists.php.net to get a copy of this message | ||
Do this:
-- test2.php code --
<?php
echo "<a href='next.php?var=testing'>Next</a>";
?>
-- next.php code --
<?php
echo $_GET["var"];
?>
-----Original Message-----
From: Matt Palermo [mailto:mpalermo@vt.edu]
Sent: Friday, April 25, 2003 1:29 AM
To: php-windows@lists.php.net
Subject: [PHP-WIN] PHP problem
I found out what is wrong with my PHP setup. It isn't allowing me to pass
values through the url using the ?. I can verify this through this example:
(these pages located at http://204.212.239.213/)
-- test2.php code --
<?php
echo "<a href='next.php?var=testing'>Next</a>";
?>
-- next.php code --
<?php
echo "$var";
?>
When I get there, the page is empty, and nothing is displayed. Is there
something in the php.ini file that I need to enable to pass variables
through urls? Let me know if you have any ideas. Thanks.
Matt
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php