Buying Screenshot Script

Discussion in 'Programming' started by jiteshjk, Sep 5, 2012.

  1. #1
    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.
     
    Last edited: Sep 5, 2012
    jiteshjk, Sep 5, 2012 IP
  2. omgitsfletch

    omgitsfletch Well-Known Member

    Messages:
    1,222
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    145
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    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.
     
    omgitsfletch, Sep 5, 2012 IP
  3. jiteshjk

    jiteshjk Active Member

    Messages:
    99
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    73
    Digital Goods:
    1
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    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.
     
    jiteshjk, Sep 5, 2012 IP
  4. omgitsfletch

    omgitsfletch Well-Known Member

    Messages:
    1,222
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    145
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    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?
     
    omgitsfletch, Sep 5, 2012 IP
  5. jiteshjk

    jiteshjk Active Member

    Messages:
    99
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    73
    Digital Goods:
    1
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #5
    i want it cross platform as well as cross browser ....and you can use flash i am not bound only to php.
     
    jiteshjk, Sep 5, 2012 IP
  6. omgitsfletch

    omgitsfletch Well-Known Member

    Messages:
    1,222
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    145
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #6
    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!
     
    omgitsfletch, Sep 5, 2012 IP
  7. DomainerHelper

    DomainerHelper Well-Known Member

    Messages:
    445
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    100
    As Seller:
    100% - 1
    As Buyer:
    92.3% - 12
  8. matt_62

    matt_62 Prominent Member

    Messages:
    1,827
    Likes Received:
    515
    Best Answers:
    14
    Trophy Points:
    350
    As Seller:
    100% - 0
    As Buyer:
    100% - 1
    #8
    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.
     
    matt_62, Sep 5, 2012 IP
    omgitsfletch likes this.
  9. omgitsfletch

    omgitsfletch Well-Known Member

    Messages:
    1,222
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    145
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #9
    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.
     
    omgitsfletch, Sep 5, 2012 IP
  10. omgitsfletch

    omgitsfletch Well-Known Member

    Messages:
    1,222
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    145
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #10
    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
     
    omgitsfletch, Sep 5, 2012 IP
  11. DomainerHelper

    DomainerHelper Well-Known Member

    Messages:
    445
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    100
    As Seller:
    100% - 1
    As Buyer:
    92.3% - 12
    #11
    omgitsfletch is right
     
    DomainerHelper, Sep 5, 2012 IP
    omgitsfletch likes this.
  12. ifreakz

    ifreakz Well-Known Member

    Messages:
    1,427
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    130
    As Seller:
    100% - 0
    As Buyer:
    0.0% - 0
    #12
    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.
     
    ifreakz, Sep 5, 2012 IP
  13. Triggs

    Triggs Active Member

    Messages:
    84
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    93
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #13
    I've already finished the job.
     
    Triggs, Sep 5, 2012 IP
  14. omgitsfletch

    omgitsfletch Well-Known Member

    Messages:
    1,222
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    145
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #14
    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?
     
    omgitsfletch, Sep 5, 2012 IP
  15. matt_62

    matt_62 Prominent Member

    Messages:
    1,827
    Likes Received:
    515
    Best Answers:
    14
    Trophy Points:
    350
    As Seller:
    100% - 0
    As Buyer:
    100% - 1
    #15
    so can i ask, what language did you use for the completed job?
     
    matt_62, Sep 6, 2012 IP
  16. edduvs

    edduvs Well-Known Member

    Messages:
    394
    Likes Received:
    31
    Best Answers:
    3
    Trophy Points:
    160
    As Seller:
    100% - 2
    As Buyer:
    100% - 0
    #16
    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
     
    edduvs, Sep 6, 2012 IP
  17. omgitsfletch

    omgitsfletch Well-Known Member

    Messages:
    1,222
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    145
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #17
    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.
     
    omgitsfletch, Sep 6, 2012 IP
  18. ifreakz

    ifreakz Well-Known Member

    Messages:
    1,427
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    130
    As Seller:
    100% - 0
    As Buyer:
    0.0% - 0
    #18
    Please enlighten us by telling a bit about the project if you don't mind. let's try enhancing our knowledge. Cheers
     
    ifreakz, Sep 7, 2012 IP
  19. Triggs

    Triggs Active Member

    Messages:
    84
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    93
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #19
    I will set up a demo in a bit.
     
    Triggs, Sep 7, 2012 IP
  20. edduvs

    edduvs Well-Known Member

    Messages:
    394
    Likes Received:
    31
    Best Answers:
    3
    Trophy Points:
    160
    As Seller:
    100% - 2
    As Buyer:
    100% - 0
    #20
    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.
     
    edduvs, Sep 11, 2012 IP