![]() |
Show 150 posts per page |
.dsy:it. (http://www.dsy.it/forum/)
- Forum De Bell Tolls (http://www.dsy.it/forum/forumdisplay.php?forumid=7)
-- [php - aiuto]Configurazione php.ini x usare le sessioni (http://www.dsy.it/forum/showthread.php?threadid=11590)
[php - aiuto]Configurazione php.ini x usare le sessioni
ciao a tutti
sapete se ci sono delle impostazioni particolari da settare nel file php.ini x usare le sessioni?ora come ora i valori non vengono propagati da pagina a pagina,ma reinizializzati ongi volta!
è la prima volta che ho a che fare con php..ogni consiglio è ben accetto!
grazie dell'aiuto,ciao!!
__________________
()
solitamente, se non devi fare cose particolari basta che setti
session.save_path =
ad una directory temporanea dove verranno memorizzati i file di sessione
la directory è settata...x il momento sto gestendo tutto via GET...ma non mi piace tantissimo come scelta....
il dubbio permane...
__________________
()
Nella cartella dove hai installato PHP ci dovrebbe essere una sottocartella chiamata "sessiondata" o qualcosa di simile: le hai dato i permessi di scrittura?
Altra cosa: se il browser del client ha i cookies disabilitati, le sessioni non funzionano.
__________________
» Collect some stars to shine for you, and start today ‘cause there are only a few. _ (In Flames)
» Don't stop for nothing, it's full speed or nothing! I'm taking down, you know, whatever is in my way! _ ('tallica)
» I am my own god, I do as I please. _ (Pain)
» Ninetynine, ninetynine knives! Ninetynine knives inside! Nobody gets out alive! _ (The Haunted)
Web: http://www.negativesignal.com - ICQ# 171585477 - Death to software patents! And TCPA too! "e uno!", diceva il boia.
nelle ultime versioni di php le register globals sono disattivate per motivi di sicurezza.
Trova la voce
register_globals = Off
e mettila a On
; - register_globals = Off [Security, Performance]
; Global variables are no longer registered for input data (POST, GET, cookies,
; environment and other server variables). Instead of using $foo, you must use
; you can use $_REQUEST["foo"] (includes any variable that arrives through the
; request, namely, POST, GET and cookie variables), or use one of the specific
; $_GET["foo"], $_POST["foo"], $_COOKIE["foo"] or $_FILES["foo"], depending
; on where the input originates. Also, you can look at the
; import_request_variables() function.
; Note that register_globals is going to be depracated (i.e., turned off by
; default) in the next version of PHP, because it often leads to security bugs.
; Read http://php.net/manual/en/security.registerglobals.php for further
; information.
All times are GMT. The time now is 04:44. | Show all 5 posts from this thread on one page |
Powered by: vBulletin Version 2.3.1
Copyright © Jelsoft Enterprises Limited 2000 - 2002.