note 19420 added to features.remote-files
| From: | jt at gno dot de | Date: | Tue, 26 Feb 2002 22:24:07 +0000 |
| Subject: | note 19420 added to features.remote-files | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-27102@lists.php.net to get a copy of this message | ||
Greg: I had your problem, too, and I simply solved it by defining a <base href> tag in the
script's HTML header. This points all relative links and image sources of the included page to
the defined URL.
E.g. you run your script on yourhost.com and you include a site from php.net then you would define
<base href="http://www.php.net">
Of course you have to make your own references in the script global!
--
http://www.php.net/manual/en/features.remote-files.php
http://master.php.net/manage/user-notes.php?action=edit+19420
http://master.php.net/manage/user-notes.php?action=delete+19420
http://master.php.net/manage/user-notes.php?action=reject+19420