Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by derketa

  1. derketa

    session variables lost in forwarding

    Hi, I'm having a problem with session variables that I think you guys can help me with. I forward the requests to www.address1.com to my webspace, which is in www.address2.com I use stealth mode in forwarding. So far, so good. However, when I try to use sessions under the directories of...
  2. derketa

    Modifying user resources on run time

    Hi all, I have res files included in my exe, and i want to modify the resource strings in them on run-time, like joining two res files or extracting some string from one of them adding to one other. is it possible? thanks,
  3. derketa

    request variable?

    I tried but did not work,it did not redirect also.
  4. derketa

    request variable?

    Hi, I need to redirect my page to itself on th onChange event of the select box with the value selected.I am using: <script language="javascript" type="text/javascript"> function redirect(URLStr) { location = URLStr; } </script> .... <select name="select_project" id="select_project"...
  5. derketa

    posted variables indefinite number

    Thank you very much, it is working now:)
  6. derketa

    posted variables indefinite number

    Hi, I am posting variables to a new page,i have n variables like $_POST[s1],$_POST[s2],.... i want to update my database but i could not write the variable names in a for loop for ($i=1;$i<=;$count){ $startDate=$_POST["s".$i]; } but did not work:) in fact i dont know how to write variable...
  7. derketa

    script problem

    Sorry, i have changed the function to this: function checkSel(n){ if(document.form1.n.selectedIndex=='0') { for (i=2;i<7;i++){ name=i + "_" + n; document.form1.name.disabled = true; } } else { for (i=2;i<7;i++){ name=i + "_" + n; document.form1.name.disabled = false; } } }...
  8. derketa

    script problem

    Hi, I have changed the code as you said. But now i have a problem with transferring var php to jscript: <select name="<?php echo($s); ?>" onChange="javascript:checkSel($s);"> <?php if ($row["workDef"]==3) { ?> <option selected>Never worked</option> <option>Worked before</option>...
  9. derketa

    script problem

    I have a simple script runs correctly on my computer: function checkSel(){ if(document.form1.select1.value=='selected') { document.form1.select2.disabled = true; } else { document.form1.select2.disabled = false; } } </script> ... <form name="form1" method="post" action="">...
  10. derketa

    Ram problem

    Ok i will check that, thank you.
  11. derketa

    Ram problem

    Hi, I have a p2 with Asus P2B 440BX motherboard. I bougth 2x256MB SD 100Mhz ram and tried them. (removing old ones) They worked as 128 both separately. Then i tried other rams,they all showed the half value. Then i updated the BIOS, but could not solve the problem. Can anyone help me about...
  12. derketa

    session var problem

    Yes,thanks a lot.
  13. derketa

    session var problem

    ok everything else including html:))) i stand corrected.
  14. derketa

    session var problem

    my code is like this: <body> <?php session_start(); session_register("sUserName"); if ((!$_POST[user_id]) OR (!$_POST[pass]) ) { echo "Error"; $error=1; ?> <a href="pm.htm">Back</a> <?php } ?> ... .. <?PHP $sUserName = $HTTP_POST_VARS['pass'];?> still gives the same error but this...
  15. derketa

    session var problem

    Hi all, I am trying to pass some variables across pages by session method.like: session_start(); .. session_register("sUserName"); ... it gives these errors: Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/domains/web- Warning...

Part and Inventory Search

Back
Top