Re: [PHP-MIGRATION] Escaping from HTML / incompatibilities
[email protected] (Stanislav Malyshev) Thu, 8 Jun 2000 11:02:19 +0300 (IDT)
| Newsgroups | php.migration |
|---|---|
| Organization | Zend Technologies Ltd (http://www.zend.com/) |
| Message-ID | <[email protected]> |
BP>> Does PHP4 no longer allow to escape from HTML within an HTML tag? This Why not? It does. BP>> obviously would be stricter where SGML/XML is concerned, but should be BP>> listed under 'incompatibilities' on php.net/version4/ as it is a widely BP>> used, if undocumented, feature of php3. BP>> BP>> Example: BP>> BP>> Code line and results BP>> BP>> <A HREF="<? echo $SCRIPT_NAME ?>">go</A> BP>> BP>> PHP3: <A HREF="/mypage.php">go</A> BP>> PHP4: <A HREF="">go</A> Maybe you just don't have this variable set for some reason? This should work in PHP 4 as well. -- Stanislav Malyshev [email protected] +972-3-6139665