Jump to content

client - side uploading problem


teitoklein01

Recommended Posts

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]

Link to comment
https://forums.phpfreaks.com/topic/230449-client-side-uploading-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.