Reply to asp to php

Your name:

Reply:


Posted by Tracy D on 12/21/05 16:06

I know nothing about php. Can anyone help convert this asp script to a php
script?

<% if request("TransID")="" Or request("TransID")=0 then %>

Sorry, your transaction has not been processed!

<% else %>

<% If request("Auth")="Declined" Or request("Auth")="" then%>
Sorry your transaction has been declined!

<BR>
<BR>
<TABLE width="400">
<TR>
<TD align="right" width="184"
bgcolor="#99CCFF"><B>TransactionID:</B></TD>
<TD bgcolor="#99CCFF"><B><%=request("TransID")%></B></TD>
</TR>

<TR>
<TD align="right" width="184" bgcolor="#99CCFF"><B>Reference
Number:</B></TD>
<TD bgcolor="#99CCFF"><B><%=request("RefNo")%></B></TD>
</TR>
<TR>
<TD align="right" width="184" bgcolor="#99CCFF"><B>Notes:</B></TD>
<TD bgcolor="#99CCFF"><B><%=request("Notes")%></B></TD>
</TR>

</TABLE>

<% elseif request("Auth")<>"" Or request("Auth")<>"Declined" then %>
<align="center">Congratulations your transaction has been approved
<BR>
<BR>
<TABLE width="400">
<TR>
<TD align="right" width="185"
bgcolor="#99CCFF"><B>TransactionID:</B></TD>
<TD bgcolor="#99CCFF"><B><%=request("TransID")%></B></TD>
</TR>
<TR>
<TD align="right" width="185" bgcolor="#99CCFF"><B>Authorization
Code:</B></TD>
<TD bgcolor="#99CCFF"><B><%=request("Auth")%></B></TD>
</TR>
<TR>
<TD align="right" width="185" bgcolor="#99CCFF"><B>Reference
Number:</B></TD>
<TD bgcolor="#99CCFF"><B><%=request("RefNo")%></B></TD>
</TR>
<TR>
<TD align="right" width="185" bgcolor="#99CCFF"><B>AVS Code:</B></TD>
<TD bgcolor="#99CCFF"><B><%= request("AVSCode") %></B></TD>
</TR>
<TR>
<TD align="right" width="185" bgcolor="#99CCFF"><B>Notes:</B></TD>
<TD bgcolor="#99CCFF"><B><%=request("Notes")%></B></TD>
</TR>

</TABLE>

<%end if %>

<%end if %>

[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

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