http returning file which isnt there

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
billskipton
Forum Newbie
Posts: 1
Joined: Sat Aug 01, 2009 5:35 am

http returning file which isnt there

Post by billskipton »

Don't know too much about files. When I access XXXX1.txt (which exists) all OK. When I try for XXX2.txt (which doesn't exist) it appears to access XXX1.txt. Something seems to be deciding that I meant XXX1.txt and typed '2' in error? What's causing this and (more to the point) how do I stop it happening?
User avatar
aceconcepts
DevNet Resident
Posts: 1424
Joined: Mon Feb 06, 2006 11:26 am
Location: London

Re: http returning file which isnt there

Post by aceconcepts »

What are your methods (in code)?
Post Reply