Reply to Re: Request: howto use a CLI php script at webserver (webconsole)?

Your name:

Reply:


Posted by Jerry Stuckle on 08/13/07 16:29

Michael N wrote:
> i have some scripts made for use as a CLI scripts from the console.
>
> but i like use this scipts from a webbrower.
>
> i dont like to patch the scripts too much.
>
> the script uses the stream wrapper:
>
> php://stdin
> php://stdout
> php://stderr
>
>
> possible solutions:
>
> 1) a wrapper to wrap over the php://sdt* streams
> 2) change the php://sdt* streams to a new wrapper (like webphp://sdt )
>
>
>
> is there already a working solution?
> maybe with use of ajax?
>

Actually, something like this I would put the common stuff in classes or
functions. Then include it in both the command line and web page files.

Much more portable, and cleaner.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original 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

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