ok, i has change the point value.
open_basedir /home/backlink/:/usr/lib/p
Main Topics
Browse All Topicshi, iget error
Warning: curl_setopt_array() [function.curl-setopt-arra
my safe_mode is off
and here is the synatax :
curl_setopt_array($this->_
CURLOPT_HEADER => false,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_AUTOREFERER => true,
CURLOPT_COOKIEFILE => '',
CURLOPT_SSL_VERIFYPEER => false,
CURLOPT_HTTPHEADER => array(
'Accept: ' . $this->_resp_content_type,
'Expect: ',
'User-Agent: ' . self::API_USER_AGENT . '; v' .
self::API_VERSION
)
));
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Create a script that just has:
<?php
phpinfo();
?>
and run it. In the output, it should tell you where the php.ini is located. Go edit that php.ini file and clear the open_basedir value to be blank.
One thing to ask yourself - is there a reason that open_basedir is even set? It's a security measure that is usually used when you have multiple people on a server and you're not sure if you have proper permissions set up on the rest of the server.
It's used to prevent people from using functions like include() to read in files outside their accounts. Normally, a server's permissions are enough to take care of this problem, but some people can be paranoid and enable it anyway. I think some security guides recommend you enable it, but I personally think it's not a good feature.
Hmmmm - that doesn't sound right. Try this - log into your server's shell using ssh (or telnet) and run these commands:
Command #1: updatedb
Reason: This creates a file listing on your server that is used by the next command. It takes a few minutes to run, though.
Command #2: locate php.ini
Reason: This should show you all the php.ini files on your system. If you have more than one file listed, try Command #3.
Command #3: for i in `locate php.ini`; do echo $i; grep -i "open_basedir" $i; done;
Reason: This will show you the "open_basedir" values in each of the files listed in Command #2. See if any of the values look like the long string you saw earlier. Also, in the above command, locate php.ini is surrounded by the backtick character `, NOT the apostrophe character. You might just want to copy and paste that line.
If you find a php.ini flie with a non-blank open_basedir value that looks like what your server currently has, then try changing that value slightly, then restart your web server process (use Apache's "graceful" command) and check to see if the open_basedir value changed.
Business Accounts
Answer for Membership
by: gr8gonzoPosted on 2009-10-31 at 18:38:59ID: 25712308
Hi ansori - welcome to Experts Exchange. Just a quick note - the # of points you give to a question is pretty important to a lot of experts. Experts aren't getting paid to answer questions, so the only thing we do get are points. That said, a lot of experts won't even bother with 50-point questions unless the question is extremely easy and has a simple, 1-line answer.
You may want to consider increasing the points to attract more attention to your question (most questions are given 500 points, and only are given less points if they are really easy questions or if you have limited amounts of points). If you have unlimited points to assign, then there's really no reason to not give as many points as possible in order to get more experts looking at your question. It only benefits you and the experts.
That said, have you looked at the value of open_basedir and checked to see where your script is running?