Forums
This topic is locked
Convert ASP to PHP
Posted 08 Aug 2008 23:48:30
1
has voted
08 Aug 2008 23:48:30 Brian Prosser posted:
Been trying all day to figure out how to convert this small piece of ASP code to PHP ... any ideas?<%@ LANGUAGE="VBSCRIPT" %><html><title>Marry Monograms™</title></head><body leftmargin="10" rightmargin="10" topmargin="10" bottommargin="10" bgcolor="#6699CC"><img src="<request.querystring["image_name"]>" border="0" width="353" height="189"></body></html>
Edited by - cashmereplanter on 08 Aug 2008 23:50:54
Replies
Replied 09 Aug 2008 11:28:42
09 Aug 2008 11:28:42 Georgi Kralev replied:
Hi Brian,
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote><%@ LANGUAGE="VBSCRIPT" %><html><title>Marry Monograms™</title></head><body leftmargin="10" rightmargin="10" topmargin="10" bottommargin="10" bgcolor="#6699CC"><img src="<request.querystring["image_name"]>" border="0" width="353"<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
In PHP the above code may look like this:
<html><title>Marry Monograms™</title></head><body leftmargin="10" rightmargin="10" topmargin="10" bottommargin="10" bgcolor="#6699CC"><img src="<?php echo $_GET["image_name"]; ?>" border="0" width="353" height="189"></body></html>
Regards,
Georgi Kralev
Homepage: gdkralev.googlepages.com
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote><%@ LANGUAGE="VBSCRIPT" %><html><title>Marry Monograms™</title></head><body leftmargin="10" rightmargin="10" topmargin="10" bottommargin="10" bgcolor="#6699CC"><img src="<request.querystring["image_name"]>" border="0" width="353"<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
In PHP the above code may look like this:
<html><title>Marry Monograms™</title></head><body leftmargin="10" rightmargin="10" topmargin="10" bottommargin="10" bgcolor="#6699CC"><img src="<?php echo $_GET["image_name"]; ?>" border="0" width="353" height="189"></body></html>
Regards,
Georgi Kralev
Homepage: gdkralev.googlepages.com