|
|||
Calling all php hustler.
Aku baru hendak belajar php ni kerana projek akhir aku wajib menggunakan php.jadi projek aku ialah kawalan cyber cafe berasaskan web. soalan aku ialah :-
1) Boleh tak kita kontrol client computer secara online menggunakan php ? 2) Susah ke nak membuatnya ? Harap ada hustler yang sudi menolong. |
|
|||
Hi there,
What you're doing is possible (to an extent), however, it'll be extereme hard to develop and implement even for an experience php programmer. Although it is possible, you will still need to use other languages such as C++, C# to control computer processes. This project would be much easier if programmed in pure C++ or C# where you could just create a program to control the system and communicate with the host. |
|
||||
boleh tak kasi contoh apa jenis control yg diperlukan? eg: login/logout, shutdown the pc, end processes, etc...
kalau terpaksa guna PHP, kata sufyan tu betul, mesti guna sedikit c/c++/c#... ataupun... PHP ada built-in function untuk access Win32 API: http://www.php.net/manual/en/ref.w32api.php http://wobster.mynnga.de/w32api.txt |
|
|||
Saya ada membuat pengawalan client cyber cafe menggunakan visual basic.dengan vb kita boleh hide desktop komputer client and i want to translate the funtion in php language.
|
|
|||
Ic, since you have that, it would probably be easier to do something like this:
Keep the client and modify it slightly to record the time the client has been active (how much time the customer has used). Once you have that, create the routine in VB that transmit that data to the host (db). There are 2 ways you can do that: 1) connect directly to the database or 2) if you're using VB.net, you can create a webservice to query a webpage that maybe on the host (the webpage maybe in php which interacts with the database). Secondly, you can use a web based admin client for the host to manage all the client pc(s). To do that, you might need some knowledge in socket programming. But the general idea is like this: Modify you VB client to make it listen to a certain port, for instance port 4444 or something. Then with php, you can create functions to open up that port on that pc, using the clients ip. Once the php fuction has opened the port, it can then tunnel data from the webbased admin panel (php) to the pc client (vb). Once the vb client gets the data/message, it will trigger an action. For example, if the message 'reboot' is sent from the host to one of the clients, the vb app can respond to that by rebooting. This project would demonstrate: - Usage of VB - Usage of PHP - Socket programming concept (basic) I don't recommend this solution for production purposes, becauses of issues such as security. But, it sould be fine for an academic assignment. |
|
||||
kalau 100% programming dgan php aje... tu memang xbleh. buatler projek lain
__________________
_<BR><CENTER><IMG src="http://avatar.peachjon.com" alt="My Avatar"><A HREF="http://www.peachjon.com/wp"><IMG SRC="http://www.peachjon.com/mybanner.gif" BORDER="0" ALT="visit wAntAn productions, click here!"></A><BR><FONT FACE="arial, tahoma, helvetica" SIZE="1">- = l E E w Y E j O N = -</FONT></CENTER> |
|
||||
sape kata tak leh? boleh la geng! for client just set timeout 2 sec or less (pc power skit). bantu dgn hidewindow (winfiles.com) utk hide client. kalau x nak trafic tinggi guna internal network utk server. kalau x guna web hosting tapi bandwidth byk lers. utk client web server x yah guna. just standalone php. ok? more tips? tunggu....
__________________
I hate when: vBulletin Message: Sorry! The administrator has specified that users can only post one message every 60 seconds |
|
|||
|
||||
PHP Code:
![]()
__________________
I hate when: vBulletin Message: Sorry! The administrator has specified that users can only post one message every 60 seconds Last edited by hymns; 20-11-2003 at 08:32 PM. |
![]() |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| calling all expertise... jeng3 | geniuz | E-Commerce | 5 | 24-08-2006 09:34 AM |
| tulung..tulun.g...help PHP hustler | eina_227 | Website Programming | 9 | 07-12-2004 08:51 AM |
| Calling all Graphic Designer | soekre | Mamak Stall | 0 | 22-01-2004 09:49 PM |
| International Calling Card Distributors Wanted | billb | News and Announcements | 0 | 04-11-2003 10:20 PM |
| Calling All Web Developers!! | imx | Job Vacancies | 0 | 19-01-2003 02:42 AM |














Linear Mode

