Not Valid URL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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


[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux