-
Notifications
You must be signed in to change notification settings - Fork 0
/
Un1.php
96 lines (91 loc) · 2.5 KB
/
Un1.php
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title></title>
<style type="text/css">
<!--
body {
background-image: url(index_Image/fond.gif);
background-repeat: repeat;
}
a:link {
color: #0000FF;
}
a:visited {
color: #0000FF;
}
a:hover {
color: #FF0000;
}
a:active {
color: #0000FF;
}
.style3 {
color: #996633;
text-decoration: blink;
}
.style5 {font-size: 18px}
.style7 { color: #3399FF;
font-weight: bold;
}
.Style9 {
color: #333333;
font-weight: bold;
font-family: Geneva, Arial, Helvetica, sans-serif;
}
.Style10 {
font-size: 36px;
font-weight: bold;
}
-->
</style>
</head>
<body>
<div align="center">
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<table width="705" height="79" border="0" align="center" bordercolor="#FFFFFF" >
<tr>
<td width="631" height="75" align="center" bordercolor="#000000" bgcolor="#CDAE46" class="style5 style3 footer"><p>
<span class="Style10">
<?
$link = mysql_connect("localhost", "root", ""); // Connexion à MySQL
mysql_select_db("bas-lexique"); // Sélection de la base dico
$charset = mysql_client_encoding($link);
mysql_query("SET CHARACTER SET 'utf8'", $link);
$log1="il n'existe pas un mot dans langue Français"; $pass1="don't exist a word in language French"; $email1="";
if( !empty($_POST['mot1']) ) { $log1 = mysql_escape_string($_POST['mot1']); }
if( !empty($_POST['mot2']) ) { $pass1 = mysql_escape_string($_POST['mot2']); }
if( !empty($_POST['mot3']) ) { $email1 = mysql_escape_string($_POST['mot3']); }
$sql1 = "INSERT INTO `mot` ( `Mot_FR` , `Mot_EN` , `Mot_AR` ) VALUES ('$log1', '$pass1', '$email1')" ;
$reponse1 = mysql_query($sql1);
echo "*L'OPERATION DE L'AJOUTE EST TERMINER*";
mysql_close();
?></span></p>
</td>
</tr>
</table>
</div>
<div align="justify">
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p><a href="Untitled-7.php" class="Style10">رجوع</a></p>
</div></body>
</html>