| Author |
Message |
Phoenix


Joined: Apr 19, 2004 Posts: 8729 Location: Netizen
|
Post subject: Server Specs Posted: Fri Apr 04, 2008 1:36 am |
|
To facilitate problem solving, we ask that members provide server specs, in a legible manner that does not detract from forum appearance.
For those who object to our requirements, sorry, but this is a support forum, not a candy shop - content is our first priority - you can do what you wish on your sites, but please respect our requirements.
To that end, we provide a specification in our Rules and Regulations Section #2e so that people can use the image method to automatically provide up to date specs.
I have upgraded the spec and provided a method that all users with DF versions 9.1.x and above can use.
Simply place this source code into a file serverspecs.php and add the file to your site's DF root directory.
(make sure you use a utf-8 compliant editor)
Then edit Your Profile OS/Apache/MySQL/PHP/DragonflyCMS versions, as follows,
Code:
[img]http://yoursite.com/serverspecs.php[/img]
This is a simple system, does not require use of images and it,
detects your PHP OS
detects if you have apache in use and which version
detects whether you use mysql or mysqli
detects your PHP version
detects your DragonflyCMS version
has a footprint of only 440 bytes
Edit: PHP4 users will need to replace
Code:
imagepng($im,'',9,PNG_ALL_FILTER); with
Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)

Last edited by Phoenix on Tue Apr 15, 2008 3:49 pm; edited 1 time in total |
|
| Back to top |
|
 |
Kendle


Joined: Dec 16, 2004 Posts: 529
|
Post subject: Re: Server Specs Posted: Fri Apr 04, 2008 8:15 am |
|
Doesn't appear to work for me...
_________________ Gaming League / Cup - www.leaguecms.co.uk :: Other DragonFly modules - www.cmsdreams.co.uk
Kendle's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
 |
|
| Back to top |
|
 |
hadi00


Joined: Dec 01, 2004 Posts: 198 Location: Syria
|
Post subject: Re: Server Specs Posted: Fri Apr 04, 2008 8:36 am |
|
thanks a alot ... but I think it doesn't work too ..
_________________ The truth is to stop thinking and start living
hadi00 please enter your server specs in your user profile! |
|
| Back to top |
|
 |
Bluefin221


Joined: Sep 12, 2005 Posts: 399 Location: Centre of the Earth
|
Post subject: Re: Server Specs Posted: Fri Apr 04, 2008 2:59 pm |
|
Appears to work fine for me.
_________________ Have a look at my new chat home: www.worldwidechatters.com
Looking for hosting www.caltonhosting.com
Bluefin221's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
 |
|
| Back to top |
|
 |
layingback


Joined: Apr 19, 2004 Posts: 953
|
Post subject: Re: Server Specs Posted: Fri Apr 04, 2008 3:38 pm |
|
Couldn't get it to work either.
Commented out everything after the line starting with $apache = and added this line:
PHP:
echo PHP_OS.' / '.$apache.' / '.DB_TYPE.' '.$sql['server'].' / '.PHP_VERSION.' / '.CPG_NUKE;
And got this result:
Quote:
Linux / Webser / mysql 5.0.45-community / 4.4.7 / 9.1.2.1
So my ISP doesn't seem to allow retrieval of Apache version details anyway.
Plus do I want a publicly known link to display my version info? As a DF Admin it is actually tricky to see what version of DF you are running, because Admin only tells you if you are not running latest. I thought I remembered DJMaze saying this was to prevent attackers from easily determining version-based vulnerabilities.
But I will leave up for today in case it is useful for debug ...
_________________ Pro_News: The complete module for Dragonfly - now available as version 3.3
layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) 2.6 - 3.6 / 1.3.42 - 2.2.12 / 5.0.92 - 5.1.37 - 5.1.54 / 4.4.49 - 5.2.17 - 5.3 / 9.2.1 |
|
| Back to top |
|
 |
WebSiteGuru


