using the base tag is a solution to your problem if the links are relative..
http://www.w3schools.com/TAGS/tag_base.asp
but I am not sure if base tag works outside html/html
try... base href=URL/base before curl_init()
where URL is parsed using PHP's parse_url() function on http://example.com
On Fri, 2009-10-02 at 12:51 +0530, kranthi wrote:
using the base tag is a solution to your problem if the links are relative..
http://www.w3schools.com/TAGS/tag_base.asp
but I am not sure if base tag works outside html/html
try... base href=URL/base before curl_init()
where URL is
Some browser security settings may not allow you to run Javascript code
that exists on another server though
not many users use those kind of browsers, because if they do most of
the websites which use CDNs will not work.
Firstly, it is not a good idea to fetch an entire web page and snow it
to
On Fri, 2009-10-02 at 15:59 +0530, kranthi wrote:
not many users use those kind of browsers, because if they do most of
the websites which use CDNs will not work.
I've read that the upcoming Firefox 4 may have some features built in
for this sort of thing, and there are plugins out there for
I've read that the upcoming Firefox 4 may have some features built in
for this sort of thing, and there are plugins out there for most
browsers that can do this as an added layer of security.
Sorry but I could not understand what you meant by this
coming back to original problem... you should
On Fri, 2009-10-02 at 18:07 +0530, kranthi wrote:
I've read that the upcoming Firefox 4 may have some features built in
for this sort of thing, and there are plugins out there for most
browsers that can do this as an added layer of security.
Sorry but I could not understand what you meant
Hi, I am doing a basical curl call and can get the webpage I want. However
when it prints to the screen, it only prints the text, not css or any
javascript calls that run on page load.
Is there a way to make it do that?
thanks
using a basic curl call
$curl_handle=curl_init();
On Thu, Oct 01, 2009 at 04:37:14PM -0700, gbhumphrey wrote:
Hi, I am doing a basical curl call and can get the webpage I want. However
when it prints to the screen, it only prints the text, not css or any
javascript calls that run on page load.
Is there a way to make it do that?
thanks
gbhumphrey wrote:
Hi, I am doing a basical curl call and can get the webpage I want. However
when it prints to the screen, it only prints the text, not css or any
javascript calls that run on page load.
Is there a way to make it do that?
thanks
using a basic curl call
$curl_handle=curl_init();
Ok, lets say I have some code here:
$result = array();
$ch = curl_init (https://www.myverificationplace.com/verify.asp;);
curl_setopt ($ch, CURLOPT_POST, 1);
curl_setopt ($ch, CURLOPT_POSTFIELDS, $args);
curl_setopt ($ch, CURLOPT_TIMEOUT, 120); // Set the timeout, in seconds.
curl_setopt ($ch,
This is an revision of my previous message:
Ok, lets say I have some code here:
$result = array();
$ch = curl_init (https://www.myverificationplace.com/verify.asp;);
curl_setopt ($ch, CURLOPT_POST, 1);
curl_setopt ($ch, CURLOPT_POSTFIELDS, $args);
curl_setopt ($ch, CURLOPT_TIMEOUT, 120); //
to use strtok() or
strpos()/substr()
HTH
Martin
-Original Message-
From: Keith Posehn [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 20, 2002 9:22 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Curl output to an array -- HELP!! -- Appended
This is an revision of my previous message:
Ok
On Wed, 20 Mar 2002, Martin Towell wrote:
(this code not tested)
?
$res_arr = explode(\n, $result);
$res_num = count($res_arr);
for ($i = 0; $i $res_num; $i++)
{
list($k, $v) = explode(=, $res_arr[$i]);
$$k = $v;
}
?
this isn't going to work properly if the value part has an =
13 matches
Mail list logo