Re: [PHP] uploading problems...please help

2002-08-25 Thread Jason Wong

On Sunday 25 August 2002 05:53, Brian  Shannon Windsor wrote:
 I'm trying to upload files from my PC to my website.  The code is a little
 nuts, but it's all I got to work locally, butonce I take the code to the
 web I get this message.  Can anyone tell me what I'm doing wrong?

 I'm trying to upload a file, strip all the information so as to just use
 the name of the file to store in the database.  I'm using explode and
 array_pop for this, but I'm sure there's a better way.  The problem seems
 to be in writing the file to the web server.  I changed the permissions on
 the directories, so I don't think that's the problem.  Please help.

Why is it that everyone likes to write their own upload routine? There is a 
perfectly good example in the manual that (a) works, (b) shows how it 
_should_ be done. Try using that as a starting point and adapt it to your 
particular situation.

-- 
Jason Wong - Gremlins Associates - www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *

/*
Many people are desperately looking for some wise advice which will
recommend that they do what they want to do.
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] uploading problems

2001-05-12 Thread Theo Richel

I try to upload a .sql file with PHPMyAdmin. Below 1 mb: no problem, above
1mb: impossible. We have increased the max_upload_file_size in PHP.ini but
it still doesnt work. What other parameters in the php.ini influence this?

Thanks very much
Theo Richel



RE: [PHP] uploading problems

2001-05-12 Thread SED

Hi Theo,

I'm not sure it will help, but can it be because of script execution time?
Increase the time I try again. If it works, please let me know.

Greetz,
SED

-Original Message-
From: Theo Richel [mailto:[EMAIL PROTECTED]]
Sent: 12. maĆ­ 2001 08:17
To: [EMAIL PROTECTED]
Subject: [PHP] uploading problems


I try to upload a .sql file with PHPMyAdmin. Below 1 mb: no problem, above
1mb: impossible. We have increased the max_upload_file_size in PHP.ini but
it still doesnt work. What other parameters in the php.ini influence this?

Thanks very much
Theo Richel


-- 
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 PROTECTED]