is there any way we can scrap php data from the website?
like we can get full data about website content?

how can client view the server php code ?

Member Avatar for diafol

You can't view php code only the output from the code (html) and related stuff like css and js.
You can scrape the page output by a variety of methods - usually cURL or file_get_contents().

If your purpose is to hide your PHP code, don't worry, because as diafol says: that isn't visible to the client.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.