I have a function written in PHP and would like to call this inside a CGI script. Is there any direct way to do this?
I am not sure if its even possible. The CGI script will be inside cgi-bin
directory and the PHP function will be outside this folder.