Re: [PHP-DEV] strpos() suggestion

2002-11-13 Thread Monte Ohrt
en strpos() for it? > > Mike > > --- Original Message --- > From:Monte Ohrt <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Date:13 Nov 2002 16:02:54 -0600 > Subject: [PHP-DEV] strpos() suggestion > > Hi, > >

[PHP-DEV] strpos() suggestion

2002-11-13 Thread Monte Ohrt
Hi, I had a little problem to solve today, and couldn't find any easy way to do it without some extra steps slicing things up. What I wanted to do is take an arbitrary point in a string, and find the position of the first '[' on the left of it, and the first ']' on the right of it. Finding the '

Re: [PHP-DEV] Re: GD library and PHP

2002-07-30 Thread Monte Ohrt
Speaking of GD, there is a very troubling problem that I have never found a straight answer to. The imagettfbbox function uses the baseline of the font for it's bounding box. What good is a bounding box without the decenders? Now if this were a simple calculation it wouldn't be so bad, but tha

Re: [PHP-DEV] print_r's feature

2002-07-25 Thread Monte Ohrt
Should it be a boolean value, or something a bit more descriptive/flexible? print_r($foo,'html'); print_r($foo,'xml'); $output = print_r($foo,'return'); Monte Denis Arh wrote: > Yeah, i know this... but... ok... ;) > > wouldn't be simplier like this: > > print_r($foo, true); > > i know how

Re: [PHP-DEV] www.php.net site not responding

2002-07-22 Thread Monte Ohrt
I see, it also took down smarty.php.net with it :( I suppose there is only one physical server at our disposal? Monte [EMAIL PROTECTED] wrote: > Hi, > > it's full with downloads taking place... apache is not that suited for > this. :( > > Derick > > On Mon,

[PHP-DEV] www.php.net site not responding

2002-07-22 Thread Monte Ohrt
The site has not responded for at least 20 mins, although it is pingable. I'm not sure who should get this message. Monte -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] web site bug report

2001-03-14 Thread Monte Ohrt
ne 58 -- Monte Ohrt <[EMAIL PROTECTED]> http://www.ispi.net/ -- PHP Development 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 PROTECTED]

Re: [PHP-DEV] php eating carriage returns?

2001-01-26 Thread Monte Ohrt
Got it. This is just causing problems with a templating system we're working on. E-mail templates are not coming out as expected. We'll work around it :) Cynic wrote: > > yes, this is as per the manual. the (optional) newline after > a closing PHP tag ( ?> ) is considered to be a part of the > t

[PHP-DEV] php eating carriage returns?

2001-01-26 Thread Monte Ohrt
example: This is a test done. When I run this from the command line (4.0.5dev) I get the following output: This is a test testing1testing2testing3 done. Why are there not carriage returns between the print statements? Is this an intended behavior? Monte -- PHP Developme