Re: [PHP-WIN] DNS question

2001-02-21 Thread Toby Butzon
You need to see if you can find a commandline method of restarting the service. For ex., the whole IIS service can be restarted with `net stop w3svc` and `net start w3svc`. Perhaps there is a similar command for bind? --Toby Richard wrote: > > Does anyone do any configuring of a DNS server with

Re: [PHP-WIN] CGI error: incomplete headers?

2001-02-16 Thread Toby Butzon
blem - --toby Maurice Barnes wrote: > > Hi Toby, > Sorry about that.. the format is header("location: > http://www.somewhere.com"); > This is what gives the error. Have you been doing redirects or just > straight POSTS? > > Maurce > - Original Mess

Re: [PHP-WIN] CGI error: incomplete headers?

2001-02-16 Thread Toby Butzon
You might want to double check your location commands... Maurice's omits a necessary space between "Location:" and the URL - this space MUST be here... ie header("Location: ") is correct but header("Location:") is not. Chaz's header statement seems to omit the colon... maybe it's a typo

Re: [PHP-WIN] PHP vs JSP ?

2001-01-29 Thread Toby Butzon
There are all kinds of comparisons out there on this. A search on any popular search engine should turn something up. Also, I believe there was an article on CNET comparing ASP, PHP, and JSP. The general word seems to be that JSP is a little slower in execution time and in development time, but i

Re: [PHP-WIN] Jabber and PHP

2001-01-27 Thread Toby Butzon
A jabber module for PHP would be possible... but I don't think there's enough demand for it (I might be interested in putting it together but I'm completely swamped right now). You could use PHP's socket functions without much loss, I would think. --toby James Duncan wrote: > > Jabber is an XML

Re: [PHP-WIN] Jabber and PHP

2001-01-27 Thread Toby Butzon
AFAIK there isn't. --toby James Duncan wrote: > > Is there a Jabber module available for PHP that performs the same functions > as the module Net::Jabber does for Perl? > > Thanks > > James > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] >

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 Doungcha

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

Re: [PHP-WIN] Search Engine

2001-01-10 Thread Toby Butzon
It's not that hard to implement, really... the sifting should all be done by the server... all you have to do is formulate a good query... SELECT * FROM myTable WHERE textField LIKE '%search string%' --Toby - Original Message - From: "IThelp" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>

Re: [PHP-WIN] Class storage questions

2001-01-10 Thread Toby Butzon
> example > > class Print{ > > var arrayofboxes = array(); ...arrayofboxes is an empty array? Where does it get anything put in it? --Toby -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To conta