View Single Post
Old 01-29-2013, 01:14 PM   PM User | #2
tangoforce
Senior Coder

 
tangoforce's Avatar
 
Join Date: Feb 2011
Location: Your Monitor
Posts: 3,667
Thanks: 46
Thanked 456 Times in 444 Posts
tangoforce will become famous soon enoughtangoforce will become famous soon enough
Well there isn't much we can say without knowing more about it such as the php code that runs in the main page that you're having problems with.

Also are you on a shared hosting package or do you hire a dedicated server / vps? - If you're on a shared machine it may not actually be your site at fault. It may well be that the mysql (database) server is being slowed down by another website that is accessing it (eg maybe someone has a badly coded website running multiple queries in a loop or it just gets a lot of visitors which also could weigh down the database server).

Either way, unless you can tell us more, there isn't much we can do to help!
__________________
Please don't be rude: Put your php code in [php][/php] tags. It is a sticky topic at the top of the forum and it HELPS us to HELP YOU!
TIP: Coding styles and $end errors :::::::::: TIP: Warning: Cannot modify header information - headers already sent :::::::::: TIP: Quotes / Parse error: syntax error, unexpected T_..
PHP Code:
//Please don't use this for your form processing:
if (isset($_POST['submit']))
//Internet explorer has a bug and does not always send the submit value. 
Explanation: The IE if(isset($_POST['submit'])) bug explained.
tangoforce is offline   Reply With Quote