diff --git a/example/README.md b/example/README.md new file mode 100644 index 0000000..74afa7f --- /dev/null +++ b/example/README.md @@ -0,0 +1,22 @@ +# Esempio + +Copia questa cartella nel tuo web server in modo che sia raggiungibile ad esempio a questa URL: + +` +http://localhost/example +` + +Inserendo negli `$start_url` l'indirizzo sopra e avviando lo script, l'output dovrebbe essere: + +``` +[0] http://localhost/example/pagina1 +[1] http://localhost/example/pagina1/sub1.1 +[1] http://localhost/example/pagina1/sub1.2 +[1] http://localhost/example/pagina1/sub1.3 +[2] http://localhost/example/pagina1/sub1.1/subsub1.1.1 +[2] http://localhost/example/pagina1/sub1.1/subsub1.1.2 +[0] http://localhost/example/pagina2 +[1] http://localhost/example/pagina2/sub2.1 +[1] http://localhost/example/pagina2/sub2.2 +[1] http://localhost/example/pagina2/sub2.3 +``` \ No newline at end of file diff --git a/example/pagina1/sub1.1/subsub1.1.1 b/example/pagina1/sub1.1/subsub1.1.1 new file mode 100644 index 0000000..e69de29 diff --git a/example/pagina1/sub1.1/subsub1.1.2 b/example/pagina1/sub1.1/subsub1.1.2 new file mode 100644 index 0000000..e69de29 diff --git a/example/pagina2/sub2.2 b/example/pagina2/sub2.2 new file mode 100644 index 0000000..e69de29 diff --git a/example/pagina2/sub2.3 b/example/pagina2/sub2.3 new file mode 100644 index 0000000..e69de29 diff --git a/example/pagina2/subu2.1 b/example/pagina2/subu2.1 new file mode 100644 index 0000000..e69de29