getParameter()
From Hack Wars Wiki
| Function information for getParameter() | |
| Function | getParameter(string name) |
| API | HTTP |
| Cost | $100 |
| Level | 30 |
| CPU Usage | 3 |
| Description | Gets a variable from a form on your site. |
Example
Let's say we have this HTML code:
<form> <input type="text" name="Woot!"> <input type="submit" name="submit" value="bla"> </form>
In the Submit section of your HTTP script, you can get the value of "Woot!" by using getParameter, as such:
string thewoot=getParameter("Woot!"); |
