Jump to content

xyph

Staff Alumni
  • Posts

    3,711
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by xyph

  1. mbstring is a different extension than ereg. Why mbstring uses POSIX rather than PCRE, I don't know
  2. Agreed, on both points. I can volunteer to write that one, if you guys will proof it for me Talk is cheap!
  3. Much needed. The manual entry is very well done, and this is just icing on the cake! Now we just need a sticky for the 'expects a resource - boolean given'
  4. Not meaning to derail the thread, but I don't think it's possible to 'convert' between hash algos. As an idea, and an extension of "Statistics program," how about a visitor counter, that tracks total hits, unique hits, and which page the hit was made. An advanced version, for bonus points , could also track the 'route' a user takes through your web page, and possibly how long they stay on each page
  5. Try echo'ing $path.$file $path needs a trailing slash, like my example.
  6. $path = '/path/to/your/folder/'; $handle = opendir($path); while (false !== ($file = readdir($handle))) { if ($file != "." && $file != "..") { if( is_dir($path.$file) ) echo '<a href="/'.$file.'">'.$file.'</a>'; else echo $file; echo '<br>'; } } closedir($handle);
×
×
  • 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.