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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: tcardoso
  • Order by date
  1. tcardoso

    Hi - HTML symbol for ?

    Hi, thanks, I didn't post it in here, but I had found that symbol code. but I use <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> and its showing ok. Whener I try to use charset=utf-8 I end up changing cause it gives me alot of troubles with accents and such...
  2. tcardoso

    Hi - HTML symbol for ?

    Hi, I know this is probably a stupid place to ask :D but anybody know thats the code for ?? Like http://www.avenue-it.com/html/extracharacters.html Thanks
  3. tcardoso

    Doubts - OnMouse and innerHTML

    Today I don't have too much time, but I'll take a good look, try it, test it all :) and then post again if I have any doubts. Thanks guys
  4. tcardoso

    Doubts - OnMouse and innerHTML

    About the 1) that would only change that specific span. I have a name with 5 colors, then onmouseover it, I want to change it all (some stuff stays in red, others in blue, others in green, etc.) The way you told me, it changes only one color at a time. 2) I was saying that when I place the...
  5. tcardoso

    Doubts - OnMouse and innerHTML

    Hi, I have a couple of doubts, first the code: <span id="muda" onMouseOver=changeName();" onMouseOut="backName();"><font color='green'>A</font><font color='blue'>name</font></span> <script type='text/javascript'> function changeName() { document.getElementById('muda').innerHTML ="<font...
  6. tcardoso

    Transaction (Begin...end)

    Hi, I'm trying to do: $result = mysql_query("DELETE FROM `table` WHERE `field`='value'"); if (mysql_affected_rows()>0) { //Run rest of code } My question is: If after the DELETE runs on DB and before mysql_affected_rows() is called another DELETE or UPDATE, etc occur? Then...
  7. tcardoso

    strip_tags in JSP

    There is no function to change it? I will to build my own method?
  8. tcardoso

    strip_tags in JSP

    Hi, how can I strip the HTML tags in JSP to show in a page. I want the text <b>bold<b> to be tranformed to &gt;b&lt;bold&gt;b&lt; Thanks
  9. tcardoso

    Prevent multi-session

    how can I do it. I'm a JAVA programmer, not much of a PHP one :)
  10. tcardoso

    Prevent multi-session

    Yes. They are all login. Its with SESSION ID, but I don't know how!
  11. tcardoso

    Proxy detecter

    Hi, Don't want to abuse the forum, but its a completely different subject and it could be very useful for future users doubts. Do anyone know any good piece of PHP proxy detecter (not the ones on the web, I test them all and none work on modern proxies). Or does anyone know any online service...
  12. tcardoso

    Prevent multi-session

    Hi, I want to catch multi-session and logout who makes it. Like if you are working on a Firefox browser and if you login on a IE browser, the first session has to be disabled. Same thing on tabs on firefox, etc... Only one window session active! How can I do it? Thanks
  13. tcardoso

    Critical - Security in php - 2 Clicks at same time - Duping

    Hi again, Using lock tables `tablename` and unlock at the end it still allows duping :| I don't know why. Using Write at the end of lock tables `tablename` it start generating errors on other queries (even if they have nothing to do with table `tablename`. I really apreciatte some help...
  14. tcardoso

    Lock on table

    Yes. but a table is locked, another process arrives the instruction to lock the table, and it can't access it (its locked). So does it wait until the table gets unlocked and it lock the table? Thanks
  15. tcardoso

    Lock on table

    Sorry but you didn't answer my question. What happen when another process arrives on LOCK TABLE tablename and the tablename is already locked? He waits? for how long? the lock table command returns any value? (success or error value) Thanks
  16. tcardoso

    Lock on table

    Hello If I do: 1) mysql_query('LOCK TABLE tablename'); 2) mysql_query('SELECT * from tablename where condition=0'); 3) if (cond) { 4) mysql_query('UPDATE tablename SET condition=1 WHERE condition=0'); 5) } 6) mysql_query('UNLOCK TABLE tablename'); What happens when another process arrives...
  17. tcardoso

    Critical - Security in php - 2 Clicks at same time - Duping

    Ok. I'll post this in here and in MySQL forum. If I do: 1) mysql_query('LOCK TABLE tablename'); 2) mysql_query('SELECT * from tablename where condition=0'); 3) if (cond) { 4) mysql_query('UPDATE tablename SET condition=1 WHERE condition=0'); 5) } 6) mysql_query('UNLOCK TABLE tablename')...
  18. tcardoso

    Critical - Security in php - 2 Clicks at same time - Duping

    The problem is that we have normally 200 players online, that start complaining when server takes more than 1 second to respond, our times are normally between 0,09 - 0,80 (Page generation time) and we do not want to pass it. I think that there is some simple solution, but how can I order to...
  19. tcardoso

    Critical - Security in php - 2 Clicks at same time - Duping

    its not shopping carts, its a game, players buy items from one anothers. So the same player create two diferent account (we need to authorize several account in same IP) and do that trick (sell and buy from himself at the same time). But becoming more tecnical, PHP don't have any wait/notify...
  20. tcardoso

    Critical - Security in php - 2 Clicks at same time - Duping

    Exacly. Well user are using two diferent account in two diferent browsers, so it will have diferent session id, I can only catch him by the IP. But how?

Part and Inventory Search

Back
Top