Page 1 of 1
SIMPLE PHP PROBLEM > NEWBIE
Posted: Sun Feb 23, 2003 11:45 am
I have downloaded simple uploader php and tried to put it on my website but cannot get it work.
when I try to upload something it gives me this message:
Method Not Allowed
The requested method POST is not allowed for the URL /upload/upload.php
does anybody know where the problem could be??
thank you in advance
Posted: Sun Feb 23, 2003 3:43 pm
here's the php file
and the html file
I downloaded this script from hotscripts.com, did everything they said but can't get it work.
Posted: Mon Feb 24, 2003 6:01 am
Posted: Mon Feb 24, 2003 6:15 am
I should not beable to goto and see the upload.php file as code. This should be parsed by PHP. I think there is a configuration problem. Try namimg the upload.php file to upload.php3
Posted: Mon Feb 24, 2003 1:04 pm
PHP_GURU I'm kind of newbie to php as I said, so how do you find out whether the server where I have it parses the file?
thank you guys for all you help. ;-)
Posted: Mon Feb 24, 2003 3:11 pm
create a file name phpinfo.php and put this code in it. Upload it to your server and goto the file with the webbrowser..
if you see <?phpinfo(); ?> your server does not have php enabled.
Posted: Mon Feb 24, 2003 5:35 pm
I don't know if there is something with my browser settings but when I try to access the file phpinfo.php it tries to donwload the file.
Posted: Mon Feb 24, 2003 6:35 pm
it didn't when I tried. it just displayed the text meaning that your server does not support PHP.
If you need some cheap webhosting checkout
they have plans starting out at $5usd a month.
I've been with them for a year and a half and am absolutely satisfied. Best support for a hosting company that I have ever had.
Posted: Wed Feb 26, 2003 8:50 am
thank you guys for all your help, the problem was that the PHP service was not enabled on my account.
Just another question, is there a way how to make not appear the upload.php3 after you upload something?? so one cannot see the directory structure.