[PHP] R: strip ALL HTML tags in a page so only the text

2001-09-05 Thread Ouster
I think the best way is to use regular expressions. Erik <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED] > I'm develloping a mail application, wich sends single part e-mail with PHP. > for users who want the text version, I want to strip the HTML version and > send what's left (plain text)

[PHP] 304 Not Modified

2001-09-05 Thread Ouster
I'm making a sort of cache system. I fell to this problem: I leave a cookie with the timestamp of the last access, and when the user reconnect, I compare the timestamp of the last change with the timestamp sent me with the cookie. Then I leave a new cookie. So: if($last_modified <= $last_access)