I want someone to build up a simple web based script which can take a screenshot of browser window, it should be server side based ....good if its in php. JUST A SCREENSHOT OF BROWSER WINDOW NOTHING ELSE . i need it asap. msg me with your price and time-limit as well. Regards Jitesh Skype - jiteshdhamniya Look what i exactly need is after click on a button i would need screenshot of browser window which will be save to server machine. and i will use this image later to another use.
This thread needs more details. Is the script navigating to a site and then taking the image, on its own? Is the site trying to grab a screenshot from a user, i.e. the server grabbing from the client? Is it when someone visits the specific page the script is on, that the screenshot is taken? Or does the script need to navigate/open another webpage and screenshot that? These questions alone will considerably change the requirements of the code; depending on your setup and PRECISELY what you're trying to do, it might not be possible to even make it work. Or it might be possible, but not in PHP, and something else is needed. As you can see, what comes across as a simple question is anything but; it's all in the details. So please provide some more! Thanks.
Look what i exactly need is after click on a button i would need screenshot of browser window which will be save to server machine. and i will use this image later to another use.
Ok, but you still haven't answered the key question. Which computer's browser should the screenshot be of, the client? As an example. I have my computer I'm using now, and say I have a webserver running this script. Two different computers. My computer navigates to the script page, and hits the button. The machine running the code and holding the screenshot is the server, right? But the actual screenshot should be of my machine, the client? I don't think this is possible, at least not with PHP. Perhaps with Flash or something else, but even then its iffy. The reason is that even at the basic level, you're using the PHP GD library for image functions, and also using Windows COM calls to outside stuff. But all that operates on the idea of working on the same local machine, and even then I had to tweak the permissions a LOT to get it to take a screenshot properly of my own system. By the very nature of how these libraries work, I don't know how you could essentially tell another computer (the server) to take a screenshot of your local machine and move it to that system, especially in something like PHP. Am I misunderstanding what you need, or did I get it right?
i want it cross platform as well as cross browser ....and you can use flash i am not bound only to php.
I'm not worried about browser or platform yet, solely on operation. Is this the proper operation? 1. Browser (client) navigates to script (server). 2. Script (server) takes screenshot of browser window (client). 3. Script saves screenshot for later use (server). If so, best of luck. Not saying it can't be done, but I personally don't know of a way to make it happen. If I'm wrong about what you require, please correct me. Thanks!
interesting project its not possible to do that in php. i know you want a cross browser non-install solution, however im just letting you know of similar solutions where there is firefox addons that do this automatically uploads it to server side for you. I believe this is the only way to take a client side screenshot to send to the server.
DomainerHelper, that's even further away from what it sounds like he's looking for. That is using the server to render a webpage and then save the render of that webpage to an image file. This will introduce a bunch of issues. 1) It would be the server rendering, not the client. 2) It would probably look crappy, because as it says, not all CSS and other support will be there. 3) Complex solution, i.e. lots of work getting it to do its thing, and hoping it stays that way. 4) Not what he asked for. Would be a screenshot of a rendered webpage (and HOPEFULLY accurate), not of an ACTUAL browser window.
Well it sounds like he isn't set on PHP....but this is no longer a simple script. As you said, the solution is going to quickly cross over to applications development rather than web development (pricey!), and very quickly lose a lot of the universal compatibility you get with a webpage-based, cross browser solution. Perhaps you could tell us precisely what you're trying to do? I know everyone wants to be sly and keep their ideas held close and only tell the bare minimum to get a job done....but it simply doesn't work like that at times. There are a bunch of very skilled people here; if you can describe what you're trying to accomplish, perhaps we can suggest a better way to get it done. Just my $0.02 though :-p
We could use .Net for this. But the requirements are really not clear. Are you looking for something similar to browsershots(.)com where we enter a web URL and snap a screen copy via several browsers? If not, then, please explain the entire scenario. Cheers.
This. LOL, were you actually hired and fulfilled his requirements, or you're just saying you've done what you think he wants? OP has gone extinct it seems. If you were actually hired, care explaining what he actually wanted and what you completed the project using?
All he wants is "php script", that, when a user presses a button like, save printscreen, the "script" is taking a fullpage screenshot and uploads it to his server. 1. That script is not PHP. 2. Yes, it can be done doing a combo of PHP/jQuery 3. It would be much easier to do it with a browser extension. 4. If you are still interested, let me know, I can do the job for you. Note: My idea is , on "PrintScreen" click, user's "ctrl+v"/Paste contains the image data, so, by jQuery, I upload the image data on the server. Problem: This methot wont printscreen the whole "browserpage", just what's visible for the user. Kind regards, Duluman Edi
By his own definition, that isn't what he's looking for: So, please, explain how a browser extension or jQuery is a server-side based tool? Heh, I'm not saying your method isn't a decent way of achieving what it SOUNDS like he might need, but just going by the "simple instructions" OP has given, it doesn't fit. I don't even care too much about this one, I'm just intrigued to find out what he actually ends up needing. This thread is a textbook example of why I hate when the buyer can't spend a bit more than 30 seconds to more accurately describe his needs.
Please enlighten us by telling a bit about the project if you don't mind. let's try enhancing our knowledge. Cheers
Obviously, it can't be done server-side, so I came up with my idea, but it seems Triggs solved this client's issue even fullfilling his requirements, script being based server-side. I'm really eager waiting for triggs to come up with that demo, even so, I'm satisfied with some tips. If your "in a bit" takes like 2 days, I wonder how much "it may take a while" really lasts for. I'm really interested about that.