Date: 07/13/01
- Next message: Roger Ramirez: "Re: [PHP-DB] PHP Mysql apache economy hosting"
- Previous message: Steve Brett: "Re: [PHP-DB] upload problem ..."
- In reply to: Steve Brett: "Re: [PHP-DB] upload problem ..."
- Next in thread: comp.mail.sendmail: "Re: [PHP-DB] upload problem ..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> -----Original Message-----
> From: Steve Brett [mailto:steve.brett <email protected>]
> Sent: 13 July 2001 11:05
> To: php-db <email protected>
> Subject: Re: [PHP-DB] upload problem ...
>
>
> many thanks i'll try that asap.
The directorys will still need the permissions set so anyone can read/write
to the directorys (Using chmod if using linux)
Darren
>
> Steve
>
> "Xsarus Internetdiensten" <daniel <email protected>> wrote in message
> news:002901c0fe68$48613d40$0201a8c0 <email protected>
> > He!
> >
> > Don't use the function 'copy', but 'move_uploaded_file'.
> >
> > Ready...
> > Daniel Kieviet
> > Xsarus Internetdiensten
> > Holland
> > daniel <email protected>
> >
> >
> > ----- Original Message -----
> > From: "Andre P." <drowser <email protected>>
> > To: "Steve Brett" <steve.brett <email protected>>
> > Cc: "php-db <email protected> php. net (E-mail)" <php-db <email protected>>
> > Sent: Monday, June 25, 2001 6:17 AM
> > Subject: Re: [PHP-DB] upload problem ...
> >
> >
> > > Steve,
> > >
> > > When you use input type=file the web server uploads the file to a
> > > temporary directory which it must have write access to, i.e. the user
> > > that the httpd process is run as must have write access to /php/tmp.
> > >
> > > To my knowledge there is no way of allowing the httpd process to write
> > > to that directory using your ftp users/password. Bear in mind that you
> > > could change the temporary upload directory from /php/tmp to /tmp.
> > >
> > > do you have full access to you box or only an account?
> > >
> > > hope this helps
> > >
> > > ciao
> > > Andre.
> > >
> > > Steve Brett wrote:
> > >
> > > >hi,
> > > >
> > > >i have a site and need to write a script to upload /
> download files so
> > the
> > > >database can be updated / backed up.
> > > >
> > > >i've tried setting up an <input type=file ... and this works
> fine on my
> > > >machine but php gives an eror onthe server saying that the
> /php/tmp dir
> > > >cannot be written to by, i assume, the nobody account within
> whihc the
> > web
> > > >server runs.
> > > >
> > > >i need to be bale to write to the httpd dir using php and then i can
> get
> > > >the db to import the files.
> > > >
> > > >i have an ftp username and password but don't know how to get php to
> pass
> > > >the authorisation the server. the site is already password protected
> just
> > > >using a table of username / passowrds.
> > > >
> > > >many thanks in advance
> > > >
> > > >Steve
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > >
> > > --
> > > PHP Database Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: php-db-unsubscribe <email protected>
> > > For additional commands, e-mail: php-db-help <email protected>
> > > To contact the list administrators, e-mail:
> php-list-admin <email protected>
> > >
> >
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe <email protected>
> For additional commands, e-mail: php-db-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Roger Ramirez: "Re: [PHP-DB] PHP Mysql apache economy hosting"
- Previous message: Steve Brett: "Re: [PHP-DB] upload problem ..."
- In reply to: Steve Brett: "Re: [PHP-DB] upload problem ..."
- Next in thread: comp.mail.sendmail: "Re: [PHP-DB] upload problem ..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

