Jump to content

Archived

This topic is now archived and is closed to further replies.

mourningreign

Simple Session Question

Recommended Posts

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!

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.