Re: [PHP] Finding the height of a JPG in pixels using PHP

2003-04-05 Thread De deco
You can use getimagesize on a jpg file to read its size, so either save the jpg in MySQL to a file and then do a getImageSize, or before you place the jpg in to the database read its size and store its dimensions with it in the db. I disagree with Andrew. In my humble opinion, I don't think you

[PHP] Re: Re: Freshmeat question

2003-01-20 Thread De deco
Thanks Martin. This is great. :) I am not new to programming, just to scripting languages. I have seen that Perl has some high advanced sintaxes for string processing, for example, but I don't know if the same level can also be achieved in PHP...? As for the script below, could I run it inside

[PHP] Freshmeat question

2003-01-20 Thread De deco
Hello, I am new to PHP scripting, but I have read some introdutory material, to know at least the basics of the basics. But my question here is not about the thing I read, that PHP is used for. I would like to know if I can use PHP to make scripts at home (not on my server, not for woprkin