GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   lil bit of programming required (https://gfy.com/showthread.php?t=127180)

srikanth79 04-21-2003 11:55 PM

lil bit of programming required
 
hey i need a small script for hosted galleries.
its something like the webmaster replaces xxxxxx from http://gallery.com/tgp/index.php&WID=xxxxxx and the gallery loads with his ID in the sponsor link

oh maybe i am not expressing myself clearly but is there any one who can do this fast??

thanks,
sri

kevinale 04-22-2003 12:01 AM

are you online? i can help maybe

icq 149241543

psyko514 04-22-2003 12:02 AM

what's the actual sponsor link? cause i can give you an answer right here in 5 mins

Alky 04-22-2003 12:03 AM

or me, 9287771

i can give ya some tips.

Kenneth K 04-22-2003 03:58 AM

it will look like this:

PHP Code:

<?php

if (!isset($_SERVER['QUERY_STRING'])) {
  
$wmid "YOUROWNCODE";
} else {
  
$wmid $_SERVER['QUERY_STRING'];
}

?>

http://gallery.com/tgp/index.php?xxxxxx where the xxxxxx are the linking code....

just copy/paste the
PHP Code:

<?php print $wmid;?>

on your page so your link will look like this:

PHP Code:

<a href="http://sponsor.com/affiliateid=<?php print $wmid;?>">CLICK HERE</a>


Nysus 04-22-2003 08:06 AM

Hey Sri - I have moire efficient code than that if you want to chat. I know you're somewhere on my list, I'll try to find ya. :)

Cheers,
Matt

funkmaster 04-22-2003 08:16 AM

all you need to put in the webpage is:

http://gallery.com/tgp/index.php&WID
Code:

? echo $WID;?

kad 04-22-2003 08:22 AM

PHP Code:

<?=$foo?>

insteads of

PHP Code:

<? echo $foo; ?>

ASP style tags are supported by default in PHP. Use them. They look cleaner :thumbsup

Nysus 04-22-2003 08:25 AM

I'm writing up a short quick tutorial right now for it. And yes, it's quite simple. :)

Cheers,
Matt

srikanth79 04-22-2003 08:44 AM

Thanks Kenneth :thumbsup

srikanth79 04-22-2003 08:50 AM

Quote:

Originally posted by Nysus
I'm writing up a short quick tutorial right now for it. And yes, it's quite simple. :)

Cheers,
Matt

yup looking forward to it :thumbsup

foe 04-22-2003 08:54 AM

I can code this for you, or show you how its done. contact me

Maca 06-22-2003 06:55 PM

Nysus,

did you post that tutorial somewhere?

Anyone else have a tutorial or simple script to generate hosted galleries on input of a webmaster ID?

Chris 06-22-2003 06:56 PM

PHP Code:

this shit is to small to read 



All times are GMT -7. The time now is 11:01 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123