[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] Php 4.1.2 and file uploads



> Hello,
>
> I am trying to enable file uploads for a virtual site within a
> raq4 using php from the pkgmaster. I 've added to the http.conf
> the following within the virtualhost container tags on the site:
>
> php_admin_value open_basedir /home/sites/site28:/home/tmp
> php_admin_value dir_upload  /home/sites/site28
>
> I created a directory with site28 web folder called images and
> set the ownership to httpd and given 777 permissions but when I
> try to upload a file I get errors?
>
> regards
>
> Jon

Jon,
I'm using PHP for file (image) uploads, but not had to do either of the
above.
Are you doing enctype="multipart/form-data" in your form definition?

Phil


** http://www.diygear.com THE Online DIY Toolstore For DIY & Business
** Infolink Electronic Systems Ltd. http://www.infolinkelectronics.co.uk
** Professional Web Design & Cobalt Hosting Solutions
** Sun Cobalt iForce Reseller - Canon Silver Reseller
** Contact: Sales@xxxxxxxxxxxxxxxxxxxxxxxxx
** Tel / Fax 0121 458 4894 (office) 0121 441 3558 (home)