Jump to content

HeaDmiLe

Members
  • Posts

    36
  • Joined

  • Last visited

    Never

Everything posted by HeaDmiLe

  1. Try this example <?php require_once 'Date.php'; //without parameter == now $now = new Date(); //pass a string in ISO format $longAgo = new Date('1813-02-23T05:34:23'); //create a Date object from a PHP unix timestamp $timestamp = time(); $nearlyNow = new Date($timestamp); //make a copy of an existing Date object $copyDate = new Date($longAgo); ?> I gave you this example because you're trying to includeTimeZone.php instead of Date.php. I have not experience with installing pear packages on windows, but I saw no TimeZone.php, only Date.php even though you need TimeZone functionallities.
  2. These errors means only file is missing. Do you have file DateTime.php into folder wher your script is placed?
  3. There's no a book that will make you pro, same situation with video tutorial. You can watch a hundred hours of videos, but you must practice on your own. For php basics you don't need a book (i'm not talking about programming basics), you have php.net and great tutorial there. I'm looking at qbrushes momentally... You must have a lot of experience to deploy some user-friendly site. You can't just learn a bit of php, a bit of html, css and make a good site. At least you must be a good UI designer to make your first visitors feel happy. So, start learn, there is lot of it... Cheerz and good luck
  4. I suggest you to do it in brutal way until you're searhing for the source of problem.
  5. There must be sth less brutal than putting it into array and sorting... Did you try to get filenames by the instance of Directory class? http://www.php.net/manual/en/class.dir.php
  6. Is acceptable to put names into array and sort it?
  7. Yeah i read it and i heard about this book there... There's nothing to do than read the book.
  8. Please post if you've read book in the topic and write down your impressions... Is it good, what level of programmers is it for and things similiar to these questions. Thank you
  9. Thank you... I built a filter (input / output) script so decoding is not a problem. I think utf8_general_ci supports croatian characters. I have used latin1_swedish_ci and this was a little tricky.
  10. Need a suggestion here. I'm starting a new project that need to support croatian characters ( Č č Ć ć Ž ž Š š Đ đ ) and i use a utf8_general_ci collation. Do you suggest to put these characters in "native" form ( š ) or there is a better way to put it into db like utf8 html entity ( &scaron... etc )? Thank on your help...
×
×
  • 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.