Can you use $_GET variables when including a file in PHP? Is it possible, even from an AJAX call?

前端 未结 3 888
暗喜
暗喜 2021-01-20 17:04

I have a PHP file that handles sending out confirmation emails. I also have a calendar that I use AJAX to do various updates. When AJAX calls the update file, it updates the

3条回答
  •  隐瞒了意图╮
    2021-01-20 17:35

    $_GET is a global variable, so can be used anywhere within your php script, including any included scripts

提交回复
热议问题