Mam problem potrzebuje skryptu, który zaloguje się na stronę i pobierze jej kod html. Logowanie odbywa się przez formularz.
Z góry dziękuje z pomoc i pozdrawiam, Piotrek!
PS: Jest mi to bardzo potrzebne.
<?php $host = gethostbyaddr($_SERVER['REMOTE_ADDR']); # working vars $host = 'www.example.com'; $service_uri = '/cgi-bin/processACT'; $vars ='code=22&act=TEST'; # compose HTTP request header $header = "Host: $hostrn"; $header .= "User-Agent: php Scriptrn"; $header .= "Content-Type: application/x-www-form-urlencodedrn"; $header .= "Connection: closernrn"; if (!$fp) { } else { } } ?>
<?xml version="1.0" encoding="UTF-8" ?> <rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0" xmlns:media="http://search.yahoo.com/mrss"> <channel> <title>Odeo: abcd1's inbox</title> <link>http://odeo.com/profile/Abcd1</link> <description /> <language>en-us</language> <ttl>40</ttl> <item> <title>Tytuł1</title> <description>Opis1</description> <pubDate>Fri, 09 Jun 2006 06:35:37 GMT</pubDate> <guid>tag:odeo.com,2006-06-09:1303236</guid> <enclosure url="http://www.odeo.com/show/download/1303236/1106971/media.odeo.com..files.5.7.0.501570.mp3" type="audio/mpeg" /> </item> <item> <title>Tytuł2</title> <description>Opis2</description> <pubDate>Tue, 30 May 2006 11:52:34 GMT</pubDate> <guid>tag:odeo.com,2006-05-30:1255329</guid> <enclosure url="http://www.odeo.com/show/download/1255329/1106971/media.odeo.com..files.2.9.6.454296.mp3" type="audio/mpeg" /> </item> <item> <title>Tytuł3</title> <link /> <description>Opis3</description> <pubDate>Thu, 01 Dec 2005 20:31:10 GMT</pubDate> <guid>tag:odeo.com,2005-12-01:467720</guid> <enclosure url="http://www.odeo.com/show/download/467720/1106971/media.odeo.com.7.1.3.welcomebiz.mp3" type="audio/mpeg" length="1307782" /> <itunes:author>bizstone</itunes:author> </item> </channel> </rss>