Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Re: Shortcut file

by $code or die (Deacon)
on Jan 21, 2001 at 22:14 UTC ( [id://53354]=note: print w/replies, xml ) Need Help??


in reply to Re: Shortcut file
in thread Shortcut file

You'll also want to make sure the user saves it with a .url extension. This will also only work on IE, I think.

I would do this to supply a default filename:
my $filename = 'internetshortcut.url'; print "Content-disposition: filename=$filename\n"; print "Content-Type: text/plain\n\n"; # print the content of the URL file.
The user will be prompted to save the file with the supplied default filename.

$code or die
Using perl at
The Spiders Web

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://53354]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-03-28 08:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found