Menú

Mostrar Mensajes

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ú

Temas - mxsoun

#1
Hardware / consulta sobre bios
11 Octubre 2020, 23:06 PM
hola tengo una consulta.
tengo una tarjeta madre. 990fxa-ud5 r5.
micro fx amd 9590
ram 16 gb.
el problema que tengo es que si al instalar Windows 10 versión 2020 con frecuencia 4.2
se pasma, la tengo que bajar a casi 3.7 pero aun asi se pasma algunas veces. si la dejo en 3.0 corre bien.
entonces lo que hice fue mover
sistema memory multiplier que estaba en auto (9.93) y le puse 6.66 y subí la frecuencia primero a 3.9 corre bien después a 4.2 y corre bien después a 4.4 y corre bien, entonces ahora la deje en 4.4 pero subí system memory multiplier a (8) y se pasma. entonces la baje de nuevo a 6.66 con frecuencia de 4.4 y no tengo problemas.
mi pregunta es si dejo el system memory multiplier a 6.66 no me afecta como tal en el rendimiento ? o me recomiendan mejor
system memory multiplier dejarla en 9.93 es decir auto pero en ese caso si tengo que bajar frecuencia de micro como a 3.5.
NO TENGO PROBLEMA DE SOBRE CALENTAMIENTO, solo que me movieron las frecuencias del micro no se como le tenia ni el multiplicador.
les agradezco gracias.
#2
PHP / problema con sql y sqli
25 Julio 2017, 06:59 AM
buenas noches estoy trabajando este codigo
Código (php) [Seleccionar]
$query_Rcli = "SELECT * FROM clientes WHERE Activo = 'SI'";
$Rcli = mysql_query($query_Rcli, $conection) or die(mysql_error());
$row_Rcli = mysql_fetch_assoc($Rcli);
$totalRows_Rcli = mysql_num_rows($Rcli);

pero tengo error ya que no se usa sql si no sqli por que tengo xampp
entonces e buscado por toda la red
y trato de realizar lo siguiente:

Código (php) [Seleccionar]
global $c;
$c = new mysqli("localhost", "root", "", "bdcyv");
$Rcli = $mysqli->query("SELECT * FROM clientes WHERE Activo = 'SI'", $c);
$row = $Rcli->fetch_assoc();
echo htmlentities($row['_message']);
$totalRows_Rcli = mysql_num_rows($Rcli);



pero me manda error

Notice: Undefined variable: mysqli in C:\xampp\htdocs\p\admin\clilisbaja.php on line 4

Fatal error: Uncaught Error: Call to a member function query() on null in C:\xampp\htdocs\p\admin\clilisbaja.php:4 Stack trace: #0 {main} thrown in C:\xampp\htdocs\p\admin\clilisbaja.php on line 4

y nada mas no doy con el error alguien me puede apoyar en saber que tengo mal ? ya hasta busque en la web de php y siempre me sale el error de Uncaught Error: Call to a member function query() on null in


· Los códigos deben ir en etiquetas GeSHi
>aquí las reglas del foro
-Engel Lex
#3
Dudas Generales / duda con excel y binario
17 Mayo 2014, 15:33 PM
buen dia.
necesito trabajar con binarios en excel pero solo soporta 511 en binario , y necesito  mas de 512. por ejemplo 32 bits.
el problema es que no me permiten utilizar macros, y encontre unas formulas para concatenar pero no me sirvieron, de que otra  forma puedo trabajar con mas de 32 bits sin macro ?
#4

buen dia.
estoy intentando realizar una operación en binario, una divicion el problema es que como tal no es una divicion si no se va comparando "en lugar de restar los residuos" con una or exclusiva.

el problema es que estoy confundido y no se como poderlo desarrollar un ejemplo de un ejercicio es este
[/url]
pero pudo cambiar el divisor y el dividendo por mas bits, tambien no se como lograr mostrar las iteresaciones.
#5
Desarrollo Web / Problema con imagenes en css
21 Octubre 2013, 22:00 PM
buen día.

tengo un problema con unas imágenes y creo que el problema lo ocaciona el css.
tengo unas imágenes las cuales les quite el fondo blanco y las guarde como png, ya no tienen fondo y cuando las inserto me aparecen con fondo blanco. pero intente con un documento sin css cambiándole solo el fondo negro e inserte las misma imágenes y aparecen sin fondo entonces esto me hace pensar que el css tiene algún error pero la verdad no doy.

dejo aqui el css

* { margin: 0; padding: 0; outline: 0 }

body {
background: #000000;
font: 11px/1.75em Verdana, Tahoma, arial, sans-serif;
color: #666666;
text-align: center;
margin: 0 0 15px 0;
}

/* links */
a, a:visited {
color: #1AA03C;
background: inherit;
text-decoration: none;
}
a:hover {
//*color: #383d44;
background: inherit;
padding-bottom: 0;
border-bottom: 2px solid #dbd5c5;*//
}

/* headers */
h1, h2, h3 {
font-family: 'Trebuchet MS', Tahoma, Sans-serif;
font-weight: Bold;
color: #333;
}
h1 {
font-size: 160%;
font-weight: normal;
}
h2 {
font-size: 130%;
text-transform: uppercase;
}
h3 {
font-size: 130%;
}

h1, h2, h3, p {
padding: 10px;
margin: 0;
}
ul, ol {
margin: 5px 20px;
padding: 0 20px;
}

/* images */
img {
background: #FAFAFA;
    border: 1px solid #DCDCDC;
padding: 8px;
}
img.float-right {
  margin: 5px 0px 10px 10px; 
}
img.float-left {
  margin: 5px 10px 10px 0px;
}

code {
  margin: 5px 0;
  padding: 10px;
  text-align: left;
  display: block;
  overflow: auto; 
  font: 500 1em/1.5em 'Lucida Console', 'courier new', monospace ;
  /* white-space: pre; */
  background: #F5F5F5;
border-left: 3px solid #D4D4D4;
}
acronym {
  cursor: help;
  border-bottom: 1px dashed #777;
}
blockquote {
font: bold 1.4em/1.5em 'Trebuchet MS', Tahoma, Sans-serif;
margin: 10px;
padding: 0 0 0 25px; 
   background: #F5F5F5;
border-left: 3px solid #D4D4D4;
color: #444;
}

/* start - table */
table {
border-collapse: collapse;
margin: 10px;
}
th strong {
color: #fff;
}
th {
background: #e7e6e6 url(button.jpg) repeat-x;
height: 29px;
padding-left: 12px;
padding-right: 12px;
text-align: left;
border-left: 1px solid #f4f4f4;
border-bottom: solid 2px #fff;
color: #333;
}
tr {
height: 30px;
}
td {
padding-left: 11px;
padding-right: 11px;
border-left: 1px solid #fff;
border-bottom: 1px solid #fff;
}
td.first,th.first {
border-left: 0px;
}
tr.row-a {
background: #F8F8F8;
}
tr.row-b {
background: #EFEFEF;
}
/* end - table */

/* form elements */
form {
margin:10px; padding: 0 5px;
background: #F5F5F5;
}
label {
display:block;
font-weight:bold;
margin:5px 0;
}
input {
padding:2px;
border:1px solid #eee;
font: normal 1em Verdana, sans-serif;
color:#777;
}
textarea {
width:400px;
padding:2px;
font: normal 1em Verdana, sans-serif;
border:1px solid #eee;
height:100px;
display:block;
color:#777;
}
input.button {
font: bold 12px Arial, Sans-serif;
height: 24px;
margin: 0;
padding: 2px 3px;
color: #333;
background: #e7e6e6 url(button.jpg) repeat-x;
border: 1px solid #dadada;
}

