Dear Friend's: can any one help me please ... iam trying to post a URL from a page(1) to PHP page(2) to do: the Address of page(2) must remain in my root like: http://myweb.com/page(2).php but the page displayed in the page(2) actually must be the url page wich posted from page(1). is it possible ..? can any one advice me please ..?
Example: Page1 post the variable $url="www.yahoo.com" and my page2.php location is myweb.com/page2.php i want to have in page2.php the yahoo page .. and the address : myweb.com/page2.php
thanx alot in advance ..
Have you looked at the file system functions? fopen(), file(), etc... can work for you (just retrieve the requested page in page2.php....
Thanx dear .. but please can u explain me more about the way to use this function and what this function do .. please ..
thanx in advance ...
OK honey...here's one option:
page2.php code
$this_file = file("http://www.yahoo.com");
while(list(,$line) = @each($this_file)) { echo $line; }
Keep in mind this doesn't change any url locaitons that may exist on the page....