Web Hosting Talk







View Full Version : web.cp // Update :)


Félix C.Courtemanche
03-07-2001, 06:52 AM
Hello, I just thought I would give you some update, as I get a lot of e-mails about it:

web.cp is currently under final developpment. We have a live version running on our servers with a few customers right now.

The test server is (and its specs):
http://hydrogen.can-host.com

The user CP can be checked at:
http://hydrogen.can-host.com/webcp
user: userdemo
pass: userdemo

http://hydrogen.can-host.com/domaincp
user: domaindemo
pass: domain

The reseller CP and server CP don't have a demo user created yet, it should come soon.

E-Mail me if you have any question, as I don't have much time to monitor the boards lately :)

Félix C.Courtemanche
03-07-2001, 09:04 PM
my bad:
Correction;
http://hydrogen.can-host.com/domaincp
username: domaindemo
pass: userdemo

X-treme
03-07-2001, 09:46 PM
...and I thought it was me!! Thanks.

It's sort of plain but very functional. Nice work..

X-treme

Félix C.Courtemanche
03-08-2001, 12:09 AM
What you see now is in no way the final product :)

We want to integrate every features that are needed in a cp. We just have a working frame right now.

JTY
03-08-2001, 12:21 AM
nice! good work!!!

webfors
03-12-2001, 05:55 PM
Keep us posted Felix. Looks great!

energy
03-12-2001, 08:00 PM
Looks nice!
Félix, what did you use to measure and display
"GB Transfered: eth0: 0.57 in, 2.47 out"
on http://hydrogen.can-host.com/ ?

Félix C.Courtemanche
03-12-2001, 09:05 PM
This php code:

<?
exec("cat /proc/net/dev" ,$data);
$i = 0;
while (next($data)) {
if (strstr(current($data), "eth")) {
$swap = explode(" ",trim(eregi_replace("[[:space:]]+", " ", str_replace(":"," ",current($data)))));
$eth[$i]['in'] = $swap[1];
$eth[$i++]['out'] = $swap[9];
}
}
?>

gives me the transfer in byte per $eth interface. (in, out)

energy
03-12-2001, 09:28 PM
Félix, does this require any special software or modules to be installed?

Félix C.Courtemanche
03-13-2001, 01:26 PM
no, basically, if you do:
cat /proc/net/dev

in shell, you get all kind of info about your eth cards... simply parse that :)

Félix C.Courtemanche
03-13-2001, 03:36 PM
For those of you who asked me to see the source, I have packaged web.cp in a .tar.gz, it can be found at:
http://webcp.can-host.com . Note that nothing really works on the web site, only the download & demo links.

Note that this is NOT easy to install to have it running on a web server. It is only the php backend source.

... enjoy :D

Domenico
04-05-2001, 06:27 PM
Hi Felix, did you read my comments yet?

qps
04-05-2001, 07:22 PM
Felix: Don't see the download link on that URL you provided.

JTY
04-05-2001, 08:28 PM
http://webcp.can-host.com/.php/download

teck
04-05-2001, 10:03 PM
damn, why does it remind me so much of the cp of a raq?

Domenico
04-07-2001, 10:55 AM
hey Felix,

how do you implement that php (cat /proc/net/dev) script output into your html?

Thanks!

Btw. when I load the .php file I see nothing, surely a stupid question but asked anyway ;-)

Félix
04-09-2001, 04:52 PM
Even though I'm in Spain right now (this is why I am using another user now, I don't remember my previous password),

Here are the answers to your questions...

The download of the web.cp-0.2 has been disabled because of a bug in it... and since I am too far to solve it, it was simplier to just remove it from the web untill I am back home in Canada (around the 20)

web.cp will require some modifications to a basic RAQ server, and I am sincerly sorry for any ressemblance to it... it is the major CP I have been using for over a year and am probably influenced by it... Be sure that it is and will be much better as development is done.

Right now it already does much more than what a RAQ can do for the end-user... and I am only starting!

The /proc/net/dev thing can be found in the web.cp 0.1, under the directory /web , the file index.php... basically it is a PHP script parsing that info and returning it appropriately.

Enjoy :)

Sonic Hosting
08-09-2004, 07:29 AM
ey, help, thos links dont work!!! can host is weird, redirecting me to mountain cale thing, , and that page dont work -_-

energy
08-09-2004, 07:34 AM
This thread is more than 3 years old!

Sonic Hosting
08-11-2004, 05:59 AM
oh is it -_-

241comp
08-11-2004, 09:03 AM
Originally posted by Sonic Hosting
ey, help, thos links dont work!!! can host is weird, redirecting me to mountain cale thing, , and that page dont work -_-

can-host disappeared so the new web://cp website (http://www.web-cp.net) is located at http://www.web-cp.net and we have webcp discussion forums (http://www.web-cp.net/forums) at http://www.web-cp.net/forums.