Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2001041

RE: [PHP-DB] Auto load PHP From: Michael Rudel (mru <email protected>)
Date: 04/03/01

<?php
   // Redirects to another Page using HTTP-META Tag
   function redirect( $url, $message = "", $delay = 0 )
   {
      /* redirects to a new URL using meta tags */
      echo "<meta http-equiv='Refresh' content='".$delay."; url=".$url."'>";
      if ( !empty( $message ) )
         die( "<div style='font-family: Arial, Sans-serif; font-size: 12pt;' align=center> ".$message." </div>" );
   }
?>

Greetinx,
  Mike

Michael Rudel
- Web-Development, Systemadministration -
_______________________________________________________________

Suchtreffer AG
Bleicherstraße 20
D-78467 Konstanz
Germany
fon: +49-(0)7531-89207-17
fax: +49-(0)7531-89207-13
e-mail: mailto:mru <email protected>
internet: http://www.suchtreffer.de
_______________________________________________________________

> -----Original Message-----
> From: Renze Munnik [mailto:renze <email protected>]
> Sent: Tuesday, April 03, 2001 9:57 AM
> To: php-db <email protected>
> Subject: Re: [PHP-DB] Auto load PHP
>
>
> David Balatero wrote:
> >
> > Maybe after the UPDATE statement, you could do:
> >
> > <?php
> > header("Location: /path/to/other/script.php");
> > ?>
> >
> > ...but I don't know, I don't use header() that much.
> >
> > -- David Balatero
> >
> > -----Original Message-----
> > From: Jim Ray [mailto:jaray <email protected>]
> > Sent: Monday, April 02, 2001 6:23 PM
> > To: php-db <email protected>
> > Subject: [PHP-DB] Auto load PHP
> >
> > Is there a way, once updating a table to load another PHP?
> After, I have the
> > user click on the save button, the code calls a update
> routine. After the
> > UPDATE is done, I want the code to call another progam.
> >
> > Thank you.
> >
> > Jim
>
>
> Yep... the header-function should work. There's only one nasty
> restriction... You can only use the header-function BEFORE ANY OTHER
> OUTPUT HAS BEEN GENERATED.
> --
>
> * R&zE:
>
> ***************************
> ** Renze Munnik
> **
> ** E: renze <email protected>
> ** M: +31 6 218 111 43
> ***************************
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe <email protected>
> For additional commands, e-mail: php-db-help <email protected>
> To contact the list administrators, e-mail:
> php-list-admin <email protected>
>

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>