Jump to content

PHP CODING HELP


blakesmoore

Recommended Posts

Hey,

 

I would there be a way i could create a form in which upon entering a domain name/URL it will tell you how many connections there are to the site and how many (if any) MySQL queries are running?

 

If I add this line to a wordpress footer it displays the number of sql queries.

 

<?php echo get_num_queries(); ?> queries in <?php timer_stop(1); ?> seconds.

Any help is greatly appreciated.

 

Thanks.

Link to comment
Share on other sites

As you've discovered, the developer needs to manually add that information to their site in order for people to know it.  You cannot get the active connection count for another server without their developers specifically allowing for it.

 

Also, please try to write good questions and good thread titles.  You posted a thread called "PHP CODING HELP" into a forum called "PHP Coding Help"

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.