Re: [php-list] Little help with tracking down an error: Apache Log question

2006-02-13 Thread James Keeline
--- Wade Smart <[EMAIL PROTECTED]> wrote: > Im having some trouble with one of my php scripts so Im looking > in my logs and I would like to know how to really read what this > means: > > [Mon Feb 13 18:08:27 2006] > [error] > [client 127.0.0.1] File does not exist: /var/www/var, referer: > ht

[php-list] Little help with tracking down an error: Apache Log question

2006-02-13 Thread Wade Smart
02132006 1812 GMT-6 Im having some trouble with one of my php scripts so Im looking in my logs and I would like to know how to really read what this means: [Mon Feb 13 18:08:27 2006] [error] [client 127.0.0.1] File does not exist: /var/www/var, referer: http://localhost/KT/Admin.php [Mon Feb 1

Re: [php-list] Check file size before upload?

2006-02-13 Thread Patrick Bierans
> Is there any way to check file size before upload? answer: no way tell the user the upload limit MAX_UPLOAD_SIZE if they are too stupid to read it is not your fault. ;) you could try to write a java applet for upload which might be able to check before upload. accessing files on the client

[php-list] Check file size before upload?

2006-02-13 Thread David Halliday
Hi Is there any way to check file size before upload? The reason for asking is that if a user wanted to upload a large file .. say 10 mb or so .. the script suggested by php manual would require the user to wait until at least the file is uploaded to the tmp directory on the server before checkin

[php-list] need help on subject of session hijecking

2006-02-13 Thread neeraj_th
Dear All, I am new to session management. I have tried searching on it from various php resource. If anybody please guide me what is session hijecting and fixation with example and how can we make a safe user management portal with security from session hijecking and fixation, would be thankfu

Re: [php-list] Help with error check in a form

2006-02-13 Thread Wade Smart
02132006 1118 GMT-6 Ok I found the problem but oddly, I have the same error: This is the code at that line 53: else { // problem uploading file print 'Your file could not be uploaded because: '; // // Print a message based upon the error. switch ($_FILES['thefile']['erro

[php-list] Help with error check in a form

2006-02-13 Thread Wade Smart
02132006 1059 GMT-6 Im working a form for uploading data but I have a problem in this structure but I dont see it. This structure without all the data works, no errors. But if I put in the data I get an error: *Parse error*: parse error, unexpected T_ELSE in */var/www/KimTate/AddHome5.php* on l