PHP (CURL) Example

<form name="this_form" method="post" action="<?=$PHP_SELF;?>">
Address Like: Zip Code:    
<input type="hidden" id="account_number" name="account_number" value="0123456789">
<input type="hidden" id="user_id" name="user_id" value="">
<input type="hidden" id="pass_word" name="pass_word" value="wilma">

<? if( $_POST ){ /* validate your data */ $data = http_build_query($_POST); $ch = curl_init(); curl_setopt($ch,CURLOPT_URL,""); curl_setopt($ch,CURLOPT_POST, 1); curl_setopt($ch,CURLOPT_POSTFIELDS,$data); curl_setopt($ch,CURLOPT_RETURNTRANSFER,1); curl_setopt($ch,CURLOPT_FOLLOWLOCATION, 1); $curl_str = curl_exec($ch); curl_close($ch); try { @$xml = new SimpleXMLElement($curl_str); if( !$xml ){ $error = "Houston... We have another problem... Invalid XML String"; throw new Exception($error); } }catch(Exception $e){ printf("<font color=\"red\">Error</font>: %s\n",$e); die(); } $error_flag = sprintf("%b",$xml->error_flag); $error_message = sprintf("%s",$xml->error_message); $rows = sprintf("%s",$xml->rows); if( $error_flag ){ printf("<font color=\"red\">Error</font>: %s\n",$error_message); die(); } foreach( $xml->row as $row ){ printf("%s\n",$row->esiid); printf("%s\n",$row->address); printf("%s\n",$row->city); ...................... } } ?>
That's all there is to it.

Not Logged In

Services include: Load Forecasting,Natural Gas Strips, and Heat Rates.   Texas Competitive Retail Electric Providers (CREPS): Zurvita,Ignite,,,,Amigo Energy, APNA Energy, Champion Energy, Cirro Energy, Commerce Energy, Direct Energy, Dynowatt, Econnergy Energy Company, First Choice Power, Gexa Energy, Green Mountain Energy, Hudson Energy Services, MXenergy, National Power Company, Nueces Electric Co-op Retail Division, OnPAC Energy, Pegasus Alliance Corporation, Reliant Energy, Spark Energy, StarTex Power, Stream Energy, Texpo Energy, TXU Energy, and YEP.  The Power to Choose,  ESIID, ESI ID, ESIID, ESI-ID Lookup Online,esi number,  ERCOT,   Texas Electric Choice,  Texas Electricity Deregulation.