Jump to content

Recommended Posts

Hi!

I'm working on getting into some ajaxy website design, and I'm working on a "post news script". The script itself is working ok, but I wanted to add an image upload to it, and now to make it a bit smoother for the user, I wanted to avoid reloading the page when the user wants to upload the image.

 

I have an old image upload script I could use, but that would require a bunch of unnecessary refreshes and page switches. Does anyone have a suggestion to how I could do this in one page?

 

Basically my idea was to have just an upload button somewhere in the form, and when the file has been uploaded, the button disappears and just the filename is left - or something like that.

Link to comment
https://forums.phpfreaks.com/topic/227815-on-fileupload-complete-switch/
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.