Reply to Re: Voipbuster PHP script not working (anymore)

Your name:

Reply:


Posted by Henk Oegema on 06/13/07 08:25

David Quinton wrote:

> On Tue, 12 Jun 2007 21:58:24 GMT, Henk Oegema <henk@oegema.com> wrote:
>
>>I'm using the script below to get the remaining balance of my VoipBuster
>>account.
>>I'm using this script in my Astrerisk PBX server.
> [snip]
>
>>I have been using this script without any problems.
>>However................after a new installation of Linux (SuSE102.2) and a
>>new installation of Asterisk, the result is always 0.
>
> [snip]
>
>>If I run the script directly from a web browser, it prints the RIGHT value
>>(print "Remaining credit: $bedrag\n"; //use this for testing)
>>
>>The funny thing is that the script worked correctly before I did a new
>>installation.
>>(I jus copied the old file to the new installation)
>>
>>Somebody who can help? ::)
>
> Maybe a long shot, but always look for the most obvious thing first...
> Is localhost in your hosts file?

#
# hosts This file describes a number of hostname-to-address
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
# On small systems, this file can be used instead of a
# "named" name server.
# Syntax:
#
# IP-Address Full-Qualified-Hostname Short-Hostname
#

127.0.0.1 localhost

# special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback

fe00::0 ipv6-localnet

ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts
192.168.1.100 asterisk.site asterisk

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация