Re: [PHP] Socket programming with PHP risky?
* Thus wrote Chris Shiflett ([EMAIL PROTECTED]): > > Disclaimer: Things listed as experimental should always be treated as such and > never relied upon to have a consistent API or not break. > > That said, I recall that the current sockets extension maintainer desires to > label the extension stable as soon as possible. This means that it is highly > unlikely that the API will change. In addition, I have used it extensively and > have found it to be very stable under a number of conditions. I treat it as a > stable extension myself. Thats good to hear.. thanks. Curt -- "I used to think I was indecisive, but now I'm not so sure." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Socket programming with PHP risky?
--- Curt Zirzow <[EMAIL PROTECTED]> wrote: > > On the other hand, I've found a lot of tutorials extolling PHP's > > socket functions, and since I know PHP a bit now I would rather > > use it for my TCP socket application than learn C and implement > > it there. > > > > What do you think? > > if you plan on using it, it might be wise to get on the php-dev > mailing list and watch stuff there too. And maybe talk to the > people who are writing the socket extension. Disclaimer: Things listed as experimental should always be treated as such and never relied upon to have a consistent API or not break. That said, I recall that the current sockets extension maintainer desires to label the extension stable as soon as possible. This means that it is highly unlikely that the API will change. In addition, I have used it extensively and have found it to be very stable under a number of conditions. I treat it as a stable extension myself. Chris = Become a better Web developer with the HTTP Developer's Handbook http://httphandbook.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Socket programming with PHP risky?
* Thus wrote René Fournier ([EMAIL PROTECTED]): > I've noticed in the PHP docs "EXPERIMENTAL" is marked over all the > socket functions. Would it be risky to develop a PHP socket app using > those functions? It seems they could change with the next release and > my app would instantly stop working. I wouldn't use it on any live site. > > On the other hand, I've found a lot of tutorials extolling PHP's socket > functions, and since I know PHP a bit now I would rather use it for my > TCP socket application than learn C and implement it there. > > What do you think? if you plan on using it, it might be wise to get on the php-dev mailing list and watch stuff there too. And maybe talk to the people who are writing the socket extension. Curt -- "I used to think I was indecisive, but now I'm not so sure." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Socket programming with PHP risky?
I've noticed in the PHP docs "EXPERIMENTAL" is marked over all the socket functions. Would it be risky to develop a PHP socket app using those functions? It seems they could change with the next release and my app would instantly stop working. On the other hand, I've found a lot of tutorials extolling PHP's socket functions, and since I know PHP a bit now I would rather use it for my TCP socket application than learn C and implement it there. What do you think? ...Rene -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] socket programming
Hello, This is a reply to an e-mail that you wrote on Wed, 16 Jul 2003 at 01:34, lines prefixed by '>' were originally written by you. > I've already opened opened port for > this as > what David said but i cant see the output in the web. > He'res what i've did in my Redhat linux 6.x > Am I in a right track? or is it possible with this? Do i missed > something > here? I am not very familiar with *nix administration at all so if anyone wants to jump in and correct anything I have said wrong feel free. Maybe try and have the command inetd is set to execute as /usr/local/bin/php -q /usr/local/mikecarel/samples instead of using a shebang line and having your PHP file executable and see if that works? David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your friends actually know you? http://www.quizsender.com/ (developed entirely in PHP) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] socket programming
I'm afraid I don't know the answer to your question, Mike, but you may want to check out this month's php|architect. I just started reading through it and the cover story is about socket programming: http://www.phparchitect.com/ Hope this helps, -Step > Hi to all, > > Is it possible to run php in the web running in a specified port without > installing apache in Linux? > > Can anyone give a sample code for this? I'm searching this for a week but i > really can find one. Please help us. > > > > Regards, > > Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] socket programming
Hello, This is a reply to an e-mail that you wrote on Tue, 15 Jul 2003 at 09:33, lines prefixed by '>' were originally written by you. > Hi to all, > Is it possible to run php in the web running in a specified port > without > installing apache in Linux? > Can anyone give a sample code for this? I'm searching this for a week > but i > really can find one. Please help us. You could use inetd and the command line PHP binary. How to do it varies between linuz distros, basically it allows you to assign a port number to any program in the system and all the program has to do is send it's output to the standard output (use echo in the case of PHP). David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your friends actually know you? http://www.quizsender.com/ (developed entirely in PHP) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] socket programming
Hi to all, Is it possible to run php in the web running in a specified port without installing apache in Linux? Can anyone give a sample code for this? I'm searching this for a week but i really can find one. Please help us. Regards, Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Socket Programming Problem
I have a web server and want to make it as a file provider... Works similiar to the BBSHowever, the problem is appeared... How can I trigger the user to download those file while they requested?? What can i do after fsock_open() ? thx a lot -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php