How to use curl in php - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

How to use curl in php

phenix zhengphenix zheng Posts: 3Member
I find that in php,there is a function:curl_multi_getcontent().
But when I check the manual,I did not find the example of this
function.
Did anybody knows how to use this function?
Thank you.

Comments

  • bmjcpobmjcpo Posts: 18Member
    : I find that in php,there is a function:curl_multi_getcontent().
    : But when I check the manual,I did not find the example of this
    : function.
    : Did anybody knows how to use this function?
    : Thank you.
    :

    Note that this function only works with PHP 5 CVS:
    string curl_multi_getcontent(resource $ch)
  • phenix zhengphenix zheng Posts: 3Member
    Thank you for your help.
    But I can not understand what dose "only used in php 5 CVS" mean.
    If I want to use the function how can I do?

  • bmjcpobmjcpo Posts: 18Member
    [b][red]This message was edited by bmjcpo at 2006-8-31 1:58:29[/red][/b][hr]
    : Thank you for your help.
    : But I can not understand what dose "only used in php 5 CVS" mean.
    : If I want to use the function how can I do?

    It means that if you don't have php version 5.* this function is not implemented yet (in the php library), and therefore you can't use it.
    BTW, if you are running version 5.* (on apache or whatever), and using that function whithout any problems, there is a chance that you get problems when uploading it to an host. Your hosting server might screw it up.
    Most hosting company's (certainly not all) are still running version 4.* of PHP.

    EDIT:
    This is what is said about the function:
    "This function is currently not documented; only the argument list is available."
    It seems to me, that the function is not quite ready to use.
  • phenix zhengphenix zheng Posts: 3Member
    I get it.Thank you very much!
Sign In or Register to comment.