Forum Moderators: phranque

Message Too Old, No Replies

php on cgi page?

         

NeedScripts

11:16 am on Apr 1, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I was wondering if anyone can tell me, if it would be possible to use php code within .cgi page?

I do know that by using

AddType application/x-httpd-php .html

I am able to use php codes on a html page.. but don't know how to use php codes on a cgi page.

Thanks for the help.

NeedScripts

11:27 pm on Apr 7, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



anyone?

jatar_k

11:29 pm on Apr 7, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



this thread talks about what you need I think

Parsing PHP with HTML file extension [webmasterworld.com] msg 9 and on

I know it talks about .html but the AddHandler directive could be the answer