|
Posted by Ivαn Sαnchez Ortega on 07/04/07 01:14
steven.rojas@gmail.com wrote:
> I have a chat application based on PHP and Flash, I know that is
> necessary execute the socket server script from the console (#!/usr/
> local/bin/php -q), but my problem is that I don't have SSH access to
> the server [...]
Meet your new friend, php.net/exec .
And, if you're out of luck (i.e. the server runs with safe_mode on), you can
always rely on the (very) dirty trick of using a "Connection: close" HTTP
request, along with some PHP magic so the script doesn't die when the HTTP
connection is actually closed. I suggest you to do some research about
that.
--
----------------------------------
IvΓ‘n SΓ‘nchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-
http://acm.asoc.fi.upm.es/~mr/ ; http://acm.asoc.fi.upm.es/~ivan/
MSN:i_eat_s_p_a_m_for_breakfast@hotmail.com
Jabber:ivansanchez@jabber.org ; ivansanchez@kdetalk.net
Navigation:
[Reply to this message]
|