[PHP] Rotation of images

2002-11-12 Thread Sear, Mick
I can use ImageMagick to rotate images, and that would be my preferred technique, but I was wondering how you might use GD to rotate images. As far as I can see, it's not possible. Anyone tried it? Mick e-ssociate EPSON (UK) Ltd. Tel 01442 227374 www.epson.co.uk -- PHP General Mailing L

[PHP] SAP documentation

2002-10-30 Thread Sear, Mick
I'm interested in the possibility of interfacing with SAP for a project using PHP or Perl. I've not found any documentation that might help yet: Can anyone point me in the direction of any help? I've only used PHP with MySQL to date. Thanks, Mick e-ssociate EPSON (UK) Ltd. Tel 01442 227374 w

[PHP] RE: Who is online script example

2002-09-26 Thread Sear, Mick
I have my own login system - which authenticates against a MySQL database and then uses sessions to keep track of logins. It registers a session variable for last access time, and logs access to pages in a separate table. Then I can do things like this: function currently_active_users(){

RE: [PHP] Looking for a forum

2002-09-26 Thread Sear, Mick
I went through a load of forum systems recently that I found on www.hotscripts.com, but none of them had what I wanted - In the end, I used the bare-bones forum system in 'PHP & MySQL Web Development' by Welling and Thomson and added: - My own existing login system (I was integrating forums into

RE: [PHP] Newbie problem with POST vars

2002-06-13 Thread Sear, Mick
print_r($_POST); shows all the elements in the array as I expect them to be. That foreach loop is only picking the first element, though. At least it's reassured me that I'm not going mad, though, so thanks for that. Mick > I've tried this, but it's still doing the same thing. Is there somethi

Re: [PHP] Newbie problem with POST vars

2002-06-13 Thread Sear, Mick
I've tried this, but it's still doing the same thing. Is there something special about this particular variable that I need to know? I've tried it with $HTTP_POST_VARS as well, declaring $HTTP_POST_VARS as global in the function first. Put reset($_POST) before foreach loop > I'

[PHP] Newbie problem with POST vars

2002-06-13 Thread Sear, Mick
Sorry if this is a bit simple: I'm trying to loop through $_POST vars in a function, which I understand to be an autoglobal associative array. Here's the code I'm using: foreach($_POST as $item => $value){ echo "$item, $value"; } However, I only get the first element of the array echoe

[PHP] Timing out session cookies

2002-05-07 Thread Sear, Mick
Hi, How do I set an expiration time on a session cookie? I basically want to log users out automatically after a period of inactivity. Cheers, Mick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Poor results with GD

2002-04-16 Thread Sear, Mick
Excellent advice, thanks. I was using GD 1.6.2 :( so will sort this and try again. Mick -Original Message- From: Richard Archer [mailto:[EMAIL PROTECTED]] Sent: 15 April 2002 22:58 To: [EMAIL PROTECTED] Subject: Re: [PHP] Poor results with GD At 5:32 PM +0200 15/4/02, Sear, Mick

RE: [PHP] Poor results with GD

2002-04-16 Thread Sear, Mick
age- From: Andrew Brampton [mailto:[EMAIL PROTECTED]] Sent: 15 April 2002 17:56 To: Sear, Mick; [EMAIL PROTECTED] Subject: Re: [PHP] Poor results with GD They looked ok to me, but I don't know what the orginals looked like. But the problem might be that your JPeg quality is set lower than you

[PHP] Poor results with GD

2002-04-15 Thread Sear, Mick
Not sure if anyone else uses GD much, but I've been experimenting with it and PHP recently and I've found I get large file sizes and very 'aliased' graphics. Can anyone suggest a fix/ alternative? You'll see what I mean if you look at www.msear.com/paintings/ where the images are currently all g