[PHP] automatic deallocation

2001-07-28 Thread Erick Calder
I've searched through the manuals and newsgroups but haven't found an answer. maybe someone on this list can tell me whether PHP will automatically de-allocate filehandles and database connections upon script termination? i.e. do I always need to call fclose() and mysql_close() before the

[PHP] END block

2001-07-28 Thread Erick Calder
is there an equivalent to Perl's END block? i.e some way to automatically run certain code when a page is about to end? 1k thx - e -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

RE: [PHP] :(

2001-07-29 Thread Erick Calder
your code works for me. it would be helpful to know how your code doesn't work. does it pop the window at all? couple of suggestions: use onClick instead of onclick - if I recall correctly case matters in Javascript event names depending on your browser. also, you don't need to use the

[PHP] wish list

2001-08-01 Thread Erick Calder
does anybody know how to submit a feature request? I can't do it via the bug reporting mechanism. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL

[PHP] wish list?

2001-08-01 Thread Erick Calder
does anybody know how to submit a feature request? I can't do it via the bug reporting mechanism. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL

RE: [PHP] wish list?

2001-08-01 Thread Erick Calder
To: Erick Calder; [EMAIL PROTECTED] Subject:RE: [PHP] wish list? -Original Message- From: Erick Calder [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 01, 2001 2:24 PM To: [EMAIL PROTECTED] Subject: [PHP] wish list? does anybody know how to submit a feature request? I can't

[PHP] field values in multipart/form

2001-07-13 Thread Erick Calder
Hi, I'm running PHP 4.0.4pl1 on a RedHat 7.0 box. I have the following problem: when using ENCTYPE=multipart/form for a FORM, PHP receives the values of fields with a prepended \n e.g. with: PRE ? if ($f1) { echo test: /$f1/; exit; } ? /PRE FORM ENCTYPE=multipart/form INPUT TYPE=TEXT

RE: [PHP] Regex Help

2001-07-13 Thread Erick Calder
Sheridan, I didn't test this in PHP, I'm more familiar with the Perl Regex, but this might work for you, play with it: /img\s*src=([^ ]*)/ note: \s = whitespace and the [^ ] means any nonspace character... the only issue remaining that you might find s or 's around the string matched into the