how can i make :

header("Location: cppassemail.php?user=$this->pSession->whoAmI('username');&pass=$password&quota=5");

work? somebody told me to make it like this:

$user = $this->pSession->whoAmI('username'); $pass = $password; $quot = 5; header("Location: cppassemail.php?user=".$user."&pass=".$pass."&quota=".$quot); exit;

but it dosen't work. it results just a blank page, no errors, no redirecting.. nothing. thank you! ps: please tell me the complete code.. i am not very good at php:$ bye:)

try this-

<?php

$name="foo";
$age="bar";
header("Location: print.php?name=".$name."&&age=".$age);

?>

try this-

<?php

$name="foo";
$age="bar";
header("Location: print.php?name=".$name."&&age=".$age);

?>

Hello,
Thanks for your information.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.