Re: [PHP] Weird fileupload problem

2002-09-09 Thread Trond Arve Nordheim
ing about superglobals beeing emptied out :) Reading the list archives as we speak ;) -- Trond Arve Nordheim - "This message is ROT13-encrypted twice for extra security." msg78323/pgp0.pgp Description: PGP signature

[PHP] Weird fileupload problem

2002-09-09 Thread Trond Arve Nordheim
7374182400 php_flag post_max_size 107374182400 ...so, uploading small files works perfectly, but large files just empties the superglobal arrays... Is there any other settings I have to change for this to work? -- Trond Arve Nordheim - "This message is ROT13-encrypted twice for extra securit

Re: [PHP] Unexpected addslashes/stripslashes-behaviour?

2002-06-05 Thread Trond Arve Nordheim
on't know why, but I've always been sure I had to use it.. ohwell, thanks :) -- Trond Arve Nordheim - "This message has been ROT13-encrypted twice for extra security" -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Unexpected addslashes/stripslashes-behaviour?

2002-06-05 Thread Trond Arve Nordheim
When I pull the text back out, and run stripslashes on the text, the result is: "This sucks :".. the \ is gone... Is it supposed to do this? As far as I've seen I need stripslashes on data from a DB already addslashed... so.. what's going on? -- Trond Arve Nordheim - "Th

Re: [PHP] need help on ereg statement

2002-05-04 Thread Trond Arve Nordheim
On Sat, May 04, 2002 at 02:42:34PM +0200, Andy wrote: > if (ereg("^[A-Za-z0-9]",$new_passw)) if (!preg_match("/^[a-zA-Z0-9]*$/", $new_passw)) { echo "invalid"; } preg-power! :) -- Trond Arve Nordheim - "This message is ROT13-encrypted twice for extr

[PHP] Re: SQL session handler problem

2002-05-03 Thread Trond Arve Nordheim
On Sat, May 04, 2002 at 01:10:14AM +0200, Trond Arve Nordheim wrote: > $session->setHandler(); /* This will define session handlers */ That's $session->setHandler($session) of course.. getting tired here ;) -- Trond Arve Nordheim - "This message is ROT13-encrypted twice

[PHP] SQL session handler problem

2002-05-03 Thread Trond Arve Nordheim
he default session handler ;) */ ..then, I set a session variable: $_SESSION["test"] = "TESTING"; then, the $session->_write() functions gets executed, but the data parameter is blank. Can anyone tell me what I'm doing wrong here? I'm running PHP 4.2.0 on Apache 1.3.24

Re: [PHP] HTTP gzip-compression and fopen

2002-04-17 Thread Trond Arve Nordheim
On Thu, Apr 18, 2002 at 01:55:47AM +0200, Trond Arve Nordheim wrote: > Now, it seems like slashdot is doing som on-the-fly gzip-compression (it > sends a "Content-Encoding: gzip"-header), and that fopen can't cope with > this, and I'm stuck with some binary data. I&

[PHP] HTTP gzip-compression and fopen

2002-04-17 Thread Trond Arve Nordheim
reading the manual and doing some google-searches, but I can't seem to find an answer anywhere. -- Trond Arve Nordheim - "This message is ROT13-encrypted twice for extra security." msg58634/pgp0.pgp Description: PGP signature

[PHP] Mcrypt-problems

2002-02-08 Thread Trond Arve Nordheim
1.3.23, php 4.1.1. Here's the mcrypt version information: Mcrypt v.2.5.10 (i686-pc-linux-gnu) Linked against libmcrypt v.2.4 (the mcrypt-packages are the current available libmcrypt/mcrypt-packages in debian testing) -- Trond Arve Nordheim - "This message is ROT13-encrypted twice for ex