Re: [PHP] ICQ

2005-10-12 Thread John Hinton
Al Hafoudh wrote: is it possible to connect to icq, send messages and etc? thanx I looked all over that place for such a function some time back. I did find several, but all were very old. The problem was they were all based on the ICQ account number. Thinking about allowing such through the

Re: [PHP] ICQ

2005-10-08 Thread Niels Ganser
> so I'd suggest taking a look at the Perl libraries for ICQ/AIM and > other IM clients that you can probably adapt to PHP without too much > work. Check www.cpan.org for this. Or "sniff" the traffic of a "normal" ICQ client and learn the protocol that way. Alternatively you could search for a l

Re: [PHP] ICQ

2005-10-08 Thread Torgny Bjers
Al Hafoudh wrote: > is it possible to connect to icq, send messages and etc? thanx It should be possible, since PHP has full socket support. I googled a bit and then checked the PHP Resource Index, and found the following: http://php.resourceindex.com/Complete_Scripts/Instant_Messaging/ which d

[PHP] ICQ

2005-10-08 Thread Al Hafoudh
is it possible to connect to icq, send messages and etc? thanx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ICQ # validation

2003-03-04 Thread Hans Prins
Also, don't forget to escape the $ character in your expression, since it is reserved for variable declaration. "Ales KrajníK" <[EMAIL PROTECTED]> schreef in bericht news:[EMAIL PROTECTED] > Well ... > > - the {7,9} means that the previous char/group should repeat 7 to 9 times > ... > - ^ means t

Re: [PHP] ICQ # validation

2003-03-04 Thread Ales Krajník
Well ... - the {7,9} means that the previous char/group should repeat 7 to 9 times ... - ^ means the beginning of the string - $ means the end of the string So everything, that validates, is 7 to 9 numbers. "123456789 This is a test" won't validate - it contains chars instead of $ (end of string

[PHP] ICQ # validation

2003-03-04 Thread SLanger
> if(ereg("^[0-9]{7,9}$", $_REQUEST["icqnumber"])) { > >> print("a-okay!"); > >> } else { > >> print("error msg"); > >> } Although I'm not too familiar with regexp I'd say the code validates because the icq number you are providing actually confimrs to the pattern. The first seven to nine digits

Re: Re[2]: [PHP] ICQ # validation

2003-03-03 Thread Leo Spalteholz
On March 3, 2003 06:31 pm, Tom Rogers wrote: > Hi, > > Tuesday, March 4, 2003, 12:06:14 PM, you wrote: > JF> Does it actually NEED a regexp? > > JF> UNTESTED code: > JF> JF> $icq = 2264532680; > JF> if( (is_int($icq)) && (strlen($icq) > 7) && (strlen($icq) < 9) > ) { JF> echo "yah"; > JF> } el

Re[2]: [PHP] ICQ # validation

2003-03-03 Thread Tom Rogers
Hi, Tuesday, March 4, 2003, 12:06:14 PM, you wrote: JF> Does it actually NEED a regexp? JF> UNTESTED code: JF> $icq = 2264532680; JF> if( (is_int($icq)) && (strlen($icq) > 7) && (strlen($icq) < 9) ) { JF> echo "yah"; JF> } else { JF> echo "nah"; JF> } ?>> JF> FWIW, Are you SURE that all

Re: [PHP] ICQ # validation

2003-03-03 Thread Justin French
Does it actually NEED a regexp? UNTESTED code: 7) && (strlen($icq) < 9) ) { echo "yah"; } else { echo "nah"; } ?> FWIW, Are you SURE that all valid ICQ #'s are between 7 and 9 chars? Surely at some point they'll reach 10 chars, and *may* have started at 6? Justin on 04/03/03 6:00 AM

Re: [PHP] ICQ # validation

2003-03-03 Thread David Otton
On Mon, 3 Mar 2003 14:00:43 -0500, you wrote: >Maybe I'm off my rocker, but I don't see how this can't work. I'm trying to validate >an ICQ number, and assuming a valid one is between 7 and 9 numbers. My line of code >is this: > >if(ereg("^[0-9]{7,9}$", $_REQUEST["icqnumber"])) { >print("a-o

Re: [PHP] ICQ # validation

2003-03-03 Thread 1LT John W. Holmes
MAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 03, 2003 2:00 PM Subject: [PHP] ICQ # validation Maybe I'm off my rocker, but I don't see how this can't work. I'm trying to validate an ICQ number, and assuming a valid one is between 7 and 9 numbers. My line of co

[PHP] ICQ # validation

2003-03-03 Thread Liam Gibbs
Maybe I'm off my rocker, but I don't see how this can't work. I'm trying to validate an ICQ number, and assuming a valid one is between 7 and 9 numbers. My line of code is this: if(ereg("^[0-9]{7,9}$", $_REQUEST["icqnumber"])) { print("a-okay!"); } else { print("error msg"); } I've subm

Re: [PHP] ICQ interface?

2002-08-18 Thread Justin French
Sometimes the easiest solutions are the best!! http://web.icq.com/whitepages/online?icq=51362125&img=21";> Courtesy of the ICQ site :) Justin French on 18/08/02 5:06 PM, Justin French ([EMAIL PROTECTED]) wrote: > Has anyone built, or partially built an interface to ICQ? > > I'm not nec

[PHP] ICQ interface?

2002-08-17 Thread Justin French
Has anyone built, or partially built an interface to ICQ? I'm not necessarily looking for full IM thru a web/PHP interface, but maybe some small stuff, like finding out if a certain user is online? I did a google and found this on Zend.com, but can't get it working (it returns "unknown" everytim

[PHP] ICQ activelist on PHP???

2001-10-30 Thread NetView Media
Isen't there an active ActiveList on ICQ where you can talk/chat about PHP-programming? /ReinerICQ: 22245643 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators,

[PHP] PHP ICQ Channel

2001-05-17 Thread Charles Williams \(CEO\)
For those of you interested. There is a ICQ channel for PHP at: 74684492 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Help php ICQ function

2001-04-24 Thread Greg Kelly
I am a newuser to php , I am setting up a site with user authenication and I would like to setup a ICQ function some my users will know if other users are online can someone please guide me in the right direction.. Thank You -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-

Re: [PHP] Icq Message

2001-04-23 Thread Plutarck
One way is to use the WWPager function in ICQ (check the icq helpfile or web page for info on how it works), but people can disable such functionality in their Security/Privacy settings. There may be another way (I know there are applets and programs that can do it for you), but I'm not sure abou

Re: [PHP] Icq Message

2001-04-23 Thread Shawn J. Wallace
At 01:40 PM 4/23/2001 -0500, you wrote: >Anyone have a clue as how to send an icq message to a given ICQ number via a >php-web-page? I think I remember seeing one on the zend.com code gallery. Do a search there for icq. Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Icq Message

2001-04-23 Thread Christopher Allen
Greetings: Anyone have a clue as how to send an icq message to a given ICQ number via a php-web-page? TIA. Christopher C. M. Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the lis