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

Re: [PHP] Session - to restrict same user from two logins

2001-07-26 Thread deco
> an easier way of doing this is to have a database of users with their > password in the table and when they log on simply mark them logged using > sum boolean variable. this will, cut down time. > good luck!. > and remeber Have a nice day :) And when would you uncheck the boolean

[PHP] session end

2001-03-10 Thread deco
is there some kind of function or event launched when a session times out?? something like session_on_end() ?? i'm using a flag on a database to tell if a user is visiting the page and i would like to make him offline when his session expires... -- PHP General Mailing List (http://www

[PHP] mysql newsserver

2001-03-01 Thread deco
is there a newsserver like this one at news.php.net with messages from mysql mailing lists? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROT