PHP Programmer to convert fopen to curl

Discussion in 'Programming' started by jazzbass10, Aug 1, 2009.

  1. #1
    Hello,

    I have a custom script written by myself using fopen to read a csv. But it do not work in most of hosting providers so need to convert in oerder to work with curl.
    All you have to convert fopen function to curl.
     
    jazzbass10, Aug 1, 2009 IP
  2. manjifera

    manjifera Well-Known Member

    Messages:
    232
    Likes Received:
    4
    Best Answers:
    1
    Trophy Points:
    118
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    Hi there i have sent you PM do let me know more detail about your script!
     
    manjifera, Aug 1, 2009 IP
  3. codebreaker

    codebreaker Well-Known Member

    Messages:
    281
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    110
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    fopen might not work becase you are trying to open a file on another host.
    Then use curl to download the file and then keep the original function.
     
    codebreaker, Aug 1, 2009 IP
  4. jazzbass10

    jazzbass10 Peon

    Messages:
    122
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    Thanks for the info, I did it by myself after your comment. I really appreciate you.
     
    jazzbass10, Aug 1, 2009 IP
  5. cyberxpert

    cyberxpert Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #5
    This info helped me too. Thank you. :)

     
    cyberxpert, Aug 1, 2009 IP