943,867 Members | Top Members by Rank

Ad:
You are currently viewing page 1 of this multi-page discussion thread
May 13th, 2008
-1

Help debug a quadruple login page.. please!

Expand Post »
hello, i'm trying to get http://superiorminitrucks.com/admin login functionality to work. It's my first logon script, which was tested to work, but I'm running out of brute force to get this one through...

JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
  1. <?php
  2. //////**************************************/
  3. //
  4. // LOGIN PAGE
  5. //
  6. // Server-side:
  7. // 1. Start a session
  8. // 2. Clear the session
  9. // 3. Generate a random challenge string
  10. // 4. Save the challenge string in the session
  11. // 5. Expose the challenge string to the page via a hidden input field
  12. //
  13. // Client-side:
  14. // 1. When the completes the form and clicks on Login button
  15. // 2. Validate the form (i.e. verify that all the fields have been filled out)
  16. // 3. Set the hidden response field to HEX(MD5(server-generated-challenge + user-supplied-password))
  17. // 4. Submit the form
  18. //******************************/
  19. session_start();
  20. session_unset();
  21. srand();
  22.  
  23. $challenge = "";
  24. for ($i = 0; $i < 80; $i++) {
  25. $challenge .= dechex(rand(0, 15));
  26. }
  27. $_SESSION[challenge] = $challenge;
  28. ?>
  29. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  30. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  31. <html>
  32. <head>
  33. <title>Superior Mini Trucks</title>
  34. <link href="../site.css" media="screen" rel="stylesheet" type="text/css" />
  35. <script type="text/javascript" src="../moo.js"> </script>
  36. <script type="text/javascript" src="/admin/jmd5.js"> </script>
  37. <script type="text/javascript">
  38.  
  39. var num = 0;
  40.  
  41.  
  42. function login(num) {
  43.  
  44. var loginForm0 = document.getElementById("loginForm0");
  45. var loginForm1 = document.getElementById("loginForm1");
  46. var loginForm2 = document.getElementById("loginForm2");
  47. var loginForm3 = document.getElementById("loginForm3");
  48.  
  49. var submitForm = document.getElementById("submitForm" + num);
  50.  
  51. if (loginForm0.username.value == "" && loginForm1.username.value == "" && loginForm2.username.value == "" && loginForm3.username.value == "") {
  52. alert("Please enter your user name.");
  53. return false;
  54. }
  55. if (loginForm0.password.value == "" && loginForm1.password.value == "" && loginForm2.password.value == "" && loginForm3.password.value == "") {
  56. alert("Please enter your password.");
  57. return false;
  58. }
  59.  
  60. if(num == 0) {
  61. submitForm.username.value = loginForm0.username.value;
  62. submitForm.response.value =
  63. hex_md5(<?php echo $challenge; ?>+loginForm0.password.value);
  64. submitForm.submit(); }
  65. if(num == 1) {
  66. submitForm.username.value = loginForm1.username.value;
  67. submitForm.response.value =
  68. hex_md5(<?php echo $challenge; ?>+loginForm1.password.value);
  69. submitForm.submit(); }
  70. if(num == 2) {
  71. submitForm.username.value = loginForm2.username.value;
  72. submitForm.response.value =
  73. hex_md5(<?php echo $challenge; ?>+loginForm2.password.value);
  74. submitForm.submit(); }
  75. if(num == 3) {
  76. submitForm.username.value = loginForm3.username.value;
  77. submitForm.response.value =
  78. hex_md5(<?php echo $challenge; ?>+loginForm3.password.value);
  79. submitForm.submit(); }
  80.  
  81. } // end login()
  82.  
  83.  
  84. window.addEvent('domready', function() {
  85.  
  86.  
  87. var mySlide_inventory = new Fx.Slide('test');
  88. var mySlide_information = new Fx.Slide('test1');
  89. var mySlide_options = new Fx.Slide('test2');
  90. var mySlide_home = new Fx.Slide('test3');
  91.  
  92. mySlide_inventory.hide();
  93. mySlide_information.hide();
  94. mySlide_options.hide();
  95. mySlide_home.hide();
  96.  
  97.  
  98. $('slidein').addEvent('click', function(e){
  99. e = new Event(e);
  100. mySlide_inventory.slideIn();
  101. e.stop();
  102. });
  103.  
  104. $('slideout').addEvent('click', function(e){
  105. e = new Event(e);
  106. mySlide_inventory.slideOut();
  107. e.stop();
  108. });
  109.  
  110. $('toggle').addEvent('click', function(e){
  111. e = new Event(e);
  112. mySlide_inventory.toggle();
  113. e.stop();
  114. });
  115.  
  116. $('hide').addEvent('click', function(e){
  117. e = new Event(e);
  118. mySlide_inventory.hide();
  119. e.stop();
  120. });
  121.  
  122.  
  123.  
  124.  
  125.  
  126. $('slidein1').addEvent('click', function(e){
  127. e = new Event(e);
  128. mySlide_information.slideIn();
  129. e.stop();
  130. });
  131.  
  132. $('slideout1').addEvent('click', function(e){
  133. e = new Event(e);
  134. mySlide_information.slideOut();
  135. e.stop();
  136. });
  137.  
  138. $('toggle1').addEvent('click', function(e){
  139. e = new Event(e);
  140. mySlide_information.toggle();
  141. e.stop();
  142. });
  143.  
  144. $('hide1').addEvent('click', function(e){
  145. e = new Event(e);
  146. mySlide_information.hide();
  147. e.stop();
  148. });
  149.  
  150.  
  151.  
  152.  
  153.  
  154. $('slidein2').addEvent('click', function(e){
  155. e = new Event(e);
  156. mySlide_options.slideIn();
  157. e.stop();
  158. });
  159.  
  160. $('slideout2').addEvent('click', function(e){
  161. e = new Event(e);
  162. mySlide_options.slideOut();
  163. e.stop();
  164. });
  165.  
  166. $('toggle2').addEvent('click', function(e){
  167. e = new Event(e);
  168. mySlide_options.toggle();
  169. e.stop();
  170. });
  171.  
  172. $('hide2').addEvent('click', function(e){
  173. e = new Event(e);
  174. mySlide_options.hide();
  175. e.stop();
  176. });
  177.  
  178.  
  179.  
  180.  
  181. $('slidein3').addEvent('click', function(e){
  182. e = new Event(e);
  183. mySlide_home.slideIn();
  184. e.stop();
  185. });
  186.  
  187. $('slideout3').addEvent('click', function(e){
  188. e = new Event(e);
  189. mySlide_home.slideOut();
  190. e.stop();
  191. });
  192.  
  193. $('toggle3').addEvent('click', function(e){
  194. e = new Event(e);
  195. mySlide_home.toggle();
  196. e.stop();
  197. });
  198.  
  199. $('hide3').addEvent('click', function(e){
  200. e = new Event(e);
  201. mySlide_home.hide();
  202. e.stop();
  203. });
  204.  
  205.  
  206. });
  207. </script>
  208. <style type="text/css">
  209. body {
  210. text-align: left;
  211. }
  212.  
  213. #test, #test1, #test2, #test3 {
  214. background: #222;
  215. color: #fff;
  216. padding: 10px;
  217. margin: 20px;
  218. }
  219.  
  220. #test {
  221. border: 10px solid saddlebrown;
  222. }
  223. #test1 {
  224. border: 10px solid darkgoldenrod;
  225. }
  226. #test2 {
  227. border: 10px solid darkkhaki;
  228. }
  229. #test3 {
  230. border: 10px solid olive;
  231. }
  232.  
  233. a {
  234. text-size: large;
  235. font-weight: bold;
  236. text-decoration: none;
  237. outline: none;
  238. color: white;
  239. border-bottom: 2px solid white;
  240. }
  241.  
  242. </style>
  243. </head>
  244. <body>
  245. <blockquote>
  246.  
  247. <h3 style="color: white;" class="section">Please Login</h3>
  248.  
  249. <a id="slideout" href="#"></a><a id="slidein" href="#"></a>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a id="toggle" href="#">Home</a><a id="hide" href="#"></a>
  250.  
  251. <div id="test">
  252.  
  253. <form id="loginForm0" action="#" method="post">
  254. <table>
  255. <?php if (isset($_REQUEST[error])) { ?>
  256. <tr>
  257. <td>Error</td>
  258. <td style="color: red;"><?php echo $_REQUEST[error]; ?></td>
  259. </tr>
  260. <?php } ?>
  261. <tr>
  262. <td>User Name</td>
  263. <td><input type="text" name="username"/></td>
  264. </tr>
  265. <tr>
  266. <td>Password</td>
  267. <td><input type="password" name="password"/></td>
  268. </tr>
  269. <tr>
  270. <td>&nbsp;</td>
  271. <td>
  272. <input type="hidden" name="challenge" value="<?php echo $challenge; ?>"/>
  273. <input type="button" name="submit" value="Login" onclick="login(0);"/>
  274. </td>
  275. </tr>
  276. </table>
  277. </form>
  278. <form id="submitForm0" action="authenticate.php" method="post">
  279. <div>
  280. <input type="hidden" name="username"/>
  281. <input type="hidden" name="response"/>
  282. </div>
  283. </form>
  284.  
  285.  
  286. </div>
  287.  
  288.  
  289. <a id="slideout1" href="#"></a> <a id="slidein1" href="#"></a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a id="toggle1" href="#">Inventory</a> <a id="hide1" href="#"></a>
  290.  
  291. <div id="test1">
  292.  
  293. <form id="loginForm1" action="#" method="post">
  294. <table>
  295. <?php if (isset($_REQUEST[error])) { ?>
  296. <tr>
  297. <td>Error</td>
  298. <td style="color: red;"><?php echo $_REQUEST[error]; ?></td>
  299. </tr>
  300. <?php } ?>
  301. <tr>
  302. <td>User Name</td>
  303. <td><input type="text" name="username"/></td>
  304. </tr>
  305. <tr>
  306. <td>Password</td>
  307. <td><input type="password" name="password"/></td>
  308. </tr>
  309. <tr>
  310. <td>&nbsp;</td>
  311. <td>
  312. <input type="hidden" name="challenge" value="<?php echo $challenge; ?>"/>
  313. <input type="button" name="submit" value="Login" onclick="login(1);"/>
  314. </td>
  315. </tr>
  316. </table>
  317. </form>
  318. <form id="submitForm1" action="authenticate1.php" method="post">
  319. <div>
  320. <input type="hidden" name="username"/>
  321. <input type="hidden" name="response"/>
  322. </div>
  323. </form>
  324. </div>
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336. <a id="slideout2" href="#"></a> <a id="slidein2" href="#"></a>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a id="toggle2" href="#">Information</a><a id="hide2" href="#"></a>
  337.  
  338. <div id="test2">
  339.  
  340. <form id="loginForm2" action="#" method="post">
  341. <table>
  342. <?php if (isset($_REQUEST[error])) { ?>
  343. <tr>
  344. <td>Error</td>
  345. <td style="color: red;"><?php echo $_REQUEST[error]; ?></td>
  346. </tr>
  347. <?php } ?>
  348. <tr>
  349. <td>User Name</td>
  350. <td><input type="text" name="username"/></td>
  351. </tr>
  352. <tr>
  353. <td>Password</td>
  354. <td><input type="password" name="password"/></td>
  355. </tr>
  356. <tr>
  357. <td>&nbsp;</td>
  358. <td>
  359. <input type="hidden" name="challenge" value="<?php echo $challenge; ?>"/>
  360. <input type="button" name="submit" value="Login" onclick="login(2);"/>
  361. </td>
  362. </tr>
  363. </table>
  364. </form>
  365. <form id="submitForm2" action="authenticate2.php" method="post">
  366. <div>
  367. <input type="hidden" name="username"/>
  368. <input type="hidden" name="response"/>
  369. </div>
  370. </form>
  371. </div>
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382. <a id="slideout3" href="#"></a><a id="slidein3" href="#"></a>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a id="toggle3" href="#">Options</a><a id="hide3" href="#"></a>
  383.  
  384. <div id="test3">
  385.  
  386. <form id="loginForm3" action="#" method="post">
  387. <table>
  388. <?php if (isset($_REQUEST[error])) { ?>
  389. <tr>
  390. <td>Error</td>
  391. <td style="color: red;"><?php echo $_REQUEST[error]; ?></td>
  392. </tr>
  393. <?php } ?>
  394. <tr>
  395. <td>User Name</td>
  396. <td><input type="text" name="username"/></td>
  397. </tr>
  398. <tr>
  399. <td>Password</td>
  400. <td><input type="password" name="password"/></td>
  401. </tr>
  402. <tr>
  403. <td>&nbsp;</td>
  404. <td>
  405. <input type="hidden" name="challenge" value="<?php echo $challenge; ?>"/>
  406. <input type="button" name="submit" value="Login" onclick="login(3);"/>
  407. </td>
  408. </tr>
  409. </table>
  410. </form>
  411. <form id="submitForm3" action="authenticate3.php" method="post">
  412. <div>
  413. <input type="hidden" name="username"/>
  414. <input type="hidden" name="response"/>
  415. </div>
  416. </form>
  417. </div>
  418.  
  419.  
  420.  
  421. </blockquote>
  422.  
  423.  
  424.  
  425.  
  426. </body>
  427. </html>
