Simple Php help!

SpaceshipSpaceship
Watch

GFX^^

VIP Member
Impact
41
well, this is what i want to do in a simple way, but don't know how to

$var1 = 1989

http://www.google.com/$var1

that is it
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
$var1 = "1989";

$var2 = "google.com/" . $var1;

header("location: $var2");

if thats what you mean.
 
0
•••
that is not really what i want i think, what i want is that in this direction www.direction.com/$var1&asd.htm
$var1 = 50
so it goes to www.direction.com/50&asd.htm
 
0
•••
ok...

then do this

$var1 = "asd.htm";

$var2 = "50";

$var3 = $var . $var1;
header("location: $var3");

that will work
 
0
•••
0
•••
no.. i made an error... u have to make direction a var.. here is the modified code


$var1 = "asd.htm";

$var2 = "50";

$var3 ="http://www.direction.com/";

$var4 = $var3 . $var2 . $var1;

header("location: $var4");

??

or or u trying to do something like

direction.com/goto.php?page=arandompage
 
0
•••
found what i wanted :D it was more simple:


www.domain.com/<? echo $var1; ?>
 
0
•••
oh well yea.. i thought that you were doing it with more than one var.... anywho.. good luck

rep app?
 
0
•••
"You must spread some Reputation around before giving it to templaterave again."
 
0
•••
Dynadot — .com TransferDynadot — .com Transfer
Appraise.net

We're social

Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back