You are here: Re: PHP parser error only on production box « PHP Programming Language « IT news, forums, messages
Re: PHP parser error only on production box

Posted by Janwillem Borleffs on 06/20/07 20:57

Mani wrote:
> <form action = "<?php$_SERVER['php_self']?>" method = "GET" >
>

This will just throw a notice because the $_SERVER array doesn't contain a
php_self key (only a PHP_SELF key). The semicolon is not mandatory in this
case, because of the closing tag and the absence of trailing code. Not using
echo or print, won't trigger alarms either...


JW

 

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

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