File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

In the php ajax what to use to get the image(above is correct)?

 
Leonidas Savvides
Ranch Hand
Posts: 403
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

suppose this(id:'file' file text field) submitted with SUBMIT Button to a PHP handler, I can by otherwise use a button in the same form (must be submit button?), for an ajax call to preview image, prior upload to php? In the php ajax what to use to get the image(above is correct)?
 
Leonidas Savvides
Ranch Hand
Posts: 403
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I mean the ONLY way get:
$original_image = $_FILES['file']['tmp_name'];
is with webform submitted or... I can otherwise also with ajax button - not main submit - (prior submit with Submit button) to preview and after use Submit button?

ajax button (process with ajax same page) must be submit type button to get $original_image?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic