You are here: No redirect with header() « PHP « IT news, forums, messages
No redirect with header()

Posted by Dotan Cohen on 10/20/49 11:29

I am working on a redirect script to log "out"'s. I was trying to do
it with a header redirect:
<?php

// Log in database
/*
-snip-
*/

// Send user away
header ("Location: ".$url);
?>

Does this seem like it should work? It doesn't. What is the correct
syntax for these things? You can see the 'prototype' at
http://lyricslist.com: Just click on the logo or the word "Song
Lyrics" above the ads. Thanks in advance for any help.

Dotan Cohen.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация