PHP Being Client-Side

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ForceGamerDotCom
Forum Newbie
Posts: 5
Joined: Fri Aug 13, 2004 12:36 am

PHP Being Client-Side

Post 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?
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post 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.
User avatar
evilmonkey
Forum Regular
Posts: 823
Joined: Sun Oct 06, 2002 1:24 pm
Location: Toronto, Canada

Post 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!
User avatar
arcanechaos
Forum Newbie
Posts: 4
Joined: Sat Aug 14, 2004 3:27 am
Location: Long Beach, CA

Post by arcanechaos »

i think you're trying to use PHP for the wrong purpose, perhaps a different language would be better?
Post Reply