How we integrate pidgin with PHP?

frederico schardong frede.sch at gmail.com
Thu Apr 22 09:55:21 EDT 2010


Please, send the messages to the list, personal messages go to /dev/null.

If you would like to develop something like meebo, you should look at
PHPurple project (http://sourceforge.net/projects/phpurple/).

About request user and password, you can do at this way:

FILE *a = popen("php script.php user password", "r");

In your script.php you should process this. If you choise use the
popen I sugges you use something like this:

php script.php <function> <parameter> <paramenter2> <parameter3> ...

In your script.php will have something like this:

parse_str($argv[1]);
call_user_func($argv[1]);

2010/4/22 sandeep <sandeep at konstantinfo.com>:
> Hello,
>
> We have tried popen... :)
>
> But how i add buddy list in my PHP application ?
> Say If i want to make clone of meebo.. what we have to use.
>
> Our simple requirement is as user come to our site...
>
> 1. user login to our web IM
> 2. List of buddies populated
> 3. How we send IM to buddies
>
> Please suggest us how we can add pidgin to web application?
>
> Thanks for your understanding...
>
> Regards,
> Sandeep
>
> On Thursday 22 April 2010 16:27:58 you wrote:
>> Hi Sandeep,
>>
>> You can call your PHP application with popen.
>>
>> 2010/4/22 sandeep <sandeep at konstantinfo.com>:
>> > Hello,
>> >
>> > We want to integrate pidgin/libpurple with LAMP - PHP...
>> >
>> > There is any way to use pidgin/libpurple with PHP with all function of
>> > it.
>> >
>> > IM, Buddy list, etc.
>> >
>> > Thanks for your understanding...
>> >
>> > Regards,
>> > Sandeep
>> >
>> > _______________________________________________
>> > Devel mailing list
>> > Devel at pidgin.im
>> > http://pidgin.im/cgi-bin/mailman/listinfo/devel
>
>



-- 
Thanks,
Frederico Schardong,
SOLIS - Open source solutions
www.solis.coop.br
Linux registered user #500582




More information about the Devel mailing list