\hypertarget{filesave_8php}{}\doxysection{/opt/lampp/htdocs/sfcode/backend/filesave.php File Reference}
\label{filesave_8php}\index{/opt/lampp/htdocs/sfcode/backend/filesave.php@{/opt/lampp/htdocs/sfcode/backend/filesave.php}}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{filesave_8php_ab1d99e9211e0764ab2dcf25497fa40e4}\label{filesave_8php_ab1d99e9211e0764ab2dcf25497fa40e4}} 
{\bfseries \$post\+Data} = file\+\_\+get\+\_\+contents(\char`\"{}php\+://input\char`\"{})
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
This script saves a given code file for a user, given it\textquotesingle{}s path. If the file is an Attempt to a question, it is saved in the separate questions directory(part of the workspace). This file also communicates with the My\+SQL Server to update n\+\_\+files(file count) of the user, to enforce the maximum limit of 10 files. Hence SQL injection is taken care of. 