The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
http://www.sitepoint.com/blog-post-view.php?id=181248
Called ActivePHP sapi, it can be used in any ActiveScript compatible host. Requires PHP5. (ref: http://netevil.org/wiki.php?WezFurlong) I messed with it a bit, it's weird and buggy, IE-only, but moreover I don't see a reason for server side to make it's way to client side. I guess the server-side gurus were just interested to see if it was possible. ![]() HTML Code:
<html> <head> <title>PHP ActiveScript</title> </head> <body> <script language="ActivePHP5"> $document->write('<h1>Output generated by '. phpversion(). ' ['.php_sapi_name().']</h1>'); $document->write('<p>Available objects</p>'); foreach ( array_keys($GLOBALS) as $global_var ) { if ( is_object($GLOBALS[$global_var]) ) { $document->write($global_var."<br>"); } } </script> </body> </html> |
#2
|
||||
|
||||
![]()
It could potentially lessen the load on your server if PHP is parsed on the client's side if we are talking about a lot of users.
|
#3
|
|||
|
|||
![]()
this could give us a lot of power, being able to merge the server side and client side together. Though it seems like it has to be come more standardized before we can actually use it...let's just hope it doesn't become as buggy as javascript
![]() |
#4
|
|||
|
|||
![]()
Hmmm...interesting but my question is what about security and malicious code?
|
#5
|
||||
|
||||
![]()
I think, it can be stronger as JS if propper used.
Also you don't have to mess with different languages, but it has to be included into other browsers at first... |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|