cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: About Response printing through curl

From: Ajeet kumar.S <ajeetkumar.s_at_jasmin-infotech.com>
Date: Wed, 14 May 2008 10:28:12 +0530

Hi All;

            Thanks to Daniel Stenberg for his help. As you told me disable
verbose, then I set #undef CURL_DISABLE_VERBOSE_STRINGS in config file and
tried to connect www.paypal.com <http://www.paypal.com/> . Then also I saw
given below response was printing automatically in output window of VDSP.

            

//--------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
--//

            Reached in stat function<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML
4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

            <html>

            <head>

            <meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">

            <!--

                                    Script info: script: webscr, cmd: _home,
template: xpt/cps/homepage/MainHome, date: May 5, 2008 07:02:35 PDT;
country: US, language: en_US, xslt server:

                                    web version: 51.5-573706 branch:
AHOD_515_0429_int

                                    content version: 51.5-563725

                                    pexml version: 51.5-568983

                                    page XSL:
cps/default/en_US/homepage/MainHome.xsl

                   hostname : -FTCdlz9MWEZH3icVbiw8FFaeYGpdbFxDK5AdOvSWBA

            -->

            <title>Online Payment, Merchant Account - PayPal</title>

            <meta name="keywords" content="online payment, online payments,
payment, payments, merchant account, online merchant account, credit card
merchant account, merchant, merchants, merchant account service, merchant
account services, internet merchant account">

            <meta name="description" content="PayPal is the safer, easier
way to make an online payment or set up a merchant account.">

            <link media="screen" rel="stylesheet" type="text/css"
href="https://www.paypalobjects.com/WEBSCR-515-20080430-1/css/core/core.css"
>

            <link media="print" rel="stylesheet" type="text/css"
href="https://www.paypalobjects.com/WEBSCR-515-20080430-1/css/core/print.css
">

            <link media="screen" rel="stylesheet" type="text/css"
href="https://www.paypalobjects.com/WEBSCR-515-20080430-1/css/marketing/mark
eting.css">

            <!--[if gt IE 6]><link media="screen" rel="stylesheet"
type="text/css"
href="https://www.paypalobjects.com/WEBSCR-515-20080430-1/css/browsers/ie7.c
ss"><![endif]-->

            

            <!--[if lte IE 6]><link media="screen" rel="stylesheet"
type="text/css"
href="https://www.paypalobjects.com/WEBSCR-515-20080430-1/css/browsers/ie6.c
ss"><![endif]-->

            

            <!--[if lt IE 6]><link media="screen" rel="stylesheet"
type="text/css"
href="https://www.paypalobjects.com/WEBSCR-515-20080430-1/css/browsers/ie5.c
ss"><![endif]-->

            <script type="text/javascript"
src="https://www.paypalobjects.com/WEBSCR-515-20080430-1/js/lib/yui-0.12/yah
oo-dom-event.js"></script><script type="text/javascript"
src="https://www.paypalobjects.com/WEBSCR-515-20080430-1/js/lib/pui/pui-0.1/
paypal.js"></script><script type="text/javascript"
src="https://www.paypalobjects.com/WEBSCR-515-20080430-1/js/lib/pui/pui-0.1/
util/flash.js"></script><script type="text/javascript"
src="https://www.paypalobjects.com/WEBSCR-515-20080430-1/js/rosettaLang.js">
</script><link rel="shortcut icon"
href="https://www.paypalobjects.com/WEBSCR-515-20080430-1/en_US/i/icon/pp_fa
vicon_x.ico">

            </head>

            <body>

            <noscript><p class="nonjsAlert">NOTE: Many features on the
PayPal Web site require Javascript and cookies. You can enable both via your
browser's preference settings.</p></noscript>

            <div class="outside home" id="page">

            <div class="srd" id="header">

            <h1><a
href="https://www.paypal.com/us/cgi-bin/webscr?cmd=_home"><img border="0"
src="https://www.paypal.com/en_US/i/logo/paypal_logo.gif"
alt="PayPal"></a></h1>

            <form method="post" id="searchForm" name="searchForm"
