Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Community > Forum De Bell Tolls > [php]Redirect pagina
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
daddyrho
terzo fratello gallagher

User info:
Registered: Nov 2001
Posts: 507 (0.06 al dì)
Location: Rho (MI)
Corso: Informatica Triennale
Anno: Finito!
Time Online: 17 Days, 1:28:57 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
[php]Redirect pagina

ragassuoli...altro problema del neofita di php!:(
ho uploadato il sito che sto facendo su uno spazio di lycos.
in locale funziona tutto alla perfezione...ma online ho un problema: non funziona il reindirizzamento tramite Header(location...).ad esempio la pagina logout.php distrugge la sessione e poi dovrebbe tornare a index.php...

code:
Header("Location: http://".$HTTP_SERVER_VARS['HTTP_HOST'] .dirname($HTTP_SERVER_VARS['PHP_SELF']) ."/index.php");

come ho detto in locale...nessun problema...on line mi rimane impiantato su logout.php.
sapete suggerirmi altri metodi?non so dove guradare...:ueee:

__________________
()

Last edited by daddyrho on 25-06-2004 at 09:01

25-06-2004 08:58
Click Here to See the Profile for daddyrho Click Here to See the Blog of daddyrho Click here to Send daddyrho a Private Message Visit daddyrho's homepage! Find more posts by daddyrho Add daddyrho to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
DeepBlue
tired guy

User info:
Registered: Sep 2003
Posts: 4258 (0.52 al dì)
Location: CSN
Corso: Info tlc
Anno:
Time Online: 52 Days, 8:40:31 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

mmm di solito questo codice non funziona se c'è un newline sopra Header...
Però mi dici che in locale ti funziona....:pensa:

Altra cosa: sicuro di non esserti dimenticato uno slash dopo $HTTP_SERVER_VARS['HTTP_HOST'] ?

__________________
~ get Debian! ~ get FreeBSD! ~ get OpenBSD! ~

Last edited by DeepBlue on 25-06-2004 at 09:25

25-06-2004 09:22
Click Here to See the Profile for DeepBlue Click Here to See the Blog of DeepBlue Click here to Send DeepBlue a Private Message Find more posts by DeepBlue Add DeepBlue to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
daddyrho
terzo fratello gallagher

User info:
Registered: Nov 2001
Posts: 507 (0.06 al dì)
Location: Rho (MI)
Corso: Informatica Triennale
Anno: Finito!
Time Online: 17 Days, 1:28:57 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

prima l'avevo messa... ma poi echo $HTTP_SERVER_VARS['HTTP_HOST'] mi dava utenti.lycos.it/nomesito/ quindi l'ho tolta...e ripeto...in locale va:?
ho letto sul forum di lycos che anche qualcun altro ha problemi con il redirect..a questo punto sapete consigliarmi un altro hosting gratuito se non riesco a risolvere?:pccrash:

__________________
()

25-06-2004 09:39
Click Here to See the Profile for daddyrho Click Here to See the Blog of daddyrho Click here to Send daddyrho a Private Message Visit daddyrho's homepage! Find more posts by daddyrho Add daddyrho to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
DeepBlue
tired guy

User info:
Registered: Sep 2003
Posts: 4258 (0.52 al dì)
Location: CSN
Corso: Info tlc
Anno:
Time Online: 52 Days, 8:40:31 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

www.altervista.org ;)

__________________
~ get Debian! ~ get FreeBSD! ~ get OpenBSD! ~

25-06-2004 09:50
Click Here to See the Profile for DeepBlue Click Here to See the Blog of DeepBlue Click here to Send DeepBlue a Private Message Find more posts by DeepBlue Add DeepBlue to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
daddyrho
terzo fratello gallagher

User info:
Registered: Nov 2001
Posts: 507 (0.06 al dì)
Location: Rho (MI)
Corso: Informatica Triennale
Anno: Finito!
Time Online: 17 Days, 1:28:57 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

misteri della fede!su altervista funziona tutto perfettamente!!:D

__________________
()

25-06-2004 10:42
Click Here to See the Profile for daddyrho Click Here to See the Blog of daddyrho Click here to Send daddyrho a Private Message Visit daddyrho's homepage! Find more posts by daddyrho Add daddyrho to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 13:21.    Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.180 seconds (22.14% PHP - 77.86% MySQL) con 25 query.