Hello, I am in the middle of creating a download/upload management script. Currently it has one upload method HTTP upload via HTML form which obviously is not good as users would be restricted by the PHP max upload size and script timeout issues and so on. I hope this does not sound stupid, but can someone tell me if PHP built in FTP functions is also restricted to the max upload size in the php.ini ? also when uploading via ftp using php is the script dependant on the script timout etc that is also set in the php.ini? Sorry if these questions sound stupid. Also i was reading on php.net/manual that PHP ftp functions are part of the PHP Windows enviroment also' so there is no need to install anything extra. I here so much about HTTP upload having problems with windows servers, will php ftp functions combat most problems that is occured using HTTP upload with windows server, like file paths etc ? In php is there a little script i can make to first check if php has ftp enabled, if so how do i do this check? When uploading via php ftp, will my php scripts be required to chmod the files beforehand so they can be renamed, deleted, edited via php?, as i have been reading and from what i think i can understand that if a file is uploaded via ftp including php ftp a php script won't be able to do anything with the file, i am confused by this, so if anyone could explain in more detail that would be a great help. sorry for all the questions, and thanks for any replies, much appreciated. Thanks PhPDude
I'm not 100% sure, but I don't think that would work unless the visitors are running an ftp server on their computer. I know some ajax uploaders like FancyUpload (http://digitarald.de/project/fancyupload/) use flash to avoid those upload issues with php.
Hi, Thanks for your reply. Hopefully some other people can help with answering my questions. Thanks for your reply. PhPDude
Hi, I was taking a look at that funny thing. My only confusion is, i am still stuck with the max upload size which is set in the php.ini file as they use languages like php to move file. Am i correct in thinking that? I am after something that won't be dependant on the restrictions set in php.ini Thanks