[PHP] Re: Ereg headache

2002-11-15 Thread Gustaf Sjoberg
if strpos < strlen but not 1 it's in the middle.. etc. On Sat, 16 Nov 2002 00:04:50 +0100 [EMAIL PROTECTED] (Gustaf Sjoberg) wrote: >hi, >this is probably not at all what you want, but i wrote it just in case. > >function pos1($numbers) { >

[PHP] Re: Ereg headache

2002-11-15 Thread Gustaf Sjoberg
hi, this is probably not at all what you want, but i wrote it just in case. if 1 is in the string it will return either "middle", "left", "right" or "only".. if it is not it will return false. On Fri, 15 Nov 2002 08:49:23 -0800 (PST) [EMAIL PROTECTED] (Mako Shark) wrote: >I have a real proble

Re: [PHP] ereg_replace();

2002-11-13 Thread Gustaf Sjoberg
Ah, very nice Ernest. thanks a lot. the nice thing is that i read and understood the regexp so i got a great deal out of having this problem ;-) cheers, GS On Wed, 13 Nov 2002 08:28:30 +0100 [EMAIL PROTECTED] (Ernest E Vogelsinger) wrote: >At 01:59 13.11.2002, Gustaf Sjoberg s

Re: [PHP] ereg_replace();

2002-11-12 Thread Gustaf Sjoberg
helping others "baby sit" my code, but this was my first day using regular expressions so i've been taking a few sure shots.. so it would be great if you could just take a quick glance at it. thanks in anticipation, GS On Tue, 12 Nov 2002 18:57:04 +0100 [EMAIL PROTECTED] (Ernest E

Re: [PHP] ereg_replace();

2002-11-12 Thread Gustaf Sjoberg
e a secret source? ;-) On Tue, 12 Nov 2002 18:35:55 +0100 [EMAIL PROTECTED] (Ernest E Vogelsinger) wrote: >At 17:49 12.11.2002, Gustaf Sjoberg spoke out and said: >[snip] >>Hi, >>i'm trying to replace every instance of ""

[PHP] Re: get the output from a program

2002-11-12 Thread Gustaf Sjoberg
33:09 -0500 [EMAIL PROTECTED] (Greg) wrote: >Hi- >Is there a way in PHP to execute a program and then have it pass its output >back to PHP? Say I wanted to return the value that running "df" produced >and put it in a web page? Thanks!! >-Greg

[PHP] ereg_replace();

2002-11-12 Thread Gustaf Sjoberg
e $string: test test test testing testing test test i want that to look like: test test test testing testing test test -- Gustaf Sjoberg <[EMAIL PROTECTED]> <(" <) <(" )> <( ")> (> ")> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php