Re: geocities and php
| From: | Plutarck | Date: | Thu, 05 Apr 2001 06:39:59 +0000 |
| Subject: | Re: geocities and php | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-47188@lists.php.net to get a copy of this message | ||
Sure you can, but the only way I know of is to use fsockopen() and use
fputs() to mimick an HTTP connection session.
Obviously not a fun way of doing it, but it's the only way I'm aware of.
To fake geocities you'll need to set the referer, I believe. Not sure what
it needs to be set to, however.
--
Plutarck
Should be working on something...
...but forgot what it was.
""Joseph Bannon"" <joseph@iwebsitesoftware.com> wrote in message
news:NEBBJPFPMLBIJMIFFHFJOEMJCJAA.joseph@iwebsitesoftware.com...
> I notice that geocities does not allow you to reference images that are on
> their servers to your homepage on another server/host. Is there a way to
> make PHP send different host information to geocities' server?
>
> Thanks,
> J
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>