|
|
#1 (permalink) |
|
Registered User
Super #1
Joined in Mar 2005
Lives in Washougal, WA
1,306 posts
Gave thanks: 23
Thanked 39 times
|
Slow loading index.php
Been trying figure out why when site is PHP being slow to load, index.php only, same code for other pages (links.php, about.php).
http://www.wimc.us/index.php (hesitates loading) http://www.wimc.us/index.html (loads as it should) Thanks, need more information let me know, sorry if wrong forum. |
|
|
|
|
|
#2 (permalink) | |
|
Surpass Fan
Excelling Contributor
Joined in Nov 2005
Lives in Colorado
Hosted on DEDI
937 posts
Gave thanks: 2
Thanked 95 times
|
Quote:
__________________
Where would you be if you were at the highest court in the land (US)? |
|
|
|
|
|
|
#3 (permalink) | |
|
Registered User
Super #1
Joined in Mar 2005
Lives in Washougal, WA
1,306 posts
Gave thanks: 23
Thanked 39 times
|
Quote:
Previous hosting from SH didn't do that, now I am not sure its SH128 doing it or not. Beats the hell out of me, about ready to leave site .html |
|
|
|
|
|
|
#5 (permalink) |
|
Registered User
Super #1
Joined in Mar 2005
Lives in Washougal, WA
1,306 posts
Gave thanks: 23
Thanked 39 times
|
Done waiting.
![]() Compare http://www.wimc.us/index.php to http://www.wimc.us/links.php links page loads as it should while index hesitates, coded the same except content. Never done that before, any other suggestions, please. Thanks |
|
|
|
|
|
#6 (permalink) | |
|
Surpass Fan
Excelling Contributor
Joined in Nov 2005
Lives in Colorado
Hosted on DEDI
937 posts
Gave thanks: 2
Thanked 95 times
|
Quote:
__________________
Where would you be if you were at the highest court in the land (US)? |
|
|
|
|
|
|
#7 (permalink) |
|
Registered User
Super #1
Joined in Mar 2005
Lives in Washougal, WA
1,306 posts
Gave thanks: 23
Thanked 39 times
|
My index.php page is the blame, code somewhere is off, as you can see from the link it has barely nothing on it and it loads as it should.
Thanks cowboy, just my coding is off. |
|
|
|
|
|
#8 (permalink) |
|
Registered User
Super #1
Joined in Mar 2005
Lives in Washougal, WA
1,306 posts
Gave thanks: 23
Thanked 39 times
|
It was the IP/Hostname code causing slow page load, don't understand why all the sudden made the page load slow after using it for about 2 years, IP/Hostname code been removed.
|
|
|
|
|
|
#9 (permalink) |
|
Registered User
Super #1
Joined in Mar 2005
Lives in Washougal, WA
1,306 posts
Gave thanks: 23
Thanked 39 times
|
Here is the code that I use.
Code:
<b>IP address:</b> <?php echo $_SERVER["REMOTE_ADDR"]; ?> <b>Hostname:</b> <?php $hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']); echo $hostname; ?> ![]() |
|
|
|