*
The moose likes PHP and the fly likes In the php ajax what to use to get the image(above is correct)? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » PHP
Bookmark "In the php ajax what to use to get the image(above is correct)?" Watch "In the php ajax what to use to get the image(above is correct)?" New topic
Author

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

Leonidas Savvides
Ranch Hand

Joined: Jan 31, 2010
Posts: 403

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

Joined: Jan 31, 2010
Posts: 403
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
 
subject: In the php ajax what to use to get the image(above is correct)?
 
Similar Threads
Uploading Image file from client to the server
put Submit as a Image
Netscape Navigator:Upload Problem
getParameter, getInputstream, getReader and uploading an image?
AJAX and php upload function.