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:
$code or die
Using perl at
The Spiders Web
I would do this to supply a default filename:
The user will be prompted to save the file with the supplied 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.
$code or die
Using perl at
The Spiders Web
|
---|
In Section
Seekers of Perl Wisdom