Posted by Ed Koren on 09/26/84 11:17
sideburn wrote:
> I cant figure out why my variables aren't getting to my php file
>
> If I have a file called test.php and the contents look like this:
>
> <?php
> echo $example;
> ?>
>
> Why doesn¹t it echo my string if I do this:
>
> http://www.mydomain.com/test.php?example=test
Hi there,
Most likely you have register_globals turned off. Try <?php echo
$_GET['test']; ?> and check out this link:
http://us2.php.net/register_globals
--
Koren Web Design Services
www.korenwebdesign.com
(304) 453 2145
----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Navigation:
[Reply to this message]
|