Reputation Points: 12
Solved Threads: 1
Junior Poster
tefflox is offline Offline
174 posts
since Jul 2006
May 14th, 2008
-2

Validating radio button selection for login redirect

It's my first logon script. It works until I try to change the action by validating radio button selection.. Help is greatly appreciated. I've been working on this steadily for days.

<?php 
/////////////////////////////////////////////////////////////////////////////
//
// LOGIN PAGE
//
//   Server-side:
//     1. Start a session
//     2. Clear the session
//     3. Generate a random challenge string
//     4. Save the challenge string in the session
//     5. Expose the challenge string to the page via a hidden input field
//
//  Client-side:
//     1. When the completes the form and clicks on Login button
//     2. Validate the form (i.e. verify that all the fields have been filled out)
//     3. Set the hidden response field to HEX(MD5(server-generated-challenge + user-supplied-password))
//     4. Submit the form
//////////////////////////////////////////////////////////////////////////////////
session_start();
session_unset();
srand();
$challenge = "";
for ($i = 0; $i < 80; $i++) {
    $challenge .= dechex(rand(0, 15));
}
$_SESSION[challenge] = $challenge;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
    <head>
        <title>Login</title>
        <script type="text/javascript" src="/admin/jmd5.js"></script>
        <script type="text/javascript">
            function login() {
                var loginForm = document.getElementById("loginForm");
                if (loginForm.username.value == "") {
                    alert("Please enter your user name.");
                    return false;
                }
                if (loginForm.password.value == "") {
                    alert("Please enter your password.");
                    return false;
                }
				
				var homePanel;
				var inventoryPanel;
				var informationPanel;
				var optionsPanel;
				
				var homePanel = document.getElementById("home");
				var inventoryPanel =document.getElementById("inventory");
				var informationPanel =document.getElementById("information");
				var optionsPanel =document.getElementById("options");
				
	if(homePanel.checked) 				document.getElementById("submitForm").action="home_page_control.php";
	else if(inventoryPanel.checked) 					document.getElementById("submitForm").action="inventory_control.php";
	else if(informationPanel.checked) 					document.getElementById("submitForm").action="information_control.php";
	else if(inventoryPanel.checked)  					document.getElementById("submitForm").action="options_control.php";
	else 
alert("Please select an administration panel.");
					
									
       var submitForm = document.getElementById("submitForm");

         submitForm.username.value = loginForm.username.value;
          submitForm.response.value =
                    hex_md5(loginForm.challenge.value+loginForm.password.value);
         submitForm.submit();
    }
        </script>
	      <style type="text/css">
		   body {
		    background: #CCCC99;
			outline: none;
		   }
		   input {
		    outline: none;
		   }
		  </style>
    </head>
    <body>
       <blockquote>
        <fieldset style="background: #FFFFCC;"><legend style="background: #669966; height: 30px; width: auto; padding: 5px; border: 1px solid #222; color: #fff; letter-spacing: 3px; font-weight: bold; font-size: 18px; font-family: Arial, Helvetica, sans-serif">Please Login</legend>
        <form id="loginForm" action="#" method="post">
            <table width="381" height="244">
                <?php if (isset($_REQUEST[error])) { ?>
                <tr>
                    <td>Error</td>
                    <td style="color: red;">&nbsp;</td>
                    <td style="color: red;">&nbsp;</td>
                    <td style="color: red;"><?php echo $_REQUEST[error]; ?></td>
                </tr>
                <?php } ?>
                <tr>
                    <td>User Name</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td><input type="text" size="28" name="username"/></td>
                </tr>
                <tr>
                    <td>Password</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td><input type="password" size="28" name="password"/></td>
                </tr>
              <tr>
              	<td> Select Control Panel </td>
              
              
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td><label>
                  <input type="radio" name="select_panel" value="home" id="home" />
                  Home</label></td>
              </tr>
              <tr>
                <td>&nbsp;  </td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td><label>
                  <input type="radio" name="select_panel" value="inventory" id="inventory" />
                  Inventory</label></td>
              </tr>
              <tr>
                <td>&nbsp;  </td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td><label>
                  <input type="radio" name="select_panel" value="information" id="information" />
                  Information</label></td>
              </tr>
              <tr>
                <td>&nbsp;  </td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td><label>
                  <input type="radio" name="select_panel" value="options" id="options" />
                  Options</label></td>
              </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                    <td style="text-align: right; padding-right: 30px;">
                        <input type="hidden" name="challenge" value="<?php echo $challenge; ?>"/>
                        <input type="button" name="submit" value="Login" onclick="login();"/>                    </td>
                </tr>              
           </table>
     

         </form>
        <form id="submitForm" [[[ action removed from here ]]] method="post">
            <div>
                <input type="hidden" name="username"/>
                <input type="hidden" name="response"/>
            </div>
        </form>

     </fieldset> 
</blockquote>              
              
              
              
              
    </body>
</html>
Reputation Points: 12
Solved Threads: 1
Junior Poster
tefflox is offline Offline
174 posts
since Jul 2006
May 14th, 2008
0

Re: Validating radio button selection for login redirect

If I understand you correctly.... U are struggling with validating radiobutton (i.e) U wana make sure that one of them are seleceted well if thats the case, we can attempt to fix by doing the following, not that I know but I think u need to group ur radio buttons, that means u cant validate each one them, and thats why they merely use the for loop to validate radio buttons

now lets try this solution and see where it takes us

javascript Syntax (Toggle Plain Text)
  1. //variable to evaluate if radio button is checked
  2. var optionPanel = false;
  3. //loop to check if the user checked the radio button
  4. for(var x = 0; x < document.formLogin.select_Panel.length; x++)
  5. {
  6. if (document.formLogin.select_Panel[x].checked = true)
  7. {
  8. optionPanel = true;
  9. //code what must be done here if one of the radio buttons are checked
  10. }
  11. }
  12.  
  13. //Code if the radio button is unchecked or unselected
  14. if (optionPanel = false)
  15. {
  16. alert("PLease select one of my radio buttons");
  17. return false;
  18. } else {
  19. alert("Form values are valid");
  20. return true;
  21. }
