Page 1 of 1

PHP Being Client-Side

Posted: Sat Aug 14, 2004 9:06 pm
by ForceGamerDotCom
Is there any way at all, even theoretically, that PHP could be made into being Client-Side via hacking, or just using something that is pre-made?

Posted: Sun Aug 15, 2004 12:41 am
by John Cartwright
not at all, php has been be parsed then sent out to the browser.
The whole structure of php is based as a server side language.

What exackly do you need done?
There are sufficient client side language.

Posted: Sun Aug 15, 2004 11:23 am
by evilmonkey
Well, hang on. What exactly do you mean by client side? If you want it to do the functions of javascript, then foget about it. But if you want PHP to create stand-alone applications, maybe you should take a look at PHP-GTK. Straight from the horse's mouth:
PHP-GTK Manual wrote:What is PHP-GTK?
PHP-GTK is a PHP extension that enables you to write client-side, cross-platform GUI applications. This is the first extension for PHP of its kind, and was written in part to prove that PHP is a capable general-purpose language that is suited to more than just the web application environment.

This extension will not allow you to display GTK+ applications in a web browser. It is intended for creating standalone GUI applications.
Good luck!

Posted: Sun Aug 15, 2004 1:09 pm
by arcanechaos
i think you're trying to use PHP for the wrong purpose, perhaps a different language would be better?