You are here: Re: [PHP] sockets « PHP « IT news, forums, messages
Re: [PHP] sockets

Posted by Greg Donald on 07/12/05 17:58

On 7/12/05, daro <daro@statsms.net> wrote:
> I don't know where should I put this script to be able to receive all datas and respond
> with proper strings.

You would run the script as a shell script from the command line.

On windows you can just save the code as a regular php script then
start it up from a DOS prompt like:

c:\PHP\php.exe -f yoursocketfile.php

or if you are using a *nix setup run it just as it is, making sure the
first line points to your php binary, for example mine is
/usr/bin/php. Chmod it so it's executable.


--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация