Re: Can't execute External command whois
| From: | David Robley | Date: | Wed, 05 Jul 2000 01:25:24 +0000 |
| Subject: | Re: Can't execute External command whois | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-4846@lists.php.net to get a copy of this message | ||
On 5 Jul, Ahchi Ng wrote:
> Hi all,
>
> After posting the case to this newsgroup, the PHP script can't run correctly
> in mask2000.com also. I don't know what the"Web hosting" company have done.
>
> Therefore I have copied the same script to
> http://www.ioffice.com.hk/php/whois3.html (It is hosted by
> other company),
> it run very well also.
>
> The PHP source is available in �ôj /«44²
> Š‘Ýhttp://www.ioffice.com.hk/php/whois3.phps
>
> Any suggestion to fix it ?
>
> Thanks
> Ahchi
> --
> *********************************
> * Email: ahchi@3store.com
> * Business web site: http://3store.com
> * Personal web site: http://i.am/ahching
> *********************************
>
> ""Ahchi Ng"" <ahchi_ng@geocities.com> wrote in message
> news:8jsah6$l8h$1@toye.php.net...
>> Hi all,
>>
>> I had a PHP script (copy from somewhere) that running was running "very
> well
>> for several months" in 3store.com, but it can't run correctly suddenly!
>> So that I sent an email to my "Web hosting" company to ask for help, but
>> they always said that it was PHP script error that they will not support
> it
>> even though I had copy the same script to other domain mask2000.com to
> prove
>> that the script is run very well.
>>
>> In 3store
>> http://3store.com/php/whois3.html always return
>> "Already registered"
> because
>> it can't run the "whois" command
>>
>> But in Mask2000
>> http://mask2000.com/php/whois3.html everything is OK
>>
>>
>> Will it be a PHP config problem, or user right ...etc. The "whois"
> command
>> is work if I telnet to the server.
>>
>> Any suggestion?
>> Ahchi
Is it possible that the user trying to run the command no longer has
privilege to run the command. Or that the command is no longer
available?
Check the return status of the command.
Cheers
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA