Hi dear all
I want to take snapshot of webpage and then save it into a folder.
please tell me the basics , i am new to it.

This is not possible with only php. You need a program to do this for you.

Member Avatar for diafol

JS will need to ask permission from the user. This is a security feature. php can't know anything about the client unless client side (e.g. js) tells it.

As above, it's not possible using PHP.

You'd need some sort of program running on your computer/server (or network of computers/servers, etc) which can query websites on demand, taking a print screen of that website, and then upload that print screen image wherever's necessary.

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.