Thanks very much.
By the way, two decades ago (!) I used to teach AutoCad. okay, 17 years
ago.
Version 2 point something. Haven't touched it since, though.
Anyhow, appreciate your fix, very much.
Best Regards,
Margie
--
Margie Roswell
3443 Guilford Terrace
Baltimore, MD 21218
H: 410-467-3727
W: 410-455-6802
C: 410-375-5803
E: ma...@dr...
W: http://www.rawfoodwiki.org/
http://www.registration-deadlines.com
http://www.50bushflipflops.com
On Mon, 20 Dec 2004, Reini Urban wrote:
> SourceForge.net schrieb:
>> Read and respond to this message at:
>> https://sourceforge.net/forum/message.php?msg_id=2904743
>> By: mroswell
>>
>> Hi, I appreciate very much your reply! However, I must have a prior version
>> of PHPWiki.
>> That code doesn't exist in mine. Closest I have in the lib directory is
>> Request.php,
>> in code I copy below.
>>
>> ah, maybe your suggesting that I ADD that code. - Where would I add it?
>
> anywhere.
>
>> - How do I add multiple IP addresses?
>
> multiple checks.
>
>
>> Sincerely,
>> Margie
>>
>> function setStatus($status) {
>> if (preg_match('|^HTTP/.*?\s(\d+)|i', $status, $m)) {
>> header($status);
>> $status = $m[1];
>> }
>> else {
>> $status = (integer) $status;
>> $reasons = array('200' => 'OK',
>> '302' => 'Found',
>> '400' => 'Bad Request',
>> '401' => 'Unauthorized',
>> '403' => 'Forbidden',
>> '404' => 'Not Found');
>> header(sprintf("HTTP/1.0 %d %s", $status, $reason[$status]));
>> }
>
> I'll have to add something here later for non-apache servers.
>
>>
>> if (isset($this->_log_entry))
>> $this->_log_entry->setStatus($status);
>> }
>
>
> --
> Reini Urban
> http://xarch.tu-graz.ac.at/home/rurban/
>
|