hey im trying to upload an image that is being created on the fly is it possible?
$upload = ftp_put($ftp, $_FILES['Filedata']['name'], imagejpeg($new_img), FTP_BINARY);
if not how do i go by doing it?
if i do
$upload = imagejpeg($new_img, $_FILES['Filedata']['name']);
it jsut uploads in my localhost current directory.
trying something else out also:
imagejpeg($new_img);
$thumb_made = ob_get_content
ob_end_clean();
$upload = ftp_put($ftp, $_FILES['Filedata']['name'], $thumb_made, FTP_BINARY);
i get the image binary but i just cant seem to upload it and store it.