You are here: Re: [PHP] how to post a question? « PHP « IT news, forums, messages
Re: [PHP] how to post a question?

Posted by Chirantan Ghosh on 07/22/05 19:13

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
>
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация