Lifelesspeople.com

 Forum FAQsForum FAQs  Knowledge BaseKnowledge Base  RulesRules   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   HostingHosting   RegisterRegister 
 DonateDonate   WikiWiki   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

HTTP Request

 
Lifelesspeople.com Forum Index -> Web Architects' Abode
Post new topic   Reply to topic View previous topic :: View next topic  
Author Message
rajasekar
Forum Regular


Joined: 30 May 2004
Posts: 445
Location: Nothing but Net

PostPosted: Sat Nov 10, 2007 6:12 am    Post subject: HTTP Request Reply with quote

I am using phplist to send newsletters. if i tried to send a web page, i got the following error:

"Warning: You are trying to send a remote URL, but PEAR::HTTP/Request is not available, so this will fail"

How to check whether my server has HTTP Request mod installed? If not, how to install it there?
_________________
Free Online Classifieds - Reach thousands of users world-wide!
[img:0a37bba199]http://www.freelineads.com/banners/banner01.gif[/img:0a37bba199]
Back to top
 
pterodactyl
Lifeless Fossil


Joined: 23 Jun 2005
Posts: 1472
Location: Ukraine

PostPosted: Sat Nov 10, 2007 8:56 am    Post subject: Reply with quote

To check whether the PEAR::HTTP_Request package is installed:
Code:
include 'HTTP/Request.php';
print_r(get_included_files());

To inslall the PEAR::HTTP_Request package on your web site:
1. Download the archived package (http://pear.php.net/package/HTTP_Request/download).
2. Unpack the archive (the 'HTTP' directory will be extracted).
3. Make a new directory under your document root on your web site for local PEAR packages, e.g. '/pear'.
4. Upload the extracted 'HTTP' directory with all files contained in the '/pear' directory on your web site.
5. Add the path to your local PEAR packages to the include_path configuration option at the very top of each script.
Code:
$local_pear = $_SERVER['DOCUMENT_ROOT'] . '/pear';
set_include_path($local_pear . PATH_SEPARATOR . get_include_path());

Please note the PEAR::HTTP_Request package requires two other PEAR packages - Net_URL and Net_Socket. You can install them in the same way. Check their dependencies as well, install all required packages, and so on.
_________________
...while pterodactyls flow...
[img:c5ad10a0ae]http://pterodactyl.l2p.net/graphics/signature/groups.jpg[/img:c5ad10a0ae]
Back to top
 
Display posts from previous:   
Post new topic   Reply to topic    Lifelesspeople.com Forum Index -> Web Architects' Abode All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Home | Hosting | News | Forum | Links | System Status | About | Archive | Donate ]
Powered by phpBB © 2001, 2002 phpBB Group
All trademarks and copyrights on this page are owned by their respective owners. Posts and comments are owned by the poster. Everything else © 2001 - 2007 Lifelesspeople.com