sodaup
07-04-2007, 04:39 AM
I will make this short as possible. After 3 days of intense research and experimentation I'm at my wits end.:confused:
On page1.php (I created) are forms that are processed on page.cgi (part of a freeware script).
The linkback "continue shopping" link on page.cgi uses the url in the file.cfg . That link is: h_ttp://companyname.biz/dir That is the base dir for all pages. (http spread to prevent link)
I have page1.php, page2.php, page3.php etc. on and on. Each page is separate and need individual access to page.cgi
How do I create a variable on the pageN.php like:
<?php
$link = "/pageN.php";
?>
then pass that variable to page.cgi and concantenate it like:
$correctlink = "$filecfg_baseurl . $link";
so that the "continue shopping" link will be:
h_ttp://companyname.biz/dir/pageN.php
I am not using mySQL in this project.
Thank you in advance.
P.S. Everything works fine as a one page project. I am expanding to several pages and so this problem crops up.
On page1.php (I created) are forms that are processed on page.cgi (part of a freeware script).
The linkback "continue shopping" link on page.cgi uses the url in the file.cfg . That link is: h_ttp://companyname.biz/dir That is the base dir for all pages. (http spread to prevent link)
I have page1.php, page2.php, page3.php etc. on and on. Each page is separate and need individual access to page.cgi
How do I create a variable on the pageN.php like:
<?php
$link = "/pageN.php";
?>
then pass that variable to page.cgi and concantenate it like:
$correctlink = "$filecfg_baseurl . $link";
so that the "continue shopping" link will be:
h_ttp://companyname.biz/dir/pageN.php
I am not using mySQL in this project.
Thank you in advance.
P.S. Everything works fine as a one page project. I am expanding to several pages and so this problem crops up.