Forum Moderators: coopster

Message Too Old, No Replies

Download Script not working

Working in one folder, not in another.

         

Sypher_5

10:45 am on Nov 17, 2003 (gmt 0)

10+ Year Member



I have a download script I've downloaded and got running on a site. Now I use that script again on another site ( same host, different subdomain ) and it doesn't work.

All it does is throw me back out to the folder's index listing. No error's, no anything.

The files are CHMOD correctly. The settings are set correctly. The server is allowing the script as I have it running it on another site under the same host.

I tried it on lycos.co.uk to test it out & it does the same thing. Yet I copied the script running on the other site and uploaded it to the new site and still the same problem.

Where do I look for the problem?

hakre

3:36 pm on Nov 17, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



hi Sypher_5, welcome to webmasterworld [webmasterworld.com].

first of all switch error reporting on. if it is off, then you simply won't get error and warning messages.

just do this by using the error_reporting [php.net] directive with the E_ALL [php.net] constant.

you should then get a warning or error message.

Sypher_5

5:07 pm on Nov 18, 2003 (gmt 0)

10+ Year Member



Error reporting is on, which was why I was going nuts.

However sitting here all night, its come to me.

I'm an idiot.

Having already installed this script I forgot to read the instructions again and missed out on what's happening. It does this as a file protection method.

Now working :)

Thanks for the help, but I fear there's no helping us who think we know everything :s