RE: Mixing PHP & VBSCript

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux