cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: What kind of output is this?

From: David Colter <dolan2go_at_yahoo.com>
Date: Mon, 9 Jun 2008 21:01:21 -0400

On Jun 9, 2008, at 8:16 PM, Colleen R. Dick wrote:

> What do you see in viewsource when you just go to the page directly
> with a browser?

HTML with some javascript. Here's the first few lines:

<!--START:INC\common\include.asp-->
<!--START:INC\common\errorfns.asp-->

<!--END:INC\common\errorfns.asp--><!--START:INC\common
\newconstant.asp-->

<!--END:INC\common\newconstant.asp--><!--START:INC\common
\securityfns.asp-->

<!--END:INC\common\securityfns.asp--><!--START:INC\common
\newptintllocales.asp-->

<!--END:INC\common\newptintllocales.asp-->

<!--START:INC\common\newptintl.asp-->

<!--END:INC\common\newptintl.asp-->

<!--START:INC\common\newutility.asp-->

<!--END:INC\common\newutility.asp-->
<!--END:INC\common\include.asp--><script language="JavaScript" src="/
jetnet/common/JScriptFunctions/
SetFocus_FineGround_sihdwetva0wvv2eujmao3cv5t_FGN_V01.js"></script>
<SCRIPT LANGUAGE="javascript" SRC="/jetnet/common/JScriptFunctions/
ManageWindows_FineGround_golnu5ljm4l3mrx0z44iyifua_FGN_V01.js"></SCRIPT>
<!--START:INC\common\beginpageinternal.asp-->

<script language=JavaScript>
var Start = new Date();
function NoteTime()
{
        var Stop = new Date();
        Diff = Stop.getTime() - Start.getTime();
        //alert(Diff);
}
</script>

<html>
<head>

        <title>Jetnet - Jetnet Home</title>

...... and so on for 32000 characters. It's the home page I'm looking
for, but I can't read it in the browser when it's returned completely
by curl_exec. That's why I was wondering if it's the encoding or
something.

Thanks for your reply, Colleen. Any ideas?

David Colter

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2008-06-10