H5 call calendar and add events

recently, there is a requirement that requires h5 to call the calendar and then add events. Have any great gods made similar requirements or have any ideas? please comment

Dec.13,2021

ical learn about

php statement:

$ical = "BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//hacksw/handcal//NONSGML v1.0//EN
BEGIN:VEVENT
UID:" . md5(uniqid(mt_rand(), true)) . "@yourhost.test
DTSTAMP:" . gmdate('Ymd').'T'. gmdate('His') . "Z
DTSTART:19970714T170000Z
DTEND:19970715T035959Z
SUMMARY:Bastille Day Party
END:VEVENT
END:VCALENDAR";

//set correct content-type-header
header('Content-type: text/calendar; charset=utf-8');
header('Content-Disposition: inline; filename=calendar.ics');
echo $ical;
exit;

theoretically, the front-end output of this piece of characters in this ics standard format can be done. IOS is like this. Android should have other ways to update.

reference:
https://stackoverflow.com/que.


do you want to display a calendar on the H5 page, and then can you add a calendar to it?
recommend to you:
fullcalendar A JavaScript event calendar. Customizable and open source.

this calendar plug-in is easy to use.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e5cbde-443fe.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e5cbde-443fe.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?