![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Too lazy to set a custom title
Industry Role:
Join Date: Mar 2004
Posts: 16,116
|
PHP Help
Trying to get some hosted galleries up..I remember JupzChris I believe was trying to explain how to do it with php, but I cant get it to work.
He said: point the affiliates to www.domain.com/galleries/gallery001/?a=USERID then modify index.php and inset this wherever you want the USERID to appear (like in another link) <?=$a?> that <?=$a?> tag is showing up red in macromedia and im getting an error when i load the page.. So say I have banner1.gif that needs to be linked to blah.com/affiliateid=XXXXXX how would I do this? and set the main url?
__________________
Your Paysite Partner Strength In Numbers! StickyDollars | RadicalCash | KennysPennies | HomegrownCash |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Mar 2004
Location: New Orleans, LA
Posts: 1,001
|
you need a space or new line after/before the php tags
<? print"$a"; ?>
__________________
PHP Programmer ICQ 215-504-788 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Will code for food...
Join Date: Apr 2001
Location: Buckeye, AZ
Posts: 8,496
|
try this:
<? echo $_GET['a']; ?>
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
Will code for food...
Join Date: Apr 2001
Location: Buckeye, AZ
Posts: 8,496
|
Quote:
__________________
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Confirmed User
Join Date: Apr 2002
Location: Houston
Posts: 5,651
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Will code for food...
Join Date: Apr 2001
Location: Buckeye, AZ
Posts: 8,496
|
by the way, use it like this
<a href="http://blah.com/affiliateid=<? echo $_GET['a']; ?>">blah blah</a>
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Too lazy to set a custom title
Industry Role:
Join Date: Mar 2004
Posts: 16,116
|
Quote:
__________________
Your Paysite Partner Strength In Numbers! StickyDollars | RadicalCash | KennysPennies | HomegrownCash |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Confirmed User
Join Date: Mar 2004
Location: New Orleans, LA
Posts: 1,001
|
Quote:
__________________
PHP Programmer ICQ 215-504-788 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Confirmed User
Join Date: Apr 2002
Location: Houston
Posts: 5,651
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
Join Date: Mar 2004
Location: New Orleans, LA
Posts: 1,001
|
__________________
PHP Programmer ICQ 215-504-788 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Confirmed User
Join Date: Mar 2004
Location: New Orleans, LA
Posts: 1,001
|
or "syntax coloring". whatever you wanna call it.
__________________
PHP Programmer ICQ 215-504-788 |
![]() |
![]() ![]() ![]() ![]() ![]() |