[PHP] R: [PHP] SMS with php

2001-09-17 Thread Stefano Baronio

> for those who are interested there is a good wap/sms server,
> open source and
> generally funky kannel (kannel.3glabs.org)
>
> It's all you need to server wap, but sms does requrie a
> contract (=cost
> money) with a service centre

Yes, but if you don't have a lot of traffic you can use a GSM modem as
SMS-C. Anyway, any single message will costs as by contract with the
carrier.

regards

Stefano Baronio



-- 
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] Compiling problems with PHP4.0.6+apache1.3.20+mysql3.23.39

2001-09-21 Thread Stefano Baronio

These are the ./configure commands:
apache
./configure --prefix=/opt/apache --enable-module=most --enab
le-shared=max

php
./configure --with-apache=/opt/apache_1.3.20 --enable-discar
d-path --enab
le-safe-mode --with-mysql=/opt/mysql --enable-sockets --with
-vpopmail=/home/vpopmail

The error appears when I recompile apache:
...
-L../../modules/php4 -lmodphp4  -lpam  -ldl -lvpopmail -lmys
qlclient -lcrypt -lresolv -lm -ldl -lns
l  -lresolv   -lm -lcrypt
/opt/mysql/lib/libmysqlclient.a(my_compress.o): In function
`my_uncompress':
my_compress.o(.text+0x9a): undefined reference to
`uncompress'
/opt/mysql/lib/libmysqlclient.a(my_compress.o): In function
`my_compress_alloc':
my_compress.o(.text+0x12a): undefined reference to
`compress'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/opt/apache_1.3.20/src'
make[1]: *** [build-std] Error 2

And also if I do not specify the mysql path..

Does someone can help me ?

Thanks

Stefano




___
Per i principianti: ricordatevi di usare "Reply all" per
rispondere a tutti.

Per tutti: ricordatevi che la pagina dalla quale potete
gestire i parametri della vostra iscrizione e'
(es: email = [EMAIL PROTECTED])
http://lists.torino.linux.it/cgi-bin/mailman/options/forum/p
inco__at__pallino.it

forum at lists.torino.linux.it
http://lists.torino.linux.it/cgi-bin/mailman/listinfo/forum



Stefano Baronio
Cefin Systems Italia s.r.l.
88, c.so Duca degli Abruzzi
10129, Torino -ITALY-
Tel:+39.011.504609
Fax:+39.011.504386
[EMAIL PROTECTED]
www.sateltrack.com


-- 
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] Socket help

2001-09-25 Thread Stefano Baronio

Hello list,
I need to receive/send sms through an IPSec connection
using the socket (pfsocket) function of php.
I hope there's someone out there that can help me solving
some questions.

Here is what I thought to do:
REC_SCRIPT that open the socket connection and listen on
arriving messages (msg will be stored in mysql)
SEND_SCRIPT that is launched from a html form and use that
socket to send the message and store it in myslq.

Questions
1. Can the REC_SCRIPT stay alive listening on the persistent
socket connection ?
2. There's a way to launch it automagically when I start
apache ?
3. Can the SEND_SCRIPT use the socket conn. opened by the
first script ?
4. In case of receive/send in the same time, will all be ok
?

Thank you very much for any help

Stefano Baronio

[EMAIL PROTECTED]
www.sateltrack.com


-- 
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]




Re: [PHP] Re: Socket help

2001-09-26 Thread Stefano Baronio

Chris Lee wrote:
> your server has to open a connection to a remote
> host to see if there are
> messages ? like email ?

 yes. It is a sort of ftp-like protocol.

> if this is so then use
> cron once every so often to
> check if there are new messages.

I'll receive/send a lot of messages and this solution could
not be efficient. But it is a possible way to do that,
thanks, I didn't thought at it.

> if the remote
> host makes a connection to
> your server the use tcp_wrappers to call your php script.

It's my server that make the connection.

> the second script can NOT use the first apps
> socket, sockets arent shared
> like that.

Could I set up a script that handle the connection and take
the message data from another script (launched by a html
form )?

> yes, sending and recienveing should be ok, any
> data backed up will just be
> stored in buffers.
ok thanks
> --
>
>   Chris Lee
>   [EMAIL PROTECTED]

Thanks for your help.

Stefano Baronio


-- 
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]