URL problem

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
stephhalle
Forum Newbie
Posts: 2
Joined: Wed Sep 17, 2008 2:48 pm

URL problem

Post by stephhalle »

Hi there,

I have a website coded in PHP/mySQL. I have a really weird problem with my URL encoding. Sometimes, the page opens without a problem, sometimes it gives me an "HTTP 404 Not Found" error.

This URL, for example, works every time:
http://www.mydomain.com/fr/easieflip/ca ... php?SSK=38

but if I just change the SSK value by adding 1 or 2 zeros, it gives me a 404, like so:
http://www.mydomain.com/fr/easieflip/ca ... hp?SSK=380
AND
http://www.mydomain.com/fr/easieflip/ca ... p?SSK=3800

But the SSK=38000 doesn't give an error.

Does this make any sense? Is there something really obvious that I'm missing?

Thanks so much,

Steph
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: URL problem

Post by josh »

stephhalle wrote:an "HTTP 404 Not Found" error.
be more specific, is the PHP code outputting a 404 header, or is the webserver respoding with it's default 404 handling page. What info is ascertained from examining your server log file? What webserver are you using? Are you currently using any URL rewriting features?
Post Reply