action="https://www.paypal.com/us/cgi-bin/searchscr?cmd=_sitewide-search">

            <fieldset>

            <legend>Search PayPal</legend>

            <label for="searchBox">Search </label><input type="text"
id="searchBox" name="queryString" value=""> <input class="button"
type="submit" id="search.x" name="search.x" value="Search">

            </fieldset>

            <input name="form_charset" type="hidden" value="UTF-8">

            </form>

            <div class="srd" id="navGlobal"><ul>

            <li class="first signup"><a
href="https://www.paypal.com/cgi-bin/webscr?cmd=_registration-run">Sign
Up</a></li>

            <li class="login"><a
href="https://www.paypal.com/cgi-bin/webscr?cmd=_login-run">Log In</a></li>

            <li><a
href="https://www.paypal.com/us/cgi-bin/helpweb?cmd=_help">Help</a></li>

            <li class="last"><a
href="https://www.paypal.com/us/cgi-bin/webscr?cmd=_security-center-outside"
>Security Center</a></li>

            </ul></div>

            <form class="rosetta" id="rosetta" method="post"
action="https://www.paypal.com/cgi-bin/webscr?cmd=_home&amp;dispatch=5885d80
a13c0db1f822cfe4b06d0ea2b4eee6d2d0c9cb9d63b82c5c6e6c9275b">

            <fieldset>

            <legend>Change Your Language</legend>

            <label for="rosetta_dropdown">Language Select</label><select
id="rosetta_dropdown" name="locale.x"><option value="en_US" selected>U.S.
English</option>

            <option value="es_XC">Espa ol</option>

            <option value="fr_XC">Fran ais</option>

            <option value="zh_XC">
</option></select><button type="submit" name="testName"
value="testValue"><img
src="https://www.paypalobjects.com/WEBSCR-515-20080430-1/en_US/i/btn/btn_cir
clewitharrow.gif" border="0" alt=""></button><input type="hidden"
id="change_locale_x" name="change_locale.x" value="1">

            </fieldset>

            <input name="form_charset" type="hidden" value="UTF-8">

            </form>

            </div>

            <div id="navPrimary" class="srd"><ul>

            <li class="active"><a
href="https://www.paypal.com/cgi-bin/webscr?cmd=_home-general&amp;nav=0"
onClick="s=s_gi('paypalglobal'); s.tl(this,'o','SRD:Nav:L5');">Home</a></li>

            <li><a
href="https://www.paypal.com/cgi-bin/webscr?cmd=_home-customer&amp;nav=1"
onClick="s=s_gi('paypalglobal');
s.tl(this,'o','SRD:Nav:L8');">Personal</a></li>

            <li><a
href="https://www.paypal.com/cgi-bin/webscr?cmd=_home-merchant&amp;nav=2"
onClick="s=s_gi('paypalglobal');
s.tl(this,'o','SRD:Nav:O3');">Business</a></li>

            <li><a
href="https://www.paypal.com/cgi-bin/webscr?cmd=xpt/Marketing/general/Produc
tsandServices-outside&amp;nav=3" onClick="s=s_gi('paypalglobal');
s.tl(this,'o','SRD:Nav:S9');">Products &amp; Services</a></li>

            </ul></div>

            <hr>

            <div id="content">

            <div class="sidebar box login">

            <div class="header"><h2>Account login</h2></div>

            <div class="body"><form method="post" name="login_form"
action="https://www.paypal.com/us/cgi-bin/webscr?cmd=_login-submit&amp;dispa
tch=5885d80a13c0db1f822cfe4b06d0ea2b4eee6d2d0c9cb9d63b82c5c6e6c9275b">

            <fieldset>

            <legend>Member Log In</legend>

            <p><label for="login_email">Email address</label><input
type="text" id="login_email" name="login_email" value=""></p>

            <p><label for="login_password">PayPal password</label><input
autocomplete="off" type="password" id="login_password" name="login_password"
value=""><script type="text/javascript">

            <!--hide from JavaScript-challenged browsers

            YAHOO.util.Event.addListener(window, "load", function(){

            document.login_form.login_password.focus();

            if (document.login_form.login_email.value == '') {

            document.login_form.login_email.focus();

            }

            });

            // done hiding -->

            </script></p>

            <input type="submit" name="submit.x" value="Log In"
class="button primary">

            </fieldset>

            <p>Forgot your <a
href="https://www.paypal.com/us/cgi-bin/webscr?cmd=_email-recovery">email
address</a> or <a
href="https://www.paypal.com/us/cgi-bin/webscr?cmd=_forgot-password&amp;from
=PayPal">password</a>?</p>

            <p>New to PayPal? <strong><a
href="https://www.paypal.com/us/cgi-bin/webscr?cmd=_registration-run">Sign
up</a></strong>.</p>

            <input name="form_charset" type="hidden" value="UTF-8">

            </form></div>

            </div>

            <div class="main">

            <div class="zone">

            <div id="hero"><img
src="https://www.paypalobjects.com/WEBSCR-515-20080430-1/en_US/i/header/hdr_
home_560x228.jpg" border="0" alt=""></div>

            <script
type="text/javascript">PAYPAL.util.Flash.insertFlash("https://www.paypalobje
cts.com/WEBSCR-515-20080430-1/en_US/m/hero/hero.swf?XMLfile=heroHome.xml&img
BasePath=https://www.paypalobjects.com/WEBSCR-515-20080430-1/en_US/m/hero/&l
inkBasePath=https://www.paypal.com/", 560, 228, "hero", true, 7)</script>

            </div>

            <div class="subhead"><div>

            <p>Pay With: </p>

            <ul>

            <li><img border="0"
src="https://www.paypalobjects.com/WEBSCR-515-20080430-1/en_US/i/logo/logo_c
cVisa.gif" alt="Visa"></li>

            <li><img border="0"
src="https://www.paypalobjects.com/WEBSCR-515-20080430-1/en_US/i/logo/logo_c
cMC.gif" alt="Mastercard"></li>

            <li><img border="0"
src="https://www.paypalobjects.com/WEBSCR-515-20080430-1/en_US/i/logo/logo_c
cAmex.gif" alt="American Express"></li>

            <li><img border="0"
src="https://www.paypalobjects.com/WEBSCR-515-20080430-1/en_US/i/logo/logo_c
cDiscover.gif" alt="Discover"></li>

            <li><img border="0"
src="https://www.paypalobjects.com/WEBSCR-515-20080430-1/en_US/i/logo/logo_c
cBank.gif" alt="Bank"></li>

            </ul>

            </div></div>

            <div class="zone simpleList">

            <div class="box">

            <h3>Pay online</h3>

            <ul>

            <li>

            <a
href="https://www.paypal.com/us/cgi-bin/webscr?cmd=xpt/cps/general/NewConsum
erWorks-outside">Speed through checkout</a> whenever you shop online.</li>

            <li>

            <a
href="https://www.paypal.com/us/cgi-bin/webscr?cmd=xpt/cps/securitycenter/bu
y/Privacy-outside">Pay without revealing</a> your credit card
information.</li>

            <li>

            <a
href="https://www.paypal.com/us/cgi-bin/webscr?cmd=_send-money">Send
money</a> to your friends and family.</li>

            </ul>

            <p>Learn more about <strong><a
href="https://www.paypal.com/us/cgi-bin/webscr?cmd=_home-customer">paying
with PayPal</a></strong>.</p>

            </div>

            <div class="box">

            <h3>Sell online</h3>

            <ul>

            <li>

            <a
href="https://www.paypal.com/us/cgi-bin/webscr?cmd=_wp-standard-overview-out
side">Accept credit cards</a> quickly and easily.</li>

            <li>

            <a
href="https://www.paypal.com/us/cgi-bin/webscr?cmd=_additional-payment-overv
iew-outside">Lift your sales</a>. Add PayPal to attract more customers.</li>

            <li>

            <a
href="https://www.paypal.com/us/cgi-bin/webscr?cmd=_auction-outside">Get
tools</a> to make eBay sales simple.</li>

            </ul>

            <p>Learn more about <strong><a
href="https://www.paypal.com/us/cgi-bin/webscr?cmd=_home-merchant">selling
with PayPal</a></strong>.</p>

            </div>

            </div>

            <div class="zone"><div class="box"><div class="MktMPI"
id="500021"><SCRIPT LANGUAGE="JavaScript">

            ord=Math.random();

            ord=ord*10000000000000000000;

            document.write('<SCR' + 'IPT LANGUAGE="JavaScript"
SRC="https://ad.doubleclick.net/adj/paypal.us/NewUserHome-outside;lang=en_us
;tile=1;sz=520x70;ord='+ord+'?"><\/SCR' + 'IPT>');

            </SCRIPT>

            <NOSCRIPT>

            <A
HREF="https://ad.doubleclick.net/jump/paypal.us/NewUserHome-outside;lang=en_
us;tile=1;sz=520x70;ord=123456789?" TARGET="_blank">

            <IMG
SRC="https://ad.doubleclick.net/ad/paypal.us/NewUserHome-outside;lang=en_us;
tile=1;sz=520x70;ord=123456789?" WIDTH="520" HEIGHT="70" BORDER="0"
ALT=""></A>

            </NOSCRIPT>

            <br></div></div></div>

            </div>

            <div class="sidebar box resources">

            <div class="header"><h3>Top questions</h3></div>

            <div class="body"><ul>

            <li><a
href="https://www.paypal.com/helpscr?cmd=_help&amp;locale=en_US&amp;countryc
ode=US&amp;_dyncharset=UTF-8&amp;t=solutionTab&amp;ps=solutionPanels&amp;sol
utionId=13136">Why use PayPal when I have credit cards?</a></li>

            <li><a
href="https://www.paypal.com/helpscr?cmd=_help&amp;locale=en_US&amp;countryc
ode=US&amp;_dyncharset=UTF-8&amp;t=solutionTab&amp;ps=solutionPanels&amp;sol
utionId=38429">What can I do with PayPal?</a></li>

            <li><a
href="https://www.paypal.com/helpscr?cmd=_help&amp;locale=en_US&amp;countryc
ode=US&amp;_dyncharset=UTF-8&amp;t=solutionTab&amp;ps=solutionPanels&amp;sol
utionId=13138">Is PayPal free to use?</a></li>

            </ul></div>

            </div>

            </div>

            <hr>

            <div id="footer" class="srd">

            <h5 class="accessAid">More Information</h5>

            <ul>

            <li class="first"><a
href="http://www.paypal-media.com/aboutus.cfm">About Us</a></li>

            <li><a
href="https://www.paypal.com/us/cgi-bin/helpscr?cmd=_help&amp;t=escalateTab"
>Contact Us</a></li>

            <li><a
href="http://www.paypal.com/us/cgi-bin/webscr?cmd=_display-fees-outside">Fee
s</a></li>

            <li><a
href="https://www.paypal.com/us/cgi-bin/webscr?cmd=p/gen/jobs-outside">Jobs<
/a></li>

            <li><a
href="https://www.paypal.com/us/cgi-bin/webscr?cmd=_home-merchant">Merchant
Services</a></li>

            <li><a
href="https://www.paypal.com/us/cgi-bin/webscr?cmd=_display-country-function
ality-outside">Worldwide</a></li>

            <li class="last">

            <!-- OnlineOpinionF3cS v3.0

            The following code is Copyright 1998-2006 Opinionlab, Inc.

            All rights reserved. Unauthorized use is prohibited.

            This product and other products of OpinionLab, Inc. are
protected by U.S. Patent No. US 6606581, 6421724, 6785717 B1 and other
patents pending.

            http://www.opinionlab.com-->

            <script type="text/javascript"
src="https://www.paypalobjects.com/WEBSCR-515-20080430-1/js/opinionlab/oo_en
gine.js"></script><script type="text/javascript">

                                                var feedback_link='Site
Feedback';

                                    O_GoT(feedback_link);

                                    custom_var='Unknown|SRD: Main
Home|US|en_US';_lG='en_US';_sp='%3A\\/\\/';_rp='%3A//'+_lG;</script>

            </li>

            </ul>

            <ul>

            <li class="first"><a
href="http://www.paypal.com/us/cgi-bin/webscr?cmd=p/gen/ua/policy_privacy-ou
tside">Privacy</a></li>

            <li>Our Blog</li>

            <li><a
href="http://www.paypal.com/us/cgi-bin/webscr?cmd=p/gen/ua/ua-outside">Legal
Agreements</a></li>

            <li class="last">eBay</li>

            </ul>

            <p id="footerSecure"><a target="_blank"
href="https://www.paypal.com/us/cgi-bin/webscr?cmd=xpt/User/popup/SecurityKe
yVIP-outside" onClick="PAYPAL.core.openWindow(event, {width: 425, height:
350})"><img border="0"
src="https://www.paypalobjects.com/WEBSCR-515-20080430-1/en_US/i/logo/logo_V
IPwhite_66x27.gif" alt=""></a></p>

            <p id="legal">Copyright 1999-2008 PayPal. All rights
reserved.</p>

            </div>

            <div id="navFull"><ul>

            <li class="active">

            <a
href="https://www.paypal.com/cgi-bin/webscr?cmd=_home-general&amp;nav=0"
onClick="s=s_gi('paypalglobal'); s.tl(this,'o','SRD:Nav:L5');">Home</a><ul>

            <li class="active">

            <a
href="https://www.paypal.com/cgi-bin/webscr?cmd=_home-general&amp;nav=0.0"
onClick="s=s_gi('paypalglobal'); s.tl(this,'o','SRD:Nav:W8');">Get
Started</a><ul>

            <li><a
href="https://www.paypal.com/cgi-bin/webscr?cmd=p/auc/new_ebay_buyer_intro-o
utside&amp;nav=0.0.0" onClick="s=s_gi('paypalglobal');
s.tl(this,'o','SRD:Nav:YX');">Why Use PayPal</a></li>

            <li><a
href="https://www.paypal.com/cgi-bin/webscr?cmd=xpt/cps/general/NewConsumerW
orks-outside&amp;nav=0.0.1" onClick="s=s_gi('paypalglobal');
s.tl(this,'o','SRD:Nav:YY');">How It Works</a></li>

            <li><a
href="https://www.paypal.com/cgi-bin/webscr?cmd=xpt/cps/general/NewConsumerS
afe-outside&amp;nav=0.0.2" onClick="s=s_gi('paypalglobal');
s.tl(this,'o','SRD:Nav:YZ');">Where to Shop With It</a></li>

            </ul>

            </li>

            <li><a
href="https://www.paypal.com/cgi-bin/webscr?cmd=_send-money&amp;nav=0.1"
onClick="s=s_gi('paypalglobal'); s.tl(this,'o','SRD:Nav:W2');">Send
Money</a></li>

            <li><a
href="https://www.paypal.com/cgi-bin/webscr?cmd=p/req/index-outside&amp;nav=
0.2" onClick="s=s_gi('paypalglobal'); s.tl(this,'o','SRD:Nav:W3');">Request
Money</a></li>

            <li><a
href="https://www.paypal.com/cgi-bin/webscr?cmd=_auction-outside&amp;nav=0.3
" onClick="s=s_gi('paypalglobal'); s.tl(this,'o','SRD:Nav:W4');">Sell on
eBay</a></li>

            <li><a
href="https://www.paypal.com/IntegrationCenter/ic_pdnHome.html"
onClick="s=s_gi('paypalglobal');
s.tl(this,'o','SRD:Nav:MS');">Developers</a></li>

            </ul>

            </li>

            <li><a
href="https://www.paypal.com/cgi-bin/webscr?cmd=_home-customer&amp;nav=1"
onClick="s=s_gi('paypalglobal');
s.tl(this,'o','SRD:Nav:L8');">Personal</a></li>

            <li><a
href="https://www.paypal.com/cgi-bin/webscr?cmd=_home-merchant&amp;nav=2"
onClick="s=s_gi('paypalglobal');
s.tl(this,'o','SRD:Nav:O3');">Business</a></li>

            <li><a
href="https://www.paypal.com/cgi-bin/webscr?cmd=xpt/Marketing/general/Produc
tsandServices-outside&amp;nav=3" onClick="s=s_gi('paypalglobal');
s.tl(this,'o','SRD:Nav:S9');">Products &amp; Services</a></li>

            </ul></div>

            <script type="text/javascript">

 
// This is an ugly hack until there is a reliable ondomready function

 
if(typeof PAYPAL != 'undefined'){

 
PAYPAL.core.Navigation.init();

 
}</script>

            </div>

            <script type="text/javascript"
src="https://www.paypalobjects.com/WEBSCR-515-20080430-1/js/iconix.js"></scr
ipt><script type="text/javascript"
src="https://www.paypalobjects.com/WEBSCR-515-20080430-1/js/pageBlockingUnsa
feBrowsers.js"></script><script type="text/javascript"
src="https://www.paypalobjects.com/WEBSCR-515-20080430-1/js/pp_naturalsearch
.js"></script><script type="text/javascript">

            <!--

            var ppns = new
PayPalNaturalSearch('https://www.paypal.com/cgi-bin/webscr?cmd=xpt/cps/homep
age/MainHome','3484-30830-12422-0',this.document);

                                                ppns.addEngines(new Array(

 
"A9.com",

 
".altavista.com",

 
"clusty.com",

 
"google.co.jp",

 
"google.co.kr",

 
"google.ru",

 
"www.google.com",

 
"icerocket.com",

 
"infospace.com",

 
"mooter.com",

 
"search.msn.",

 
"snap.com",

 
"search.yahoo.com",

 
"search.yahoo.co.jp"

 
,"www.overture.com/d/search/p/altavista/",

 
"aolsearch.aol.com",

 
"search.aol.com",

 
"web.ask.com",

 
"pictures.ask.com",

 
"images.google.com",

 
"groups.google.com",

 
"www.google.com/search",

 
"www.hotbot.com",

 
"search.netscape.com",

 
"s.teoma.com/",

 
"www.wisenut.com"

 
)); // End of aEngines array.

                                                ppns.init();

                                                -->

            </script><div id="ppwebapi"
class="advonqo.mha,hfb.lnb-k`ox`o-rdhsqdonqo"></div>

            <!-- SiteCatalyst Code

            Copyright 1997-2005 Omniture, Inc.

            More info available at http://www.omniture.com -->

            <script type="text/javascript"
src="https://www.paypalobjects.com/WEBSCR-515-20080430-1/js/site_catalyst/pp
_jscode_080706.js"></script>

            <script type="text/javascript">

            <!--

            /* SiteCatalyst Variables */

            s.prop1="xpt/cps/homepage/MainHome";

            s.prop7="Unknown";

            s.prop8="Unknown";

            s.prop9="Unknown";

            s.prop10="US";

            s.prop34="SRD User";

            s.pageName="SRD: Main Home";

            s.channel="SRD";

            s.prop50="en_US";

            s.prop18="";

            /************* DO NOT ALTER ANYTHING BELOW THIS LINE !
**************/

            var s_code=s.t();if(s_code)document.write(s_code)//--></script>

            <script type="text/javascript"><!--

 
if(navigator.appVersion.indexOf('MSIE')>=0)document.write(unescape('%3C')+'\
!-'+'-')

            //-->

            </script><noscript><img

 
src="//paypal.112.2O7.net/b/ss/paypalglobal/1/H.6--NS/0?pageName=NonJavaScri
pt"

            height="1" width="1" border="0" alt="" /></noscript>

            <!--/DO NOT REMOVE/-->

            

            <!-- End SiteCatalyst Code -->

            </body>

            </html>

//--------------------------------------------------------------------------
----------------------------------------------------------------------------
----------------------------------------------------------------------------
--//

            

Actually I don't want to print response. I want to print if any thing
require by myself using printf. Here I did not use write call to receive
response.

Please give me suggestion on this issue (to resolve printing issue).

 

 

 

Thank you.

Regards;

 

Ajeet Kumar Singh
Received on 2008-05-14

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET