mourningreign Posted March 15, 2006 Share Posted March 15, 2006 The first page:Starts the session and gets the session value from the form.[code]session_start();$_SESSION['picture'] = $_POST['picture'];[/code]The second page:Starts the session and attempts to place the session value in a new form.[code]session_start();$_SESSION['picture'];[/code][code]<input name="upload0" type="file" value="<?php echo $_SESSION['picture']; ?>" size="25" />[/code]Nothing displays! Quote Link to comment https://forums.phpfreaks.com/topic/5008-simple-session-question/ Share on other sites More sharing options...
greycap Posted March 15, 2006 Share Posted March 15, 2006 value cant be set with file inputs. Quote Link to comment https://forums.phpfreaks.com/topic/5008-simple-session-question/#findComment-17738 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.