Re: [PHP] How does one obtain the resolution of an image in PHP?

2006-03-17 Thread John Hinton
- Edwin - wrote: Hi! On Thu, 16 Mar 2006 14:31:38 -0500 John Hinton <[EMAIL PROTECTED]> wrote: Simon M. Campden-Main wrote: Well, there's the meat of it, isn't it? I wonder how Paint Shop Pro comes up with PPI (Image - Image information). I have several thousand sca

Re: [PHP] How does one obtain the resolution of an image in PHP?

2006-03-16 Thread John Hinton
nitor (unless you have an awesome multi-display setup that can reach 10,000 pixels wide and tall). That's the bottom line. So, I keep seeing 'display size' when I'm thinking the term should be 'printed size'. John Hinton -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help Defending against Email Injection Attacks

2006-02-06 Thread John Hinton
ht find some nice routines which you could enable to create some of the same lines of defense within a php script. Best, John Hinton #--- /** * Secures field against email header injection attacks. * * USAGE: * secu

Re: [PHP] 4 Digit ID with Leading Zeros

2005-12-15 Thread John Hinton
in Excel as well.. Friggin programs that think they are smarter that people Anyway, that'll do the mysql side of it for you. John Hinton -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] href links not working in XP

2005-12-11 Thread John Hinton
are able to force the issue with direct input... but then again, I could just be all wet behind the ears. John Hinton -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Optimizing Images

2005-12-06 Thread John Hinton
box, do some studying on imagemagik. It has scads of tools and uses one of the best optimization algorythms I've seen. A very powerful tool.. can do low res, watermarks, resizing.. and on and on and on. John Hinton -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ICQ

2005-10-12 Thread John Hinton
fulfill. Best, John Hinton -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP and MySQL and resouce limits

2005-07-20 Thread John Hinton
n of the PHP code itself. So, I must be missing something, why is PHP somehow tied to the work MySQL is doing? As in memory usage seems that MySQL should be simply sending PHP the returns on its commands... hm.... Thanks, John Hinton -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Strange notation to create object

2005-06-23 Thread John Hinton
just happened to be yours that finally convinced me to send this. I just get tired of the interruption of my delete process. Best, John Hinton -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] LDAP and .htaccess

2005-04-27 Thread John Hinton
Bret Walker wrote: I'm not too sure, but it seems to be having an effect you any text showing up in your emails. John Hinton -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: PHP Designer 2005

2005-04-26 Thread John Hinton
e free stuff... stuff you don't spend money for is only equal in value to the amount spent... Free stuff is no good for instance... PHP John Hinton -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Best Server OS

2005-03-28 Thread John Hinton
f you want MySQL 3 versions, CentOS EL 3.4 is a free Redhat Enterprise Linux clone. For MySQL 4.x... CentOS EL 4 is out. Also has selinux if you want to take that on. All quality stuff that you can rely on in a mission critical environment. John Hinton -- PHP General Mailing List (http://www.ph

[PHP] Still fighting setcookie

2005-03-27 Thread John Hinton
I would expect the return on action=1 to report the set cookie, but instead, it has no data. If I then reload the browser, the cookie appears. How can I get the cookie to set without this reload? What am I missing? Thanks a bunch... John Hinton -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] setcookie issue

2005-03-26 Thread John Hinton
Chris Shiflett wrote: John Hinton wrote: Seems my old setcookie scripts are busted in php with globals off. Use $_COOKIES['name']. Chris The thing is, on the next action switch print_r($_COOKIE); returns empty until I refresh the browser. So, thusly, the second page load brings in t

[PHP] setcookie issue

2005-03-26 Thread John Hinton
reload, they appear. So, to the user, they are presented with logging in twice unless they know this odd trick. Any ideas about how to make this work on the first time through? This is driving me nuts on two sites at the moment. Thanks, John Hinton -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] MySQL Join

2002-12-31 Thread John Hinton
ield0, (DISTINCT field1, field2) FROM table? Sure would make this easy! or SELECT field0 WHERE DISTINCT field1, field2 FROM table? There seems to be very little information anywhere on DISTINCT -- John Hinton - Goshen, VA. http://www.ew3d.com Those who dance are considered insane by those w

Re: [PHP] Resource limit/performance questions

2002-12-20 Thread John Hinton
nthly magazine dedicated to the world of PHP programming > > Check us out on the web at http://www.phparch.com! > > > > Subject: Re: [PHP] Resource limit/performance questions > Date: Fri, 20 Dec 2002 1

Re: [PHP] Resource limit/performance questions

2002-12-20 Thread John Hinton
mming > > Check us out on the web at http://www.phparch.com! > > > > Subject: [PHP] Resource limit/performance questions > Date: Fri, 20 Dec 2002 15:31:58 -0500 > From: John Hinton <[EMAIL PROTECTED]> > To: "[EMAIL PROTECTED]" <[EMAIL PRO

[PHP] Resource limit/performance questions

2002-12-20 Thread John Hinton
this testing on a 550 mhz processor, but will be running the ap on a dual 500s. Am I getting totally out of hand in thinking I can do this? TIA -- John Hinton - Goshen, VA. http://www.ew3d.com Those who dance are considered insane by those who can't hear the music -- PHP General Ma

[PHP] One php returning several htmls

2002-12-19 Thread John Hinton
ng about simple links and alternatives. -- John Hinton - Goshen, VA. http://www.ew3d.com Those who dance are considered insane by those who can't hear the music -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Static constants? Server persistent?

2002-09-29 Thread John Hinton
less > disk seeks thebetter :) > > Jc > > If you are running under Linux.. load it up with RAM... the OS will hold any recent disk reads in cache... particularly a simple html document with a few locally held images. I've watched disk access on some of my boxes, some sites se

Re: [PHP] Include...

2002-09-28 Thread John Hinton
ere it is. Try Include ("style.inc"); With what you have, assuming lmenu.php is in /local/htdocs/movies, it is likely looking for /local/htdocs/movies/local/htdocs/movies/style.inc It is finicky! John Hinton -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Bet this is a dead horse

2002-09-28 Thread John Hinton
Sorry, just signed on... due to this question... hope this horse ain't too dead. Anyway, I have a need to run a SSI inside of a PHP page. Only thing I have found so far is that maybe Apache 2.0 will handle this feature? Is there anyway to get this to work under Linux/Apache? -- John H