ok cool, it worked. this is pretty much what i did :
<?php
session_start();
#start variables
session_register("first_name");
session_register("last_name");
session_register("cell");
session_register("land");
session_register("e_mail");
$first_name = $fname;
$last_name = $lname;
$cell = $tnumber;
$land = $mnumber;
$e_mail = $email;
if ($fname != null) {
header("Location:popup_step3.php?<?php echo(SID); ?>");
}
?>
and then used the session variables, however now i have a problem with my mail attachments :
on my mail page i got :
#reading the attchment files
#if (($choose == "card") || ($choose == "corp_stationary")) {
if ($image != "none") {
$imgf = fopen("$image", "r");
$imagef = fread($imgf, $imgf_size);
#encode the data for safer transmission
$imagef = chunk_split(base64_encode($imagef));
#get a random 32 hexadecimal number
$num = md5(time());
}
}
however i cant read the file - $image (session) variable of $att. is this a problem with my session or with my code?🙁
fopen($image, "r") is usually not in brackets i just tried it to see if it would make a difference.
thanx