Go Back   Novahq.net Forum > Computers > Web design and Programming

Web design and Programming Discuss website creation and other programming topics.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-07-2010, 05:58 AM
.Simon. is offline .Simon.

Join Date: Nov 2003
Location: Wales
Posts: 4,801

Website really slowing down..

I've added some PHP functionality to a site i'm working on, and it's seemed to really slow down =/

Maybe Scott or someone can answer this, but by closing the connection with mysql_close() on each page, could that slow it down that every page has to then connect to the DB again? Is there a better way of doing it than having connection strings on every page?
__________________

Quote:
Originally Posted by Steve View Post
next person to post half naked gets banned
Reply With Quote
  #2  
Old 12-07-2010, 06:20 AM
.Simon. is offline .Simon.

Join Date: Nov 2003
Location: Wales
Posts: 4,801

Hmm I just checked my hosting company and they've put up a notice saying they're having some issues with various webservers. Thing is, I can't get on my control panel to find out if mine is one of them -.- so i'll assume it is.

But the question still stands ;P Surely theres a better way than connecting on every page?
__________________

Quote:
Originally Posted by Steve View Post
next person to post half naked gets banned
Reply With Quote
  #3  
Old 12-07-2010, 08:01 AM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,919

I can't explain it any better than this:

http://php.net/manual/en/features.pe...onnections.php
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote
  #4  
Old 12-07-2010, 09:41 AM
.Simon. is offline .Simon.

Join Date: Nov 2003
Location: Wales
Posts: 4,801

Awesome, thanks.
__________________

Quote:
Originally Posted by Steve View Post
next person to post half naked gets banned
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
slowing down heli speed bobo Delta Force 28 02-23-2006 07:36 AM
new website -Tigger- Web design and Programming 12 01-02-2006 07:16 PM
New website. JonM Web design and Programming 2 01-02-2006 06:55 PM
My Website Webviper2006 Feedback / Novahq.net Support 1 12-29-2005 03:06 AM
New website NorCal D-3-3 General Chat 11 01-04-2004 11:58 PM


All times are GMT -5. The time now is 04:38 PM.




Powered by vBulletin®