troubleshooting Question

how to insert a vb script inside a php file

Avatar of daz1234
daz1234 asked on
PHPVB Script
9 Comments1 Solution480 ViewsLast Modified:
how to insert a VB script inside a PHP script


VB script below
 
<%@ Page language="VB" %>
<%@ Assembly name="web" %>
<script runat="server" language="vb" src="script/toolkit.aspx" />
<script runat="server" language="vb" src="script/rrors.aspx" />
<% ScriptSetup() %>
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 
<html>
<head>
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
</head>
<body id="login">
	<div class="container">
		<div class="content" style="height: 330px; padding: 10px 10px 10px 10px">
			<br>
			<% Login() %>
		</div>
</body>
</html>
 
php script
 
<?php
$loc = "home";
include ("includes/header.php");
?>
	
<div id="fullwidth">
 
		<!-- LEFT CONTENT -->
		<div id="fullleft">
 
			<div id="homeupdate">
				<img src="layout/fakeupdate.gif" alt="live update" />
			</div>
			<script type="text/javascript">
				<?php		
					include ("flashcsv.php");
					echo "var so = new SWFObject(\"includes/update.swf?$flashString\", \"mymovie\", \"199\", \"362\", \"9\", \"cccccc\");\n";
				?>
				so.addParam("wmode", "transparent");
				so.addParam("menu", "false");
				so.addParam("quality", "best");
				so.write("homeupdate");
			</script>
 
 
 
	</div>
 
<?php
 
include("includes/footer.php");
 
?>
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 9 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros