Hello from a fellow BFV player... You don't want to just execute that code from the shell -- it won't necessarily do what you want. (As you've seen...) Instead, you want the webserver to kinda help you out. Try this: $url = "http://www.flashwebb.se/bf1942live/vietnam.pl"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,$url); // set the url curl_setopt($ch, CURLOPT_FAILONERROR, 1); // handle errors curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);// allow redirects curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); // return into a variable curl_setopt($ch, CURLOPT_TIMEOUT, 20); // times out after a little while $htmlData = curl_exec($ch); // run the whole process echo $htmlData; 'Course, this assumes you have curl installed. Presumably, you could use fopen as an alternative. -- jon ------------------- jon roig web developer email: jon@xxxxxxxxxxxxxxxxxx phone: 888.230.7557 -----Original Message----- From: Peter Hansen [mailto:peter@xxxxxxxxxxxx] Sent: Friday, April 16, 2004 4:46 AM To: php-windows@xxxxxxxxxxxxx Subject: Anyone who can help me?????? Hello i need some help with my battlefield livestat i have two website www.flashwebb.se and www.flashwebb.com and the help i need is on the www.flashwebb.com site You can look here http://www.flashwebb.se/bf1942live/vietnam.pl and see it on action so now i have download the php nuke and i want to have the same page as above when i click on a link to my new site ..And i been told to make a php page and put this code to call the vietnam.pl <?php require_once("mainfile.php"); include("header.php"); $content = `/C:/Inetpub/com/html/bf1942live/vietnam.pl`; print $content; include("footer.php"); ?> and i save the page as bflive.php and put a link to it on my page http://www.flashwebb.com/bflive.php so now when i click on the link i get this errormessage Warning: shell_exec(): Unable to execute '/C:/Inetpub/com/html/bf1942live/vietnam.pl' in C:\Inetpub\Com\html\bflive.php on line 7 You can see for your self here http://www.flashwebb.com/bflive.php so now i don't know what's wrong i want the page vietnam.pl to come up when i click on the link as you can do by click on the link below and see the error message http://www.flashwebb.se/bf1942live/vietnam.pl I'am running win2003 Anyone who can help me here??? Regards Peter -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.657 / Virus Database: 422 - Release Date: 4/13/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.657 / Virus Database: 422 - Release Date: 4/13/2004 -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php