I am including a page for an affiliate script, what i am doing is using includes to include the page so it looks like its my site, please note i will add the header/footer code myself.
Basicly, I want to use get to get the cateogry and page number from the url templates.php?cat=2&page=3
(those numbers should be able to be replaced.
After it gets that info, in an include statement i want it to include that url and be able to add that info into the url <!-- m --><a class="postlink" href="http://www.templateheaven.net/resellers/templates.php?aff=00000&cat=0&page=2">http://www.templateheaven.net/resellers ... t=0&page=2</a><!-- m -->
&fg=black&bg=white&cols=2&rows=5&font_size=12&font=verdana&bc=black&buttonbg
=white&buttonbc=black&buttonbw=1
Templatehevaen is not my site the script will be on flashbuddies.com... i just want to use get to get those info, and fill it out in that url
IF ABSOLUTLEY REQUIRED you can just include the url <!-- m --><a class="postlink" href="http://www.templateheaven.net/resellers/templates.php?aff=00000&cat=0&page=2">http://www.templateheaven.net/resellers ... t=0&page=2</a><!-- m -->
which takes the stuff off the end, if you cant get it to work with that long url.
Note: only page and cat are needed, the rest of those other things in the URL will be manualy coded inI'm not sure I understand but I am assuming you have a link
templates.php?cat=2&page=3
and want to forward the user to a page depending on the cat and page id's. This is how I would do it
<?
$cat = $_GET['cat'];
$page = $_GET['page'];
header("Location: templates.php?aff=00000&cat=$cat&page=$page
&fg=black&bg=white&cols=2&rows=5&font_size=12&font=verdana&bc=black&buttonbg
=white&buttonbc=black&buttonbw=1");
?>
Hope this helps you out
Basicly, I want to use get to get the cateogry and page number from the url templates.php?cat=2&page=3
(those numbers should be able to be replaced.
After it gets that info, in an include statement i want it to include that url and be able to add that info into the url <!-- m --><a class="postlink" href="http://www.templateheaven.net/resellers/templates.php?aff=00000&cat=0&page=2">http://www.templateheaven.net/resellers ... t=0&page=2</a><!-- m -->
&fg=black&bg=white&cols=2&rows=5&font_size=12&font=verdana&bc=black&buttonbg
=white&buttonbc=black&buttonbw=1
Templatehevaen is not my site the script will be on flashbuddies.com... i just want to use get to get those info, and fill it out in that url
IF ABSOLUTLEY REQUIRED you can just include the url <!-- m --><a class="postlink" href="http://www.templateheaven.net/resellers/templates.php?aff=00000&cat=0&page=2">http://www.templateheaven.net/resellers ... t=0&page=2</a><!-- m -->
which takes the stuff off the end, if you cant get it to work with that long url.
Note: only page and cat are needed, the rest of those other things in the URL will be manualy coded inI'm not sure I understand but I am assuming you have a link
templates.php?cat=2&page=3
and want to forward the user to a page depending on the cat and page id's. This is how I would do it
<?
$cat = $_GET['cat'];
$page = $_GET['page'];
header("Location: templates.php?aff=00000&cat=$cat&page=$page
&fg=black&bg=white&cols=2&rows=5&font_size=12&font=verdana&bc=black&buttonbg
=white&buttonbc=black&buttonbw=1");
?>
Hope this helps you out