PAUL FERRIE wrote:
I am getting this error once i run the script
Warning: move_uploaded_file(img/matrix.jpg): failed to open stream:
Permission denied in /blah/blah
Do i need to set the chmod of the img folder?
Cheers
Paul
The user or group that your webserver is running as (default for Apache:
Hello,
He said that you have to check under which user/group is your webserver
running (webserver is handling the scripts)... and then set the correct
file/directory permissions on that /blah/blah directory..
yes u have to set at least chmod but look to chown also...
On Saturday 22 Nov
On Sat, Nov 22, 2003 at 08:18:30PM -, PAUL FERRIE wrote:
:
: "Bronislav kluèka" <[EMAIL PROTECTED]> wrote in message
: news:[EMAIL PROTECTED]
: >
: > User executing the script (www-data or nobody or some other user) has to
: > vave the permission to wotk with this directory.
:
: eh?
I think
eh?
"Bronislav kluèka" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> User executing the script (www-data or nobody or some other user) has to
> vave the permission to wotk with this directory.
>
>
>
> Brona
>
>
> > I am getting this error once i run the script
> >
> > Warning: move
User executing the script (www-data or nobody or some other user) has to
vave the permission to wotk with this directory.
Brona
> I am getting this error once i run the script
>
> Warning: move_uploaded_file(img/matrix.jpg): failed to open stream:
> Permission denied in /blah/blah
> Do i need
I am getting this error once i run the script
Warning: move_uploaded_file(img/matrix.jpg): failed to open stream:
Permission denied in /blah/blah
Do i need to set the chmod of the img folder?
Cheers
Paul
"Nathan Taylor" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
There is nothin
Oh and also, don't forget to set: enctype="multipart/form-data" in the tag.
Nathan
- Original Message -
From: Nathan Taylor
To: PAUL FERRIE ; [EMAIL PROTECTED]
Sent: Saturday, November 22, 2003 2:20 PM
Subject: Re: [PHP] Form with browse for file to upload &qu
There is nothing special to be done with the form itself for it to support file
uploading aside from supply a browse field:
As for uploading it, here's some untested code:
if(!empty($_FILES['file']['tmp_name'])) {
$name = strtolower(eregi_replace('#| |\?|!', '', $_FILES['file']['name']))
There is nothing special to be done with the form itself for it to support file
uploading aside from supply a browse field:
As for uploading it, here's some untested code:
if(!empty($_FILES['file']['tmp_name'])) {
$name = strtolower(eregi_replace('#| |\?|!', '', $_FILES['file']['name']))
9 matches
Mail list logo