how to call php from C?

From: Date: Mon, 23 Jun 2003 10:16:44 +0000
Subject: how to call php from C?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-152481@lists.php.net to get a copy of this message
Hello, I have a working C program that runs like a cgi by sending back a web page. I would like include in it some authentication code by checking $au = $_SESSION['AuthenticatedUser'] previously set up by a php script.I don't like to recode all in php because I expect a nasty performace slowdown. Can I call session_start() and so on from my C program? Any example code? Many thanks for replies, bye user(at)lngs(dot)infn(dot)it ========================================================

« previous php.general (#152481) next »