/* search form */
.searchform {
background-color: transparent;
border: none;
margin: 0 5px 0 10px; padding: 5px 0 15px 0;
width: 190px;
}
.searchform p { margin: 0; padding: 0; }
.searchform input.textbox {
width: 100px;
color: #777;
height: 18px;
padding: 2px;
border: 1px solid #E5E5E5;
vertical-align: top;
}
.searchform input.button {
width: 60px;
height: 24px;
padding: 2px 5px;
vertical-align: top;
}

/********************************************
   LAYOUT
********************************************/
#wrap {
position: relative;
width: 1110px;
margin: 0 auto;
text-align: left;
background: #000000 url(content.jpg) repeat-y center top;
}
#content-wrap {
float: left;
width: 1050px;
margin-left: 30px;
display: inline;
padding: 0;
border-top: 5px solid #fff;
background: #000000 url(content-wrap.jpg) repeat-x;
}
#header {
position: relative;
background: #fff url(header-bg.jpg) repeat-y center top;
height: 35px;
width:910px;
padding: 0;
color: #fff;
}

/* header links */
#header #header-links {
position: absolute;
top: 8px; right: 45px;
color: #838181;
font-size: 10px;
font-weight: bold;
}
#header #header-links p {
padding: 0; margin: 0;
}
#header #header-links a {
color: #838181;
text-decoration: none;
}
#header #header-links a:hover {
color: #444;
}

/* header-photo */
#header-photo {
position: relative;
clear: both;
margin: 5px auto;
height: 250px;
width: 850px;
background: #fff url(header-photo.jpg) no-repeat center center;
}
#header-photo h1#logo-text a {
position: absolute;
margin: 0; padding: 0;
font: bold 48px 'Trebuchet MS', Arial, Sans-serif;
letter-spacing: -1px;
color: #fff;
text-transform: none;
text-decoration: none;
border: none;

/* change the values of top and left to adjust the position of the logo*/
top: 25px; left: 30px;
}

#header-photo h2#slogan {
position: absolute;
margin: 0; padding: 0;
font: bold 14px 'Trebuchet MS', Arial, Sans-serif;
text-transform: none;
color: #B6D1F8;

/* change the values of top and left to adjust the position of the slogan*/
top: 80px; left: 35px;
}

/* Navigation */
#nav {
clear: both;
padding: 0;
}
#nav ul {
float: left;
list-style: none;
background: #E4E4E4 url(nav.jpg) repeat-x;
width: 850px;
padding: 0; margin: 0 0 0 30px;
height: 45px;
display: inline;
text-transform: uppercase;
}
#nav ul li {
display: inline;
margin: 0; padding: 0;
}
#nav ul li a {
display: block;
float: left;
width: auto;
margin: 0;
padding: 0 15px;
border-right: 1px solid #dadada;
border-left: 1px solid #fafafa;
border-bottom: none;
color: #555;
font: bold 14px/45px "Century Gothic", "Trebuchet MS", Helvetica, Arial, Geneva, sans-serif;
text-transform: uppercase;
text-decoration: none;
letter-spacing: 1px;
}
#nav ul li a:hover,
#nav ul li a:active {
color: #326ea1;
}
#nav ul li#current a {
background: #DBDBDB url(nav-current.jpg) repeat-x;
}

/* Main Column */
.three-col #main {
margin: 10px 190px 0 200px;
}
.two-col #main {
margin: 10px 5px 0 200px;
}

#main h1 {
margin: 10px 10px 0 10px;
font: normal 1.8em Georgia, "Times New Roman", Times, serif;
color: #444;
padding: 15px 0 2px 0px;
border-bottom: 1px solid #dadada;
}

/* Sidebar */
#sidebar {
float: left;
width: 195px;
margin-top: 10px;
}
/* right column */
#rightcolumn {
float: right;
width: 190px;
margin-top: 10px;
}
#rightcolumn h1, #sidebar h1 {
margin: 10px 5px 0 5px;
padding: 5px 5px;
font: bold 1.4em 'Trebuchet MS', Tahoma, Sans-serif;
color: #444;
}

