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
creating image (jpg) file
Moderator: General Moderators
-
lokesh_kumar_s
- Forum Commoner
- Posts: 48
- Joined: Mon Apr 13, 2009 5:39 am
- Contact:
creating image (jpg) file
Last edited by lokesh_kumar_s on Mon May 11, 2009 3:02 am, edited 1 time in total.
Re: creating image (jpg) file
-
lokesh_kumar_s
- Forum Commoner
- Posts: 48
- Joined: Mon Apr 13, 2009 5:39 am
- Contact:
Re: creating image (jpg) file
cannot understand
-
lokesh_kumar_s
- Forum Commoner
- Posts: 48
- Joined: Mon Apr 13, 2009 5:39 am
- Contact:
Re: creating image (jpg) file
No response to this aa?