ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-spanish
php-spanish
Re: [PHP-ES] register global = off
by Martin Alterisio other posts by this author
Dec 12 2006 3:03PM messages near this date
RE: [PHP-ES] Hosting PHP5 | Re: [PHP-ES] problemas al subir al hosting
Tener en cuenta que la cookie puede no estar presente ya que este no es el
�nico mecanismo que utiliza php para persistir el id de la sesi�n entre
pedidos. Sin embargo session_id() siempre devuelve el id de sesi�n sin
importar como decidi� php pasar el id.

2006/12/12, "Carlos L. Gonz�lez" <kedu.listas@[...].com> :
> 
>  Para acceder a las variables, debes hacerlo mediante $_GET o $_POST, son
>  arrays, y le debes indicar como indice el nombre que le has dado al
>  campo en tu formulario.
> 
>  P.E.: Si tienes un input de tipo texto, cuyo nombre es 'direccion', y
>  este campo lo envias mediante post, para acceder a el, debes usar
>  $_POST['direccion'].
> 
>  respecto a las variables de id de la session, debes hacer uso de la
>  funcion session_id(); que te devuelve un string con la cadena de la
>  session, o acceder a dicha variable con $_COOKIE['PHPSESSID'].
> 
> 
> 
>  Mario Soto escribi�:
>  > Una consulta, como paso variables entre formularios teniendo en
>  > register global = off... y porque al tener el register global en off
>  > no me funciona la variable $PHPSESSID...
>  >
>  > Graciaqs
>  >
> 
>  --
>  PHP Spanish Localization Talk Mailing List (http://www.php.net/)
>  To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved