Hi
I've been trying to get the web rate display api service working, but still without seccess
I don't know what I'm doing wrong. Can anyone please help me?
here is the error log from apache
Code:
[error] [client 192.168.1.1] PHP Warning: include() [<a href='function.include'>function.include</a>]: URL file-access is disabled in the server configuration in /var/www/html/a2billing/rates.php on line 11
[error] [client 192.168.1.1] PHP Warning: include(http://www.mydomain.com/a2billing/webservice/display_ratecard.php?key=f2c57036a01eb8df10&page_url=http://www.mydomain.com/a2billing/rates.php&fullhtmlpage=0&field_to_display=t1.destination,t1.dialprefix,t1.rateinitial&column_name=Destination,Prefix,Rate/Min&field_type=,,money&ratecardid=1&css_url=http://www.mydomain.com/a2billing/webservice/css/api_ratecard.css&currency_select=GBP) [<a href='function.include'>function.include</a>]: failed to open stream: no suitable wrapper could be found in /var/www/html/a2billing/rates.php on line 11
[error] [client 192.168.1.1] PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening 'http://www.mydomain.com/a2billing/webservice/display_ratecard.php?key=f2c57036a01eb8df10&page_url=http://www.mydomain.com/a2billing/rates.php&fullhtmlpage=0&field_to_display=t1.destination,t1.dialprefix,t1.rateinitial&column_name=Destination,Prefix,Rate/Min&field_type=,,money&ratecardid=1&css_url=http://www.mydomain.com/a2billing/webservice/css/api_ratecard.css&currency_select=GBP' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/a2billing/rates.php on line 11
here is my /a2billing/rates.php
Code:
<?php include
("http://www.mydomain.com/a2billing/webservice/display_ratecard.php?".
"key=f2c57036a01eb8df10".
"&page_url=http://www.mydomain.com/a2billing/rates.php".
"&fullhtmlpage=0".
"&field_to_display=t1.destination,t1.dialprefix,t1.rateinitial".
"&column_name=Destination,Prefix,Rate/Min".
"&field_type=,,money".
"&ratecardid=1".
"&css_url=http://www.mydomain.com/a2billing/webservice/css/api_ratecard.css".
"¤cy_select=GBP".$_SERVER['QUERY_STRING']);?>
Thank you in advance for your help
Kind regards,
TY