RE: [PHP-DB] Maximum execution time of 30 seconds exceeded

2003-08-14 Thread Mike Brum
Why is it important that you recycle old PINs? This is most likely eating up the most time in your script execution. My suggestion would be to either A) just keep creating a new one and ignore ones when a child leaves or B) create a 2nd, much smaller table available_pins and when a child

RE: [PHP-DB] Renaming .htm pages to .php

2003-08-03 Thread Mike Brum
If you change you Apache configs, it wouldn't create a problem with .htm pages that don't use any PHP, but the pages will still be sent through the PHP parser. If you don't have a very high-traffic site and there's no other sites on the box, then you probably won't see any real performance hit -

RE: [PHP-DB] Session error?

2003-06-23 Thread Mike Brum
Just put the full path of the dir. For instance I placed mine at C:\php\session to keep things separated. -M -Original Message- From: Tim Winters [mailto:[EMAIL PROTECTED] Sent: Monday, June 23, 2003 12:31 PM To: 'CPT John W. Holmes'; [EMAIL PROTECTED] Subject: RE: [PHP-DB] Session

RE: [PHP-DB] Renaming all pages to .php

2003-06-19 Thread Mike Brum
You can easily add the .php extension to any .htm(l) page that you have with no worries as long as you have PHP installed and configured properly. The only problem is that page load will be SLIGHTLY slower since PHP will search all .php pages for PHP code to evaluate. Upon finding none, it will

Re: [PHP-DB] Resize pictures and store with MySQL

2003-03-30 Thread Mike Brum
Just to illustrate how you'd go about doing this: - User uploads image description - You resize image with GD functions (look at imagecopyresized()) - Store URL and description to the mySQL table you made It's a very simple thing to do once you organize your file structure where you're going to