1
wcrwcr
Workaround for " fsockopen"
  • 2007/6/20 16:31

  • wcrwcr

  • Home away from home

  • Posts: 1114

  • Since: 2003/12/12


Hi All

I?m trying to use a feature of the x_movie module that enables the use of videos from another server.

But to achieve that the module uses "fsockopen()" and in my case after almost a week of trying I?ve received a message from the host company telling me that the function is unavailable due to security reasons, so I can?t use this feature (url) within x_movie.

Maybe some smart coder could point us a nice workaraound.

Is there a way to rewrite a function with another aproach?

Any tip guys?

Thanks

2
Mantooth
Re: Workaround for " fsockopen"
  • 2007/6/20 19:27

  • Mantooth

  • Friend of XOOPS

  • Posts: 189

  • Since: 2004/11/2


i've heard that libcurl can be used instead of fsockopen. It might be hard to convert everything and i think that if the host has fsockopen disabled, there's a good chance that libcurl will be disabled also.
...


I hate Mortal Kombat

3
wcrwcr
Re: Workaround for " fsockopen"
  • 2007/6/20 20:41

  • wcrwcr

  • Home away from home

  • Posts: 1114

  • Since: 2003/12/12


Hi

Thanks for the imput Mantooth

I?ll do a basic research onhttp://curl.haxx.se/

BTW> any real good reason for disabling fsockopen() ?

4
Mantooth
Re: Workaround for " fsockopen"
  • 2007/6/21 16:56

  • Mantooth

  • Friend of XOOPS

  • Posts: 189

  • Since: 2004/11/2


I think most server admins will tell you that it is completely unnecessary to disable fsockopen. Some have it disabled because they are overly cautious or don't know what they're doing.
...


I hate Mortal Kombat

5
wcrwcr
Re: Workaround for " fsockopen"
  • 2007/6/22 13:48

  • wcrwcr

  • Home away from home

  • Posts: 1114

  • Since: 2003/12/12


Hi

Mantooth

Quote:
Some have it disabled because they are overly cautious or don't know what they're doing.


In my case I think the second option is perfect

Login

Who's Online

82 user(s) are online (58 user(s) are browsing Support Forums)


Members: 0


Guests: 82


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits