G GFX^^ VIP Member VIP โ 20 โ Impact 41 Jan 8, 2006 1K views 8 replies #1 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
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
Ray VIP Member VIP โ 20 โ Impact 167 Jan 8, 2006 #2 $var1 = "1989"; $var2 = "google.com/" . $var1; header("location: $var2"); if thats what you mean.
G GFX^^ VIP Member VIP โ 20 โ Impact 41 Jan 8, 2006 #3 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
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
Ray VIP Member VIP โ 20 โ Impact 167 Jan 8, 2006 #4 ok... then do this $var1 = "asd.htm"; $var2 = "50"; $var3 = $var . $var1; header("location: $var3"); that will work
ok... then do this $var1 = "asd.htm"; $var2 = "50"; $var3 = $var . $var1; header("location: $var3"); that will work
G GFX^^ VIP Member VIP โ 20 โ Impact 41 Jan 8, 2006 #5 ok i understanded, u forgot to set $var but i think it is www.direction.com/ right?
Ray VIP Member VIP โ 20 โ Impact 167 Jan 8, 2006 #6 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
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
G GFX^^ VIP Member VIP โ 20 โ Impact 41 Jan 8, 2006 #7 found what i wanted :D it was more simple: www.domain.com/<? echo $var1; ?>
Ray VIP Member VIP โ 20 โ Impact 167 Jan 8, 2006 #8 oh well yea.. i thought that you were doing it with more than one var.... anywho.. good luck rep app?
oh well yea.. i thought that you were doing it with more than one var.... anywho.. good luck rep app?
G GFX^^ VIP Member VIP โ 20 โ Impact 41 Jan 8, 2006 #9 "You must spread some Reputation around before giving it to templaterave again."