[PHP-WIN] i need help

2004-05-17 Thread Student
Hi i was hoping if someone can help; I want to trim the following text [i:abcdef] but the inside text is different at time eg abcdef, bcdefg, etc etc how can i trim [i:(some text here)] so that i can replace them with nothing. eg these are to be trimmed. [i:abcdef] [i:bcdefg] [i:xyzab] [i:prif

RE: [PHP-WIN] PHP 5 try catch block

2004-05-17 Thread Svensson, B.A.T. (HKG)
What is generating these exceptions? Java? -Original Message- From: Charles P. Killmer To: [EMAIL PROTECTED] Sent: 17-5-2004 19:50 Subject: [PHP-WIN] PHP 5 try catch block Has anyone figured out how to catch fatal errors? Something like a script like this with an obvivous parse error.

RE: [PHP-WIN] PHP 5 try catch block

2004-05-17 Thread Charles P. Killmer
I am trying to catch any error that could occur not just account for the ones that I can think of. But yes I do use isset pretty often. But I am looking for something to catch any error before the script bombs out. Charles Killmer -Original Message- From: Daniel Anderson [mailto:[EMAIL

[PHP-WIN] PHP 5 try catch block

2004-05-17 Thread Charles P. Killmer
Has anyone figured out how to catch fatal errors? Something like a script like this with an obvivous parse error. I want to know how to catch any klind of error so I can deal with it gracefully instead of crashing the CGI. Charles Killmer Netgain Technology [EMAIL PROTECTED] Office: (320)

RE: [QRfsoto]: RE: [PHP-WIN] Session troubles

2004-05-17 Thread Svensson, B.A.T. (HKG)
It's only that idiot (quickcop) at QUICK.COM again - use to pop up once every half year or so -Original Message- From: Charles P. Killmer To: [EMAIL PROTECTED] Sent: 17-5-2004 16:47 Subject: FW: [QRfsoto]: RE: [PHP-WIN] Session troubles I know this isnt the place, but this bugs the he

FW: [QRfsoto]: RE: [PHP-WIN] Session troubles

2004-05-17 Thread Charles P. Killmer
I know this isnt the place, but this bugs the hell out of me. Why would someone sign up for a mailing list and then not want to receive emails by default. I am not going to go through extra work to help someone that is asking for help. I hate spam as much as anyone but I will not require othe

RE: [PHP-WIN] Session troubles

2004-05-17 Thread Ron.Herhuth
THAT DID THE TRICK Excellent...thanks Charles! >From: Charles P. Killmer >To: [EMAIL PROTECTED] >Sent: 05/17/2004 10:39 AM >When you use the header function, you must include the SID. There are >numerous ways to do this but the way that I use is like this. > >session_start(); >$row['id']=545

RE: [PHP-WIN] Session troubles

2004-05-17 Thread Charles P. Killmer
When you use the header function, you must include the SID. There are numerous ways to do this but the way that I use is like this. session_start(); $row['id']=545; $_SESSION['individual_id'] = $row['id']; header("location:dataFilterExpander.php?".sid); Charles Killmer -Original Message

Re: [PHP-WIN] Session troubles

2004-05-17 Thread Cory D. Wiles
Though i can not verify this at the moment. I had a similar problem, but not with sessions and the notice steams from not having a var declared. To get rid of the error you have to turn e_notice off. Something like this: error_reporting = E_ALL & ~E_NOTICE Here is a good explanation of what was

[PHP-WIN] Session troubles

2004-05-17 Thread Ron.Herhuth
For some reason I am not able to get sessions to work. This is the code I have entered on the first page: session_start(); $row['id']=545; $_SESSION['individual_id'] = $row['id']; header("location:dataFilterExpander.php"); On page two this is the code I'm using: session_start(); if(empty($_