|
That's done regularly. A classic example would be a broadband router.
What's the problem and how does it relate to PHP?
|
|
|
|
|
I wasn't sure if i will use PHP or not, i just posted here because this is somewhat related and i am new to web server hosting .
Cheers from Canada.
|
|
|
|
|
I think this is better asked in Sys Admin or Hardware and Devices forum. But in a nut shell, what you are asking for will require some research on your part. What kind of device is it and what features does it support. If the device does suport an internet connection then you then have to determine how people will access it and what will be needed to make that a reality. You may need a webserver for no other reason than it provide a more documented feature set and a ready made knowledge base (like these forums). Specialized hardware will reduce that knowledge base and may require you to make nice with the manufacture (AKA - suck up to ) in order to get the information you want.
If you are speaking about a IP based security camera there should be instruction for its used and you may find those on the manufacturers website. I only have read about these items and they are basically a webserver with a built-in webpages for admin and user access. Once you configure the camera's server and any devices between it and the internet (via your ISP) you should be live.
all the best
Chris
|
|
|
|
|
Oaky I think that will help me to start with. thx.
Let me give you one simple example.
Assume that my device is router (any kind of router) also that is hardware and connected to modem so it does have internet connection. Now when you open that website 192.168.1.2 (or something like that) it asks you for username/PW which will be verified by your router and if u successfully sign in it will let you in and change functionality of that router depending upon security. So I believe that website (192.168.1.2) was hosted by that router and others can access to that website. IF necessary others will be connected to my device with LAN.
So yes that’s what I am talking about that’s the thing I want to do on my device, which also supports internet connection, so it’s like hosting web server from my device. So how do I start with that? Make some .exe file for web server and run that on router.
Again I do not have good experience with web-based applications and server so forgive me and point me to correct direction if I was off the road in any topic or failed to understand any concept.
Thx a lot for your help,
Cheers from Canada.
|
|
|
|
|
You may want to read up on addresses so you understand their implecations, such as the 192.168.x.x address you referenced.
try this[^] as a starting place as it will explain it better than I will.
|
|
|
|
|
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Dan Worsham -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
var myloc = window.location.href;
var locarray = myloc.split("/");
delete locarray[(locarray.length-1)];
var arraytext = locarray.join("/");
// End -->
</script>
</HEAD>
<!-- STEP TWO: Copy this code into the BODY of your HTML document -->
<BODY>
<center>
<form>
<input type=button value="Show Current Directory Listing (Or Index.html Page)" onClick="window.location=arraytext;">
</form>
</center>
|
|
|
|
|
The answer to the question you didn't ask, can - of course - only be 42.
Ask Dan Worsham for further assistence.
"I love deadlines. I like the whooshing sound they make as they fly by." (DNA)
|
|
|
|
|
Hi all,
I am new to this site and in the world of programming and I do not know is that my happiness is.
In fact, I wanted a small website consisting of a single page in PHP with a party administrator.
My website is slowing consist of a text that can be changed, and two images below the text that can be changed too.
The structure of my web page will be set all the time, but will have little content that changes.
Another quick question please, is that I can attach files like pictures to better explain?
Thank you
|
|
|
|
|
does anybody know a good site to download python.cause i don't
|
|
|
|
|
|
Luc's link is OK, but if you prefer a Microsoft solution, you might want to try this one[^].
CQ de W5ALT
Walt Fair, Jr., P. E.
Comport Computing
Specializing in Technical Engineering Software
|
|
|
|
|
|
|
Hi, I developed a Courses Student System Management.. in PHP, I published it to web..
And all i want is, To got anything the user types in the Registeration Page.. how can i do it ?
I mean, i want to get all the user details that he type in mywebsite..
|
|
|
|
|
read up on $_POST and $_GET in the php docs.
|
|
|
|
|
I know, i did it that way but i mean in my question: How can i send Form Data to my email ?
(with the submit button)
modified on Monday, August 30, 2010 12:26 PM
|
|
|
|
|
oh got it, $emailadd \
\thanks anyway !
|
|
|
|
|
the way I'd do it would be to redirect to a new page(could be blank, could redirect at the page before) that will take data from the form and send it to the email.
PHP command:
bool mail ( string $to , string $subject , string $message [, string $additional_headers [, string $additional_parameters ]] ).
More about this: here
Paul.
|
|
|
|
|
Is their any block like funcnality. I have some sort of php linkes so i made them a block and use that block at multiple places in the page. I did not want include or make it as function or calss, other that these is need.
|
|
|
|
|
You're going to have to define what you mean by block. The first thing that come to mind is this:
<?php
?>
Which is a block of PHP but doesn't seem to match your question.
If you want ways to create reusable code, why don't you want includes or functions and classes? At the very least you'll need functions, otherwise how do you plan for your code to be used?
Edit : Fixed my stupidity with angle brackets!
|
|
|
|
|
Hi all!
I have problem : Myform submit have a value hidden . Usser can save as code and view this value . Now , i want hide this value . Plase help me. And a problem . When user save as code html on his PC . He can open this file and still submit to my serrver. Plase help me how to disables this work
Thank
Hello
|
|
|
|
|
I think the only way around this is to use a session value and place the variables you need in a database table that is referenced by the session id.
|
|
|
|
|
Hello,
I want to implement two types of user log in feature into the joomla. one for student log in and other for staff login.
After logged in student can see their course information and download tutorial from the site.
After logged Staff can see his pages.
I want to put Two links on the home page Staff login and student login. After logged in both will see their related pages in joomla.
thank you
|
|
|
|
|
And what do you want, us to build it for you?
Try Google and you will get dozens of hits with information on this.
|
|
|
|
|
I just want to know how I can implemented this in joomla. As I am new to joomla I just want to know is this possible with any joomla plugin or I have to Create separate module for this.
Thank you
|
|
|
|