Joined: Jun 09, 2005 Posts: 2321
|
Post subject: Re: Server Specs Posted: Fri Apr 04, 2008 4:53 pm |
|
We at WebSiteGuru Designs is working on updating to the complient for Server Specs.
_________________ Lead Theme Designer - WebSiteGuru Designs
WebSiteGuru's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux 2.6.9 / Apache 2.2.6 / MySQL 5.0.27 / PHP 5 / DF Version 9.2.1 |
|
| Back to top |
|
 |
beanman1


Joined: Feb 01, 2007 Posts: 10
|
Post subject: Re: Server Specs Posted: Fri Apr 11, 2008 5:51 pm |
|
Tied using the above php code to get my server specs and all I'm getting back is the little box with an X in it like it's missing an img file.
www.eq2bloodsiege.com/...rspecs.php
beanman1's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
 |
|
| Back to top |
|
 |
Eestlane


Joined: Apr 06, 2005 Posts: 1406 Location: Estonia
|
Post subject: Re: Server Specs Posted: Mon Apr 14, 2008 3:12 pm |
|
What did you use to save the file and what character encoding you used?
Eestlane's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/2.0.63/5.0.67/5.2.8/9.2.1 |
|
| Back to top |
|
 |
Phoenix


Joined: Apr 19, 2004 Posts: 8729 Location: Netizen
|
Post subject: Re: Server Specs Posted: Mon Apr 14, 2008 11:48 pm |
|
Right on the money Eestlane
Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
 |
|
| Back to top |
|
 |
Kendle


Joined: Dec 16, 2004 Posts: 529
|
Post subject: Re: Server Specs Posted: Tue Apr 15, 2008 6:48 am |
|
Eestlane wrote:
What did you use to save the file and what character encoding you used?
PSPad (which I use for all my PHP work) and UTF-8, still doesn't work for me.
_________________ Gaming League / Cup - www.leaguecms.co.uk :: Other DragonFly modules - www.cmsdreams.co.uk
Kendle's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
 |
|
| Back to top |
|
 |
Phoenix


Joined: Apr 19, 2004 Posts: 8729 Location: Netizen
|
Post subject: Re: Server Specs Posted: Tue Apr 15, 2008 7:32 am |
|
hmm, DF versions 9.1.x and above?
Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
 |
|
| Back to top |
|
 |
NanoCaiordo


Joined: Jun 29, 2004 Posts: 3677 Location: Melbourne, AU
|
Post subject: Re: Server Specs Posted: Tue Apr 15, 2008 8:56 am |
|
Are you using any background image?
[edit]looks like you are using utf8 signature for your files[/edit]
[edit]
instead looks like you have a CRLF at the beginning of the file or somewhere before the headers output.
Tip: make sure that you have nothing before <?php opening tag
[/edit]
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) MySQL 5.1 / PHP 5.3 / NextGen() |
|
| Back to top |
|
 |
Kendle


Joined: Dec 16, 2004 Posts: 529
|
Post subject: Re: Server Specs Posted: Tue Apr 15, 2008 10:19 am |
|
CMS Version 9.1.1
PHP Version 4.4.4
MySQL Version 4.1.22-standard (client: 4.1.22)
GD Version bundled (2.0.28 compatible)
I'm using the code exactly as posted by Phoenix, no background image, not even changed the colours.
There is nothing before the <?php opening tag.
_________________ Gaming League / Cup - www.leaguecms.co.uk :: Other DragonFly modules - www.cmsdreams.co.uk
Kendle's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
 |
|
| Back to top |
|
 |
NanoCaiordo


Joined: Jun 29, 2004 Posts: 3677 Location: Melbourne, AU
|
Post subject: Re: Server Specs Posted: Tue Apr 15, 2008 11:10 am |
|
zip the file and let me know the location for download please.
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) MySQL 5.1 / PHP 5.3 / NextGen() |
|
| Back to top |
|
 |
Kendle


Joined: Dec 16, 2004 Posts: 529
|
Post subject: Re: Server Specs Posted: Tue Apr 15, 2008 12:54 pm |
|
url removed by nano: issue fixed
_________________ Gaming League / Cup - www.leaguecms.co.uk :: Other DragonFly modules - www.cmsdreams.co.uk
Kendle's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
 |
|
| Back to top |
|
 |