Forum Moderators: coopster
I have an include that appears in my php page that has a form, and upon submitting the form I want it to take people to thepage.php?id=whatever for example.
However because the <? echo($_SERVER['REQUEST_URI']);?> is in my include file I get includefile.php?id=whatever.
Is there a way I can request the url of the page that the include is part of, and not the location of the include itself?
One way would be to preset the URL in a seperate variable, but there's gotta be a way to avoid that.
Thanks for any info!