Jump to content

lordfrikk

Members
  • Posts

    111
  • Joined

  • Last visited

    Never

About lordfrikk

  • Birthday 08/12/1987

Profile Information

  • Gender
    Male
  • Location
    Czech Republic

lordfrikk's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. All your data is stored in $r[1]. <?php $s = '"Costs of Goods & Services / Total Expenses","-88,105","-91,960","-46,339","-47,400","-48,692","-52,892","-41,672","-43,334","-46,671","-43,203"'; $p = '_"([^"]+?)"_i'; preg_match_all($p, $s, $r); var_dump($r[1]); ?>
  2. Quantifier applies only to what is immediately in front of it, which could be either character, (non-)capturing parentheses, character class.
  3. Yes, it is. If you're sure you NEED ZF features, then go for it. There's no reason why you should go for 'less capable' framework.
  4. .DAT is not a unified format, it's merely a file extension. As I said, we need to know how is your file organized.
  5. It depends on format of your file and if you want to return, for example, number of the row (= number of record).
  6. CodeIgniter is simple and powerful framework... If you don't need monstrosities like ZF or don't like automation of Symfony, you will be probably satisfied.
  7. You can include files via AJAX (which is Javascript).
  8. You can also use Output Buffering (see php.net).
  9. The story behind my username could probably really be called a story :) When I was like 11 years old I was visiting a local gaming place regularly. Once I was a witness of what you probably would call today a progamer. They played Starcraft like gods. I could watch em massacre all other players all day long :) Their nicknames were Lord Yrikk and FREAK... so you get the point :) My nick is homage to these two awesome gamers :) EDIT: Although this is THE story behind my username, there are at least two other not-so-public but still fitting ;D
  10. There is no need to use double quotes when passing only variables: $chknotest=array($chknotest0, $chknotest1, $chknotest2); By the way, what are you trying to test with this little script?
  11. For mono-type validation (only letters or only digits) use filter functions or ctype_xxxx functions (ctype_alpha etc.). For more complex validation, use regular expressions - PCRE.
  12. You probably want to avoid directory traversal attack so you should at least check if those values aren't "..", then probably something like is_dir(realpath($_GET['module'])). But if I'm not mistaken If you're using MVC pattern, then you can't use directory traversal attack because you're not pointing to directories but specific controllers.
  13. That's right, haku. You can't do it as you would've wanted, sunil, because it's considered Cross-Site XHR (XMLHttpRequest). You might want to read some info here: http://cows-ajax.sourceforge.net/tech.php
  14. Answer is tens of thousands of dollars -> expensive :)
  15. You might want to try: http://www.phpclasses.org/browse/package/250.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.