Last edited by Traicey; May 14th, 2008 at 7:40 am.
Reputation Points: 26
Solved Threads: 19
Posting Whiz in Training
Traicey is offline Offline
283 posts
since Mar 2008
May 14th, 2008
-1

Re: Validating radio button selection for login redirect

This worked. (Sorry for the spacing mess... man I miss gedit....)

JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
  1. <script type="text/javascript">
  2. function login() {
  3. var loginForm = document.getElementById("loginForm");
  4. if (loginForm.username.value == "") {
  5. alert("Please enter your user name.");
  6. return false;
  7. }
  8. if (loginForm.password.value == "") {
  9. alert("Please enter your password.");
  10. return false;
  11. }
  12.  
  13.  
  14.  
  15. var submitForm = document.getElementById("submitForm");
  16.  
  17. submitForm.username.value = loginForm.username.value;
  18. submitForm.response.value =
  19. hex_md5(loginForm.challenge.value+loginForm.password.value);
  20. submitForm.submit();
  21. }
  22.  
  23.  
  24. function changeAction() {
  25.  
  26. var homePanel = document.getElementById("home");
  27. var inventoryPanel =document.getElementById("inventory");
  28. var informationPanel =document.getElementById("information");
  29. var optionsPanel =document.getElementById("options");
  30.  
  31. var submitFormAction = document.getElementById("submitForm");
  32.  
  33. if(homePanel.checked) {
  34. submitFormAction.action="authenticate.php";
  35. login();
  36. }
  37. else if(inventoryPanel.checked) {
  38. submitFormAction.action="authenticate1.php";
  39. login();
  40. }
  41. else if(informationPanel.checked) {
  42. submitFormAction.action="authenticate2.php";
  43. login();
  44. }
  45. else if(optionsPanel.checked) {
  46. submitFormAction.action="authenticate3.php";
  47. login();
  48. }
  49. else {
  50. alert("Please select an administration panel.");
  51. return false;
  52. }
  53.  
  54. }
  55.  
  56. </script>
