![]() |
Need quick help for PHP URGENT !
ok here is what i'm looking for :
i need the correct syntax for implementing my free hosted galleries for my affiliates .... i had it working up until i had a domain hijacked and all the files gone of the face of the earth . affiliate enters his ccbill, verotel or any other biller's reseller ID into a simple GET or POST form , it then shows all the galleries listed like http://gals.mypaysite.com/gal01/index.php?=REFID Code:
<a href="http://gals.footmaniac.com/Gal01/index.php?id=<?php print("$REFID");?>">http://gals.footmaniac.com/Gal01/index.php?id=<?php print("$REFID");?></a> Code:
<a href="http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=925808-0000&PA=<?php print("$REFID");?> i know i'm very close but i can't get it to work as i know shit about programing :helpme |
Hi,
kinda more a Q&A topic, but here goes... if I understand your problem correctly, you passed variables aren't appearing in the code. First, if you want that code to work, you need to have Register Global Variables PHP setting on, which is a security risk, I don't recommend it. In your PHP.INI make sure you have Code:
register_globals = off Code:
<a href="http://gals.footmaniac.com/Gal01/index.php?id=<?php echo $_REQUEST['REFID']; ?>">http://gals.footmaniac.com/Gal01/index.php?id=<?php echo $_REQUEST['REFID']; ?></a> Next, in the index.php files: Code:
<a href="http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=925808-0000&PA=<?php echo $_REQUEST['id']; ?> Hope that helped. |
YAYEEEEEEEEEEE its working , thanks a bunch man ..... i would have never thought of the $_REQUEST instead of $_GET or $_POST which were returning a whole bunch of useless arrays ...
|
I'm not sure why they would be returning useless stuff but hey.. it works!
|
useless arrays are like pointless classes.
|
i meant useless for what i intended to do ;-)
|
All times are GMT -7. The time now is 01:23 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123