Jump to content

Maq

Administrators
  • Posts

    9,363
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Maq

  1. Good (I missed it too ;/ )
  2. Echo out the values like I mentioned in my first post. That way you can see if you even make it to that point and what the exact values are.
  3. Yes, that's one possibility. You should mark this topic solved and start a new thread.
  4. Not sure exactly what you mean. Could you provide an example?
  5. Np, glad it's working.
  6. What does it do? What have you done to debug it? Are there any errors? Because this is useless:
  7. Is there a reason you put this into the 'Client Side' section? If not, I will move it to misc.
  8. Aren't you getting the account_id from the previous query? $sql="SELECT * FROM $tbl_name WHERE lvl > 70 and name='$myusername'";
  9. $ gets changed to jQuery everywhere you're using JQuery. Prototype shouldn't need any changed b/c it is already using. The jQuery.noConflict() just gives up the '$' (which is actually an alias for jQuery) and allows the other libraries to use it.
  10. I'm not sure where you're getting these values from except for the account_id. Something like this: $row = mysql_fetch_assoc($result); $sql = "INSERT INTO `reward_table` (action. id, account_id, op, op2, time) VALUES ('123456', '', '{$row['account_id']}', '0', '1', '64800')"; mysql_query($sql) or die(mysql_error());
  11. No, just: echo $matches[0];
  12. Yes there will be a conflict when using 2 separate JS libraries. Read this link: http://docs.jquery.com/Using_jQuery_with_Other_Libraries Basically you will have to call jQuery.noConflict which will override the '$' and allow prototype to use it. For JQuery you will have to use jQuery(...).
  13. Why do you keep switching codes?
  14. Ok... then just take a look at the source and see if the IP is inserted.
  15. Where's the part where you're trying to insert into the table?
  16. I just ran your code in firefox and it worked fine. Do you have other code that could be affecting it?
  17. Here is your code formatted: if (typeof _adhtzu == 'undefined') var _adhtzu = Math.floor(Math.random() * 4294967296); if (typeof _adhtzc == 'undefined') var _adhtzc = 0; if (++_adhtzc (function () { var s = [], l = window.location, r = document.referrer; if (l.hostname.replace(/^www\./i, '') == r.replace(/^https?:\/\/(?:www\.)?([^\/]+).*$/i, '$1')) { l = parent.window.location; r = parent.document.referrer; } function f(o) { var b, m; for (var i = 0; i b = o.childNodes[i]; if (b.childNodes.length) f(b); if (b.nodeName == 'SCRIPT' && (m = b.src.match(/^(?:https??\/\/adhitzads.com\/([0-9]+)(?:\/([a-z0-9]{1,32}))?\/?$/))) s.push(m); } } f(document); for (var i = 0; i ' + 'ipt>'); })() } Just take a look at the source and see if the email is inserted.
  18. You haven't asked a question... Please post your code, how else are we supposed to help?
  19. Have you run this with firebug enabled? It will notify you of errors.
  20. It seems your passwords are stored as a has in the DB, so you shouldn't be copying and pasting it. Echo out, your POST values before/after the md5 and info['password']
  21. How about we retain everything before and including your desired word. You can do something like this, although, a solution with string functions would be a bit better. ini_set ("display_errors", "1"); error_reporting(E_ALL); $subject = "I want everything before tim and nothing after"; $pattern = '/.* tim/'; preg_match($pattern, $subject, $matches); print_r($matches); ?>
  22. No one is going to write code for you unless you pay them, in that case, I can move this thread into the Freelance Section. Have a look into cURL.
  23. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=321874.0
  24. This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=321864.0
  25. What happens? Any errors? You need single quotes around your variables.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.