The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Send php data with javascript

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #28032

    I’m working with an html editor and creating a custom image/file upload plugin. The editor uses javascript to display everything and to accept user input. My plug in will accept the user file with <input type="file"> and sends the file info to a php file for processing. without redirecting the user. Basically:

    1. image upload button selected
    2. dialog box shows
    3. images selected
    4. User selects ok
    5. dialog box goes away
    6. images are uploaded to area specified in the php file

    I have the box created and I know how to code the php, just working out how to connect the two.


    I found a way around it. I figure this will be to much of an issue since php is server side and java is client side. I’m going to use a work around to only use php and use the ok button form the editor for when the user is finished uploading.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.