yeah, we should have a live monitor on our usage.
yeah, we should have a live monitor on our usage.
The Philosophy of Zenith Empire
"Philosophy is the love of wisdom"
Hmm, I'm glad I've seen this before installing wordpress(which I can't seem to do anyway without mySql access).
Lets say I was to find another database host and just point my wordpress MySQL info there? That should work right? I don't think I have the time or patience to deal with monitoring files or usage especially if it's something as minuscule as uploading wordpress themes causing "high-usage".
I guess this is happening especially to the sites residing on the lotus server...
Even mine got suspended... Even before all this, when I started my site in December (http://tech.elementfx.com) I was aware that Wordpress sometimes may become very heavy. Thats why I used the cache plugins to reduce the load... But now I am suspended, I am thinking of ways on how to further optimize my site.. Anybody have any ideas on optimizing Wordpress based sites?
Add me to the list of suspended as well. I was playing around with Cron Jobs though, but still a cron job an hour which impliments a 10 line script which adds two numbers and stores them in a db is high usage?
I am on lotus and my account also got suspended. I have a myBB forum and wordpress blog and neither has much traffic. I dont use any conjob so I not suru whay has caused high CPU usage.
Well someone requested my php script.
PHP Code:<?php
$Hostname = "localhost";
$Database = "database";
$Username = "usename";
$Password = "password";
$IP = $_SERVER['REMOTE_ADDR'];
$DB = mysql_connect("$Hostname", "$Username", "$Password");
mysql_select_db("$Database", $DB);
$Name = $_POST['Name'];
$Email = $_POST['Email'];
$pPhone = $_POST['Phone1']."-".$_POST['Phone2']."-".$_POST['Phone3'];
$sPhone = $_POST['Phone4']."-".$_POST['Phone5']."-".$_POST['Phone6'];
$Date = $_POST['Month']."/".$_POST['Day'];
$Time = $_POST['Hour'].$_POST['Minute'].$_POST['AP'];
$Length = $_POST['Length1'].$_POST['Length1'];
$People = $_POST['People'];
$Note = $_POST['Note'];
$Confirm = $_POST["Confirm"];
if($Confirm){
$to = "MYEMAILHERE@hotmail.com";
$from = "From: ".$Name." (".$Email.")";
$subject = "LESSON REQUEST!";
$body = "A request for a lesson has been scheduled for ".$Date." at ".$Time." for ".$Length." hours, with ".$People." person(s) \n\n Message: \n".$Note;
if(mail($to,$subject, $body, $from)){
$Message="A request for this timeslot has been sent! You will recieve an email response as soon as I can! Thanks!";
}else{
$Message="Unable to send your request. Please check spelling of your Email Address and try again.";
}
}
$Query = mysql_query("SELECT * FROM Clients WHERE IP='$IP'", $DB);
$Data = mysql_fetch_array($Query);
$NumRecords = mysql_num_rows($Query);
if($NumRecords == 0){
$Query = mysql_query("INSERT INTO Clients (IP, Name, Email, $Phone) VALUES ('$IP', '$Name', '$Email', '$Phone')", $DB);
}else{
$Name = $Data["Name"];
$Email = $Data["Email"];
list($Phone1, $Phone2, $Phone3) = split('[-]', $Data["Phone"]);
}
?>
ive changed the code a bit since, anyway....
i dont feel like posting another thread for this, im setting up auto responders, the thing is, when i recieve the email, since its from the mail() php function, i dont know if it would reply to the right place, im thinking about creating my own php script to make my own auto responder, because i get there email as a var, good idea? possible?
Last edited by pikifab; 06-24-2009 at 04:55 PM.
I assume that your "reason" is the one being discussed here? ; http://forums.x10hosting.com/free-ho...el-thread.html
For great installation & servicing of Audio Visual systems & equipmentinc. LCD & Plasma Screens, Loudspeakers, Projectors, Aerials & Satellite Dishes, Lighting effects & controllers, Hifi, Amplifiers, Surround Sound, Home Cinema & Video etc-: based around Plymouth, Devon, or anywhere in the southwest of the UK, visit :-
I mean i can't load Suspension page http://x10lotus.x10hosting.com/suspended.page/ O.o
But i've just checked and problems discussed in that thread exist too. Weird because a few hours ago all was ok.
Yeah. We'll just have to wait until it's all up again.
For great installation & servicing of Audio Visual systems & equipmentinc. LCD & Plasma Screens, Loudspeakers, Projectors, Aerials & Satellite Dishes, Lighting effects & controllers, Hifi, Amplifiers, Surround Sound, Home Cinema & Video etc-: based around Plymouth, Devon, or anywhere in the southwest of the UK, visit :-