Navigate
Home
ArticleWiki
Forum
Journal
Search
Newsletter
Links
Tech News
expertsrt.com
Welcome Guest.
Username:

Password:

Remember me

cURL not working
Welcome, Guest. Please login or register.
January 09, 2009, 06:32:24 AM
11313 Posts in 1251 Topics by 508 Members
Latest Member: pissematbox
Experts Round Table Network  |  Serverside Technology  |  PHP  |  cURL not working « previous next »
Pages: 1 [2]
Author Topic: cURL not working  (Read 2388 times)
CrYpTiC_MauleR
Site Builder

Offline Offline

Posts: 489



WWW
« Reply #15 on: April 19, 2007, 04:30:00 PM »

could you post the link to the forms page on Norvax's site so we can test too.
Logged

[x] Fight | www.crypticmauler.com
"You must be
tableman

Offline Offline

Posts: 26


« Reply #16 on: April 19, 2007, 05:59:28 PM »

I will have to see if I can get a test account number when they open tomorrow because it won't work without an account number.
« Last Edit: April 19, 2007, 06:54:54 PM by tableman » Logged
tableman

Offline Offline

Posts: 26


« Reply #17 on: April 20, 2007, 05:12:01 PM »

No test account number is available.

They would have to set up a dummy account and unless I pay them $175 an hour, they are unwilling to do it.

They said they don't check for anything except the mandatory hidden fields, but the person who really knows is not in until Monday.

"add perhaps the form encoding ?"

Since the following is in the code,

$postData[$variable]=urlencode($_REQUEST[$variable]);

what else would be done to "add... form encoding?
« Last Edit: April 20, 2007, 10:06:00 PM by tableman » Logged
tableman

Offline Offline

Posts: 26


« Reply #18 on: April 24, 2007, 10:30:06 PM »

Using

Code:
echo "location:$siteUrl";

shows that no values are going into the query string, even though they may print.

So this curl exercise still does not work.  What does it take  to make it work?  Who knows?

Fortunately, I now have an alternative (no curl):

Code:
<?php
$siteUrl="http://receivingsite/receivingfile.jsp?";

foreach($_POST as $key => $value)
{
$url .="$key=" . urlencode($value) . "&";
}
header ("Location: $siteUrl");
//echo "location:$siteUrl";
?>

It works.

Solved!
Logged
VGR
Mentor

Offline Offline

Posts: 684



WWW
« Reply #19 on: April 24, 2007, 11:29:07 PM »

it was as I wrote first : using GET is easier...
Logged

techie overlord, answers all kind of questions on http://www.europeanexperts.org
Pages: 1 [2]
« previous next »
    Jump to: