[PHP] set_magic_quotes_runtime()

2001-06-24 Thread Murray Shields
"[".get_magic_quotes_runtime()."]"; set_magic_quotes_runtime (0); echo "[".get_magic_quotes_runtime()."]"; outputs: [1][0] But the site behaves as though magic quotes is still turned on! Any tricks to using this command? =========

[PHP] Still an Almost working Regex

2001-03-06 Thread Murray Shields
an anyone please help me? ========== Murray Shields Email: [EMAIL PROTECTED] MU Systems Pty Ltd Phone: +61 7 3351 6677 Global Catalogs Pty Ltd Phone: +61 7 3351 4777 -- PHP General Mailing

Re: [PHP] Almost working Regex

2001-03-05 Thread Murray Shields
Yes. > Did you try escaping it with the \? > > > At 04:51 PM 3/6/01 +1000, Murray Shields wrote: > >For data validation, I am using the following regex: > > > >$Status = (ereg("^(^[A-Za-z0-9` !@#$%&()=:;\"\'.?/^|{}-]*)(.*)$", $String,

[PHP] Almost working Regex

2001-03-05 Thread Murray Shields
when I add the closinjg bracket ], the regex stops working. There are no errors, but it accepts any and all characters as valid. How can I add these additional characters to the regex and avoid this problem? Thanks. =========

Re: [PHP] Baby's First Regex! (Repost - Please Help)

2001-01-09 Thread Murray Shields
> Or you could regex it with something like this: > > ereg("^([^a-zA-Z0-9]*)(.*)$", $inStr, $resultArr); Thanks to all who responded! The above is working as described, and is now implemented in my code thanks! ==

[PHP] Baby's First Regex! (Repost - Please Help)

2001-01-09 Thread Murray Shields
ed invalid characters. Please check and try again." However, I would rather be able to tell them WHICH characters they entered represent a problem. How can I get a the list of characters tht causes one of these regex's to fail? ==