Hi, I want to allow user to upload shapefile to the postgisDB. So I wrote a form and change the cartoclient.tpl file to add "enctype="multipart/form-data"" in the <form> tag in order to use something like $this->file = $HTTP_POST_FILES["filepath"]; "filepath" is the name of my input form.
This is possible to use this with cartoweb ? CW3 send back an error of this kind : class: CartocommonException message: Error [8, Undefined variable: HTTP_POST_FILES, /var/www/html/cartoweb3/projects/script/plugins/layersManager/client/ClientLayersManager.php, 28] Thanks for your answer. Y. -- Yves Jacolin http://yjacolin.gloobe.org ---- Stagaire Conservatoire Régional des Espaces Naturels de la région Centre http://cahiersnaturalistes.free.fr/cpnrc/ ---- - Qu'est-ce que cela peut faire que je lutte pour la mauvaise cause puisque je suis de bonne foi? - Et qu'est-ce que ça peut faire que je sois de mauvaise foi puisque c'est pour la bonne cause. (Jacques Prévert) _______________________________________________ Cartoweb-users mailing list [email protected] http://lists.maptools.org/mailman/listinfo/cartoweb-users
