Re: Auto load PHP
| From: | Renze Munnik | Date: | Tue, 03 Apr 2001 08:56:59 +0000 |
| Subject: | Re: Auto load PHP | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-8174@lists.php.net to get a copy of this message | ||
On Tue, Apr 03, 2001 at 09:48:07AM +0100, Galvin, Max wrote:
> Jim Ray didn't say he wanted it redirected though, he said he wanted it
> "called". Redirecting was brought in by someone who replied to the post.
>
> I would also use header() but if the poster is looking for a quick "plug in"
> solution without having to alter any output he's already made, include or
> require are the simplest way. Whilst overhead is important, is taking a day
> to rewrite a complex script worth the tiny amount of speed/memory saving he
> might make?
>
> M
>
Well, okay...
I've read the original msg from J.R. again and indeed, he doesn't
want to redirect. My answ was mainly based on the post from D.B.
[ To J.R. ]
Having read the org. msg.; I don't know if you are trying to do
this. Anyway... You can also create the HTML/PHP-page you want to show,
and then put the update statement at the beginning. Something like the
following pseudo:
# Result page
-> Update table
-> <HTML>
--> html-content
-> </HTML>
This doesn't make much of a difference with including the HTML-part
though. It's just what you like more...
All your choice...
--
* R&zE:
***************************
** Renze Munnik
**
** E: renze@datalink.nl
** M: +31 6 218 111 43
***************************