You are here: Re: newbie « PHP Programming Language « IT news, forums, messages
Re: newbie

Posted by none on 06/29/07 19:56

Reggie wrote:
> On 29 Jun, 12:54, none <""arjen\"@(none)"> wrote:
>> Reggie wrote:
>>> Parse error: syntax error, unexpected '=' in /home/fhlinux169/c/
>>> clashoff.co.uk/user/htdocs/create_entry.php on line 8
>>> Hi i seem to be getting this error message please help.
>>> This is the code am useing:
>>> <?php
>>> if ($submit = = "Register")
>> try ==
>> and don use globals (google)
>
> hi do you mean i should switch off my global?
>
Yup, there are some disadavantages. Fiorst of all it's a huge secuirity
risk (yourpage.com/index.php?user=admin). Second it will not work on all
servers so you have to rewrite your code if you move. Third it's harder
to read for example $_POST['id'] will tell me more then $id

Arjen

 

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

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