how to enable permissions in htaccsess for php file.php script problems
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

how to enable permissions in htaccsess for php file.php script problems

From: <sellbellz@googlemail.com>
Date: Mon Mar 20 2006 - 17:37:50 CET

I am having problems with a ftp to http php scrip: Warning: ftp_get():
open_basedir restriction in effect. File(/ftp_login.html.600490715) is
not within the allowed path(s): (/home:/tmp:/usr) in
/home/jbsmedia/public_html/ftp.php on line 352. when i download files,
when i upload i get Upload failed! Can't create temp file?.

as far as i fuigured i set my ftp file folder cmod 777. then must have
to do somethin to the htaccess file. my host is running a unix appache
server.

i found it has something to do with internal server error 500

and mkdir command=
  mkdir /var/tmp/xfers && chmod 1777 /var/tmp/xfers */

$phpftp_tmpdir="/var/tmp/xfers"

can anyone help
Received on Mon May 1 02:36:40 2006