[pmwiki-devel] Redirect in php

Crisses crisses at kinhost.org
Wed Dec 6 21:26:33 CST 2006


On Dec 6, 2006, at 8:14 PM, Patrick R. Michaud wrote:

> On Wed, Dec 06, 2006 at 06:50:56PM -0500, The Editor wrote:
>> I'm trying to get some things working directly in php for a script  
>> I'm
>> experimenting on.  Right now I'm stuck on this:
>>
>> http_redirect($nextpage);
>
> According to http://www.php.net/http_redirect , the http_redirect()
> call is a PECL extension and not bundled with PHP.  See also
> http://www.php.net/manual/en/http.install.php .

http://us2.php.net/manual/en/function.header.php

I think that will work.

>> BTW is there any way to get PHP error messages?  I can't seem to get
>> them on my home system.
>
> Be sure you have the various PHP error reporting features turned on --
> particularly the 'track_errors' and 'display_errors' configuration
> settings for PHP itself.

error_reporting(E_ALL);

Crisses



More information about the pmwiki-devel mailing list