Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
curl_init()
- Page 1
Re: AirTM API: How to Build a Form?
Programming
Web Development
4 Weeks Ago
by Dani
I can see that the URL that you linked me to has 4 steps to create a purchase. The first one is to create a Purchase via an HTTP POST request. That can be done with a cURL request. cURL requests require some backend programming such as via PHP or some other language. Are you using a server-side language to write your web app? If so, which one so…
Re: AirTM API: How to Build a Form?
Programming
Web Development
4 Weeks Ago
by pritaeas
You cannot safely use a form to post directly to AirTM. Post to your own PHP script, which can then use curl to make the request, including headers.
Re: How to disable the automatic swipe effect on the product page?
Programming
Web Development
1 Month Ago
by Dani
Hello, Google Search Console is showing that vidceo is not the main content of the page, because I don't see any video on [this page](https://www.kupisi.mk/product/index.php?mainCategory=%D0%B7%D0%B0-%D0%B4%D0%BE%D0%BC%D0%B0&productName=%D1%83%D0%BD%D0%B8%D0%B2%D0%B5%D1%80%D0%B7%D0%B0%D0%BB%D0%BD%D0%BE-%D0%BF%D0%B0%D0%BC%D0%B5%D1%82%D0%BD%D0…
Re: Curl Error
Programming
Web Development
10 Years Ago
by ndeniche
… you want them to do, etc. For instance: > Warning:
curl_init
() [function.curl-init]: Could not initialize a new cURL handle…
curl response specific value get
Programming
Web Development
2 Years Ago
by ramyayarrapothu
$curl =
curl_init
(); curl_setopt_array($curl, array( CURLOPT_URL => 'https://livehealth.solutions/getAllTestsAndProfiles/?token=…
Re: cURL Experiments
Programming
Web Development
6 Years Ago
by UI
…/ //gets the data from a URL function get_url($url) { $ch =
curl_init
(); if($ch === false) { die('Failed to create curl object'); } $timeout…
Re: cURL Experiments
Programming
Web Development
6 Years Ago
by UI
cURL Sample 2: Is it true that the following short code is just as good as the one mentioned on my previous post ? <?php //This code was found on: http://www.binarytides.com/php-curl-tutorial-beginners/ //2nd Example //The above GET request to a url can be done in a much simpler way like this: //…
Re: cURL Experiments
Programming
Web Development
6 Years Ago
by UI
cURL Sample 3: Can you figure-out or atleast guess why the following code is better than the previous 2 ? What benefits do you see in it than the other 2 code samples ? No, I'm not testing you but trying to learn from you. <?php //3rd Option //This code was found on: http://www.binarytides.com/php-curl-tutorial-…
Re: cURL and xmlrpc
Programming
Web Development
14 Years Ago
by kireol
cURL is used for getting and submitting web pages/forms from within code (php) xmlrpc is for making calls to a server for remote functions (so you have 1 copy of code, not many), much like SOAP is. so no, not the same, but COULD be used to accomplish the same thing.
Re: Init() function in ColdFusion
Programming
Web Development
13 Years Ago
by arrgh
init() is just a standard convention most people adopt with components. The init() function initializes any variables needed by the component's functions. Then returns a reference to the current component. ie [code] Test.cfm <cfset myObj = createObject("component", "MyComponent").init(dsn="My DSN")> …
Re: problem with curl code
Programming
Software Development
15 Years Ago
by cikara21
'curl.h'!!..using class or not?..
Re: Connect to external Srv via cURL
Programming
Web Development
13 Years Ago
by hielo
Curl is used for http requests. Based on the sample port you posted, you are probably wanting to connect to an FTP server (Port 21). If so, refer to the FTP functions in php: [url]http://www.php.net/manual/en/function.ftp-connect.php[/url] IF you are in fact running an HTTP server, then on the following link: [url]http://blog.unitedheroes.net/curl…
Re: Are cURL and HttpRequest same?
Programming
Web Development
15 Years Ago
by veledrom
cURL is a bit more advanced and powerful then!!!
Please Help Compiling Error
Programming
Software Development
15 Years Ago
by twgood
init: deps-jar: Compiling 1 source file to C:\NetBeansProjects\SCHOOL1\JavaApplication31\build\classes C:\NetBeansProjects\SCHOOL1\JavaApplication31\src\javaapplication31\Inventory3a.java:185: cannot find symbol symbol : constructor Product(java.lang.String,double,double,double) location: class javaapplication31.Product super( dvdTitle, …
Re: How to echo out parameters of a post string
Programming
Web Development
11 Years Ago
by diafol
… or get): $url = "http://www.daniweb.com"; $ch =
curl_init
($url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $scraped_page = curl_exec($ch); curl_close($ch…
Re: Facebook SDK problem - uncaught Exception
Programming
Web Development
10 Years Ago
by pritaeas
Curl is apparently not enabled in your website. You need it for this API.
Re: Getting Xml parser error.
Programming
Web Development
12 Years Ago
by pritaeas
Curl is not the problem. Apparently your called URL does not return valid XML. Check that one.
Re: http request through a proxy server
Programming
Web Development
13 Years Ago
by MVied
…/en/book.curl.php"]here[/URL]. [code=php]$ch =
curl_init
(); curl_setopt($ch, CURLOPT_URL, 'http://www.example.com'); curl_setopt($ch, CURLOPT_HEADER…
Re: PHP External URL Detection
Programming
Web Development
12 Years Ago
by hakeemtunde
CURL is your best bet checkout this link [URL="http://php.bigresource.com/parsing-website-with-cURL-preg_match-yIHYSWHg.html"]http://php.bigresource.com/parsing-website-with-cURL-preg_match-yIHYSWHg.html[/URL]
Re: C++ and the internet??
Programming
Software Development
14 Years Ago
by siddhant3s
curl can handle HTTP GET and HTTP POST It also support FTP So if this is all you want to do, I suggest go with cURL. Its more generic than anything. >>But once i'm startet on network related programming (whats the right term?) >>i would like to be able to do more than that i guess, so i would rather not do >>to many shortcuts …
Re: getting data from other site
Programming
Web Development
12 Years Ago
by tiggsy
cURL is an addon for php, mostly included on commercial hosts, and it's a free download if you're hosting yourself. Documentation for cURL is included in the PHP manual (which you should get a copy of, or just bookmark the online version), but it's not that easy to understand. Otoh there are lots of tutorials on the net.
Re: Need Some Help
Digital Media
UI / UX Design
11 Years Ago
by diafol
cURL: http://www.php.net/manual/en/curl.examples-basic.php Or here's a html parser: http://simplehtmldom.sourceforge.net/ Cron Jobs: http://www.timlinden.com/blog/website-development/php-cron-jobs-with-cpanel/ No point in me typing out what these guys have written.
Re: String Viewer - Need Help with peculiar errors
Programming
Software Development
14 Years Ago
by OzY360
init: deps-clean: Updating property file: /Users/ozsy88/NetBeansProjects/StringViewerGUI/build/built-clean.properties Deleting directory /Users/ozsy88/NetBeansProjects/StringViewerGUI/build clean: init: deps-jar: Created dir: /Users/ozsy88/NetBeansProjects/StringViewerGUI/build Updating property file: /Users/ozsy88/NetBeansProjects/…
Re: Change-a-Letter-or-Two-Game
Community Center
Geeks' Lounge
17 Years Ago
by mattyd
curl
Re: Change-a-Letter-or-Two-Game
Community Center
Geeks' Lounge
17 Years Ago
by lina0721
curl
Re: Change-a-Letter-or-Two-Game
Community Center
Geeks' Lounge
16 Years Ago
by christina>you
curl
Re: PDF Viewer on Web by using php
Programming
Web Development
11 Years Ago
by pritaeas
> CURL load failed: "couldn't connect to host" thrown in C:\xampp\htdocs\vuzit\VuzitPHP\lib\document.php on line 204 What's on that line ?
Re: Scrap information from a web site
Programming
Web Development
11 Years Ago
by urtrivedi
curl is another way of doing
Re: Harvesting online data
Programming
Software Development
10 Years Ago
by iamthwee
cURL is your answer or a scythe... Great for harvesting.
Re: Determin the average of an array that generates 30 random numbers.
Programming
Software Development
16 Years Ago
by gkbush
Init a variable to ie Sum = 0; Run a for loop thirty times to get a total sum. for( int i = 0; i < 30; i++) { Sum = Sum + array[i]; } Then divide by 30 return Sum/30 That's the average!!
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC