求一段PHP获取谷歌收录数量的代码解决方法
求一段PHP获取谷歌收录数量的代码
我从网上找了好几天了 用$curl = curl_init();这个方法是可以获取的 但是现在能获取到但是保存不上 如果我把获取的结果换成别的就可以保存了 所以我觉得也不是和数据库里的字段有问题 可能是这个方法出了问题 所以我想求一段除了用这个方法获取以外的其他方法 跪求...
------解决方案--------------------
能获取就不是获取代码问题了,而是你存储到数据库这里有问题 换代码并不能解决你的根本问题。
------解决方案--------------------
同意楼上的说法,能读到了就只是保存的问题了。
------解决方案--------------------
------解决方案--------------------
保存的时候记得:addslashes($html)

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Guide to Table Border in HTML. Here we discuss multiple ways for defining table-border with examples of the Table Border in HTML.

This is a guide to Nested Table in HTML. Here we discuss how to create a table within the table along with the respective examples.

Guide to HTML margin-left. Here we discuss a brief overview on HTML margin-left and its Examples along with its Code Implementation.

Guide to HTML Table Layout. Here we discuss the Values of HTML Table Layout along with the examples and outputs n detail.

Guide to Moving Text in HTML. Here we discuss an introduction, how marquee tag work with syntax and examples to implement.

This tutorial demonstrates how to efficiently process XML documents using PHP. XML (eXtensible Markup Language) is a versatile text-based markup language designed for both human readability and machine parsing. It's commonly used for data storage an

Guide to the HTML Ordered List. Here we also discuss introduction of HTML Ordered list and types along with their example respectively

Guide to HTML onclick Button. Here we discuss their introduction, working, examples and onclick Event in various events respectively.
