Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importovac dat by mohol vediet nacitavat aj zazipovane XML-ko #24

Open
svtimport opened this issue Sep 24, 2013 · 5 comments
Open

Importovac dat by mohol vediet nacitavat aj zazipovane XML-ko #24

svtimport opened this issue Sep 24, 2013 · 5 comments

Comments

@svtimport
Copy link

Original issue URL: https://ne.st.dcs.fmph.uniba.sk/issues/137
Priority: Normal
Created on: 2013-02-23 12:17:09+01:00

Nech to clovek vzdy nemusi odzipovavat rucne.

Vid aj fmfi-svt/rozvrh-xml#1

@mrshu
Copy link
Contributor

mrshu commented Oct 17, 2013

Vyzera, ze ZipArchive by mala vediet velmi pekne extractovat data zo ZIPu do nejakeho adresara (http://www.php.net/manual/en/ziparchive.extractto.php).

Ak som spravne cital dokumentaciu, tak ZipArchive je v PHP dostupne automaticky, ak bolo kompilovane s --with-zip, co je zrejme skoro kazde.

@martin-sucha
Copy link
Member

Hmm. A nebolo by lepsie rovno pouzit nejaky getstream? (http://www.php.net/manual/en/ziparchive.getstream.php)

@mrshu
Copy link
Contributor

mrshu commented Oct 17, 2013

@martin-sucha Samozrejme, bolo.

Napisal som to aj na fmfi-svt/rozvrh-xml#1, kde ma to potom neskor napadlo.

@burlito
Copy link

burlito commented Oct 18, 2013

Mam otázku, prečo práve zip? ide všeobecne o podporu uploadu archivovaných súborov alebo rozvrháry zvyknú mať daný súbor často v zipe?

@TomiBelan
Copy link
Member

Presne tak, chodieva nam rozvrh.zip obsahujuci rozvrh.xml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants