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)
-   -   I got a question regarding passing php shit over (https://gfy.com/showthread.php?t=322116)

Juicy D. Links 07-05-2004 07:29 AM

I got a question regarding passing php shit over
 
Example:

http://www.domainA.com/galleries/1.php?affid=juicy


Now i want hits to be sent to a new domain with the same gallery being mirrored such as


http://www.domainB.com/galleries/1.php?affid=juicy


Is there some sort of php or something? If i do a meta redirect there might be a way to pass the affid=juicy over?


Can u dig this ?

whee 07-05-2004 07:31 AM

Yes. Yes i can. :)

Ash@phpFX 07-05-2004 07:33 AM

easy mate, im hitting you up now

Juicy D. Links 07-05-2004 07:33 AM

Quote:

Originally posted by whee
Yes. Yes i can. :)
Tell me now bitch how :Graucho :Graucho

j/k can you do it? If so how much $$$

chodadog 07-05-2004 07:39 AM

hahahahahaha hahahahahahahahahaha="refresh" content="2;url=http://www.domainb.com/galleries/1.php?affid=<?php if (empty($affid)) { echo juicy; } else { echo $HTTP_GET_VARS['affid']; } ?>">

That should work.

chodadog 07-05-2004 07:40 AM

Whoops. You'd think they would have unbanned those words now that HTML is disabled.

Ash@phpFX 07-05-2004 07:44 AM

hes got it now :winkwink:

Roberto the Perverto 07-05-2004 07:46 AM

whoa,
I'm new. In the time it took to signup for an account there were like 5 responses...

I might as well say you can also use mod_rewrite to forward externally. almost easier then using php.

rich06 07-05-2004 09:10 AM

yep - use mod_rewrite or even php's header('Location: http://newurl') instead of a meta-refresh...

this board is on nitro for sure...

rich

fuzebox 07-05-2004 09:36 AM

Quote:

Originally posted by rich06
yep - use mod_rewrite or even php's header('Location: http://newurl') instead of a meta-refresh...
That's how I'd do it.

Robertf 07-05-2004 09:50 AM

Quote:

Originally posted by fuzebox
That's how I'd do it.
Me too .. Meta refreshes can be turnt of in the browser settings.

arachnO 07-05-2004 10:09 AM

Use can do it easy with mod_rewrite

PHP Code:

RewriteEngine on
RewriteBase    
/

RewriteRule    ^galleries/1.php?affid=([0-9a-zA-Z_\-]+)?$ http://www.domainB.com/galleries/1.php?affid=$1 [T=application/x-httpd-php,L] 



All times are GMT -7. The time now is 06:28 AM.

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