Re: php->html "rendering"
| From: | Larry Garfield | Date: | Tue, 13 Jun 2006 14:20:53 +0000 |
| Subject: | Re: php->html "rendering" | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-237893@lists.php.net to get a copy of this message | ||
On Tuesday 13 June 2006 07:22, Ryan A wrote:
> Hey,
> Thanks for the explanation of the switches.
>
> One part that I dont really understand is:
>
> blah?foo=bar links
> into blah@foo=bar
>
> having a link such as blah@foo=bar is not going to
> work to link to the second document...right? (I have
> not really tried it, but have never seen html like the
> above)
Actually for me it didn't work until I did that conversion. You're not
sending an actual variable query, remember. You're linking to a static file
whose name on disk is "blah@foo=bar", which is a valid filename,
while "blah?foo=bar" is not (at least under Windows, although it didn't work
for me under Unix either).
> And lastly, I read on another forum discussing wget
> that there is a switch that converts the dynamic pages
> to static WITH a .html/.htm extention; unfortunatly he
> didnt give an example of how to do this, was he just
> blowing smoke or is that true?
man wget, and look for the -E option (aka --html-extension).
--
Larry Garfield AIM: LOLG42
larry@garfieldtech.com ICQ: 6817012
"If nature has made any one thing less susceptible than all others of
exclusive property, it is the action of the thinking power called an idea,
which an individual may exclusively possess as long as he keeps it to
himself; but the moment it is divulged, it forces itself into the possession
of every one, and the receiver cannot dispossess himself of it." -- Thomas
Jefferson