I made a small application with the help of PhpMaker(php,mysql). It is a kind of catalogue for a paper issued monthly. It stores data for the authors and the articles and the paper itself in pdf. It works fine except for uploading the pdf. Interestingly enough uploading works fine when it runs on localhost, but on the server "in action" it just wont upload. No error message. The two source code(on the server and the localhost) are identical. What should I check to make it work?
Thanks
szita1 0 Newbie Poster
Recommended Answers
Jump to PostTry adding this to the top of the your php files:
ini_set('file_uploads', 1); ini_set('upload_max_filesize', '8M');
Could be just that uploads are disabled in the php.ini file.
Jump to PostMake the uplaod folder writable..Change its security level to chmod 777
Forgot about that however, some servers do not allow chmod 777. Due to security reasons, they only allow something like 766 by memory. The reason why such security policies exist is so that from the servers point of view, …
All 5 Replies
chrishea 182 Nearly a Posting Virtuoso
cwarn23 387 Occupation: Genius Team Colleague Featured Poster
shefeekj -9 Light Poster
cwarn23 387 Occupation: Genius Team Colleague Featured Poster
danishbacker 0 Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.