Re: how to post a question?

From: Date: Fri, 22 Jul 2005 16:13:05 +0000
Subject: Re: how to post a question?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-219229@lists.php.net to get a copy of this message
Hi Ryan, I tried that first & also after you wrote with no avail. ( This should be very elemental) ========= <?php $filename = file_get_contents('http://www.dtcc.com/ThoughtLeadership/menu.htm'); echo $filename; ?> ========= I am trying this html in a local machine. I preview it Internet Explorer (which has access to net). Does it matter if the HTML file is not residing in a domain?( I didn't think so but no harm asking) Thanks a bunch for taking interest, Chirantan ----- Original Message ----- From: "Ryan A" <ryan@coinpass.com> To: <cghosh@primarywave.com> Cc: "php" <php-general@lists.php.net> Sent: Friday, July 22, 2005 12:10 PM Subject: Re: [PHP] how to post a question?
Hey, Getting the code from the remote site is easy enough, you just gotto find the images now, but heres something that should get you the basic code including the javascript: <?php $filename = file_get_contents('http://www.dtcc.com/ThoughtLeadership/menu.htm'); echo $filename; ?> once you have the code, start converting the relative image paths to full image paths, should work. Cheers, Ryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#219229) next »