php-windows Digest 6 Aug 2004 11:08:03 -0000 Issue 2348
Topics (messages 24354 through 24355):
PHP Access Violation
24354 by: Chris
Looking for regular expression to remove string delimited by double quotes
24355 by: Didier
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Each time I open a php page for the first time in a browser window, I
recieve PHP has encountered an Access Violation at 01C973CD. It doesn't keep
me from doing anything, just shows a violation then continues on. Does
anyone have any suggestions on what to do? Everything is running on a Win
2k3 IIS6 server. When this access violation happens, I also get a DCOM error
in my logs. Any suggestions or ideas will get greatful.
Thanks,
Chris
--- End Message ---
--- Begin Message ---
Looking for regular expression to remove string delimited by double quotes "
Hi,
I have the a string similar to the following
08/06/2004 12:47 PM - CMDPHP: Poller[0] RRD: c:/rrdtool/rrdtool.exe
raph - --imgformat=PNG --start=1091783220 --end=1091789220 --title="Titl
e1" --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-li
mit=0 --units-exponent=0 COMMENT:"From 2004-08-06 11:07:00 To
2004-08-06 12:47\c" --vertical-label=""
DEF:a="C\:\apache2\htdocs\cacti/rra/test1_ds1_12.rrd":ds1:AVERAGE
DEF:b="C\:\apache2\htdocs\cacti/rra/test1_ds1_12.rrd":ds1:AVERAGE
CDEF:cdefb=b,8,* LINE2:b#4444FF:"legend1" LINE2:cdefb#FFF200:""
I would like to remove COMMENT:"From 2004-08-06 11:07:00 To
2004-08-06 12:47\c" in this string
I have tried with no success to find the regular expression combined
with ereg_replace(" COMMENT: ......", "", $command_line);
(The diffulty is there are spaces and the COMMENT is delimited by " ",
and just that part must be removed, not the end of the line)
Does anybody has an idea for this regular expression ?
Any help would be appreciated.
Thanks
Didier
--- End Message ---