Solved

php function file-get-contents

Posted on 2011-03-17
2
308 Views
Last Modified: 2012-05-11
Why do I get the following error message?

Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /homepages/22/d203631705/htdocs/geocode_custs.php on line 62

I have used this function successfully in a different url on the SAME host.

Can this be overcome via php configuration with php.ini?

I am using this to do Google MAP Geocoding in php.
0
Comment
Question by:Richard Korts
2 Comments
 
LVL 8

Accepted Solution

by:
Rik-Legger earned 500 total points
ID: 35160964
0
 

Author Closing Comment

by:Richard Korts
ID: 35161490
Like a charm!
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to dynamically set the form action using jQuery.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question