+ 8
Get file content
Hello! The following url https://planning.univ-st-etienne.fr/jsp/custom/modules/plannings/anonymous_cal.jsp?resources=3797&projectId=1&calType=ical&firstDate=2017-08-22&lastDate=2018-08-20 automatically downloads a file for me (.ics) which I need its text content. I would like to automatically get this text by code for my website so I don't need to update it manually everyday. How could I manage that?
4 ответов
+ 7
Solved using php:
<?php
$urlICS = 'https://planning.univ-st-etienne.fr/jsp/custom/modules/plannings/anonymous_cal.jsp?resources=3797&projectId=1&calType=ical&firstDate=2017-08-22&lastDate=2018-08-20';
$contentICS = file_get_contents($urlICS);
echo $contentICS;
?>
+ 5
That's exactly what I'm trying, but how?
+ 1
zzßezzze adezsz3
https://code.sololearn.com/eeee3ezez ac8eE2kF3Ofriappdref=app
https://coezeezedzezzde.sololearn.com/c8E2kF3Ofriz/?ßßsee=app3de
https://d/didsscuss/710785/?ref=app
https://code.sololevearn.com/cqfl1nmGprm4/?ref=appdzddzddeeedrddddes appdzddzddeedrdedddes e
https://eeewww.seoezssdslo a ddzdz
https://www.sololearn.com/discuss/712209/?ref=appdzddzddeeedrddddesrdesee
https://www.sololearn.com/discuss/712209/d?ref=app