Date: 11/14/00
- Next message: J Nicholas Tolson: "[PHP-DB] insert and update via browser problem"
- Previous message: Wholesale Goods: "[PHP-DB] Problem posting variables"
- Maybe in reply to: kenji chan: "[PHP-DB] Web-base Files upload"
- Next in thread: George A. Fitch III: "RE: [PHP-DB] Web-base Files upload"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
----------------------------------------------------------------------------
-----------------
Disclaimer: The information contained in this email is intended only for the
use of the person(s) to whom it is addressed and may be confidential or
contain legally privileged information. If you are not the intended
recipient you are hereby notified that any perusal, use, distribution,
copying or disclosure is strictly prohibited. If you have received this
email in error please immediately advise us by return email at
postmaster <email protected> and delete the email document without making a
copy.
----------------------------------------------------------------------------
-----------------
Kenji,
Assuming your web hoster is using Apache you should be able to put the
following in your a .htaccess file at the top of your web root.
php_value upload_tmp_dir /home/kenji/tmp/
Ive never tried this and you may have to make it writable to yourself and
the web server user.. but experiement.
Another options is that some hosting companies allow you to compile you own
binaries with your own PHP .ini etc which is another possibility.
Goodluck.
Also ive seen two projects on SOurceforge that manage the whole file upload
thing one was owl.sourceforge.net and it seemed quite reasonable
mn
Mark Nold
markn <email protected> <mailto:markn <email protected>>
Senior Consultant
Change is inevitable, except from vending machines.
-----Original Message-----
From: kenji chan [mailto:kenjikenji <email protected>]
Sent: Tuesday, November 14, 2000 4:37 PM
To: php-db <email protected>
Subject: Re: [PHP-DB] Web-base Files upload
"Leonard Tambunan" <leonard <email protected>>
news:Pine.LNX.4.30.0011140931330.17768-100000 <email protected>
> > Have php had Files upload function? ( Bulid in)
> > If yes, how do i make the code?
> > Anyone done it?
> > Please E-mal here : kylw <email protected> or kenjikenji <email protected>
>
> I have 2 ways.
>
> 1. A copy function
> 2. FTP function
>
> Regards,
> Leo
>
>
>
> --
> 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>
>
********************************
When I use the code on remote computer ( Free web hosting),
Have some Error message Like that :
"Warning: SAFE MODE Restriction in effect. The script whose uid is 12062 is
not allowed to access /var/tmp/phpb76399 owned by uid 0 in
/usr/home/uhomeu/kylw/reh/upload.phtml on line 15"
I think the Web server haven't permission to stored any file,
I had tired another one (hosting), they also can't....Oh...too bad
FTP may be a good way to stored files, but how to do that?
Do I use some php file to Access my "FTP upload account" with password ??
,, ha ha...so funny!
-- 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: J Nicholas Tolson: "[PHP-DB] insert and update via browser problem"
- Previous message: Wholesale Goods: "[PHP-DB] Problem posting variables"
- Maybe in reply to: kenji chan: "[PHP-DB] Web-base Files upload"
- Next in thread: George A. Fitch III: "RE: [PHP-DB] Web-base Files upload"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

