IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

ASP Discussion :

Convertir code ASP en PHP


Sujet :

ASP

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Nouveau candidat au Club
    Homme Profil pro
    Inscrit en
    Mars 2011
    Messages
    1
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations forums :
    Inscription : Mars 2011
    Messages : 1
    Par défaut Convertir code ASP en PHP
    Bonjour a tous je suis debutant et souhaiterai votre aide pour transformer ce code ASP en code PHP

    merci d'avance

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    <%
    ap_itemname=request.FORM("ap_itemname")
    ap_amount=request.FORM("ap_amount")
    ap_fname=request.FORM("ap_fname")
    ap_contactemail=request.FORM("ap_contactemail")
    ap_contactphone=request.FORM("ap_contactphone")
    ap_addressline1=request.FORM("ap_addressline1")
    ap_city=request.FORM("ap_city")
    ap_zippostalcode=request.FORM("ap_zippostalcode")
    %>
    <html>
    <head>
    <title>payment</title>
    <META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
    <link href="css/css.css" rel="stylesheet" type="text/css">
    <style type="text/css">
    <!--
    .style2 {font-weight: bold}
    .style3 {color: #FF00FF}
    .style5 {color: #FF0000}
    -->
    </style>
    </head>
    <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    <link href="images/css.css" rel="stylesheet" type="text/css">
    <table width="564" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="12" align="center">&nbsp;</td>
      </tr>
      <tr>
        <td width="564" height="267"><table width="564" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="116" height="267"><img src="pic/pay_01.jpg" width="116" height="267"></td>
            <td width="110"><img src="pic/pay_02.jpg" width="110" height="267"></td>
            <td width="113"><img src="pic/pay_03.jpg" width="113" height="267"></td>
            <td width="114"><img src="pic/pay_04.jpg" width="114" height="267"></td>
            <td width="111"><img src="pic/pay_05.jpg" width="112" height="267"></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="133" align="center" background="pic/pay_06.jpg"><table width="543" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td height="31" align="center"><img src="pic/pay_10_f1.jpg" width="499" height="36"></td>
          </tr>
          <tr>
            <td width="543" height="113" align="center"><form method="post" action="http" >        
    <input type="hidden" name="ap_merchant" value="@"/>    
    <input type="hidden" name="ap_purchasetype" value="Item-Goods"/> 
    <input type="hidden" name="ap_description" value="Commande"/>    
    <input type="hidden" name="ap_itemname" value="<%=ap_itemname%>"/>    
    <input type="hidden" name="ap_amount" value="<%=ap_amount%>"/>    
    <input type="hidden" name="ap_currency" value="EUR"/>        
    <input type="hidden" name="ap_fname" value="<%=ap_fname%>" />    
    <input type="hidden" name="ap_lname" value=" " />    
    <input type="hidden" name="ap_contactemail" value="<%=ap_contactemail%>" />    
    <input type="hidden" name="ap_contactphone" value="<%=ap_contactphone%>" />    
    <input type="hidden" name="ap_addressline1" value="<%=ap_addressline1%>" />    
    <input type="hidden" name="ap_addressline2" value=" " />    
    <input type="hidden" name="ap_city" value="<%=ap_city%>" />    
    <input type="hidden" name="ap_stateprovince" value=" " />    
    <input type="hidden" name="ap_zippostalcode" value="<%=ap_zippostalcode%>" />    
    <input type="hidden" name="ap_country" value="FRA" />        
    <input type="image" name="ap_image" src="pic/pay_now.jpg"/>    
    </form>   </td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="64"><img src="pic/pay_07.jpg" width="565" height="64"></td>
      </tr>
    </table>
    </body>
    </html>

  2. #2
    Membre Expert
    Avatar de kaiser59
    Homme Profil pro
    Inscrit en
    Novembre 2005
    Messages
    1 264
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 45
    Localisation : France

    Informations forums :
    Inscription : Novembre 2005
    Messages : 1 264
    Par défaut
    Salut,

    Un minimum de recherche s'il te plait, ce que tu demandes, c'est la base langages de programmation c'est-à-dire "récuperation des valeurs via un formulaire"

    à toi de jouer

Discussions similaires

  1. conversion code asp vers php 5
    Par baderahmed dans le forum Langage
    Réponses: 2
    Dernier message: 19/01/2011, 15h11
  2. PHP vers ASP svp, comment convertir en asp ?
    Par delavega dans le forum Langage
    Réponses: 2
    Dernier message: 16/05/2007, 18h14
  3. convertir code php en asp
    Par goaim dans le forum ASP
    Réponses: 1
    Dernier message: 19/10/2006, 15h53
  4. [PHP-JS] Inclure du code ASP dans un script PHP
    Par daquin dans le forum Langage
    Réponses: 7
    Dernier message: 04/09/2006, 18h20
  5. Comment convertir mon code ASP et ASP.Net ?
    Par yushkoya dans le forum ASP.NET
    Réponses: 3
    Dernier message: 25/07/2006, 17h24

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo