uploading wont work

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
szita1
Forum Newbie
Posts: 10
Joined: Mon Apr 13, 2009 10:03 am

uploading wont work

Post by szita1 »

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
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: uploading wont work

Post by Christopher »

It sounds like the php.ini, web server or account setting are different between machines. Check things like if uploads are allowed and max file size.
(#10850)
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: uploading wont work

Post by requinix »

Look at $_FILES[name]["error"] for a number and look it up here.
Post Reply