Jump to content

Maq

Administrators
  • Posts

    9,363
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Maq

  1. Where is your page for unsuccessful logins? Put the code there. You have all the information you need, you just have to write it to a log file. Could you attempt it and come back with some code for us to work with?
  2. Yeah, I was staring at the code and didn't realize that RELEASE was a reserved word either, probably cause I've never used it before, good to know!
  3. For a VM you can use VMWare and Ubuntu comes with a rotation feature but Compiz is very cool
  4. Before I exam your code, could you add: mysql_query($query) or die(mysql_error()); to the end of all your query executions?
  5. With javascript you can use, document.referrer. Look it up.
  6. It comes down to personal preference. For example, I use Ubuntu just because our computer labs had the Ubuntu distribution installed. As you can see, no one has any valid reasons, especially if your computer is for personal use. If you talk about servers, strong opinions may pop up.
  7. Due to the title of the thread and this excerpt: I was under the impression that part of applying for the job was to include his minimal/desired salary. Maybe the OP could clarify some of these blurry questions? Yes it most certainly does make a significant difference. When I said: I didn't mean it like that, but now that I think about it I don't know what I meant...
  8. Have you tried Google? Uh, here is one: currency converter
  9. Are you serious? Could you maybe... format it? And this? thx
  10. are you implying that the second line works in all browsers even though that has nothing to do with it because PHP is server side. Yes ! Absolutely. And, I should use = not ==, the "bug" was due to something stupid actually Thanks anyway ! Problem solved. I don't think there was a bug, only mistakes, and at least 1 stupid one.
  11. That's really doesn't help. Everything you have provided is useless information. Don't you have a backup?
  12. A missing bracket, code please.
  13. if ($users == 1000) { echo "you are the 1000 User To Visit this Site"; } else { echo "Welcome to My Website"; } ?
  14. Hehe yeah, it usually is
  15. These numbers seem really high. I know you're going off of the previous posts but sorry, anything over 65k is highly unlikely. With no degree and no formal experience (the two most important elements when reviewing someone's resume for an entry level position) I'd say these expectations are a little too high. Maybe it's different where you live but I doubt it...
  16. What about using a virtual machine? On linux you can set up multiple desktops (1 with windows 1 linux) and rotate back and forth.
  17. PPC's aren't worth having unless you have a decent amount of traffic anyway, could I ask what exactly your site is? So far I have, rotating images with no content...
  18. Can you post your assignment, or at least give some more detail...?
  19. Make the name for ALL your text fields "t[]" and your PHP will look something like: foreach ($_POST as $key => $value) { echo "key: " . $key . " value: " . $value; }
  20. Why can't you just use WINE?
  21. Sure, if someone tries to login and fails, then store it in a column in the DB. We would need some more information, and you're better off starting a new thread.
  22. You're using = when you should be using ==. When you say: are you implying that the second line works in all browsers even though that has nothing to do with it because PHP is server side.
  23. Try this: $query = "INSERT INTO cal_events SET username = '{$user}', user_id = '{$employee}', date = '{$finaldate}', time ='{$time}', description = '{$event}'"; Variables don't get evaluated in single quotes. You need to either encapsulate them in french braces or concatenate to the string.
  24. Why don't you just post your site url or whatever part you're trying to test. You can also download the SQL Inject Me tool and test it yourself.
  25. There will probably be a lot more OO questions as PHP is steering more towards it. Also due to the the fact that more frameworks are coming out and being used.
×
×
  • 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.