blakesmoore Posted January 26, 2012 Share Posted January 26, 2012 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. Quote Link to comment https://forums.phpfreaks.com/topic/255841-php-coding-help/ Share on other sites More sharing options...
ignace Posted January 26, 2012 Share Posted January 26, 2012 Yes. If that domain/URL publishes that information. Quote Link to comment https://forums.phpfreaks.com/topic/255841-php-coding-help/#findComment-1311482 Share on other sites More sharing options...
ManiacDan Posted January 26, 2012 Share Posted January 26, 2012 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" Quote Link to comment https://forums.phpfreaks.com/topic/255841-php-coding-help/#findComment-1311487 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.