我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

我如何处理页面中的php curl循环

i work with curl and download a site to my code

this is my code:

$data = get_web_page('http://localhost/www/site.html');
$scraped_page = get_web_page('http://localhost/www/site.html');
$scraped_data = scrape_between($data['content'], "<td class=\"category last\"><a href=\"", "\">");
echo $scraped_data;

know and i whant all the value i have between this tags:

<td class="category last"><a href="

value

">

i have in this page 20 links from that how i take all the links and show at my site

thanks

Use this Html Dom parser library DomDocument

近期文章

  • 无法从其他页面获取准确的值
  • 数据库更新后没有主机路由
  • 我的PHP会话变量出了什么问题?
  • 无法从服务器获取图像到Android应用程序
  • FormFacade不在刀片L5中输出形式
  • Apache PHP版本与Centos 6中安装的PHP不同
  • Laravel - 使用Request创建不同的模型
  • Laravel在重定向路线时显示纯文本
  • PHP和MySQL:查询数据是否存在,如果不存在则创建
  • 阻止下载管理器重新发送POST数据
  • PHP Curl Error 35 Peer报告它遇到内部错误
  • Mail :: queue Closure序列化错误Laravel 5.1
  • 按相同字段分组并显示为1分区
  • 将项目添加到购物车magento 1.9后重定向到结帐
  • 单击时使用javascript更改图像。 但为什么它不能很好地工作?
  • PHP主机名查询没有DNS
  • 在PHP中使用链接排序问题
  • AJAX SQL JSON不起作用
  • php邮件功能将电子邮件放在邮件之上
  • SQL:在php前端更新多行

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华