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

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • sellbellz@googlemail.com

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

    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

  • sellbellz@googlemail.com

    #2
    Re: how to enable permissions in htaccsess for php file.php script problems

    sorry type error http to ftp script

    Comment

    Working...