Re: [PHP] Optimal Regex?

2005-09-26 Thread David Pollack
he list please. > > and you still didn't answer the question :-) > > > > preg_match_all($expression, "$string", $matches); > > ^-- why ? ... > > > > are you wrapping the variable in double quotes? > > > ...and also from your code: >

Re: [PHP] Optimal Regex?

2005-09-26 Thread David Pollack
f, however, there are other possible anomalous characters you need to > take > into account, it would be much more helpful if you could supply examples > of > them. > > Much warmth, > > Murray > --- > "Lost in thought..." > http://www.planetthoughtful.org > > > -- David Pollack [EMAIL PROTECTED] www.atlspecials.com <http://www.atlspecials.com> www.da3.net <http://www.da3.net>

[PHP] Optimal Regex?

2005-09-26 Thread David Pollack
t;, $matches); This returns the correct strings (334,-53.44) and (111,222), but I'd like all formats to work. Like (111, 222), ( 111 , 222 ), (111, 222 ), etc, etc. How would I change my regex to accomplish this? -- David Pollack [EMAIL PROTECTED] www.atlspecials.com <http://www.atlspe

Re: [PHP] Deny access from certain hosts

2005-09-13 Thread David Pollack
27;d think of something. Anyway, thanks for the quick responses. This was really frustrating me because I knew it was something small I was over looking. -- David Pollack [EMAIL PROTECTED] www.atlspecials.com www.da3.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Deny access from certain hosts

2005-09-13 Thread David Pollack
#x27;ve tried using mod_access with a simple directive in my like: Deny from 85.65.154 And that does not seem to work. I have mod_access installed and PHP 4. I'm sorry if this is more of an apache question but it just seems like it should be so easy and I can't find a

[PHP] Problem appending values to an object

2005-08-22 Thread David Pollack
(point, html); map.addOverlay(marker); name) { ?> marker.openInfoWindowHtml(html); And here's the URL of the site http://www.atlspecials.com/index.php?option=com_places&task=view&Itemid=17 -- David Pollack [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php