note 43325 added to function.ftp-put

From: Date: Thu, 17 Jun 2004 14:59:06 +0000
Subject: note 43325 added to function.ftp-put
Groups: php.notes 
Request: Send a blank email to php-notes+get-71231@lists.php.net to get a copy of this message
victor at nobel dot com dot br wrote that the correct dirpath format excluded "/home/USER/" from the public path, but for my server, i had to use it in order to get my scripts to work. it may be obvious to most but I'm positing that you cannot use the $_SERVER['DOCUMENT_ROOT'] path since FTP starts at your top-level and therefore bypasses (or just plain doesn't recognize) most of the virtual server pathing. ---- Manual Page -- http://www.php.net/manual/en/function.ftp-put.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+43325 Delete -- http://master.php.net/manage/user-notes.php?action=delete+43325&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+43325&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#71231) next »