hola amigos si yo quiero agregar a un amigo en facebook y no quiero que los amigos de el se enteren que le escribo yo a el y que me escribe el ami? eso se puede? como se hace?
gracias de antemano.
gracias de antemano.
Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.
Mostrar Mensajes Menú<form action=validate.php method=post>
<table align=center style="font-family:arial; font-size:12; border:1 solid #000000;">
<tr><td colspan=2 align=center bgcolor=#123dd4>LOGIN</td></tr>
<tr><td align=right>Username: </td><td><input type=text name=user size=15></td></tr>
<tr><td align=right>Password: </td><td><input type=password name=pass size=15></td></tr>
<tr><td align=right>User Type:</td><td><select name='type'><option value='Admin'>Admin</option><option value='Mini'>Mini Admin</option></select></td></tr>
<tr><td align=center colspan=2><input type=submit value=Login></td></tr>
</table>
</form>
while ($row = mysql_fetch_row($result)){
echo "<table border='1'><tr><th>Nombre</th><th>DNI</th><th>Operacion</th><th>Estado</th></tr><tr>";
echo "<td>".$row[0]."</td><td>".$row[1]."</td>
<td>".$row[2]."</td><td>".$row[3]."</td>";
echo "</tr></table>";
}
echo "</tr></table>";
<table border="1" align="center" style="width: 313px" class="style6">
<th class="style6">Ip</th>
<th class="style6">Fecha</th>
<th class="style6">Hora</th>
<?php
while ($r = mysql_fetch_object($result))
{
echo '<tr>';
echo '<td>'. $r->ip . '</td>';
echo '<td>'. $r->fecha . '</td>';
echo '<td>'. $r->hora . '</td>';
echo '</tr>';
}
?>
</table>
.style6 {
border-width: 1px;
text-align: center;
background-color: #99FF66;
border-color: black;
color: 0033FF }
<?php
// Request selected language
$hl = (isset($_POST["hl"])) ? $_POST["hl"] : false;
if(!defined("L_LANG") || L_LANG == "L_LANG")
{
if($hl) define("L_LANG", $hl);
// You need to tell the class which language do you use.
// L_LANG should be defined as en_US format!!! Next line is an example, just put your own language from the provided list
else define("L_LANG", "es_ES");
}
// IMPORTANT: Request the selected date from the calendar
$mydate = isset($_POST["date1"]) ? $_POST["date1"] : "";
// Note: this sample doesn't show you how to use the $mydate variable with your database, but you can handle it as any other php variable in your script!
<?php
function smLanguage($lang){
setcookie("StockManagerLanguage", $lang, time()+(3600*24*90));
header("Location: http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']);
exit;
}
function mysql_prep($value) {
$magic_quotes_active = get_magic_quotes_gpc();
$new_enough_php = function_exists("mysql_real_escape_string");
if($new_enough_php) {
if($magic_quotes_active) { $value = stripslashes($value); }
$value = mysql_real_escape_string($value);
} else {
if(!$magic_quotes_active) { $value = addslashes($value); }
}
return $value;
}
function redirect_to($location = NULL) {
if($location != NULL) {
header("Location: {$location}");
exit;
}
}
function confirm_query($result_set) {
if(!$result_set) {
die("datebase query failed." . mysql_error());
}
}
?>
function registrar_log('"$usuario,'".$_SERVER['REMOTE_ADDR'].",'".date(Y:m:d)."','".date(H:i)."',$accion='se borro un item'); {
include("bd.php");
if (mysqli_query($link,"INSERT INTO auditoria (usuario,ip,fecha,hora,accion) VALUES ('$usuario','$ip','$date','$time','$accion')")) {
return true;
} else {
return false;
}
while ($row = mysql_fetch_row($result)){
echo "<table border='1'><tr><th>Nombre</th><th>XX</th><th>Falla</th><th>Estatus</th></tr><tr>";
echo "<td>".$row[0]."</td><td>".$row[1]."</td>
<td>".$row[2]."</td><td>".$row[3]."</td>";
echo "</tr></table>";
}
echo "</tr></table>";
}
<html>
<head>
<title>Codigo para guardar</title>
</head>
<body>
<form action="procesa.php" method="post" name="datos">
código:<input name="codigo" type="text" id="codigo" value="" size="20" /><br>
nombre:<input type="text" name="nombre" id="nombre" size="20" /><br>
estado del equipo:<input type="text" name="estado" id="estado" size="20" /><br>
<br>
<input type="submit" name="ok" id="ok" value="Aceptar" />
</form>
</body>
</html>
<?php
//Esta linea es para incluir el archivo con las variables
include ("variables.php");
/* CONECTAR CON BASE DE DATOS **************** */
$con = mysql_connect(HOSTNAME,USER,PASS);
if (!$con){die('ERROR DE CONEXION CON MYSQL: ' . mysql_error());}
/* ********************************************** */
/* CONECTA CON LA BASE DE DATOS **************** */
$database = mysql_select_db("reparaciones",$con);
if (!$database){die('ERROR CONEXION CON BD: '.mysql_error());}
/* ********************************************** */
//REALIZAR CONSULTA
$sql = "INSERT INTO repara VALUES (NULL,'".$_POST['codigo']."','"
.$_POST['nombre']."','".$_POST['estado']."')";
$result = mysql_query($sql);
if (! $result){
echo "La consulta SQL contiene errores.".mysql_error();
exit();
}else {echo "<center><font color='RED'>DATOS INSERTADOS CORRECTAMENTE</font><a
ref='#'>Volver</a>";
}
?>
<?php
define (HOSTNAME,"localhost");
define (USER,"root");
define (PASS,"123456");
?>