I need a php page that will redirect based on the URL it is given.
I would enter this URL
[url removed, login to view]
The page would include code that does this:
If productid=101 then redirect to
<[url removed, login to view]>=<? php echo UID ?>&pwd=<? php echo password ?>
If productid=102 then redirect to
<[url removed, login to view]>=<? php echo UID ?>?>&pwd=<? php echo password ?>
If no match for productid then echo
Error - Unable to identify service
If passwordrequired=true then password must match a password stored in the php page(hardcoded), if passwordrequired=false then it is not required.
The password should be made either required or optional based on the setting.
Final deliverable should be a php page that redirects as indicated.
You can make a generic page that redirects to google or yahoo and I will edit to replace the final url's. Please comment well.
This should be a simple php page for any experienced php writer.