[PHP] Re: emailing a web-page

2003-02-24 Thread Arjan Gijsberts
That shouldn't be a problem. You could use fopen() to open the file. "Neko" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > update: > > I think I just need to work out how to grab a web-page and include it into a > string to supply to the mail I'm generating (using pear). Provided th

[PHP] Re: Live chat screen

2003-02-24 Thread Arjan Gijsberts
Immediately won't be possible as far as I know. For that, you have to create a server socket, which is not (easily) able in php-scripts. But you can use javascript to refresh the page. You could even create a 0 frame which reloads by javascript and use DHTML to add the messages to the main chat fra

Re: [PHP] emailing a web-page

2003-02-24 Thread Arjan Gijsberts
Call to the mail function like this, notice the Content-type header to be set to HTML mail($emailaddress, $subject, $email, "From: Me <$myemailaddress>\r\nContent-type: text/html; charset=iso-8859-1\r\n"); Make sure that $email contains plain text html. I guess you already know how to generate th

[PHP] Question about how to use pfsockopen()

2003-02-24 Thread Arjan Gijsberts
I'd like to know how to use the pfsockopen() method correctly. I'm experimenting with creating a webbased IM client. I was hoping I could resume a socket from script to script (by using POST or GET or a Session). This is not working. In the documentation I found that php looks if a connection to th