/* sidemenu */
ul.sidemenu {
text-align: left;
margin: 7px 8px 8px 10px; padding: 0;
border-top: 1px solid #E5E5E5;
text-decoration: none;
}
ul.sidemenu li {
list-style: none;
padding: 4px 0 4px 5px;
margin: 0 2px;
border-bottom: 1px solid #E5E5E5;
}
* html body ul.sidemenu li {
height: 1%;
}
ul.sidemenu li a {
text-decoration: none;
color: #326ea1;
border: none;
}
ul.sidemenu li a:hover {
color: #383d44;
border: none;
}

/* footer-wrap */
#footer-wrap {
clear: both;
width: 1110px;
font-size: 95%;
padding: 20px 0;
text-align: left;
background: url(footer-bottom.jpg) no-repeat center bottom;
}
#footer-wrap a {
text-decoration: none;
color: #666666;
font-weight: bold;
}
#footer-wrap a:hover {
color: #000;
}
#footer-wrap p {
padding: 10px 0;
}
#footer-wrap h2 {
color: #666666;
margin: 0;
padding: 0 10px;
}

/* footer */
#footer {
clear: both;
color: #000000;
margin: 0 auto 10px auto;
width: 1000px;
padding: 5px 0;
text-align: center;
background: #000000;
border-top: 1px solid #F2F2F2;
}
#footer1 {





width: 330px;
  float: left;

border-right: 1px solid  #FFFFFF;




}
#footer2 {
width: 330px;
  float: left;

border-right: 1px solid #FFFFFF;
}
#footer3 {
width: 330px;
  float: left;
}
/* alignment classes */
.float-left  { float: left; }
.float-right { float: right; }
.align-left  { text-align: left; }
.align-right { text-align: right; }

/* display and additional classes */
.clear { clear: both; }

/* post */
.post-by {
font-size: .95em;
padding-top: 0;
}
.post-footer {
background: #F5F5F5;
padding: 5px; margin: 20px 10px 0 10px;
font-size: 95%;
color: #666666;
}
.post-footer .date{
margin: 0 10px 0 5px;
}
.post-footer a.comments {
margin: 0 10px 0 5px;
}
.post-footer a.readmore {
margin: 0 10px 0 5px;
}


#6
Desarrollo Web / efecto con texto
20 Marzo 2013, 19:20 PM
buen dia, quiero realizar un efecto de tipo maquina de escribir va apareciendo el texto letra por letra pero con efecto tipo maquina de escriibir.
e visto algunos que salen asi "_ejemplo" . el  "_" como que va poniendo el texto, tento entendido que se tiene que hacer con javascript pero la verdad desconozco como espero alguien me pueda ayudar

gracias
#7
Desarrollo Web / problema con html y css
11 Enero 2013, 03:28 AM
hola buen dia tengo un problema con html y css estoy creando una web, pero tengo varios errores uno de ellos es que si por ejemplo el menu de lado izquiero se deplaza una parte del div se desplaza
dejo una imagen


si los dos menus estan llenos se centra esa parte. de entrada no se como corregir ese error.

otra cosa que quiero corregir es que la parte de noticias y promos queden en en centro mitad y mitad pero tambien no lo e logrado tambien dejo una imagen

a la vez dejo mi codigo en html y css

<html>
<head>

<link rel="stylesheet" href="style.css" type="text/css"/>
<title>wegb </title>
</head>
<body>
<div id ="cabecera"><center>logo</center> </div>
<div id ="pmenu">menu
</div>
<div id ="menu_izq"> mi menu izquiero </div>
<div id ="menu_der">menu derecho <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>  </div>
<div id ="cuerpo">
texto
</div>
<br>
<br>
<div id ="contenedor1">
<div id ="noticias">noticias <br></div>
<div id ="promos">promos</div>
</div><br>
<br><br>
</body>
</html>



y este es el css




BODY {
     
    background-color: #000000;
    font-style: Helvetica Calibri;
    font-size: 14px;
    font-color:#000000;
   
}
#cabecera{
     
    color: #333300;
    width:100%;
}
#pmenu{ 
    color: #333300;
    width:100%;
}

