Jump to content

Recommended Posts

Scenario:

have an image upload form which works perfectly ([color=red]why not - it could happen[/color]). Fields are (1) the file to upload; (2) Caption for the image; and (3) a textarea for a brief description. The user is given an option on the form to 'preview'. When selected the script (a) uploads the file; and (b) redisplays the form with all the info filled in AND displays the image.

The Problem:

ok, ok so its not perfect!. I am able to re-display caption and the description in their respective fields; however; I am having a bit of a problem with the image 'path/name'.

The Question:

How, if it is possible, can one re-display the original 'path/name' in the appropriate field?

ie. the file resides on user's computer at c:\just my pictures\my_dog_fluffy.jpg

([i][b]ok so its a sissy dog[/b][/i])

Thanks,

Lite...
Link to comment
https://forums.phpfreaks.com/topic/13507-capturing-source-path-for-uploaded-file/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.