Jump to content
php.lv forumi

Search the Community

Showing results for tags 'ics'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • PHP
    • Interesanti palasīties
    • Iesācējiem
    • Vispārēji
    • Gatavi skripti
    • Freimworki, CMS
    • Datubāzes
  • Infrastruktūra, serveri, serveru programmatūra
    • Instalācija un konfigurācija
    • Hostinga piedāvājumi
    • Hostinga novērtējumi un atsauksmes
  • Pārlūkprogrammas daļa
    • HTML, XHTML
    • CSS
    • Javascript
    • Citas pārlūku vides un pārlūku valodas
    • Pārlūkprogrammas
  • Citas lietas
    • Darbs
    • Drošība
    • Manas lapu/darba novērtēšana
    • Saites uz noderīgiem resursiem
    • eKomercija un ePakalpojumi
  • php.lv
    • Netēma
    • Atsauksmes, ierosinājumi, lamu vārdi
    • Draza
  • Arhīvs
    • PHP
    • (X)HTML, CSS
    • php.lv

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. Sveiki, mēģinu palaist uz android kalendāru savu .ics failu, bet android nenolasa. Caur online ics validatoru man parādu šādu kļūdu: Missing VCALENDAR object near line # 1Reference: RFC 5545 3.4 iCalendar Object Mans kods: require_once('src/idiorm/dbase.php'); header("Content-Type: text/Calendar"); header("Content-Disposition: inline; filename=filename.ics"); $calendar =' BEGIN:VCALENDAR\n PRODID:-//kkas/kkas//v 0.1//LV VERSION:2.0\n METHOD:PUBLISH\n X-MS-OLK-FORCEINSPECTOROPEN:TRUE\n'; $events = ORM::for_table('events')->find_many(); foreach($events as $event){ $id = $event->id; $uid = $event->uid; $startdate = $event->startdate; $enddate = $event->startdate; $title = $event->title; $desc = $event->description; $addtime = $event->addtime; $modifed = $event->last_modifed; $calendar .='BEGIN:VEVENT\n CLASS:PUBLIC\n CREATED:'.$addtime.'\n DESCRIPTION:'.$desc.'\n DTSTAMP:'.$addtime.'\n DTSTART:'.$startdate.'\n DTEND:'.$startdate.'\n LAST-MODIFIED:'.$modifed.'\n LOCATION:\n PRIORITY:5\n SEQUENCE:0\n SUMMARY:LANGUAGE=lv:'.$title.'\n TRANSP:OPAQUE\n UID:'.$id.'\n X-MICROSOFT-CDO-BUSYSTATUS:BUSY\n X-MICROSOFT-CDO-IMPORTANCE:1\n X-MICROSOFT-DISALLOW-COUNTER:FALSE\n X-MS-OLK-ALLOWEXTERNCHECK:TRUE\n X-MS-OLK-AUTOFILLLOCATION:FALSE\n X-MS-OLK-CONFTYPE:0\n END:VEVENT\n'; } $calendar .='END:VCALENDAR'; echo $calendar; ?> Es īstiu nesaprotu kas nav pareizi! P.S. Paldies jau iepriekš.
×
×
  • Create New...