Hi,
Im having problems with the gzinflate and gzdeflate commands...
I am trying to deflate a string of email addresses... If I only have one
email address it will deflate and then inflate...
If I add another email address to the string then when i try to inflate
the string I get a buffer
Hi,
I am trying to insert compressed data into a database.
Inserting it in seems to work file:
$data = addslashes(gzdeflate($data, 9));
insert into database
For the most part it works on reteiving the data but sometimes the data is unreadable.
extract from database
$data = @gzinflate($data);
Hi,
According to the PHP manual session_start always returns true.
Ther are times (like when there is a disk full error on the server) that the
sesison_start will fail because its unable to write the session tmp file.
So shouldnt session_start be able to return false if the file write fails?
So how do I check if the session write failed?
I thought perhaps
if(session_id() == ){
echo error;
}
but if all session_start does is basically assign a session ID then
session_id will never be empty even when the write fails.
Thanks! :)
--
PHP General Mailing List
[snip]
Not to be nosey or anything but usually session data will always be saved
or not. How come one would want to check to see if is was or not.
[snip]
Maybe I am on the wrong track but the other day I got a
Hi,
I have a page that has an include at the top of the page and an include at the bottom
of the page.
in the top include file I have added the command:
ob_start(ob_gzhandler);
in the bottom include I have added:
ob_end_flush(); -- i thought this was supposed to be run to clean up at the
of the page before the ob_start is called?
*guess* you're including the footer twice, or are calling ob_end_flush()
more than once.
not anywhere near sure though!!
Justin
21/03/03 11:33 PM, Mr Percival ([EMAIL PROTECTED]) wrote:
Hi,
I have a page that has an include at the top
7 matches
Mail list logo