\hypertarget{dir__tree_8php}{}\doxysection{/opt/lampp/htdocs/sfcode/backend/dir\+\_\+tree.php File Reference}
\label{dir__tree_8php}\index{/opt/lampp/htdocs/sfcode/backend/dir\_tree.php@{/opt/lampp/htdocs/sfcode/backend/dir\_tree.php}}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{dir__tree_8php_a202e5414a83f8a465d58061268174166}\label{dir__tree_8php_a202e5414a83f8a465d58061268174166}} 
{\bfseries dir\+To\+Array} (\$dir)
\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{dir__tree_8php_ab1d99e9211e0764ab2dcf25497fa40e4}\label{dir__tree_8php_ab1d99e9211e0764ab2dcf25497fa40e4}} 
{\bfseries \$post\+Data} = file\+\_\+get\+\_\+contents(\char`\"{}php\+://input\char`\"{})
\item 
\mbox{\Hypertarget{dir__tree_8php_a227a9443cabbe5e23cfc10c4371e09d1}\label{dir__tree_8php_a227a9443cabbe5e23cfc10c4371e09d1}} 
{\bfseries \$uname} = \$post\+Data\mbox{[}\textquotesingle{}username\textquotesingle{}\mbox{]}
\item 
\mbox{\Hypertarget{dir__tree_8php_ad86bfd361a21d3818b7dcaf19fb6a4bb}\label{dir__tree_8php_ad86bfd361a21d3818b7dcaf19fb6a4bb}} 
{\bfseries \$\+Dir} = \char`\"{}../users/\char`\"{} . \$uname
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
This script returns the directory tree of a user\textquotesingle{}s workspace, given the username. It returns a nested array in JSON form, after using the recursive function called dir\+To\+Array(). 