94 Topics

Member Avatar for
Member Avatar for rahul.pragma

The problem is that, Server doesn't not able to open this url: https://gw1.cardsaveonlinepayments.com:4430/ OR https://gw3.cardsaveonlinepayments.com:4430/?WSDL When you run this url from your browser then it would work and show you some kind of data like: "GetCardType CardDetailsTransaction CrossReferenceTransaction ThreeDSecureAuthentication" But when we try open the url using script then server …

Member Avatar for hag++
0
794
Member Avatar for karthik_ppts

Hi Frendz, I need to login with a site to get the content. I'm using the below code to do the same. <?php include_once('simple_html_dom.php'); extract($_POST); if($submit) { $username = '*************'; $password = '*************'; $loginUrl = 'https://secure-admin.booking.com/booking.html?bn=685763648&hotel_id=439210&code=57ed501f25de55965e13ab29fcd936a3'; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $loginUrl); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, 'loginname='.$username.'&password='.$password); curl_setopt($ch, CURLOPT_COOKIEJAR, …

Member Avatar for karthik_ppts
0
316
Member Avatar for klemme

Hi All, I have a script that works fine for transferring files from one server to another when I use HTTP protocol. (When I use a test site that is.) Here is the script, working on test site with HTTP: // Navn på faktura der skal hentes $pdf_faktura_navn = 'Microsoft_sporgeskema.pdf'; …

Member Avatar for klemme
0
291
Member Avatar for sanket044

Hello everyone, I am working with php curl and using multiple connections in it, now my problem is if i put 100 curl requests in it it will take lots of time and i will able to access its contents after completion of 100 requests, so how can i access …

Member Avatar for pritaeas
0
81
Member Avatar for sinopa

Does anyone know how I can get specific content from another website and post it on my website? In this case I want to get the content from [url]http://www.gametracker.com/server_info/213.239.207.85:27960/[/url] What I want is: Name, Game, Address, port, status, clan, Server Manager, members, Current Players. Average and Game Server Rank. I've …

Member Avatar for diafol
0
1K
Member Avatar for Ronnie.Sk1ttl3s.Eke

**I really don't know what to do, and I really need the page. Please help me, thank you so much!** **The Error Code I get:** http://pastebin.com/wry2UuTA **The page code:** http://pastebin.com/xf9Ww5YS**

Member Avatar for Ronnie.Sk1ttl3s.Eke
0
307
Member Avatar for Xufyan

Hello, I am having trouble fetching content from a web-page, actually i wanted to fetch all the inner text from div name 'displaybody' but my code doesn't seems working, it is fetching all the content of the page and after 4 page successfully fetched i get an error, [CODE][B]Fatal error: …

Member Avatar for LastMitch
0
185
Member Avatar for mathieu89

Hi All, This has become a very tedious process and I am hoping someone can help me simplify things. I run the below php command to retreive all the stock prices and then it prints it to the screen like this: stockcode price AAA $1 BBB $2 CCC $3 It …

Member Avatar for broj1
0
3K
Member Avatar for zachmandude32

First off, I'm not sure if this the appropriate place to post this question, but I thought I would just try anyway :?: I was wondering if anyone had any fun APIs that I could use basic authentication more specifically cURL. I you used to be able to use basic …

Member Avatar for Dani
0
220
Member Avatar for deepak.fugo

Hi All, We 've 20 promotional websites and we want to centralize the contact us form. We have contact us form that is kept in Server 2 and all the other web sites kept in server 1, now i need to include the contactus form server1 inside server 2 websites. …

Member Avatar for radow
0
195
Member Avatar for adishardis

I'm trying to get an xml file from an ftp and then insert select data into mysql db. I'm shooting in the dark but from googling this is what i've tried so far: $curl = curl_init(); $file = fopen("import.xml", 'w'); curl_setopt($curl, CURLOPT_URL, "ftp://company@company.company.se/company/import.xml"); #input curl_setopt($curl, CURLOPT_FILE, $file); #output curl_setopt($curl, CURLOPT_USERPWD, …

Member Avatar for adishardis
0
475
Member Avatar for adishardis

Hi, I, getting a new xml file everyday to one of our external ftp servers. I want to get that file and then insert select data into my mysql. What I'm thinking is that I would use curl to get the file, then simplexml and then insert into database. But …

Member Avatar for adishardis
0
216
Member Avatar for joshl_1995

Hello Community, I was wondering why won't cURL work on my webstie when i says cURL is supported.

Member Avatar for joshl_1995
0
250
Member Avatar for Echo89

Here is a fully working PHP page viewer, set the variables $pages[] = "ANY URL HERE"; to suit your needs, and change the variable $max = 10; to however many views you want for each $page. -Echo

Member Avatar for Echo89
1
449
Member Avatar for kshahnazari

I'm new to php and I'm trying to download a webpage text(no need to seperate the data with elements or things like that). Could someone Give a simplized php program (using curl) so I can Get to know it more like the syntax things . for example could someone download …

Member Avatar for pritaeas
0
371
Member Avatar for filch

Hello, been a while since I have been here but I am working on something that has me stumped and I have not been able to solve it nor find an answer that does what I need to do. I have a form that is usually sent to an external …

Member Avatar for diafol
0
230
Member Avatar for ganesh641

I am using curl function to login my web site using the Gmail username and password. Its working fine in my local environment but once i moving that file into my client server it returns the response **"HTTP/1.1 401 Unauthorized"**. provied some solution here is my curl function code for …

Member Avatar for veedeoo
0
5K
Member Avatar for akvlko

Hi Friends, I am working on a project which have the below requirements: 1. Each module can have a communication medium with other world as an API. 2. A router will be there to communicate with each of the module via their APIs using CURL or anything else. 3. Each …

Member Avatar for LastMitch
1
263
Member Avatar for amzu

I want to download the cities of countries depending upon the the selection of countries.Is this posssible using curl. And How?

Member Avatar for pritaeas
0
71
Member Avatar for mr-cracker

Hello, I'm trying to automate downloading from turbobit.net through php, i login successfully and get all the cookies. then when i try to intiate another connection to download a file i get these headers back > HTTP/1.1 200 OK Date: Thu, 26 Jul 2012 17:44:02 GMT Content-Type: text / html; …

Member Avatar for sftranna
0
805
Member Avatar for anevins

Hello, I can't use CURL, $ch = curl_init(); I get the error > Fatal error: Call to undefined function curl_init() I've used `phpinfo()` and found the php.ini directory, > Loaded Configuration File D:\wamp\bin\apache\apache2.2.22\bin\php.ini I've then edited the php.ini file from that directory and removed the semi-colon in-front of extension=php_curl.dll Restarted …

Member Avatar for anevins
0
9K
Member Avatar for farooq82

Hello All, I am creating a nagios that will automatically login to my website and display result in Nagios. Currenlty I am able to login using script but my PHP Curl script return full HTML code after login thourgh curl. here is my script. <?php $id = "username"; $pw = …

Member Avatar for Mona3
0
190
Member Avatar for hr.Ziggurat

Hi. i'm trying to login to an asp login page via php and curl... i wrote this code by google help. i expect see originale login page whith invalid username and password message , but i see only 'Object moved to here.' error. <?php $urlLogin = "http://xxxx/LoginPage.aspx"; $nameUsername='txtUsername'; $namePassword='txtPassword'; $valUsername …

Member Avatar for hr.Ziggurat
0
2K
Member Avatar for hmartinez

Hi, I am using curl to download files from the internet and it is working fine. The problem is that I am trying to check if the file exists before downloading it. I was thinking that if the file doesn't exist, then I would receive a CURLcode with and error, …

Member Avatar for hmartinez
0
957
Member Avatar for IndianaRonaldo

I started with curl and now I'm able to post form data, obtain html pages and all that basic stuff. But I'm unable to analyse individual data in the obtained webpage. Like filtering all the images, videos and things like that. I can do that in Javascript, but that can …

Member Avatar for mustafaneguib
0
239
Member Avatar for 9tontruck

Hi guys, I need to parse JSON data from an HTTPS protocol so I downloaded and integrated libcurl into my VS2010. Everything works fine and sample codes work fine when I use "http" protocol. However, a CURL error keeps coming out when I try to read from "https" protocol.... The …

Member Avatar for 9tontruck
0
3K
Member Avatar for ITech

can anyone tell me whats wrong in the following code. <?php $username="******"; //To test type ure gmail email $password="****"; //type ur gmail passwd $url="https://accounts.google.com/ServiceLogin?service=mail&passive=true&rm=false&continue=https://mail.google.com/mail/&ss=1&scc=1&ltmpl=default&ltmplcache=2"; $cookie="cookie.txt"; $postdata = "Email=".$username."&Passwd=".$password; $ch = curl_init(); curl_setopt ($ch, CURLOPT_URL, $url); curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt ($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) …

Member Avatar for veedeoo
0
1K
Member Avatar for DaveyMoyes

Hi everyone, I have been trying to code a facebook application using the API. Within this, I am required to include the base_facebook.php file. But I keep gertting an error Fatal error: Uncaught OAuthException: An active access token must be used to query information about the current user. thrown in …

Member Avatar for veedeoo
0
3K
Member Avatar for saadi06

Hi, I am trying to integrate phpbbforum in my website. I have been successfull in adding the data of the user in the table of my website as well as my form user table.Now I am trying to make a single sign in for the user. It means that if …

Member Avatar for pritaeas
0
219
Member Avatar for missil9

Hey I have been kicking myself with this problem for a week now and i was wondering if anyone can help. I am implementing cURL to fetch source code from a website. I am using fairly common code to do so. If I implement the functionality in my main.cpp, it …

Member Avatar for missil9
0
176

The End.