[PHP] My system don't store session data, anybody can help me!!

2001-02-26 Thread Securez
In my system i have apache-1.3.17, (i probe 1.3.14 but the problem persist), when i register a variable the session is generatet and a file sess_f5g ... is generated under /tmp but the file is empty size=0, and no data is stored. ?php session_start(); if( !isset( $c)) {

RE: [PHP] My system don't store session data, anybody can help me!!

2001-02-26 Thread Securez
This is a correction: I create a new dir /usr/local/tmp with this perms: rwxrwxrwtrootroot and change the dir for store session data to /usr/local/tmp and works, but in certain situation the some data aren't sotored, :(. in /tmp don't store data why?? I set loogin to a file if i set

[PHP] I have a great problem with sessions, can anybody help me!!!

2001-02-22 Thread Securez
I install a new system RH6.2 width some updates the kernel is a 2.2.17-14 I use Apache 3.1.14 whit PHP 4.0.4pl1 compiles as a module. I use a test page that is very simple to check sessions: ?php session_start(); if( !isset( $c)) { session_register("c"); $c = 1; } echo $c . "br"; ? a

[PHP] Problems with error handling.

2001-02-19 Thread Securez
When I change the error handler, i set the error_reporting to: error_reporting ( E_ALL ^ E_NOTICE); but when i call a is_file function that return false a E_NOTICE error is generated and my error handle trap it. I know that error_reporting works, becouse if i set it to 0, the parse errors

[PHP] Probem with headers. HELP ME!!!

2001-02-02 Thread Securez
I want to make a php script that outputs a file in a secure dir (outside of web root), this scripts checks the permisions of the user to download the file, i use phplib, and my probmem is when i call it from a browser the filename to save is set always to test.php, can i send a header to specify

[PHP] Problem with headers, HELP ME!!!!!

2001-02-02 Thread Securez
I want to make a php script that outputs a file in a secure dir (outside of web root), this scripts checks the permisions of the user to download the file, i use phplib, and my probmem is when i call it from a browser the filename to save is set always to test.php, can i send a header to specify

[PHP] I have a problem with uploading files, can anybody help me!!!

2001-01-25 Thread Securez
I have a form that permit a user to upload files, but if the file is 1 or 2 Mb the time excess the script live time, how i can change this, keeping the global value for script live time. And if i want to permit a user to upload a file, wath is the best mayway to do this, at this moment i need to

RE: [PHP] I have a problem with uploading files, can anybody help me!!!

2001-01-25 Thread Securez
The seep function, it can sleep for a number of seconds, if i have configured into php.ini the live time of a script to 30 sec. and if the upload's time is more greather than 30 sec, the script dies. What means the sleep function? -- PHP General Mailing List (http://www.php.net/) To