note 70233 added to http.install
| From: | gerard at charlesconsulting dot com | Date: | Sat, 07 Oct 2006 18:42:23 +0000 |
| Subject: | note 70233 added to http.install | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-118193@lists.php.net to get a copy of this message | ||
To use the http_redirect function (with PHP 5.1.1) I ended up:
1. executing "pear install http" as documented under "installing PECL
extensions"
2. Restarting apache
3. adding: require_once('HTTP.php') to my file
4. calling the function by it's static object name:
HTTP::redirect
(There's likely a better way, but this is the first thing I found that works.)
----
Server IP: 64.71.164.2
Probable Submitter: 65.113.125.145
----
Manual Page -- http://www.php.net/manual/en/http.install.php
Edit -- https://master.php.net/note/edit/70233
Del: integrated -- https://master.php.net/note/delete/70233/integrated
Del: useless -- https://master.php.net/note/delete/70233/useless
Del: bad code -- https://master.php.net/note/delete/70233/bad+code
Del: spam -- https://master.php.net/note/delete/70233/spam
Del: non-english -- https://master.php.net/note/delete/70233/non-english
Del: in docs -- https://master.php.net/note/delete/70233/in+docs
Del: other reasons-- https://master.php.net/note/delete/70233
Reject -- https://master.php.net/note/reject/70233
Search -- https://master.php.net/manage/user-notes.php