You are here: Re: EXIF I have a problem « PHP Programming Language « IT news, forums, messages
Re: EXIF I have a problem

Posted by Mohawk Mawk on 05/05/07 13:17

On May 5, 8:10 pm, Iván Sánchez Ortega <ivansanchez-...@rroba-
escomposlinux.-.punto.-.org> wrote:
> Mohawk Mawk wrote:
>
> >> Try file_put_contents($string,'temp.jpg') instead of
> >> imagecreatejpeg(imagecreatefromstring()).
>
> > I tried this but what happens is it creates a 8 byte file named ÿØÿà
> > (witch are the first charachters of my string)
>
> Sorry, I can't remember the syntax of every function... Try
> file_put_contents('temp.jpg',$string)
>
> --
> ----------------------------------
> Iván Sánchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-
>
> Now listening to: Plaid - Spokes (2003) - [8] Get What You Gave (5:16) (95%)

haha sorry my bad, thank you very much it worked, i also found that i
could do fwrite(fopen("temp.jpg", 'a'),$string); but that would not
create the file so i cant unlink it. i will take your advice and
generate random names, thank you again

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация