We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This data how to send?
$BODY .= '------WebKitFormBoundary'.$BOUNDARY.$eol; $BODY .= 'Content-Disposition: form-data; name="file"; filename="'.basename($cp).'"'.$eol; $BODY .= 'Content-Type: image/'.pathinfo(basename($cp), PATHINFO_EXTENSION).$eol.$eol; $BODY .= $Pic.$eol;
Trying like this:
$request->addPostFile('file', $cp, basename($cp)); $request->addPostField('Content-Type', 'image/'.pathinfo(basename($cp), PATHINFO_EXTENSION));
Name field: file Filename: how to add? 2nd Line Content-Type: How to add? $Pic: image how to add?
file
how to add?
How to add?
image how to add?
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
I tried but pic not uploaded
No branches or pull requests
This data how to send?
Trying like this:
Name field:
file
Filename:
how to add?
2nd Line Content-Type:
How to add?
$Pic:
image how to add?
The text was updated successfully, but these errors were encountered: