Not Valid URL
| From: | Kamil Walas | Date: | Mon, 23 Feb 2009 20:42:48 +0000 |
| Subject: | Not Valid URL | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-45999@lists.php.net to get a copy of this message | ||
Hi,
I stuck with something like this. I have two file test.html with only '<a href="../index.php">AAAAAAAAaaa</a>' and main.php with
'<?php
echo file_get_contents('test.html').'<br>';
echo '<a href="../index.php">AAAAAAAAaaa</a>';
?>'
The problem is tak this two links are different.
First is http://localhost/game/php/%5C%22../index.php%5C%22
Second is http://localhost/game/index.php
Paste from FireFox:
AAAAAAAAaaa <http://localhost/game/php/%5C%22../index.php%5C%22>
AAAAAAAAaaa <http://localhost/game/index.php>
I copy file to remote serwer at work and school and both are the same. Problem is somewhere in my computer. I think in my php configuration, but I don't know where to look.
Would appreciate it greatly if anyone can help.
Regards,
Kamil Walas