hello
i am using sessions to parse information form multiple forms, however i am really confused when i start using my mail attachements
heres the code >
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());
}
}
the first if statement checks to see if $choose equals one of two forms if it is, then it checks to see if the mail attachment is not empty. however it wont get past this because it cant see the file.
but when i check in the form for the att , $msg = echo($att) - it shows it is stored under something like c:/php/php11 - so what happened to it, why cant i sent it? :mad:
any help appreciated