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

  • Home
  • SEARCH
  • 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 6334045
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T18:35:01+00:00 2026-05-24T18:35:01+00:00

I have a PHP application that scrapes web site content and stores data into

  • 0

I have a PHP application that scrapes web site content and stores data into text file on server.

I have all the functions written in functions.php. There is a function which when called does all the job and calls many other functions within the same functions.php.

How ever when I try to invoke this function from a remote AJAX call using SAJAX framework it does not work the way it should. But if I call the function as a normal page load function.php and have the main function invoked in the top it works well.

I am completely lost, since AJAX is new thing to me. My confusion is that does AJAX calls initialize the function.php server side script as a whole or does it only initialize the particular function?

I am now going to try something with jQuery, but for that I have to spend few more hours to do my understanding that how ajax with jQuery works.

  • 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-05-24T18:35:03+00:00Added an answer on May 24, 2026 at 6:35 pm

    When you make a request with AJAX, it is identical to calling up the page in your browser. (Except for a header or two, but that doesn’t matter here.)

    If I were to load up http://www.somedomain.com/somescript.php in my browser, I would get the exact same result as if I loaded it with AJAX.

    AJAX/anything client side does not care or know about the fact that you run PHP. They are completely separate. It is up to the server to load PHP, and then PHP/your script to load whatever is necessary to process the request.

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

Sidebar

Related Questions

I have been asked to build a PHP application that inserts data into a
I have developed a PHP application that processes relatively large text files, and stores
I have a php web application that asks the user for all fields' values
I have a php application that is installed on several servers and all of
I have a php web application that uses big cookies to store a lot
I have a PHP web application on an intranet that can extract the IP
I have a php application that saves the pictures on the server and also
All, I have a PHP application that seems to generate the following headers in
I have a PHP application that calls web services APIs to get some objects
Basically I have two applications: a PHP web application that runs over Apache and

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.