Jump to content

File uploading


Adam

Recommended Posts

You Ajax call would call the upload script, using either POST or GET.  You upload script would just be a standard PHP file, doing whatever you want it to do with the file.  Then you would have a div that you output the text to using the innerHTML DOM property.  Two books are really, really helpful:

 

Apress Beginning Ajax and PHP ... this helped me out a LOT!  Also, Ajax For Dummies.  Both were wonderful and helped me out a lot.  If I knew more, I'd put some code here for you!  Sorry I don't know more!

Link to comment
Share on other sites

I know how to use AJAX and PHP - And upload files the normal way. When i send the ajax though, how i send the file location (eg. C:\.....\myfile.ext), as it wouldn't register as a "FILE" object.

 

- thanks

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.