Reply to Re: Create a link from an entry field

Your name:

Reply:


Posted by Cogito on 12/09/06 23:55

On Sat, 09 Dec 2006 11:40:36 -0800, I V <wrongbad@gmail.com> wrote:

>On Fri, 08 Dec 2006 07:42:03 +0000, Cogito wrote:
>
>> I need to make a simple page containing an entry field, a button of
>> some sort and a link. The idea is that I enter a url into the entry
>> field, click the button and have the url accessible in the link.
>> Any suggestion how I can do it?
>
>Can you say a bit about why you want to do this? There are various ways
>you could do it, but which would be better depends on what you want to
>achieve and, frankly, what you're asking for seems, on the face of it,
>rather pointless. Why do you want to go to all this trouble, when you
>could just put the URL in the location bar of the browser?



Here is why I need it:
Occasionally I want to download a flash game that is referenced in a
web page. I invented my own little "trick" where I created a web page
that contains but one link. It is in fact:

<a href="
http://www.xyz.com/game.swf
"> Download</a>


Now, whenever I find something to download, I edit the source html
page, search for the game, usually with the file type of .swf, copy
the url and paste it in my page. I then have to save my page, press
the 'refresh' button of the browser, then right-click on the word
Download and select 'Save target as".

In order to save me the changing the url in my page each time, I would
like to be able to enter the url in a field in my page, press some
button and have it 'transferred to the link.

There must be some way to treat the whole url as a value or a
parameter and transfer it to the link.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация