Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-12-2013, 06:38 PM   PM User | #31
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,662
Thanks: 4
Thanked 2,452 Times in 2,421 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
Your HTML shows possibly otherwise. The action is to /news/?id=x, which means you are either using rewrite or you are using /news/index.php?id=x, neither of which I can verify.
Given the only way I can replicate this is with using a 301 redirect from the rewrite engine, I'd say that your issue is with your rewrite rules.
Fou-Lu is offline   Reply With Quote
Old 01-12-2013, 10:16 PM   PM User | #32
elitis
Regular Coder

 
Join Date: Sep 2010
Posts: 319
Thanks: 9
Thanked 6 Times in 6 Posts
elitis is an unknown quantity at this point
Oh I see what you're saying. It is to /news/index.php?id=x.
__________________
Coding is a challenge, get used to it
Always remember to debug
Try the guess & check method
Break it down into simple steps
elitis is offline   Reply With Quote
Old 01-13-2013, 03:30 PM   PM User | #33
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,662
Thanks: 4
Thanked 2,452 Times in 2,421 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
Give it the full script path in the action. If that works, it would indicate that you do have rewrite rules in place.
If that doesn't work, you'll need to contact your host. The post is definitely abandoned. There should be a way in one of the browsers to see the header status' sent to and from the servers, but I don't know where to find it. That should show you if it accepted a redirect or not.
Fou-Lu is offline   Reply With Quote
Old 01-15-2013, 10:15 PM   PM User | #34
elitis
Regular Coder

 
Join Date: Sep 2010
Posts: 319
Thanks: 9
Thanked 6 Times in 6 Posts
elitis is an unknown quantity at this point
And again you've solved one of my many problems. Thanks Fou-Lu
__________________
Coding is a challenge, get used to it
Always remember to debug
Try the guess & check method
Break it down into simple steps
elitis is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:39 AM.


Advertisement
Log in to turn off these ads.