【发布时间】:2014-10-20 14:13:49
【问题描述】:
我正在寻找一个类/函数/php 脚本,它通过 cURL 检查是否在 fetch 中找到了文本、单词或 html 代码,如果响应为真,则执行某些操作;如果是假的,做点别的。为了更清楚,
if is found [You need to login]
do redirect:login.php
if is not found
do redirect:showList.php
希望我清楚易懂,希望有人能帮助我。
谢谢!
【问题讨论】:
-
为什么需要 curl?