Quote:
Originally Posted by Dark Visor
Yeah, I was trying to hook into vb API to pseudo post an attachment from an URL.
So, there is no safe way to upload a remote file?
|
No, just use that curl code sample cut and paste to avoid exploits and make sure the user page does not hang. Of course you can read and tighten it up if you desire.
I would take the snippets from the API to post the attachment and do the checks on your end.
I don't know enough about all of your code to suggest more ATM, but you are close.