Reputation Points: 12
Solved Threads: 1
Junior Poster
tefflox is offline Offline
174 posts
since Jul 2006
May 14th, 2008
1

Re: Help debug a quadruple login page.. please!

Any reason for this complicated approach, mix of PHP and JavaScript if you can do it better with PHP on its own?

PS after merge: Please do not flood forum with multiple posts!
Last edited by peter_budo; May 14th, 2008 at 2:47 pm. Reason: After merge comment
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 873
Code tags enforcer
peter_budo is offline Offline
6,656 posts
since Dec 2004
May 14th, 2008
-2

Re: Validating radio button selection for login redirect

Nevermind, Mister. I solved it myself, complex as it is...
Reputation Points: 12
Solved Threads: 1
Junior Poster
tefflox is offline Offline
174 posts
since Jul 2006
May 15th, 2008
0

Re: Validating radio button selection for login redirect

Quote originally posted by tefflox ...
Nevermind, Mister. I solved it myself, complex as it is...
Well..... if U solved it U can mark it as solved, to eliminate the waste of time ur fellows would waste trying to understand ur complex code
Reputation Points: 26
Solved Threads: 19
Posting Whiz in Training
Traicey is offline Offline
283 posts
since Mar 2008
May 15th, 2008
-1

Re: Validating radio button selection for login redirect

