digitalpoint google search script and fopen - required?

Discussion in 'PHP' started by stef25, Jan 22, 2007.

  1. #1
    im trying to install the digitalpoint google search script to be used as a search function on my site. fopen is not enabled on my server over at dreamhost. they propose to use curl instead. is this possible with the digitalpoint search.php?

    if so, what needs to be changed? i see fopen being used on line 44 and 48. is it possible to just change "fopen" to "curl" here?

    thanks
     
    stef25, Jan 22, 2007 IP
  2. datropics

    datropics Peon

    Messages:
    309
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    0
    #2
    might I recommend visiting php.net and looking at those two functions? I'm not familiar with curl = but it seems that you still have to use fopen when you use curl (I do stand corrected)
     
    datropics, Jan 22, 2007 IP
  3. sukantab

    sukantab Well-Known Member

    Messages:
    2,075
    Likes Received:
    49
    Best Answers:
    0
    Trophy Points:
    110