Servlet and PHP4

From: Date: Fri, 05 May 2000 13:31:42 +0000
Subject: Servlet and PHP4
Groups: php.version4 
Request: Send a blank email to php-version4+get-14525@lists.php.net to get a copy of this message
Hi all, I am new to this list and it looks like it's more about PHP3 than PHP4. But I am sure you also use PHP4. Does anyone use servlets encapsulated in PHP scripts? This new feature looks very interesting but I didn't find a lot of doc on php.net and I don't really understand how this works. Is it the php module that recognizes Java objects and calls the servlet runner? or the opposite? Do I have to recompile PHP with this module? Thanx for your help and may PHP be with you, Jean (French buddy) PS: Code example of what I am talking about from http://www.php.net/version4/ $system = new Java("java.lang.System"); print "Java version=".$system->getProperty("java.version")." <br>\n"; print "Java vendor=".$system->getProperty("java.vendor")." <p>\n\n"; print "OS=".$system->getProperty("os.name")." ". $system->getProperty("os.version")." on ". $system->getProperty("os.arch")." <br>\n"; $formatter = new Java("java.text.SimpleDateFormat", "EEEE, MMMM dd, yyyy 'at' h:mm:ss a zzzz"); print $formatter->format(new Java("java.util.Date"))."\n";

« previous php.version4 (#14525) next »