Jump to content

crackpanda

Members
  • Posts

    19
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

crackpanda's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. That worked If you look carefully the previous thread asked for a single space. I need to not limit the spaces in my case. Thank you for the expression, epic.
  2. I need a regex for letters, spaces, and a comma: "toronto, ontario" == true "abc, 123, abc" == false "asd. #!@" == false Does anyone know how to form the pattern for this?
  3. I'm starting a new topic because i need something different now.
  4. Thanks for helping Joe, that code was close, it still lets in numbers in something like this "abc, 123, abc". I need letters, spaces, and one comma. So something like "toronto, ontario" would work.
  5. I also now need one for: letters, spaces, and one comma I'm still trying to learn how to form these patterns..
  6. As the subject implies, i need a regex for letters, one comma, and one space, does anyone know the solution? Thank you for your time,
  7. Like this: http://mysite/thing => http://mysite/thing.php & http://mysite/thing/key => http://mysite/thing.php?k=key
  8. Hey, thank you for taking time to read this and for possibly helping me sort this. So I'm trying to make it so: http://mysite.com/thing/key is rewritten as: http://mysite.com/thing.php?k=key while keeping a general rule for: http://mysite.com/thing being written to: http://mysite.com/thing.php Please help thank you.
  9. So i am getting an error when i try to use move_uploaded_file(). The function is located in a file that is included into the main page. I need the function's destination to be two folders out of its current location (i need it to start from the root folder). This is the error: failed to open stream: No such file or directory.
  10. Hello, could someone please assist me by showing how to put together a preg_match statement for letters and numbers only, no spaces?
  11. Hey, i have a problem with a captcha, i have been trying to solve this since last nite and i still haven't fixed it, its getting me pretty frustrated.. :-\ I'm using this script: http://www.white-hat-web-design.co.uk/articles/php-captcha.php I have the captcha image working, but the session is not working properly. I removed session_start(); because i have it in my root file, and i renamed; $_SESSION['security_code'] = $code; to $_SESSION["captcha"]=$code; Another thing to note, is i named my session so for example, my root file has session_name("mysession"); Any ideas on why $_SESSION["captcha"]=$code; does not work? Please help
  12. The in_array() function works perfectly, thank you very much!
  13. Hello. So what i need to do is check if an array contains a specific value, how can this be done? ??? For example, im looking for "Brick Wall" in the array $walls[].
×
×
  • 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.