Welcome Guest, Not a member yet? Register   Sign In
Getting file while updating entry
#4

[eluser]ciGR[/eluser]
You can see when you upload an image in input the path is a local path of the user's computer, so if you can do this an add the path of the image on server, when the user post the form and don't change the image it's browser try to find the path in user's computer to upload the image, but the path you set was on your web server.

But, you can do that you want by add a hidden input and give it for value the image path
like
Code:
<input type = 'hidden' value = 'image_path'>
and when the user post you can get the image path from this input.

But I think there is no need to do that, because if the user dont upload a new image, you have already saved the image path in the database.


Messages In This Thread
Getting file while updating entry - by El Forum - 02-17-2010, 03:18 PM
Getting file while updating entry - by El Forum - 02-17-2010, 03:49 PM
Getting file while updating entry - by El Forum - 02-17-2010, 04:21 PM
Getting file while updating entry - by El Forum - 02-17-2010, 04:30 PM
Getting file while updating entry - by El Forum - 02-18-2010, 02:02 PM
Getting file while updating entry - by El Forum - 02-18-2010, 03:09 PM



Theme © iAndrew 2016 - Forum software by © MyBB