Hmm, The thing is I don't have any problem uploading my files(images, php, sprites, css, etc) on the web host we've chosen. The problem we were encountering is when the user upload on user-side. because we had a module in the website wherein user can upload his/her own file. and other user can download that..
If i can't get the relative path where my files are located I can't succeed ftp_put and ftp_get.
enable-ftp is "on" on the free web host we've chosen.
ftp_put(),get(),connect() etc is enabled also.
The real problem is the path we're the "registered user" can upload his/her files. T_T
ftp_put() problem help me please
Moderator: General Moderators
-
teitoklein01
- Forum Newbie
- Posts: 1
- Joined: Sun Feb 27, 2011 12:04 am
- greyhoundcode
- Forum Regular
- Posts: 613
- Joined: Mon Feb 11, 2008 4:22 am
Re: ftp_put() problem help me please
If your users are uploading via an HTML form, what is the enctype attribute set to? Should be multipart/form-data.