[PHP] Parsing whois lookup information

2005-02-09 Thread Harish Rao K

Hello,

For a project I need to parse whois domain lookup data. Have some
one parsed these data in PHP? Please let me know where can I find
them. I have already gone through google and couldn't find
anything useful. There is one .NET library
(http://www.hexillion.com/whois/) available, but it is charged.
:((. So if someone can help me out it would be grateful.

Thank you very much,
Harish Rao K.


Nous Infosystems
This e-mail transmission may contain confidential or legally privileged
information that is intended only for the individual(s) or entity(ies) named
in the e-mail address. If you are not the intended recipient, please reply to
the [EMAIL PROTECTED], so that arrangements can be made for proper
delivery, and then please delete all copies and attachments.Any disclosure,
copying, distribution, or reliance upon the contents of this e-mail, by any
other than the intended recipients, is strictly prohibited.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] help needed on imagettftext()

2005-01-28 Thread Harish Rao K
Hi Marek Kilimajer,

Thank You Marek it worked for me also.

-Harish Rao K
-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 27, 2005 9:19 PM
To: Harish Rao K
Cc: php-general@lists.php.net
Subject: Re: [PHP] help needed on imagettftext()


Harish Rao K wrote:
 Hello,

 While working with some CAPTCHA stuff I get the following
error:
 Fatal error: Call to undefined function imagettftext().
 I have compiled with GD support and all the supporting
libraries
 (Freetype, TTF, jpeg, X11R6 etc).

 What am I missing?

 Below is the configure command that I have used.

 './configure' '--with-gd'
 '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-pgsql'
 '--with-jpeg-dir=/usr/local/jpeg-6b'
 '--with-zlib-dir=/usr/local/zlib-1.2.1'
'--enable-gd-native-ttf'
 '--with-png' '--with-ttf'
 '--with-freetype-dir=/usr/local/freetype-2.1.9'
 '--with-xpm-dir=/usr/X11R6'

 Thanks  Regards,
 Harish Rao K,

make clean
make
make install

this helped me. I guess there are wrong dependencies in the
Makefiles

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Nous Infosystems
This e-mail transmission may contain confidential or legally privileged
information that is intended only for the individual(s) or entity(ies) named
in the e-mail address. If you are not the intended recipient, please reply to
the [EMAIL PROTECTED], so that arrangements can be made for proper
delivery, and then please delete all copies and attachments.Any disclosure,
copying, distribution, or reliance upon the contents of this e-mail, by any
other than the intended recipients, is strictly prohibited.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] help needed on imagettftext()

2005-01-27 Thread Harish Rao K
Hello,

While working with some CAPTCHA stuff I get the following error:
Fatal error: Call to undefined function imagettftext().
I have compiled with GD support and all the supporting libraries
(Freetype, TTF, jpeg, X11R6 etc).

What am I missing?

Below is the configure command that I have used.

'./configure' '--with-gd'
'--with-apxs2=/usr/local/apache2/bin/apxs' '--with-pgsql'
'--with-jpeg-dir=/usr/local/jpeg-6b'
'--with-zlib-dir=/usr/local/zlib-1.2.1' '--enable-gd-native-ttf'
'--with-png' '--with-ttf'
'--with-freetype-dir=/usr/local/freetype-2.1.9'
'--with-xpm-dir=/usr/X11R6'

Thanks  Regards,
Harish Rao K,


Nous Infosystems
This e-mail transmission may contain confidential or legally privileged
information that is intended only for the individual(s) or entity(ies) named
in the e-mail address. If you are not the intended recipient, please reply to
the [EMAIL PROTECTED], so that arrangements can be made for proper
delivery, and then please delete all copies and attachments.Any disclosure,
copying, distribution, or reliance upon the contents of this e-mail, by any
other than the intended recipients, is strictly prohibited.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] feof Question

2004-05-09 Thread Harish

Hi

I am using Linux, Apache, MySql, PHP. In the below mentioned code example when the 
counter data that is displayed on the screen going to a indefinite loop. The file that 
is read has got sufficient permissions.

What are the reasons and how do I tackle the problem?

?php
$fp = fopen( 't.txt', 'r' );

while( !feof( $fp ) )
{
   print fgets( $fp );
   echo $counterval++;
   if($counterval%100==0)
   {
  flush();
   }
}
fclose( $fp );
?



Regards,
Harish Rao K


RE: [PHP] adding days to a given date

2004-03-31 Thread Harish

The time function available in PHP can be used for your requirement/

$two_days_later = date(Y-m-d,mktime(0,0,0,$month,$day+2,$year));

where $month, $day and $year are the respective parts of the given day

$year=2004
$month=04
$day=29

You can specify the number of days to be +/- in the mktime function, like its 
specified above.
You can also +/- the months and year if necessary.


regards
Harish

-Original Message-
From: Merlin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 31, 2004 2:31 PM
To: [EMAIL PROTECTED]
Subject: [PHP] adding days to a given date


Hi there,

I am trying to add days to a given day, but somehow I am lost in all the time 
functions.
This should be a standard function. Maybe someone has a good hint for me?

This is the given day:
2004-04-29
I would like to add 2 days to it.
So php should anyhow now how many days April has to result in this:
2004-04-30
2004-05-1

Thank you for any helpful hint,

merlin

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] finding certain dates in the future (again)

2004-03-31 Thread Harish
Hi

try mktime you can get it there

-Harish

-Original Message-
From: Andy B [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 31, 2004 4:59 PM
To: [EMAIL PROTECTED]
Subject: [PHP] finding certain dates in the future (again)


Hi...

Is there any way to find say the third monday of the month (all months of the year) 
for any year (up to 2038) and show them in a combo box as exact dates? Have been 
trying to get something of the sort to work and havent quite figured out how thats 
supposed to work yet.  I tried strtotime and mktime but strtotime shows to be somewhat 
complicated to get to work with the general audience of the web service it is supposed 
to be put in. I need the day(s) of the month, the month and the year all in seperate 
combo boxes... Is this even possible? oh and before i forget the most important 
part...the final calculated date has to be put in a mysql db as a timestamp(14) 
field... the final version of the web service will be running on the setup below:
PHP Version 4.0.4pl1
Linux noir.propagation.net 2.0.36 #5 Wed Dec 16 18:09:02 CST 1998 i686 unknown
mysql version 3.23.22-beta
does anybody have any recommendations for this sort of problem??

tnx
(very stumped and confused)



[PHP] File access from another machine

2004-02-26 Thread Harish
Hello All,

Is there any possibility to open a file in another machine, provided the IP
of the machine using PHP scripts.
I only need to open a file with the format abc190104.csv in another machine
 write data into that file. Or to steam it through the HTTP.

Regards
Harish Rao K

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php