[PHP-DB] Not Valid URL

2009-02-23 Thread Kamil Walas
Hi, I stuck with something like this. I have two file test.html with only 'a href=../index.phpaaa/a' and main.php with '?php echo file_get_contents('test.html').'br'; echo 'a href=../index.phpaaa/a'; ?' The problem is tak this two links are different. First is

Re: [PHP-DB] Not Valid URL

2009-02-23 Thread Niel Archer
Hi, I stuck with something like this. I have two file test.html with only 'a href=../index.phpaaa/a' and main.php with '?php echo file_get_contents('test.html').'br'; echo 'a href=../index.phpaaa/a'; ?' The problem is tak this two links are different.

Re: [PHP-DB] Not Valid URL

2009-02-23 Thread Kamil Walas
Yes, it is \. But in my file i have only a href=../index.phpaaa/a. There is no '. I figured out that: echo stripslashes( file_get_contents('test.html') ); works for the link but it didn't work when I try to print entire website. So I'm stuck, again. Regards, Kamil Walas Niel Archer