Jump to content

gergy008

Members
  • Posts

    146
  • Joined

  • Last visited

Profile Information

  • Gender
    Male

gergy008's Achievements

Member

Member (2/5)

0

Reputation

  1. Dude you're a star, I completely forgot about those things, I need to back to lesson zero XD thanks!
  2. Maybe this might come in handy: http://pdfobject.com/
  3. Uhm... this is the PHP help... not the Javascript help. Only a handful of the guys here specialise in jQuery.
  4. Change return (!isset($_SESSION['token']) || $this->_token != $_SESSION['token']) ? 0 : 1; to return (!isset($_SESSION['token']) || $this->_token != $_SESSION['token']) ? 1 : 0; And see what happens
  5. Hey everyone! It's been a while ^^ So I've run into a regex problem, it was never my strong point tbh, however, I've come across an issue I can't seem to find a solution to Basically I'm using the following regex to check if a password meets the requirements, which are: Contains a letter Contains a number Can use only A to Z, a to z, 0 to 9 and any of these in the password too:!@#$%. What's going on? Heres line 81, and the error I'm getting. elseif(preg_match('^(?=.*\d+)(?=.*[A-z])[0-9A-z!@#$%]$', $pwds['pwd'])!=1) $problems['pwd']='Passwords must contain one letter and number. Also allowed: .!@#$%'; A PHP Error was encountered Severity: Warning Message: preg_match(): No ending delimiter '^' found Filename: controllers/daemon.php Line Number: 81 Thanks! Gergy.
×
×
  • 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.