creating image (jpg) file
Posted: Mon May 11, 2009 1:54 am
hi i am using POST method to transfer the content of jpg file (i cannot modify this because it is in different platform)in php i am getting those contents which i sent but want to write into file called jjjj.jpg. i used the Fwrite function but if i see that file in the windows image viewer it will show as "No Preview Available" please help
i have used ContentType as application/x-www-form-urlencoded at the sending end(from where POST occurs)
do i need to use ContentType as image/jpeg if so i cannot able to get content inside $_POST['photo']
please help
i have used ContentType as application/x-www-form-urlencoded at the sending end(from where POST occurs)
do i need to use ContentType as image/jpeg if so i cannot able to get content inside $_POST['photo']
please help