PHP GET request is going to some other pages

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
Arju
Forum Newbie
Posts: 4
Joined: Sun Jan 02, 2011 10:41 am

PHP GET request is going to some other pages

Post by Arju »

I have great problem in my site. Any $_GET request does not show expected result rather it shows homepage template.
For example please open http://blastyourblog.com/seo-tool-04/al ... arison.php and now I type three urls like http://arjudba.blogspot.com/ and http://banscam.blogspot.com/ then it will display url as http://blastyourblog.com/seo-tool-04/al ... r&tspan=3m and then it goes to front page window instead of showing result in that window.
Please help. Your feeback is really appreciate.
Many thank,
Arju
Forum Newbie
Posts: 4
Joined: Sun Jan 02, 2011 10:41 am

Re: PHP GET request is going to some other pages

Post by Arju »

Anyone there eager to help?
User avatar
social_experiment
DevNet Master
Posts: 2793
Joined: Sun Feb 15, 2009 11:08 am
Location: .za

Re: PHP GET request is going to some other pages

Post by social_experiment »

It would be easier to help you if you pasted the code :)
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
Arju
Forum Newbie
Posts: 4
Joined: Sun Jan 02, 2011 10:41 am

Re: PHP GET request is going to some other pages

Post by Arju »

It is working perfectly if I run from root folder. If I put it in subfolder it is behaving like this.

http://blastyourblog.com/seo-tool-04 is a subfolder.
Arju
Forum Newbie
Posts: 4
Joined: Sun Jan 02, 2011 10:41 am

Re: PHP GET request is going to some other pages

Post by Arju »

Just for your information,
At last I have solved this problem, it was a hosting issue in hostgator. I wrote details in
http://arjudba.blogspot.com/2011/01/get ... ected.html
Post Reply