Board Logo

Wrong redirection
booyeeka - 4/6/2007 at 02:44 PM

Hi all!

When I define redirection link as ie.

index.php?id=51&table=con

... I am ALWAYS redirected to index.php



Can you tell me how to solve this problem, and to be redirected to correct destination

Thank you in advance!


tigra - 4/7/2007 at 03:50 AM

this is probably something that server does to you. what happens if you put that URL (together with the domain) in the address bar of your browser?


booyeeka - 4/7/2007 at 04:40 PM

Hmmmm......

Looks like the problem occurred because I defined link as:

index.php?id=51&table=con

... without http://mydomain.com/ before index.php


Is there a possibility to avoid domain name in URL?


Thank you in advance!


tigra - 4/7/2007 at 07:00 PM

you don't need to specify the domain if the link is in the same domain with the document that you link from.


booyeeka - 4/7/2007 at 09:34 PM

It's same, but it always cuts index.php?id=51&table=con to index.php, despite the thing that I use single quotes in JS, in url definition
:-(


tigra - 4/7/2007 at 11:05 PM

what's the URL of the page? I'll take a look.


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/