Upload photo
AdamS
Australia
Second day I'm trying to upload file (jpeg) to the server via Ajax/PHP
Can you tell me please, what's wrong?
modify url=processupload.php
post data={"FileInput":"C:\Users\Administrator\Downloads\1442311635_a.jpg"}
just download=1
and
modify url=processupload.php
post data=FileInput=C:\Users\Administrator\Downloads\1442311635_a.jpg
just download=1
Comments
how about:
modify url=processupload.php
post data=FileInput=%file-C:\Users\Administrator\Downloads\1442311635_a.jpg%
just download=1
(
[name] => accrue2.jpg
[type] => image/jpeg
[tmp_name] => /tmp/phpkwRQpD
[error] => 0
[size] => 82047
)
but if I'll put type=text probably SER will send it as "file_path" no as a photo