[UPHPU] PHP reading html

Webot Graphics graphics at westernbotanicals.com
Thu Apr 19 11:28:26 MDT 2007


I am trying to read a page from DHL (or a service that sells DHL)  
with cURL, but nothing is displaying on the page. This could be  
because the page uses javascript. I don't know cURL very well (I have  
only been playing with it for an hour). This is the link    
forodeherbales.com/logshipped.php

here is the actual file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Log Shipped</title>
<meta http-equiv="content-type"
    content="text/html; charset=iso-8859-1" />
</head>
<body bgcolor="#FFF2D4">
<?php
// curl3.php

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https:// 
*******:******@www.wwexship.com/wwxchange/ShipmentHistory.jsp? 
type=customer');

curl_exec($ch);
curl_close($ch);

?>
</body>
</html>



Justin Giboney
www.forodeherbales.com





More information about the UPHPU mailing list