Login | Sign up | Toll-Free: 1-800-752-0455



3 posts by 2 authors in: Forums > CMS Builder
Last Post: August 2, 2017

I am not sure of the proper call here

$html = file_get_contents_curl("http://www.somedomain.com/");

integrated with CMSB

$html = file_get_contents_curl('.$domainsRecord['domain_name'].');

is giving me an error Parse error: syntax error, unexpected 'domain_name' (T_STRING) in /home/sageme/public_html/includes/sections/domain-profile.php on line 249

Not sure how to fix this

Hi Kenny, 

Try this: 

$html = file_get_contents_curl( $domainsRecord['domain_name'] );

Let me know if that works for you!

Dave Edis - Senior Developer