Re: [PHP] geocities and php

2001-04-04 Thread Plutarck

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"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] geocities and php

2001-04-02 Thread Krznaric Michael

Try cURL

http://www.php.net/manual/en/ref.curl.php

You can send anything you want.

Mike

-Original Message-
From: Joseph Bannon [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 02, 2001 5:36 AM
To: [EMAIL PROTECTED]
Subject: [PHP] geocities and php


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] geocities and php

2001-04-02 Thread Joseph Bannon

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]