I have a web site called www.yarmouthportal.com and I currently pay a lot of money for someone to proide me with a couple of benifits such as Saving a Snapshot and Emailing a Snapshot.
Now I am able to get a temporary (updates when the browser refreshes) snapshot from the camera but I don't know how to upload the image to my server. Currently I would have to right click then save as. I want this to be a bit more user friendly such as the one currently www.yarmouthportal.com/camera/index.php
I want to be able to include that in my Yarmouth Portal site and then when I click "Save Snapshot" it will prompt me to save this image to my computer.
On the Yarmouth Portal site features an existing program which I pay a lot of money every month for. I can't afford to pay it and I know that there is a way to do it myself. Somehow.
So do you have a link where you can get your camera image?
.... a way to view the photo for free? (or is that part of the package)?
Somewhere along the line, that webcam is hooked up to a PC or something
that puts the image on the internet. Is that part of your system, or are you
paying for that?
ok , first off who `owns` the webcamera ? and the bandwidth it uses... they need to give you permission to use images from it, if thats the case then the solution is easy, but if you don't have rights to use the image then we can't help you `grab` it here.
Please advise.
actually, it appears possible for anyone to control that camera ... not good!
MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)
<?php /*where to get*/ $url="http://217.155.209.14:2220/SnapshotJPEG?Resolution=320x240&Quality=Standard"; /*where to put*/ $img_path='/home/fire/Desktop/snap'.mktime.'.jpg';
MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)
you could run the above code when someone clicks the 'save image' button then ... pass the img_path to something like this
PHP Code:
<?php function force_download($path){ $file=basename($path); header("Content-Type: application/octet-stream"); header("Content-Type: application/force-download"); header("Content-Length: $size"); // Required to get around the MSIE 5.5 Bug of downloading filname.php if(preg_match("/MSIE 5.5/", $_SERVER['HTTP_USER_AGENT'])) {
MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)
I was also looking into using PHP GD library for doing something like
putting a watermark or text directly on the image ... maybe to indicate
camera location, time, etc. Would you be interested in anything like that?
Firepages provided the good stuff for saving image, much better than the
solution I had, so go with that.
Hi all I am always looking for ways to improve what I have.
Firepages, I really appreciate the help but i'm not sure how to implement this script. I tried just running the first script alone but it just spat loads of errors at me beginning from line 7.
If you could help me I would really appreciate it.