Search results

  1. F

    php: How to display "your ip-address is X.X.X.X, you came to this web-site from

    previous-domain-name.com" and.? php question: How to display "your ip-address is X.X.X.X you came to this page from previous-domain-name.com"? $your_ip_address=?????; $last_web_page=????; //the whole page address (the first 256 symbols), but not just domain name is OK as well...
  2. F

    html taborder question?

    i have a <input type="text"> If I type something in there and press the Tab button, I would like the cursor went on the button and if I press one more time the Tab button, I would like to see the cursor on the link <a href="">link</a>. How to handle with the cursor in a proper way? Thank you.
  3. F

    php, html or whatever: how to protect text "Hi!" displayed on the web-page from

    copying it from source page? I have a table that displays some data on the web-page. <table> <tr><td><a href="">hi1</a></td></tr> <tr><td><a href="">hi2</a></td></tr> ... <tr><td><a href="">hi100</a></td></tr> </table> I would like to ask about possible ways to hide that data from the source...
  4. F

    I will talk a lot with Europe for 30 days. What prepaid card or phone should I

    buy? No contract.? I know I can buy T-Mobile card 1000 mins for $100. I'm not sure it's the best thing, although I have several T-mobile phones without cotracts (I used prepaid cards 1 year ago). I will talk with Europe being in the US. Anything cheaper than T-Mobile card 1000 mins for $100 for...
  5. F

    php & preg_match function for alpha-numeric only with string size LIMITATION all in one?

    Hello. Does anybody know how to limit the size of strings using preg_match function? I need to accept only string consists of a-zA-z0-9 with length LESS THAN 51 symbols (= less or equal 50), empty string is OK. Thank you.
  6. F

    php & preg_match("/[^a-zA-Z0-9]+$/",$string)): no vulnerable symbols like ' etc?

    Hello. Is that OK to use preg_match to exclude vulnerable symbols (such as ', /, \, <, > etc), that can crack sql request etc? If yes, what symbols can be included into that preg_match command? How to include ".", ",", "#", "?" and ";", "!" and "-" symbols into preg_match, IF THEY ARE NOT...
  7. F

    php or javascript question: how to show list of links when you put your mouse on the...

    ...link,but do not press it? php or javascript question: how to show list of links when you put your mouse on the link,but do not press it? So you can choose what link to press among the list. When you put your mouse on the top left side of the screen at your name, the window with links Profile...
  8. F

    Please help me with building sql query for php - syntax problem?

    This is withing <?php ?>: $qry = "INSERT INTO deals (ID, href) VALUES ('$_POST["TID".$il]', '$_POST["Qhr".$il]')"; The error is: Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in C:\wamp\www\blablabla on line 353 Of course, the problem is because of " symbol...
  9. F

    php: how to put $total into <input type="text" name="total"> if you know $totalres

    at the very end of page? Is it possible to do that? This is a part of html page... <input type="text" name="total" value="???"> <input type="text" name="a1" value="3"> <input type="text" name="a2" value="5"> ... The problem is that <input type="text" name="total" value="???"> is...
  10. F

    php question: how to check on the next page if checkbox was checked? Post method used.?

    <input type="checkbox" name="question" >, POST method for form was used. How to check using php if that checkbox was checked. Thank you.
  11. F

    PHP: how to put the value from input type="text" into php variable $var99?

    I have php code echo '<input type="text" value="0" name="theVal" id="theVal" />'; if ($var99>4) {} But, I don't know how to put the value =0 from theVal variable into $var99? Thank you.
  12. F

    PHP question: how to reach ARRR[2], ARRR[4] etc of ARRR[] array?

    Hello. ARRR[] has 50 items. foreach($_SESSION['$ARRR'] as $itm ) {echo '<tr><td> ',$itm,' </td></tr>'; } //works fine $i=2 $_SESSION['$ARRR['$i']'] // shows error "Notice: Undefined index:" How to show all even items using FOR? P.S. Sessions were used becase ARRR was defined on another...
Back
Top