Jump to content

Default HTTP upload location apache2


Matt79

Recommended Posts

I have been trying to make it possible to upload images on my website via a web browser. I have created the HTML form, I can browse to my desktop and upload an image. But my question is, where is it on my server after I upload it? :shrug:  I am running ubuntu 8.04 on my server.

 

Here is the html form I am using.

<form action="/" method="POST" enctype="multipart/form-data">
<input type="hidden" name="MAX_FILE_SIZE" value="2500000"> Upload Image: <input type="file" name="imgfile">
<font size="1">Click browse to upload a local file</font>
<br/><input type="submit" value="Upload Image">
</form> 

 

Thanks for any help. I am not sure if this is a html, php, or a apache2 issue.

 

Matt

 

Link to comment
Share on other sites

I don't know at what point it get's removed, I suspect it would be pretty quickly. Possibly at the point the script ends if you don't move it possibly not *shrugs*. If you want to see it, just move it to another folder.

Link to comment
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.