Re: Problems with remote include
| From: | Chris Shiflett | Date: | Wed, 29 Oct 2003 20:17:40 +0000 |
| Subject: | Re: Problems with remote include | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-168056@lists.php.net to get a copy of this message | ||
--- Pablo Zorzoli <plz@aconectarse.com> wrote:
> i see one line containing the expected html code.The scrip is a
> counter that outputs the img tags to fecth the images:
>
> <img src="digit4.gif"><img src="digit2.gif">
>
> that's all i get, and all i would like to get with the remote
> include.
That seems right, unless I'm missing something obvious. I think you already
mentioned that you have configured to allow URL opens. So, can you tell us what
something like this produces?
<?
include('http://www.google.com/');
?>
That should basically take Google's HTML and make it your own. The image will
obviously not work, but it should otherwise look like Google's home page.
Chris
=====
My Blog
http://shiflett.org/
HTTP Developer's Handbook
http://httphandbook.org/
RAMP Training Courses
http://www.nyphp.org/ramp