@Traicey the complex code is mainly not his. Original code provide nice PHP implementation which tefflox took it and loaded with various bits and pieces of JavaScript

PS: I'm marking it as solved based on original poster comment "I solved it myself"
PS2: Please try to use proper English as "leet" speak or "chatroom" peak is not welcome here. Thank you for understanding
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 873
Code tags enforcer
peter_budo is offline Offline
6,656 posts
since Dec 2004
May 15th, 2008
1

Re: Validating radio button selection for login redirect

Quote originally posted by Peter_Budo ...
Traicey the complex code is mainly not his
What one can say!!!!!

We may rather call it plagiarism than just a plain homework, Anyways Im just glad I dont have to go through all that, mainly trying to fascinate or impress Daniweb's Gurus with the code that is not my own making
Reputation Points: 26
Solved Threads: 19
Posting Whiz in Training
Traicey is offline Offline
283 posts
since Mar 2008
May 15th, 2008
-2

Re: Validating radio button selection for login redirect

You moderators have too much time on your hands. I'm not here to learn the ropes. I'm here to get help. If it takes three moderators and eight PM's to tell me somthing trivial, daniweb is beginning to look like history.


That JS code is all mine, bizzo.

Good night and good luck!
Reputation Points: 12
Solved Threads: 1
Junior Poster
tefflox is offline Offline
174 posts
since Jul 2006

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
This thread is currently closed and is not accepting any new replies.
Previous Thread in JavaScript / DHTML / AJAX Forum Timeline: suckerfish hover or submit on IE
Next Thread in JavaScript / DHTML / AJAX Forum Timeline: Pull down menue using getElemntById --Help Please





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC