[snip] Your new job is getting real interesting! Did you try it on a test file? If it works then the parsing in the web server can be overloaded, for lack of a better term. So whether the extension is .asp or .php, watch for the tags and treat them appropriately, that it? [/snip] Darn right 'wow'! I can keep the ASP seperate from the PHP by use of the proper tags for this instance. So... <% stuff here gets executed by ASP %> <?php stuff here gets executed by PHP ?> Interestingly enough, the following worked ...but I will not use it in production; <?php $sql = "SELECT foo FROM bar where fooID = ' "; ?> <% response.write("fooID") %> <?php $sql .= "' "; echo $sql . "\n"; ?> returned SELECT foo FROM bar where fooID = '4' Nuts, huh? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php