You are here: Re: Why won't variable echo? « PHP Programming Language « IT news, forums, messages
Re: Why won't variable echo?

Posted by Jerry Stuckle on 10/19/06 13:00

aeg wrote:
> affiliateian@gmail.com wrote:
>
>>Just moved web hosts and noticed that this:
>>
>><?php echo "$f"; ?>
>>
>>used to work when there was an ?f= in the URL like so:
>>http://www.mydomain.com/index.html?f=yes
>>
>>Now it doesn't at the new host.
>>
>>I want to echo out "yes" in the HTML.
>>
>>Any ideas?
>>
>>TIA.
>
>
> Just at tip, for security reasons you may want to addslashes ie
> addslashes($_GET['f]) else people could inject into your site.
>

Addslashes won't do a thing here - except maybe screwup the output he's
echoing.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this 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

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