Re: function problem (simple redirect)
| From: | Chris Shiflett | Date: | Mon, 27 Oct 2003 18:51:37 +0000 |
| Subject: | Re: function problem (simple redirect) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-167768@lists.php.net to get a copy of this message | ||
--- Frank Tudor <frank_tudor@yahoo.com> wrote:
> function $payment{
You probably mean payment, not $payment.
> header ("location:test_page.html");
The Location header has an uppercase L, a space after the colon, and an
absolute URL after the space. Your example violates all three.
Hope that helps.
Chris
=====
My Blog
http://shiflett.org/
HTTP Developer's Handbook
http://httphandbook.org/
RAMP Training Courses
http://www.nyphp.org/ramp