SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist sitedesigner's Avatar
    Join Date
    May 2005
    Location
    On the Computer
    Posts
    436
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question HELP - CURL and Server PHP Versions...

    I have a script that I'm running on my server, but it prints this error.

    Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/USER/public_html/leak.php on line 74

    Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/USER/public_html/leak.php on line 37

    Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/USER/public_html/leak.php on line 37

    Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/USER/public_html/leak.php on line 37
    Here is the code.
    PHP Code:
    line 37curl_setopt $chCURLOPT_FOLLOWLOCATIONTRUE );
    line 74curl_setopt $chCURLOPT_FOLLOWLOCATIONTRUE ); 
    Can someone or anyone help me?

    Oh, and the PHP info for the server is here..
    Code:
    http://mydramaqueen.com/php.php
    thanks!

    Thank you so much!
    █ [o] Programmer? PM me!
    █ [o] Getting back into the Business
    █ [o] Sitedesigner

  2. #2
    hi galen's Avatar
    Join Date
    Jan 2006
    Location
    New Haven, CT
    Posts
    1,228
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    open_basedir is set.

    I'm pretty sure you can change that setting using this


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •