Jump to content

Daniel0

Staff Alumni
  • Posts

    11,885
  • Joined

  • Last visited

Everything posted by Daniel0

  1. Store them in a session. $_SESSION['answers'] = $answers; http://www.php.net/manual/en/ref.session.php
  2. Daniel0

    Help Me

    It means either: 1) The user doesn't exist. 2) The user does exist but the password is wrong. 3) The user does exist but does not have access to that specific database which you chose.
  3. You cannot echo an array like that. If you wish to represent an array as a string then use print_r(), var_dump or var_export().
  4. What do you mean with "and support files they cannot included"?
  5. Why would you do that?
  6. I'd use SHA-256 with a salt. $encrypted = hash('sha256', $salt . $password);
  7. No. $query=mysql_query("select * from gaf where test=0 order by ".$ordering);
  8. Use getimagesize(). Note: It will open the image internally. It's impossible otherwise. I'm not sure what you mean by opening it.
  9. Although it may not be specifically English it is an ISO standard called ISO 8601. Edit: As specified in the PHP manual can you see all the supported formats here: http://www.gnu.org/software/tar/manual/html_node/tar_113.html
  10. You can do this: <?php $var = 'u_2:u_358:u_135:u_378'; $var = str_replace('u_', '', $var); $var = str_replace(':', ',', $var; $query = "SELECT username FROM phpbb3_users WHERE user_id IN({$var})"; // etc... ?>
  11. It doesn't look very credible to me.
  12. Perhaps you should reconsider how you make your URLs... Note: Has nothing to do with the problem.
  13. It does work, but new lines are considered whitespace in HTML. You need to use the HTML linebreak tag <br />.
  14. How exactly do you want to restrict the access? Here is one way you can do it: <Location /admin.php> Order Allow, Deny Deny from All Allow from *your_ip_here* </Location>
  15. You could use http://www.serverpowered.com or http://www.webhostfreaks.com which are both owned by the person who owns PHP Freaks. There is also a list of web hosts here: http://www.phpfreaks.com/forums/index.php/topic,117475.0.html
  16. That means that $_GET['id'] has a value of null. Try to post the rest of the script (unless it's huge).
  17. Daniel0

    Help Me

    nevermind...
  18. Put this code before the if statement and post it's output: var_dump($_GET['step'], $_GET['id'], $ID);
  19. You can do something like this: $var = 'u_378:u_384:u_135:u_358'; $parts = explode(':', $var);
  20. TightVNC and RealVNC have that.
  21. The same question was asked here: http://www.phpfreaks.com/forums/index.php/topic,183296.msg819544.html#msg819544 http://www.phpfreaks.com/forums/index.php/topic,183194.0.html http://www.phpfreaks.com/forums/index.php/topic,182480.msg820555.html#msg820555 And the answer is here: http://www.phpfreaks.com/forums/index.php/topic,96050.0.html
  22. See http://www.phpfreaks.com/forums/index.php/topic,96050.0.html
  23. I sort them alphabetically.
  24. It's probably because of the intrusion prevention system which was enabled again after the forum was hacked. See: http://www.phpfreaks.com/forums/index.php/topic,96050.0.html
×
×
  • 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.