#cuerpo{
width: 70%;
overflow: hidden;
     margin: auto;
     border-left: #FF6600 2px solid;
     border-right: #FF6600 2px solid;
     background-color: #EDEEF8;
     padding: 5px;

}
#menu_izq{
overflow: hidden;
text-align: center;
      float:left;
 
     width: 13%;
   

     background-color:#FF0100;

}
#menu_der{
  text-align: center;   
width: 13%;
    float: right;
     background-color:#FF0100;

}
#contenedor1{

width: 70%;
overflow: hidden;
     margin: auto;
     border-left: #FF6600 2px solid;
     border-right: #FF6600 2px solid;
     background-color: #EDEEF8;
     padding: 5px;


}
#noticias{
width: 35%;
float:left;
background:#CC6600;
}
#promos{
width: 35%;
float:right;
border-left: #FF6600 1px solid;
;
background:#CC6600;
}
#contenedor2{
width: 99%;
    overflow: hidden;
     border-left: #FF6600 2px solid;
     border-right: #FF6600 2px solid;
     background-color: #EDEEF8;
     padding: 5px;
      }
#afiliados{
background: #fc3;
width:25%;
float: left;
}
#terceros{
border-left: #FF6600 1px solid;
background: #fc3;
width:25%;
float: left;
}
#sociales{
border-left: #FF6600 1px solid;
background: #fc3;
width:25%;
float: left;
}
#derechos{
border-left:#FF6600 1px solid;
background: #fc3;
width:24.7%;
float: left;
}
#8
buenas tardes, tengo instalado php-nuke 8.0 y me gustaria que en lugar de mostrar las encuestas en el bloque se muestren en un modulo en el index de la web pero no lo e podido lograr ya que el modulo de encuestas solo muestra encuestas pasadas y las enlaza, entonces no se como se puede lograr esto.
#9
buenas tardes, me pidierno realizar un programa en el cual muestre el rango , el numero de bits, bytes de enteros reales y caracter.
pero la verdad no tengo ni idea de como realizarlo.
seria facil poner un printf y mostrar los datos, pero on puede ser asi tengo que sacar los datos con una disque formula.
alguien sabe donde lo podria descargar ? o poderme ayudar?
ya que tengo el tiempo ensima para entregarlo
#10
PHP / tiempo de vida en sesiones php
9 Agosto 2011, 20:58 PM
quiero crear una sesion y que tenga un tiempo de vida de 5 minutos y despues se elimine, me encontre este codigo en internet pero no me funciona.
pero es justo lo que busco, no se por que no funciona

<?php
ini_set
("session.cookie_lifetime","300");
session_start();
$_SESSION["time"] = time();
if (
time() - $_SESSION["time"] < 300) {
echo 
'no ha pasado 5 minutos';
}else{
echo 
'ha pasado mas de 5 minutos';
session_destroy();
}
?>
#11
PHP / imap con php
21 Julio 2011, 03:04 AM
anteriormente me conectaba con este code por imap

