View Single Post
Old 01-22-2007, 10:02 AM   #7 (permalink)
digiweb
v7n Mentor
 
digiweb's Avatar
 
Join Date: 04-07-06
Location: Manchester, NH
Posts: 722
iTrader: 1 / 100%
digiweb is a glorious beacon of lightdigiweb is a glorious beacon of lightdigiweb is a glorious beacon of lightdigiweb is a glorious beacon of lightdigiweb is a glorious beacon of lightdigiweb is a glorious beacon of lightdigiweb is a glorious beacon of lightdigiweb is a glorious beacon of lightdigiweb is a glorious beacon of lightdigiweb is a glorious beacon of lightdigiweb is a glorious beacon of light
Send a message via Yahoo to digiweb Send a message via Skype™ to digiweb
As above, plus, you can't do that in javascript unless you set javascript as a server side language which I've never seen done. Pages (with your links) are served by the server.

The server downloads html and javascript to the browser. The browser / html / javascript may not write to the server. The html and javascript send server requests, and the server carries them out. So you have to have a server side language to process the request.

browser (client) asks for web page

Server (IIS, Apache, whatever) sends html and/or javascript to browser(client)

User inputs links into browser, submits

Form submitted sends request "please add these links" and data (the links the user input) to server

The server hands off request to server side processor (php, asp, whatever)

The processor receives link strings, adds them to some file your site will display, hands control back to the server

Server sends "thanks for your links, we're working on it" back to the client.
digiweb is offline   Reply With Quote