Re: A link that goes nowhere!
| From: | Ernest E Vogelsinger | Date: | Wed, 21 May 2003 10:05:24 +0000 |
| Subject: | Re: A link that goes nowhere! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-148390@lists.php.net to get a copy of this message | ||
At 11:56 21.05.2003, Shaun said:
--------------------[snip]--------------------
>Hi,
>
>how can I add a link to a page that runs a script then goes back to the page
>i was on?
--------------------[snip]--------------------
This depends on what you really want to achieve.
If you want the page not to change at all, your script can return a "no
content" header:
header('HTTP/1.0 204 No Content');
flush();
After that your script may run to completion.
Refer to ftp://ftp.rfc-editor.org/in-notes/rfc2616.txt
for more info on HTTP.
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/