<?php 
if($mbox = @imap_open("{imap.gmail.com:993/imap/ssl}""user""passw"OP_HALFOPEN))  
{
    echo 
"Ingresaste con exito ";

else
 {
    echo 
"error";
}
?>


pero lo probe tiempo despues en un hosting y siempe me dice error y no me puedo conectar, no se si sea el hosting ya que cuando veo en phpinfo sale esto de imap
IMAP c-Client Version 2007e
SSL Support enabled
Kerberos Support enabled
se supone que esta instalado entonces no entiendo el error
#12
PHP / login curl
10 Julio 2011, 23:09 PM
intento logearme en una web mediante curl pero el problema es que siempre me dice que mi sesion a caducado, alparecer si se envia el ususario y la contraseña.
por ejemplo tengo:
formulario.html
login.php
panel.php

entonces realizo esto

$pd = "user=user&password=password";
$red = "localhost/panel.php";
$c = curl_init('localhost/login.php');
curl_setopt($c, CURLOPT_POSTFIELDS, $pd);
a login le envio los datos.
entonces pense en redireccionar a panel.php para ver si se logeo o no pero no puedo intente de esta forma
curl_setopt($c,CURLOPT_FOLLOWLOCATION,$red);
pero siempre me muestra el login.php, entonces no se que estoy asiendo mal, si e almacenado las cookies.
#13
PHP / uso de script en php
20 Mayo 2011, 23:36 PM
buenas tardes quiero utilizar este script para conectarme a twitter
<?php
$_pluginInfo
=array(
'name'=>'Twitter',
'version'=>'1.1.1',
'description'=>"Get the contacts from a Twitter account",
'base_version'=>'1.8.0',
'type'=>'social',
'check_url'=>'http://twitter.com',
'requirement'=>'user',
'allowed_domains'=>false,
);
/**
 * Twitter Plugin
 * 
 * Imports user's contacts from Twitter and
 * posts a new tweet from the user as a invite.
 * 
 * @author OpenInviter
 * @version 1.0.3
 */
class twitter extends OpenInviter_Base
{
private $login_ok=false;
public $showContacts=true;
public $requirement='user';
public $internalError=false;
public $allowed_domains=false;
protected $timeout=30;
protected $maxUsers=100;

public $debug_array=array(
'initial_get'=>'username',
'login_post'=>'inbox',
'friends_url'=>'list-tweet',
'wall_message'=>'latest_text',
'send_message'=>'inbox'
);

/**
 * Login function
 * 
 * Makes all the necessary requests to authenticate
 * the current user to the server.
 * 
 * @param string $user The current user.
 * @param string $pass The password for the current user.
 * @return bool TRUE if the current user was authenticated successfully, FALSE otherwise.
 */
public function login($user,$pass)
{
$this->resetDebugger();
$this->service='twitter';
$this->service_user=$user;
$this->service_pass=$pass;
if (!$this->init()) return false;
$res=$this->get("https://mobile.twitter.com/session/new",true);
if ($this->checkResponse('initial_get',$res))
$this->updateDebugBuffer('initial_get',"https://mobile.twitter.com/session/new",'GET');
else 
{
$this->updateDebugBuffer('initial_get',"https://mobile.twitter.com/session/new",'GET',false);
$this->debugRequest();
$this->stopPlugin();
return false;
}

$form_action="https://mobile.twitter.com/session";
$post_elements=array('authenticity_token'=>$this->getElementString($res,'name="authenticity_token" type="hidden" value="','"'),'username'=>$user,'password'=>$pass);
$res=$this->post($form_action,$post_elements,true);
if ($this->checkResponse('login_post',$res))
$this->updateDebugBuffer('login_post',"{$form_action}",'POST',true,$post_elements);
else 
{
$this->updateDebugBuffer('login_post',"{$form_action}",'POST',false,$post_elements);
$this->debugRequest();
$this->stopPlugin();
return false;
}
$this->login_ok="http://mobile.twitter.com/{$user}/followers";
return true;
}

/**
 * Get the current user's contacts
 * 
 * Makes all the necesarry requests to import
 * the current user's contacts
 * 
 * @return mixed The array if contacts if importing was successful, FALSE otherwise.
 */

public function getMyContacts()
{
if (!$this->login_ok)
{
$this->debugRequest();
$this->stopPlugin();
return false;
}
else $url=$this->login_ok;
$res=$this->get($url);
if ($this->checkResponse('friends_url',$res))
$this->updateDebugBuffer('friends_url',"{$url}",'GET');
else 
{
$this->updateDebugBuffer('friends_url',"{$url}",'GET',false);
$this->debugRequest();
$this->stopPlugin();
return false;
}
$contacts=array();$countUsers=0;
do
{
$nextPage=false;
$doc=new DOMDocument();libxml_use_internal_errors(true);if (!empty($res)) $doc->loadHTML($res);libxml_use_internal_errors(false);
$xpath=new DOMXPath($doc);
$query="//a[@name]";$data=$xpath->query($query);
foreach ($data as $node)
{
$user=(string)$node->getAttribute("name");
if (!empty($user)) {$contacts[$countUsers]=$user$countUsers++; }
}
$query="//div[@class='list-more']/a";$data=$xpath->query($query);
foreach($data as $node) { $nextPage=$node->getAttribute("href");break; }
if ($countUsers>$this->maxUsers) break; 
if (!empty($nextPage)) $res=$this->get('http://mobile.twitter.com'.$nextPage);
}
while ($nextPage);
return $contacts;
}

/**
 * Send message to contacts
 * 
 * Sends a message to the contacts using
 * the service's inernal messaging system
 * 
 * @param string $cookie_file The location of the cookies file for the current session
 * @param string $message The message being sent to your contacts
 * @param array $contacts An array of the contacts that will receive the message
 * @return mixed FALSE on failure.
 */
public function sendMessage($session_id,$message,$contacts)
{
$countMessages=0;$res=$this->get("http://mobile.twitter.com");$auth=$this->getElementString($res,'name="authenticity_token" type="hidden" value="','"');

$form_action="http://mobile.twitter.com";
$post_elements=array("authenticity_token"=>$auth,'tweet[text]'=>$message['body'],'tweet[in_reply_to_status_id]'=>false,'tweet[lat]'=>false,'tweet[long]'=>false,'tweet[place_id]'=>false,'tweet[display_coordinates]'=>false);
$res=$this->post($form_action,$post_elements,true);

foreach($contacts as $screen_name)
{
$countMessages++;$form_action='http://mobile.twitter.com/inbox';
$post_elements=array('authenticity_token'=>$auth,'message[text]'=>$message['body'],'message[recipient_screen_name]'=>$screen_name,'return_to'=>false,);
$res=$this->post($form_action,$post_elements,true);
if ($this->checkResponse('send_message',$res))
$this->updateDebugBuffer('send_message',"{$form_action}",'POST',true,$post_elements);
else 
{
$this->updateDebugBuffer('send_message',"{$form_action}",'POST',false,$post_elements);
$this->debugRequest();
$this->stopPlugin();
return false;
}
sleep($this->messageDelay);
if ($countMessages>$this->maxMessages) {$this->debugRequest();$this->resetDebugger();$this->stopPlugin();break;}
}
}

/**
 * Terminate session
 * 
 * Terminates the current user's session,
 * debugs the request and reset's the internal 
 * debudder.
 * 
 * @return bool TRUE if the session was terminated successfully, FALSE otherwise.
 * 
 */

public function logout()
{
if (!$this->checkSession()) return false;
$this->get("http://twitter.com/logout");
$this->debugRequest();
$this->resetDebugger();
$this->stopPlugin();
return true;
}
}

?>


quiero llamar el code en x.php desde aqui quiero enviar mi user y password para que lo valide y si es incorrecto me mande el error y si se ingreso me diga que mi login fue correcto, no se usar esta clase y no se si todo el codigo me sirva solo quiero hacer el login. como lo tendria que usar?
#14
Hardware / Laptop no enciende
29 Abril 2011, 22:11 PM
cuando una laptop no enciende, solo el led del eliminador que pruebas hay que realizar?
y otra pregunta como es posible saber que el problema es la ram, la mother o el procesador ?  si no cuento con otras para probarlas, es posible que manualmente se pueda llegar a la concluicion ?  
#15
PHP / correos en php gmail
24 Enero 2011, 20:48 PM
es posible enviar correos con php desde gmail ? sin usar phpmailer ?
logre una conexion imap con php pero no se si con este protocolo se puedan enviar correos, si con smtp se puede desde gmail como seria ?
#16
PHP / pop3 en php
19 Enero 2011, 04:57 AM
como puedo crear un login sencillo para logearme a pop3 a hotmail ?
ya e intentado pero no e tenido exito y e buscado en google y ningun script  me a funcionado