1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
|
#
# $Id: README,v 1.7 2004/10/26 18:18:35 evertonm Exp $
#
LICENSE
Copyright (C) 2004 by Everton da Silva Marques
RULI is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2,
or (at your option) any later version.
RULI is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public
License along with RULI; see the file COPYING. If not, write
to the Free Software Foundation, Inc., 59 Temple Place - Suite
330, Boston, MA 02111-1307, USA.
LINKING RULI AGAINST SOFTWARE DISTRIBUTED UNDER PHP LICENSE
Additional to those permissions granted by the GNU Public
License, permission is given to distribute copies of this work
linked to software licenced under the terms of the PHP
licence, Version 3.0
INTRODUCTION
This is a PHP binding for RULI, a library for easily querying
DNS SRV resource records.
Please install the RULI library before installing this
module. RULI is available from: http://www.nongnu.org/ruli/
You'll need RULI 0.32 or higher.
Usage:
1) INSTALL RULI
2) GET PHP4
wget http://downloads.php.net/ilia/php-4.3.9.tar.gz
3) PUT RULI-PHP BINDING UNDER PHP4 SOURCE TREE
tar xzf php-4.3.9.tar.gz
cd php-4.3.9
cp -r $RULI_HOME/php/ruli ext
4) BUILD PHP4
./buildconf --force
./configure --with-ruli
make
5) TEST RULI-PHP BINDING
# Test 1:
./sapi/cli/php -f ext/ruli/ruli.php
# Test 2:
./sapi/cli/php -r 'print_r(ruli_sync_smtp_query("registro.br", 0));'
# Test 3:
./sapi/cli/php -f ext/ruli/ruli_sync_query.php
# Test 4:
./sapi/cli/php -f ext/ruli/ruli_sync_smtp_query.php
# Test 5:
./sapi/cli/php -f ext/ruli/ruli_sync_http_query.php
|