- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
4 Posted Topics
if url is [url]http://domian/index.php?var=123&Var2=98123[/url] To get the var you used a $_GET [code=php] $commend = 'shell/bin/'.$_GET['var'].'/'; [/code] all u do is put your var name, in the cass eather var or Var2 in the [' var ']
[code=php] header(sprintf("Location: %s", $insertGoTo)); [/code] Should it not be? [code=php] header(sprintf("Location: %s". $insertGoTo)); [/code] , = . ?????
you want it to open a new page that is jquery or javascript, you create a script which will take there input say SNOW and join it to a url on click, for example [code] USER = document.getElementById("search_Box").value; window.open('search.php?query='+USER); [/code] the above code is javascript to use the query SNOW …
Try this [code=php] <form id="form1" name="form1" method="post" action=""> <table width="280" height="66" border="2" cellpadding="2" cellspacing="2"> <tr> <td width="111"> </td> <td width="147"><label> <input type="text" name="user" id="user" /> </label></td> </tr> <tr> <td> </td> <td><label> <input type="password" name="pass" id="pass" /> </label></td> </tr> </table> <label> <input type="submit" name="Submit" id="Submit" value="Submit" /> </label> <?php require_once('../../../Connections/admin_db.php'); mysql_select_db("admin_db"); if ((isset($_POST["Submit"])) …
The End.
jnicholls92