Re: [PHP] PHP and geocities

2001-04-06 Thread Plutarck

Also check out the CURL group of functions in the manual.

As for code, nope. Never needed to do it, and you won't find the code you
need anywhere. You'll have to write it yourself. Which is kind of the point,
I thought...


 You'll find all the info you need in the manual under fsockopen, fgets,
fputs, and probably a few RFCs. Check zend for the output buffering article
to get some information also.

The rest is up to you to hack out.


--
Plutarck
Should be working on something...
...but forgot what it was.


""Joseph Bannon"" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  Sure you can, but the only way I know of is to use fsockopen() and use
  fputs() to mimick an HTTP connection session.

 Can you give me the coding for this?



  To fake geocities you'll need to set the referer, I believe. Not sure
what
  it needs to be set to, however.

 What is the code for this as well?


 Thanks,
 J






 Say I'm Hot! - Post Your Picture!
 http://www.sayimhot.com



















 --
 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] PHP and geocities

2001-04-05 Thread Joseph Bannon

 Sure you can, but the only way I know of is to use fsockopen() and use
 fputs() to mimick an HTTP connection session.

Can you give me the coding for this?



 To fake geocities you'll need to set the referer, I believe. Not sure what
 it needs to be set to, however.

What is the code for this as well?


Thanks,
J






Say I'm Hot! - Post Your Picture!
http://www.sayimhot.com



















-- 
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] PHP and geocities

2001-04-05 Thread CC Zona

In article [EMAIL PROTECTED],
 [EMAIL PROTECTED] ("Joseph Bannon") wrote:

  Sure you can, but the only way I know of is to use  fsockopen() and use
  fputs() to mimick an HTTP connection session.
 
 Can you give me the coding for this?

The annotated docs contain many code samples to learn from, use, adapt, 
whatever.  Tip: the quick way to jump to a function in the manual is to 
append the function's name to "http://www.php.net/".

So...
http://www.php.net/fsockopen
http://www.php.net/fputs

-- 
CC

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