Tagged Questions
0
votes
0answers
10 views
How to minimize memory consumption from PHP Spider when using curl_multi_getcontent()?
I hope someone can help me out with this. I'm currently writing a spider function in PHP that recursively crawls across a website (via links it finds on the site's pages) up until a pre-specified ...
0
votes
1answer
19 views
Replacing CURL with urlfetch in PHP
I'm creating an application for Google App engine, where CURL isn't allowed.
As far as I know, urlFetch is the best alternative.
I don't know if I can achieve the same result with urlFetch, but I ...
0
votes
1answer
16 views
cURL in PHP doesn't always follow redirects
I have this code:
for($i = $start; $i <= $end ; $i++)
{
$url = "http://xxx.co.il/yyy?zzz=$i";
$ch = curl_init();
curl_setopt ($ch, CURLOPT_URL, $url);
...
0
votes
0answers
10 views
stream_get_line dont read line as it arrives
I'm trying to read a streaming data using PHP.
So I would like to read and show every message posted from a server in real time.
I assume that $uri, $context from the code snipped are correctly ...
0
votes
0answers
6 views
PHP - MultiGet library - saving the results of parallel cURL downloads
I am trying to scrape a website for images in parallel and save them all to the disk using file_put_contents. I am using this multi-cURL library called MultiGet.
For some reason only one of the ...
0
votes
0answers
21 views
Login to a router using php curl
Hi i am trying to use curl to create an automated login to the address of my router and printer so I can just click a link rather than put a password in every time. The problem i think may be actually ...
0
votes
2answers
16 views
How to run the PHP and/or CodeIgniter function continuously
I am working on the location-based social networking website where I am integrating the foursquare. I have used login with the foursquare, whenever the user login with his foursquare account I get his ...
0
votes
0answers
28 views
Showing content in tabs but using different content
So i'm trying to create a page using tabs. Clicking on a tab needs to show the page where the tab is linked to ( #tab1 --> tab). I got like 28 links and all are name's but they are all also with a id ...
1
vote
0answers
12 views
Curl, submitting form with __multiselect parameter
I'm trying to submit a (java servlet) form using CURL in PHP, but it seems like there is a problem with the parameters. I cant really understand why its happening since I'm testing the CURL with a ...
1
vote
1answer
25 views
Read file content and place it on vars
I would like to know how to read this file:
http://persosalas.enteratenorte.com/albums/xvtrejo/album.dat
And place some of the values in PHP vars
I know you have to use the file_get_contents ...
3
votes
1answer
24 views
Perform soap request via https with self-signed certificate by cURL
I'm trying to perform soap request to web-service written on C# via https. Server uses self-signed certificate.
After many failed attempts with usage of SoapClient I decided to use pure cURL to ...
0
votes
1answer
30 views
cURL not working
I have been having some issue using a php cURL script. It worked fine on my localhost, but it does not work on my server. My server can successfully execute other curl script except this one.
This ...
0
votes
1answer
25 views
PHP - Linebreaks are missing after posting
I'm posting a message like the one below to Facebook via PHP cURL:
Hello world
This is a test
#hash
The entry on the Facebook wall is missing the linebreaks - the text looks like this:
Hello ...
1
vote
1answer
60 views
CURL call works in terminal, but it won't in PHP
I've been searching through extensively, but couldn't find any topics which are really related to my problem, so I decided to ask a new question...
I'm trying to issue a batch request to the Facebook ...
1
vote
0answers
26 views
Selenium-WebDriver with PHP returns {“ELEMENT”:“0”} on all element findings
I have an Ubuntu server running on a VPS with LXDE and Firefox been installed. Also I've started Selenium server using this command:
java -jar selenium-server-standalone-2.33.0.jar
it is now ...