Re: [PHP-WIN] String Replacement

2001-01-14 Thread Chris Adams
On 14 Jan 2001 19:40:28 -0800, Toby Butzon <[EMAIL PROTECTED]> wrote: >Ok, so you want to replace ONLY the word "boy" with the word "girl"... you >don't want to touch "boys". > >Perhaps str_replace("boy ", "girl ", $myStr) would do the trick? Better yet, preg_replace("/\bboy\b/i", "girl", $myStr)

[PHP-WIN] PHP-Win in shared hosting

2001-01-14 Thread David Harrison
Hi, Does anyone have any experience or comments in running PHP under Windows systems (Windows NT 4 Server / Windows 2000 Server) in shared hosting situations (ie, multiple sites running off the same box)? If so, I'd be interesting in hearing any problems you might have encountered, or any sugg

Re: [PHP-WIN] String Replacement

2001-01-14 Thread Toby Butzon
lol... Ok, so you want to replace ONLY the word "boy" with the word "girl"... you don't want to touch "boys". Perhaps str_replace("boy ", "girl ", $myStr) would do the trick? --Toby - Original Message - From: "Flint Doungchak" <[EMAIL PROTECTED]> To: "'Toby Butzon'" <[EMAIL PROTECTED]>

RE: [PHP-WIN] String Replacement

2001-01-14 Thread Flint Doungchak
OK, Let's try this to clarify... I hope. str_replace("boy","girl","$string"); In my case, PHP finds the 'boy' in boys and replaces it with 'girl' giving me 'girls' which is not what I want. Boy, I hope that makes sense. -Flint -Original Message- From: Toby Butzon [mailto:[EMAIL PROT

Re: [PHP-WIN] String Replacement

2001-01-14 Thread Toby Butzon
Seems to me that you've got what you want... If I'm reading you right, you want to keep plural words plural and singular words singular... so boys would become girls and boy would become girl. Well... if you just replace boy with girl you get that result... So I'm not seeing the problem... enlig

php-windows Digest 15 Jan 2001 03:22:54 -0000 Issue 397

2001-01-14 Thread php-windows-digest-help
php-windows Digest 15 Jan 2001 03:22:54 - Issue 397 Topics (messages 5001 through 5014): Re: The page cannot be displayed 5001 by: adam Re: PHP Editor 5002 by: Angus Mann 5009 by: Alain Samoun 5011 by: Chris Adams Re: DOM 5003 by: James Duncan

[PHP-WIN] String Replacement

2001-01-14 Thread Flint Doungchak
Hello all, Hope you all had a nice weekend. Simple question, I think. I would like to find all occurance of: boy or boys and replace it with: girl or girls respectively. My problem is that using the str_replace function like this: str_replace("boy","girl","$string"); turns boys into girls

[PHP-WIN] re: beginner GD graphics extension blues

2001-01-14 Thread Paul Trapnell
Blank> You forgot a ")" on the first line of the script: > Header("Content-type: image/png"); > Alain Billions and Billions of thank-yous Ok, now don't laugh, here's the missing context that led to the gaff ("Newbie Fails to Notice Missing Bracket"). I had 3 different GD test files, none w

[PHP-WIN] PHP as a module on Windows

2001-01-14 Thread adam
[One more try.] Ok, I have to ask - can you run PHP as a module on a stock Apache intall on Windows? I've tried it here several times, and I just can't seem to get it to work. I get the EAPI/DEAPI error, which seems to imply that you have to compile Apache on Win32 to do it. When I load a page

Re: [PHP-WIN] PHP Editor

2001-01-14 Thread Chris Adams
On 14 Jan 2001 07:16:11 -0800, Angus Mann <[EMAIL PROTECTED]> wrote: >Does anyone know of an editor that has good syntax colouring and also can >handle braces matching? Textpad (http://www.textpad.com/). It's pretty customizable, allows a fair amount of configuration per file-type and has a few

Re: [PHP-WIN] gd beginner blues

2001-01-14 Thread Alain Samoun
You forgot a ")" on the first line of the script: Header("Content-type: image/png"); Alain On Sun, Jan 14, 2001 at 02:20:15AM -0800, Paul Trapnell wrote: > BlankA newbie just needs a wee bit of gd guidance. clicking a GD test file > prompts a "download" dialogue to pop up, or, on a second test f

Re: [PHP-WIN] PHP Editor

2001-01-14 Thread Alain Samoun
Ultraedit: www.sonic.net/alain/ultraedit/ Alain On Mon, Jan 15, 2001 at 02:17:40AM +1100, Angus Mann wrote: > At 13:30 14/01/01 +0100, you wrote: > > Does anyone know of an editor that has good syntax colouring and also can > handle braces matching? > > Thanks, > > Angus. > > >Hi, > > > >I g

RE: [PHP-WIN] DOM

2001-01-14 Thread Cynic
Have fun. At 18:29 14.1. 2001, James Duncan wrote the following: -- >Oh that sounds promising... I will have to go check their website myself now >;) Thanks for all your help on this matter! > >James > > >-Original Message- >Fr

RE: [PHP-WIN] DOM

2001-01-14 Thread James Duncan
Oh that sounds promising... I will have to go check their website myself now ;) Thanks for all your help on this matter! James -Original Message- From: Cynic [mailto:[EMAIL PROTECTED]] Sent: 14 January 2001 17:14 To: James Duncan Cc: [EMAIL PROTECTED] Subject: RE: [PHP-WIN] DOM Well, a

RE: [PHP-WIN] DOM

2001-01-14 Thread Cynic
Well, after writing that mail I checked libxml's homepage, and it seems they've managed to build in an HTML mode, so maybe it's forgiving enough to parse really anything. At 18:06 14.1. 2001, James Duncan wrote the following: -- >Bu

RE: [PHP-WIN] DOM

2001-01-14 Thread James Duncan
But I thought you said that the DOM XML wouldn't parse a normal HTML web page because 98% of web pages aren't truly XML compatible and the XML parser would die with an error message(s)? I want to be able to feed the parser any old HTML web page and read the node values from the DOM (created by th

RE: [PHP-WIN] DOM

2001-01-14 Thread Cynic
What you want has already been done, with two different approaches: DOM XML functions and Sablotron functions (SAX interface). Just use one of these modules in your script. At 16:28 14.1. 2001, James Duncan wrote the following: -- >A

RE: [PHP-WIN] DOM

2001-01-14 Thread James Duncan
As I'm asking stupid questions at the moment: Could someone write an (XML/HTML?) parser for PHP that exposes the DOM in the same way as the Javascript one does in IE 5? This would allow me to access the node elements (#text, etc) via PHP on an HTML file stored on the server in the same way as I ca

Re: [PHP-WIN] PHP Editor

2001-01-14 Thread Angus Mann
At 13:30 14/01/01 +0100, you wrote: Does anyone know of an editor that has good syntax colouring and also can handle braces matching? Thanks, Angus. >Hi, > >I give my vote to Homesite, too. Very nice project management, and CVS >integration using "Igloo". Great ! > >""Michael Cartmel"" <[EMAI

Re: [PHP-WIN] erro: The page cannot be displayed

2001-01-14 Thread adam
Marq <[EMAIL PROTECTED]> said: > Installing Phorum, I have some pages running w/o problem, other simply > display an IE error message "The page cannot be displayed". I assume I > changed something (actually I'm struggling with permission settings), so > that some pages cannot be displayed. > >

php-windows Digest 14 Jan 2001 12:29:06 -0000 Issue 396

2001-01-14 Thread php-windows-digest-help
php-windows Digest 14 Jan 2001 12:29:06 - Issue 396 Topics (messages 4992 through 5000): Re: DOM 4992 by: James Duncan 4993 by: Cynic 4999 by: Chris Adams Re: The page cannot be displayed 4994 by: Marq Re: PHP Editor 4995 by: Romulo Roberto Pereira

Re: [PHP-WIN] PHP Editor

2001-01-14 Thread Alain Fontaine
Hi, I give my vote to Homesite, too. Very nice project management, and CVS integration using "Igloo". Great ! ""Michael Cartmel"" <[EMAIL PROTECTED]> a écrit dans le message news: 001401c07dba$95577620$[EMAIL PROTECTED] > HomeSite or ColdFusion Studio work great as well... plenty of colour codin