Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7874003
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T02:40:51+00:00 2026-06-03T02:40:51+00:00

I am new to PHP and web development. I am trying to build a

  • 0

I am new to PHP and web development. I am trying to build a basic Facebook application. Hence it is necessary to use Http Requests to get user data from Graph API within Facebook. I checked how to make requests with PHP yet I saw that Http request methods are not built-in. I understand that I need to install appropriate libraries to use them and everything was fine until I got that it is almost impossible to install Pecl or Pear to a hosting service(i am using Godaddy).

I have looked into lots of sites including Stackoverflow yet there are no answers. Plenty of sites explain how to install packages to a local server.

I could only tried Pear | go-pear.phar web installation yet it did not work. I do not know how to execute a .phar file even though I checked the documentation(Pear Installation Doc). This link, Installing Pear on Godaddy Hosting, explains what I have tried to do.

One more question, if it is not possible to install any of these packages, so how to I make HTTP Requests with PHP? Is there any other way?

Thanks for any answer.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T02:40:53+00:00Added an answer on June 3, 2026 at 2:40 am

    php can do http requests, if allow_url_fopen is enabled. And there’s always the CURL library (if enabled). You can test both with something as simple as:

    $c = curl_init();
    $txt = file_get_contents('http://google.com');
    

    If curl’s not installed, the first line fails. If url operations are disabled, then the second line will fail.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am new to web development, I've learned php, mysql and javascript. I'm trying
I'm new to web development.I have a php file such as addcourse.php.In this file
I'm new to PHP and I am currently creating a PHP web application for
i'm new to mod_rewrite, and i'm trying to convert my web address from: website.com/profile.php?user=andy
Firstly, I should say I'm completely new to Pylons, trying to learn web development
I'm new to PHP (and web development in general) and have come across something
I am new to web development and am used to extensive use of various
I am very new to web development and the use of Open Source. I
I'm new to PHP and web development in general, but have been a programmer
I'm new to php coding, web development, and search optimization - so newbie overall.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.