[PHP] Re: socket question

2001-10-25 Thread Tim Ballantine
That is, using a socket, that it gives me the one line. echo'ing it gives the whole thing. Tim "Tim Ballantine" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > That seems to just give me the first line, of: > PHP Credits

[PHP] Re: socket question

2001-10-25 Thread Tim Ballantine
That seems to just give me the first line, of: PHP Credits but nothing else after that. Any ideas? :) Tim "James Cave" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > There is some source code on the php.net site which captures the credits > with output buffe

[PHP] socket question

2001-10-24 Thread Tim Ballantine
Hey. Anoyone know how i would go about using one of the internal variables, such as phpinfo() or phpcredits() to send through a socket. like for: write ($msgsock, ":RWorld PRIVMSG $pnum :phpcredits()\n", strlen (":RWorld PRIVMSG $pnum :phpcredits()\n")); so it sends the actual information inste

Re: [PHP] eregi

2001-10-01 Thread Tim Ballantine
or the invalid ones. Make > up your mind and use strspn() or strcspn() appropriately. > > -Rasmus > > On Mon, 1 Oct 2001, Tim Ballantine wrote: > > > "Returns the length of the initial segment of str1 which does not contain > > any of the characters in str2

Re: [PHP] eregi

2001-10-01 Thread Tim Ballantine
ly need to > list the illegal symbols. And what do you mean by length? > > -Rasmus > > On Mon, 1 Oct 2001, Tim Ballantine wrote: > > > Is there anything which doesnt use length? And something like eregi, because > > it would be infeasible to list all of the sym

Re: [PHP] eregi

2001-10-01 Thread Tim Ballantine
TECTED]... > See php.net/strcspn > > On Mon, 1 Oct 2001, Tim Ballantine wrote: > > > Hello, > > > > Could anyone tell me how to eregi a word, to see if it only contains either > > numbers, letters, the "_" and the "-", so that any other symbol w

[PHP] eregi

2001-10-01 Thread Tim Ballantine
Hello, Could anyone tell me how to eregi a word, to see if it only contains either numbers, letters, the "_" and the "-", so that any other symbol with call it invalid. For example, theres the word "expressio_n" that will be valid, but the word "express%^$-n" will be invalid. Thankyou, Tim -