Jump to content

premiso

Members
  • Posts

    6,951
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by premiso

  1. By using list if the array always has 1 value pair. If not you would need to use a foreach loop: list($key, $value) = $var['bcc']; Foreach: foreach ($var['bcc'] as $key => $value) { echo $key . " " . $value . " " ; } $key would hold 898 and $value would hold tester. And just for the record, this has nothing to do with regex
  2. That is just a serizlied array. Use unserialize and then you can access it like a normal array.
  3. I am in full support of this initiative. Signed the petition and if I can find a donation link, you better believe that I will donate to it.
  4. + in js is also the concatenation, so you need to use parseInt on each item. Example: var a = parseInt(document.getElementById('Para_A_A1_score').value) ; Do that for each value and it should add them up.
  5. If all else fails and you have not done it yet an apache (or web server) restart may kick it in.
  6. Look at the onBlur html attribute. This should do what you want. <input type="text" name="Para_A_A6_score" onblur="javascript:calculate_a(); return false;" />
  7. You need to also change the upload_max_filesize and post_max_size size in the php.ini as well.
  8. You forgot about the Dancing Jesus.
  9. Yep. It looks better with the black...at least I don't break out into seizures anymore
  10. I think I just had a seizure.
  11. Check out this tutorial: http://www.phpfreaks.com/tutorial/simple-sql-search See if that helps ya.
  12. Full of fail. I vote to revoke the badge.
  13. Where are you calling mail at?
  14. LOL at you not listening/reading correctly. You tell him girl! Teach that Maq who is boss. mmmhmmm because we all know there is nothing on the in between side of things mmhmmm. Thats how us whiteboi girls rolls you know what I am sayin to ya? mmmhmmm. Cause we always know how to read and listen mmhmmm so just tell him to talk to the hand as our faces ain't listenin (snaps fingers in a circular direction). mmhmmmmm
  15. searls03, the md5 alone is easy to crack with a rainbow table. That aside, as Pikachu2000 said. If your tables are being dropped that means somewhere in the script someone is doing a SQL inject. If you take a look at your APACHE Logs (if on linux /var/log/apache2/access.log) you can see what GET data people are sending which may lead you to the problem script that someone is SQL Injecting. Looking at the code you posted, the problem does not lay within that code. So check your logs and stop getting hung up on other random shit acting like you are the victim. We can only help someone to a point where they actually listen to the help being given.
  16. Since maq is my lover and everything I've ever wanted, just lazy: if ($car_class == FALSE) { //echo here }
  17. Well try echoing out some variables, see if stuff is being populated. Other debugging techniques also work, such as a var_dump etc.
  18. Why are you suppressing errors? @$html->loadHtmlFile('http://www.freelancer.com/sellers/'); Remove that @ sign and see what error it is throwing. If freelancer.com does not have valid HTML, the DOM will not work with it.
  19. Really if you want to dive into the command line, Linux / Unix is the way to go. Windows has support, but I find their Command Prompt very limiting (especially the size of it) etc. You can do cygwin with MinTTY for a better console. As far as OpenSSH vs PuTTY, on Windows I would do the cygwin with MinTTY and OpenSSH. I really just cannot stand PuTTY or KiTTY, just annoy me how they handle sessions. Linux, well OpenSSH all the way as most systems come with OpenSSH pre-installed. My 2cents. If you are looking for a Linux Distro, I would suggest a Debian based distro (like CrunchBang).
  20. Perhaps you should read it closer, it solves your problem: http://www.phpfreaks.com/forums/index.php?topic=339810.msg1601940#msg1601940 Notice how there are no more single quotes around the [Line] inside of the input box. Or if you want to leave your code the same: echo $Saves["'Line'"];
  21. $variableName = $_GET['ID']; This should correspond with the name of your "users" select. $variableName = $_GET['users']; Since you named it 'users' you use users. If you want it to be ID, change the select box name to be ID.
  22. If you are not going to read through the posts that solve your problem, why bother asking the question?
  23. dfalkowitz, post your form HTML code. As we cannot be of further assistance without seeing how that is setup.
  24. Your problem lays within the single quotes: <input id=:"Line" name="Saves['Line']" type="text"> Should be: <input id="Line" name="Saves[Line]" type="text"> Same goes for the IP, remove the single quotes around IP Address in the html input tag, and your code will work.
×
×
  • 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.