AJAX versus CURL

前端 未结 3 747
执笔经年
执笔经年 2021-02-06 01:28

I need to know the difference between CURL (in PHP) and AJAX (in Javascript) when it comes to know Source of the request.

UPDATED: What I want to know i

3条回答
  •  一生所求
    2021-02-06 02:01

    The IP address that requested the javascript file from the server will be the same as the IP address that fired the ajax request back to the server from that file. See the same origin policy.

提交回复
热议问题