Storing server file name in session
hi there
I'm having problems storing the uploaded server file name in a session.
I've successfully set up an upload page here:
prodstep2.php
If you upload an image it refreshes the page showing the image and the server file name underneath it.
Here's my session code, can you see what I've done wrong here?...
<?php
if (!session_id()) session_start();
if($WA_DFP_UploadStatus["WA_UploadResult1"]["statusCode"] == 1) {
$_SESSION["newimage"] = "".$WA_DFP_UploadStatus["WA_UploadResult1"]["serverFileName"] ."";
}
?>
many thanks


