homepage Welcome to WebmasterWorld Guest from 54.82.122.194
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe and Support WebmasterWorld
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Get/Post Javascript?
get, post, java, javascript
Rominall




msg:4599845
 9:41 pm on Aug 6, 2013 (gmt 0)

I have been coding html, js and css for a while but it's all been pretty much client side. I now need to know how to 'write' to a network location.

This is going to be a simple 10 question quiz. What I need after they're done with the quiz:
1) A score only posted back to the user (I can get this done)
2) The answers back to a network location - webpage - ?

I've read a lot and I can't do php, Ajax. So I don't think I can create a file. But what I was thinking was that I could 'post' the information to a webpage.

So my questions are:
1) Is that possible?
2) I understand the form submit code but how to I 'pick' up the transmitted info and load it onto a page?
3) Since there will be around 30 people taking this 'test' at the same time can I post ALL their results to the same page or will I have to have different pages for each user?
4) Is this the best solution or is there and easier way?

I don't think I can use any true 'server side' programming like PhP etc. due to some 'security' issues.

 

penders




msg:4602012
 11:39 pm on Aug 14, 2013 (gmt 0)

If you want something more than just a client-side quiz and to be able to "write" something permanently somewhere at a "network location" as you appear to require, for these users results to interact with each other in some way, then you are going to need some server-side scripting technology, like PHP.

By using just HTML, CSS and JavaScript, you are limited to client-side scripting in the browser.

Security issues?

Fatima087Haley




msg:4659063
 7:20 am on Apr 1, 2014 (gmt 0)

Hey hi !
When you are using get() then,requests can be bookmarked
should never be used when dealing with sensitive data.
There is in this method length restrictions,used only to retrieve data

Post() is quite opposite to get()
Post() requests never remain in the browser history,cannot be bookmarked and no restrictions on data length.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved