Forum Moderators: mack
you can put ASP code on a PHP page, but its not going to do anything because *.php page name will have it sent to the servers php module not it's asp module.
In short server side scripts need to be interprited by a module on the server before being sent to the end user as an html page. So the server module interprits the script (PHP, ASP or JSP) based on the page file extension. Hence you can only use one server side scripting language on any give page.
But like I say I'm no expert.