HtmlToText
base = $base; $this->host = $host; $this->user = $user; $this->pass = $pass; $this->link = mysql_pconnect($this->host, $this->user, $this->pass); mysql_select_db($this->base); return $this->link; } /** * @return $result * @param string $query * @desc lancer une requète sql */ public function query($query) { $this->query = $query; $this->result = mysql_query($query, $this->link); if (debug and !$this->result) { echo ' erreur sur la requète : '; $this->debug(); echo ' erreur : ' . mysql_error($this->link); echo ' fichier: ' . $_server['php_self'] . ' '; } return $this->result; } /** * @return $result * @param void * @desc retourner simplement le result de mysql_query */ public function getresult() { return $this->result; } /** * @return void * @param string $res * @desc affecter le résultat d'un mysql_query à l'objet sql */ public function setresult($res) { $this->result = $res; } /** * @return void * @param array $result * @desc retourne le résultat sous forme d'un tableau */ public function fetchr() { return mysql_fetch_row($this->result); } /** * @return void * @param object $result * @desc retourne le résultat sous forme d'un objet */ public function fetcho() { return mysql_fetch_object($this->result); } /** * @return void * @param array $result * @desc retourne le résultat sous forme d'un tableau associatif */ public function fetcha() { return mysql_fetch_array($this->result,mysql_assoc); } /** * @return void * @param string $result * @desc retourne le résultat unique d'une requète */ public function getresultat() { $resultat = mysql_fetch_array($this->result,mysql_num); $this->un_resultat = $resultat[0]; return $this->un_resultat; } /** * @return void * @param int $count * @desc nombre d'enregistrements retournés par la requète */ public function numrows() { $this->nb_lignes = mysql_num_rows($this->result); return $this->nb_lignes; } /** * @return void * @param int $id * @desc identifiant du dernier enregistrement inséré */ public function lastid() { return mysql_insert_id($this->link); } /** * @return void * @param string $error * @desc code de retour d'erreur */ public function erreur_num() { return mysql_errno(); } /** * @return array $enumvalues * @param string $table * @param string $champ * @desc retourne les valeurs d'un champs enum */ public function getenumvalues($table,$champ) { return $this->_mysql_enum_values($table,$champ); } /** * @return int $count * @param void * @desc retourne le nombre de lignes affectées par la requète */ public function affectedrows() { return mysql_affected_rows($this->link); } /** * @return string $str * @param $str * @desc prépare une chaine à l'insertion dans la bd */ public function ss($str) { return mysql_real_escape_string($str); } /** * @return void * @param void * @desc fermeture de la connexion à la base */ public function close() { //mysql_free_result($this->link); mysql_close($this->link); } /** * @return string $str * @param string $query * @desc affiche la requète "highlightée" */ public function debug($query = '') { if ($query) $this->query = $query; $query = preg_replace("/['\"]([^'\"]*)['\"]/i", "' $1 '", $this->query, -1); $query = str_ireplace( array ( '*', 'select ', 'update ', 'delete ', 'insert ', 'into', 'values', 'from', 'left', 'join', 'where', 'limit', 'group by', 'order by', 'between', ' and ', 'or ', 'desc', 'asc', 'on ' ), array ( " * ", " select ", " update ", " delete ", " insert ", " into ", " values ", " from ", " left ", " join ", " where ", " limit ", " group by ", " order by ", " between ", " and ", " or ", " desc ", " asc ", " on " ), $query ); echo nl2br($query); } /** * @return array * @param string $table * @param string $field * @desc retourne les valeurs d'un champs mysql de type enum */ private function _mysql_enum_values($table, $field) { $sql = "show columns from $table like '$field'"; $sql_res = mysql_query($sql); $row = mysql_fetch_assoc($sql_res); mysql_free_result($sql_res); return(explode("','", preg_replace("/.*\('(.*)'\)/", "\\1", $row["type"]))); } } ?>
Informations Whois
Whois est un protocole qui permet d'accéder aux informations d'enregistrement.Vous pouvez atteindre quand le site Web a été enregistré, quand il va expirer, quelles sont les coordonnées du site avec les informations suivantes. En un mot, il comprend ces informations;
%%
%% This is the AFNIC Whois server.
%%
%% complete date format : DD/MM/YYYY
%% short date format : DD/MM
%% version : FRNIC-2.5
%%
%% Rights restricted by copyright.
%% See https://www.afnic.fr/en/products-and-services/services/whois/whois-special-notice/
%%
%% Use '-h' option to obtain more information about this service.
%%
%% [2600:3c03:0000:0000:f03c:91ff:feae:779d REQUEST] >> anps-prevention-sante.fr
%%
%% RL Net [##########] - RL IP [########..]
%%
domain: anps-prevention-sante.fr
status: ACTIVE
hold: NO
holder-c: ANPL30-FRNIC
admin-c: PH1108-FRNIC
tech-c: GR283-FRNIC
zone-c: NFC1-FRNIC
nsl-id: NSL13550-FRNIC
registrar: GANDI
Expiry Date: 12/03/2018
created: 12/03/2007
last-update: 09/02/2017
source: FRNIC
ns-list: NSL13550-FRNIC
nserver: a.dns.gandi.net
nserver: b.dns.gandi.net
nserver: c.dns.gandi.net
source: FRNIC
registrar: GANDI
type: Isp Option 1
address: 63-65 boulevard Massena
address: PARIS
country: FR
phone: +33 1 70 37 76 61
fax-no: +33 1 43 73 18 51
e-mail: reg.afnic-notification@gandi.net
website: http://www.gandi.net
anonymous: NO
registered: 09/03/2004
source: FRNIC
nic-hdl: ANPL30-FRNIC
type: ORGANIZATION
contact: Association Nationale pour la Protection de la Sante
address: boulevard du 32eme Regiment d'Infanterie
address: 02700 Tergnier
country: FR
phone: +33 3 23 57 59 59
e-mail: 22e42dcc9efb8a89dc1258893e2783ab-yg509@contact.gandi.net
registrar: GANDI
changed: 11/03/2009 nic@nic.fr
anonymous: NO
obsoleted: NO
eligstatus: ok
eligdate: 23/08/2007 00:00:00
source: FRNIC
nic-hdl: PH1108-FRNIC
type: PERSON
contact: Pascal Hoquet
address: 123, boulevard Pommery
address: 51100 Reims
country: FR
phone: +33 3 26 77 52 47
fax-no: +33 3 26 77 52 48
e-mail: a054ba3e33564cec9ae9df0577e49e72-663066@contact.gandi.net
registrar: GANDI
changed: 12/04/2017 nic@nic.fr
anonymous: NO
obsoleted: NO
source: FRNIC
nic-hdl: GR283-FRNIC
type: ROLE
contact: GANDI ROLE
address: Gandi
address: 15, place de la Nation
address: 75011 Paris
country: FR
e-mail: noc@gandi.net
trouble: -------------------------------------------------
trouble: GANDI is an ICANN accredited registrar
trouble: for more information:
trouble: Web: http://www.gandi.net
trouble: -------------------------------------------------
trouble: - network troubles: noc@gandi.net
trouble: - SPAM: abuse@gandi.net
trouble: -------------------------------------------------
admin-c: NL346-FRNIC
tech-c: NL346-FRNIC
tech-c: TUF1-FRNIC
notify: noc@gandi.net
registrar: GANDI
changed: 03/03/2006 noc@gandi.net
anonymous: NO
obsoleted: NO
source: FRNIC
REFERRER http://www.nic.fr
REGISTRAR AFNIC
SERVERS
SERVER fr.whois-servers.net
ARGS anps-prevention-sante.fr
PORT 43
TYPE domain
RegrInfo
DISCLAIMER
%
% This is the AFNIC Whois server.
%
% complete date format : DD/MM/YYYY
% short date format : DD/MM
% version : FRNIC-2.5
%
% Rights restricted by copyright.
% See https://www.afnic.fr/en/products-and-services/services/whois/whois-special-notice/
%
% Use '-h' option to obtain more information about this service.
%
% [2600:3c03:0000:0000:f03c:91ff:feae:779d REQUEST] >> anps-prevention-sante.fr
%
% RL Net [##########] - RL IP [########..]
%
REGISTERED yes
ADMIN
HANDLE PH1108-FRNIC
TYPE PERSON
CONTACT Pascal Hoquet
ADDRESS
123, boulevard Pommery
51100 Reims
COUNTRY FR
PHONE +33 3 26 77 52 47
FAX +33 3 26 77 52 48
EMAIL a054ba3e33564cec9ae9df0577e49e72-663066@contact.gandi.net
SPONSOR GANDI
CHANGED 2017-04-12
ANONYMOUS NO
OBSOLETED NO
SOURCE FRNIC
TECH
HANDLE GR283-FRNIC
TYPE ROLE
CONTACT GANDI ROLE
ADDRESS
Gandi
15, place de la Nation
75011 Paris
COUNTRY FR
EMAIL noc@gandi.net
TROUBLE
-------------------------------------------------
GANDI is an ICANN accredited registrar
for more information:
Web: http://www.gandi.net
-------------------------------------------------
- network troubles: noc@gandi.net
- SPAM: abuse@gandi.net
-------------------------------------------------
ADMIN-C NL346-FRNIC
TECH-C
NL346-FRNIC
TUF1-FRNIC
NOTIFY noc@gandi.net
SPONSOR GANDI
CHANGED 2006-03-03
ANONYMOUS NO
OBSOLETED NO
SOURCE FRNIC
OWNER
HANDLE ANPL30-FRNIC
TYPE ORGANIZATION
CONTACT Association Nationale pour la Protection de la Sante
ADDRESS
boulevard du 32eme Regiment d'Infanterie
02700 Tergnier
COUNTRY FR
PHONE +33 3 23 57 59 59
EMAIL 22e42dcc9efb8a89dc1258893e2783ab-yg509@contact.gandi.net
SPONSOR GANDI
CHANGED 2009-03-11
ANONYMOUS NO
OBSOLETED NO
ELIGSTATUS ok
ELIGDATE 23/08/2007 00:00:00
SOURCE FRNIC
DOMAIN
STATUS ACTIVE
HOLD NO
SPONSOR GANDI
EXPIRY DATE 12/03/2018
CREATED 2007-03-12
CHANGED 2017-02-09
SOURCE FRNIC
HANDLE NSL13550-FRNIC
NSERVER
A.DNS.GANDI.NET 173.246.98.1
B.DNS.GANDI.NET 213.167.229.1
C.DNS.GANDI.NET 217.70.179.1
NAME anps-prevention-sante.fr
Go to top