Archivo de la etiqueta: sesión

PHP MySQL session_set_save_handler condición de carrera

I have written a simple session_set_save_handler using a MySQL innoDB table as the storage backend. MySQL is 5.5.
Code looks like so (very simplified, but hopefully illustrates the flow of code), I am using RedBean ORM for interacting with theSigue leyendo

Etiquetado , , , , | Deja un comentario

file path structures ajax and php sessions

I am working on a projects that is kind of all over the place. My display file is index.php. From there I make calls via jquery to ajax functions which then call php file that gets and receives user dataSigue leyendo

Etiquetado , , , , | Deja un comentario

Bypassing Captcha with curl in PHP

I am trying to automate the login progress on a captcha protected page. I am using Death By Captcha to translate the image into text and it seems to be working well. I am using curl to load the loginSigue leyendo

Etiquetado , , , , | Deja un comentario

insert $_SESSION['MM_Username'] in to log message

First post hereI’ve been learning php and mysql for a month or so now.
I’m trying to post the sessionMM_Usernameinto log notes.
so it readsarchived by username
I thought that if I set the lognoteSigue leyendo

Etiquetado , , , | Deja un comentario

PHP Session ExpirationWhen does it refresh?

I’m using Zend with a session expiration set to 1,800 segundo. I was wondering if this session expiration time refreshes back to 1,800 seconds every time I make a request from the browser to the server on behalf of theSigue leyendo

Etiquetado , , | Deja un comentario

una página en blanco cuando cuando el usuario introduzca información incorrecta en el registro de check-in

Tengo este código para verificar la información proporcionada por el usuario para iniciar sesión , cuando la información es correcta se supone que muestra la página siguiente ,
que no suponga su TI para mostrar una página que dice “No… Sigue leyendo

Etiquetado , , | 1 comentario

php math function results wrong output

I grabbed value of silver from yahoo finance and added 0.10 to the current value.. it is showing right result..

$yql_base_url = "http://query.yahooapis.com/v1/public/yql?";

$params = array(
    'q'      => 'select * from html where url=@url and xpath=@xpath;',
    'url'    => 'http://finance.yahoo.com/q?s=XAGUSD%3DX&ql=1',
    'xpath'  

Sigue leyendo

Etiquetado , , | Deja un comentario

¿Por qué la diferencia en localhost vs 127.0.0.1 sobre SESIONES

I’m wondering why there’s a difference in these two for sessions? If i have a login form and it passes sessions to a page (es decir,: settings.php). If i have localhost/settings.php… the session would work, if I go to a Sigue leyendo

Etiquetado , , | Deja un comentario

How to serialize/save a DOMElement in $_SESSION?

I’m pretty new to PHP, SENTENCIA, and the PHP DOM implementation. What I’m trying to do is save the root element of the DOMDocument en un $_SESSION… variable so I can access it and modify it on subsequent page loads. Sigue leyendo

Etiquetado , , , , | Deja un comentario
26 páginas