Précédent   Forum des professionnels en informatique > Webmasters - Développement Web > Langages serveur > ASP
ASP Forum sur la programmation ASP. Avant de poster : Cours ASP, FAQ ASP
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 26/03/2011, 11h57   #1
Invité de passage
 
Homme
Inscription : mars 2011
Messages : 1
Détails du profil
Informations personnelles :
Sexe : Homme

Informations forums :
Inscription : mars 2011
Messages : 1
Points : 0
Points : 0
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 :
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>
debutant7 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 01/04/2011, 03h51   #2
Modérateur
 
Avatar de kaiser59
 
Inscription : novembre 2005
Messages : 1 246
Détails du profil
Informations personnelles :
Âge : 32

Informations forums :
Inscription : novembre 2005
Messages : 1 246
Points : 1 203
Points : 1 203
Envoyer un message via MSN à kaiser59
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
__________________
Ne dites pas Java pour dire Javascript ! Ces deux codes n'ont rien à voir ! // Essayez d'expliquer, de la façon la plus claire possible votre problème. // Parfois une image vaut mieux qu'un long discours

FAQ ASP
kaiser59 est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 22h08.


 
 
 
 
Partenaires

Hébergement Web