Reply to RE: [PHP] Mixing PHP & VBSCript

Your name:

Reply:


Posted by Jay Blanchard on 09/29/05 23:33

[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?

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация