Re: [PHP] error-catching

2002-05-09 Thread Herbert Mraz
Gert, to prevent PHP to output any error messages, you can prefix the expression with @, i.e. $db = @mysql_connect( $host, $user, $password) or die ('Sorry, server is down!'); Greetings, Herb - Original Message - From: "Gert Mellak" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thur

Re: [PHP] Re: How do I Install PHP on Apache 2, on win32

2002-05-03 Thread Herbert Mraz
Vincent, as register_globals is off, I use echo $SERVER['PHP_SELF']; which works fine... though everything has to be uppercase, what surprised me! Herb - Original Message - From: "Vincent Kruger" <[EMAIL PROTECTED]> To: "Herbert Mraz" <[EMAIL P

Re: [PHP] Re: How do I Install PHP on Apache 2, on win32

2002-05-02 Thread Herbert Mraz
No problem here (Apache 2 / PHP 4.2.0 / win2k): Following went to httpd.conf: LoadModule php4_module c:/PHP/experimental/apache2filter.dll AddType application/x-httpd-php .php Dropped the 'AddModule' - line, seems not to be needed anymore! BTW, for those who read my postings about

Re: [PHP] $_POST[] - last character cut away!!

2002-04-29 Thread Herbert Mraz
HTML - body contains: test.php contains: when I type in: 'example' test.php echoes : 'exampl' string-length doesn't matter... > On Mon, 29 Apr 2002, Herbert Mraz wrote: > > Strange problem here (win2k - iis 5.0 - php 4.2.0): &g

[PHP] $_POST[] - last character cut away!!

2002-04-29 Thread Herbert Mraz
Strange problem here (win2k - iis 5.0 - php 4.2.0): whenever I send formdata by POST-method, the last character gets stripped...everything's fine when I use GET! I tried various different (HTML-) input types, same everywhere... register_globals is off, which shouldn't make a difference? Anybody