Want a start

I want to design a project on home security using php and some hardware like CCTV and all…
The project description is in my mind but i am not getting any idea about how and where to start…
please if anyone can help it would mean a lot…
just tell me where to start and then i shall takeover…this is my first project in php and i am kind of new to it…
Please help…
thanx in advance…

That vague post doesn’t even tell us what you want to do. We need more detail.

Well a user login interface my be the best place to start. Since you are doing home security you may want to have a secure login feature. However that will probably require some type of database so I would recommend looking up and setting up MySQL for your backend database. Then creating pages that call the video is easy.

If you need help getting a simple user login system to work I can help you out. But there are several great sites and instructions out there for that.

First, please please please, use a subject that is YOUR subject of what you are looking for.
Such as home-security, remote-camera or something other than want to start something…

Well, there are tons of free open-source home security software packages all over the world and internet.
Instead of listing a ton of them, here is one way to find the list of many.
Go to http://www.google.com/
Type this in:
php open source code remote camera
Press enter…

The list will give you a long, thousands, of places to start with. Read some of them and start making your list.
You list should include items that are listed in these sites as what each can do. So, if software package #2
says it allows secured-login to the package from anywhere in the world and that item is something you want,
add it to the list. If software package #18 says it allows for archives of the videos and you want to do that,
add it to the list. Keep looking at what these do and then as your list grows, you will get an idea of what you
want yours to do. Next, as Andrew said, start simple with the first item such as “logging into your site” with
secured user ID and password. Then, move to the next step such as saving the video from the CCD camera
into a file with dates and camera ID or whatever. Next create a viewing app that can be viewed on your
phone or laptop or tablet… ETC…

So, some idea’s to start with. When you need help with any of these, post a new topic with the subject being
what you really need help with, such as log-in’s or saving camera video to a file…

Hope that helps…

Oh, also, a google search of “php open source cctv streaming”, no quotes, locates lots of CCTV software.
Just be careful, a large number is “shareware” which is free to download and costs to use…

Hey All,
I am stuck again…
What i want is to use the laptop camera to use for home security.
Since it is a school project i dont want to invest a lot in it in monetary terms.
I want to use two laptops. First one will act as the server whose camera i want to use to stream the video.
The second camera has to somehow connect to the server through internet or LAN or anything else and then i would like to view the video from the first laptop on the second laptop.
All i want to do in php.

Please tell me if this is feasible in any way.

Thanx again.

what you want to do seems more like networking rather than php

Might be… but my project is to be developed under the subject “Advanced Internet Technology” so i have to use internet in some kind and hence php needs to be used.
i want to use php as front end or just see it as a website that gets the video from the laptop camera attached to the server.
I here want to use another laptop as the server saving me the cost of buying actual server and CCTV and other accessories.

So i would like to do the project with all that is available…if it is feasible…else i have to choose some other topic…
But this is what clicked me and i am more interested in doing this.
hope u understand…

Well, first you should break down this project. All programming tasks which are done by good programmers have step one as analyzing the project first. So, let’s break this done to possible steps.

  1. The entire project must start with the camera since without it you have no program.
    1a) You need to have a program built that can read a picture from the camera
    2a) The output of the camera either picture or stream would have to be saved on a website
    if you want it access that way. (You did mention that at one point)
  2. The data from the camera must be saved in a format that you can display on the website
    This would be a series of pictures if photos are used or a video clip. Video would be large and
    could be an issue.
  3. You would need a website or program to access the stored data and play it back. If it is a series
    of photos, you would basically “play” them back by displaying them one after the other. If it is video,
    you would have to play the video which is basically called streaming a video.

So, there is a place to start. Of course, you would have to add security such as a log-in as Andrew mentioned. And, ways to delete the older photos or videos… (Depends on how much you need for archives.)

Now, since you mentioned PHP and websites, you must remember that a website using PHP can NOT access anything on a client-side computer. PHP works ONLY on the SERVER-SIDE !!! Therefore, to read your local camera, you can NOT use PHP. So, to actually do some sort of remote video on a laptop camera, you would have to have something running on the laptop that can send images or video onto a server’s website. You could use something like FTP and upload images from the camera one at a time. Or you could use something like a remote chat utility like Skype and auto-answer your call. These types of programs do not server out to servers. They usually use a program that connects thru an IP address link. So, I would suggest looking at doing this without PHP and without a server and just use a direct connection to the laptop. There are LOTS of software out there that does this. There are many free open-source video chat programs that would do what you want. But, they are not web based.

Doubt this really helps, but, I wanted you to understand the CLIENT-SIDE vs SERVER-SIDE issue as this will be your stumbling block if you use PHP and a website…

Sponsor our Newsletter | Privacy Policy | Terms of Service