Re: [PHP] PHP and geocities

2001-04-05 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,

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 lear

[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 thi