Re: Geting PHP Version
| From: | Skyhawk | Date: | Wed, 10 Jul 2002 16:21:49 +0000 |
| Subject: | Re: Geting PHP Version | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-106857@lists.php.net to get a copy of this message | ||
Thanks, bye
Skyhawk
"Mark McCulligh" <mmcculli@sykescanada.com> escreveu na mensagem
news:009801c22813$bd5a5a20$5714c50a@sykescanada.com...
> You a use the command mysql_get_server_info().
>
> Example:
> <?php
> mysql_connect("localhost", "user", "password") or
> die("could not connect");
> echo "MySQL server version:".mysql_get_server_info()";
> ?>
> prints: - MySQL server version: 4.0.1-alpha
>
> Also see link below for more details:
> http://www.php.net/manual/en/function.mysql-get-server-info.php
> _________________________________________
> Mark McCulligh, Application Developer / Analyst
> Sykes Canada Corporation www.SykesCanada.com
> (888)225-6824 ex. 3262
> mmcculli@SykesCanada.com
> ----- Original Message -----
> From: "Skyhawk" <tecnico@doiscliques.com>
> Newsgroups: php.general
> To: <php-general@lists.php.net>
> Sent: Wednesday, July 10, 2002 8:29 AM
> Subject: Geting PHP Version
>
>
> Please,
>
> How do I make to get version information of MySql in runtime ?
> I would like to show the version of MySql in my website. For example:
>
> Version PHP : <? echo phpversion(); ?>
> Version MySql : ??????
>
> Thanks
>
> Skyhawk
>
>