Ask a Question related to PHP Development, Design and Development.
-
sid #1
Re: How to grab HTML source?
"Mike Darrett" <mike-nospam@darrettenterprises.com> schrieb im Newsbeitrag
news:d945119c.0305021419.3f461b9f@posting.google.c om...hey mike - maybe this will give you a clue:> Hello,
>
> I'm trying to get a whole bunch of HTML source from a website (which I
> do not own, but am merely trying to read):
>
> [url]https://www.blahblah.com/cgi-bin/Num=xxxx[/url]
>
> where I have a list of numbers xxxx in a file.
>
>
> I would love to run lynx and simply redirect the html dump to a file,
> but alas, I do not have access to lynx either. So, perhaps I can
> write a PHP script to do this?
>
> readfile( "https://www.blahblah.com/cgi-bin/Num=xxxx" ) does not work:
>
> Warning: readfile("https://www.blahblah.com/cgi-bin/Num=xxxx") - No
> such file or directory
>
> What am I doing wrong?
>
> Thanks,
>
> Mike Darrett
[url]http://www.php.net/manual/en/function.file.php[/url]
all you do is stick the html source in an array - each element holds a
line - then you just run through the array and print it.
sid Guest
-
Dynamic HTML for IMG SOURCE
DWMX. Hi, I have a recordset with a ProductID field and i am trying to insert this ProductID into the name if the Source image so it becomes... -
No html source for datagrid
I posted this earlier but this time I am adding a url if you want to see the datagrid. (Use start date of 11/10/2004). Basically I wanted to know... -
viewing HTML source code
I'm new to Publisher. Can I view the source code in Publisher like I can in Word? -
Grab HTML
I'm looking for a way to grab the HTML behind one of my pages and display it to the user. The page I'm trying to get the HTML from is an ASP page,... -
get html source of an URL
Hie, I am trying to write a program doing the following : - I give it an URL (for instance http://www.yahoo.com) - it gets the source of the web...



Reply With Quote

