wahoo thanks guys, finally workin.
+rep 4 all hu helped :]

wahoo thanks guys, finally workin.
+rep 4 all hu helped :]
Post Count: :eusa_danc 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000 :eusa_danc
Glad you've got it working
Fyi; I might release a new version of the Panel soon to fix all the security issues/bugs![]()
You'll find my bit of code was correct, though i can see what your attempting to do.
Your problem here is PHP treat's single quotes ' and double quotes differently, and unluckily you appear to have chosen the wrong one.
If php sees a string with double quotes, php will check to see if any varibles are inside, Which i believe is what you were trying to do, so:
header("location: miniprofile.php?name=$_SESSION[username]");
Would indeed work.
Unluckily if php comes across a single quote, this tells php there isnt going to be any variables inside, saving it some processing time, but also resulting in it not searching the string for variables.
Meaning your attempt
header('location: miniprofile.php?name=$_SESSION[username]');
Would be unsuccessful.
"" = will parse variables
'' = faster but wont parse variables
Ok thanks for explainingYou'll find my bit of code was correct, though i can see what your attempting to do.
Your problem here is PHP treat's single quotes ' and double quotes differently, and unluckily you appear to have chosen the wrong one.
If php sees a string with double quotes, php will check to see if any varibles are inside, Which i believe is what you were trying to do, so:
header("location: miniprofile.php?name=$_SESSION[username]");
Would indeed work.
Unluckily if php comes across a single quote, this tells php there isnt going to be any variables inside, saving it some processing time, but also resulting in it not searching the string for variables.
Meaning your attempt
header('location: miniprofile.php?name=$_SESSION[username]');
Would be unsuccessful.
"" = will parse variables
'' = faster but wont parse variables
Looking for a good desiner to design a social networking template.
PM me.
How did you manage to get it working in the end then?
Want to hide these adverts? Register an account for free!