teitoklein01 Posted March 12, 2011 Share Posted March 12, 2011 We have a website that allows the user to upload his/her picture so we use the ftp_put() command. I use <?php $path = getcwd(); echo $path; ?> This is the output: /home/vol10/000a.biz/a000b_7363341/htdocs/gankgame to determine the absolute path where my website is stored. My website "CAN" connect to the ftp server but it can't upload files. Uploading always fail. I can't determine the right path. "My code is attached" [attachment deleted by admin] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.