You are here: Re: How can I get this redirect to work? (and this mail function) « PHP Programming Language « IT news, forums, messages
Re: How can I get this redirect to work? (and this mail function)

Posted by foulu0014 on 11/06/07 00:07

On Nov 5, 6:39 pm, dave <dave.wa...@gmail.com> wrote:
> On Nov 5, 3:03 pm, foulu0...@gmail.com wrote:
>
>
>
> > On Nov 5, 5:56 pm, "Rik Wasmus" <luiheidsgoe...@hotmail.com> wrote:
>
> > > On Mon, 05 Nov 2007 23:37:46 +0100, <foulu0...@gmail.com> wrote:
> > > > <?php
> > > > header('Location:http://www.PAGE-TO-REDIRECT-TO.com/');
> > > > mail('my-em...@website.com', 'TEST', $_SERVER['REMOTE_ADDR']);
> > > > ?>
>
> > > <?php
> > > mail('my-em...@website.com', 'TEST', $_SERVER['REMOTE_ADDR']);
> > > header('Location:http://www.PAGE-TO-REDIRECT-TO.com/');
> > > ?>
> > > --
> > > Rik Wasmus
>
> > So that would redirect the browser and then send the IP address of the
> > person accessing the page to an email?
>
> that sends an email then redirects the browser.
> notice the difference?

yes, thank you very much

 

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

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