Reply to Re: Help with variables

Your name:

Reply:


Posted by Ed Koren on 10/10/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 =----

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация