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


\doxysubsection{Detailed Description}
This script registers a user using a username, password, name, and email. This script communicates with the My\+SQL server to save user data. Passowrd is hashed, and SQL injection is taken care of. The process of registering involves -\/
\begin{DoxyEnumerate}
\item An insert operation into the users table, in the database.
\item Creation of directories, required to store files, executables and question attempts made by the user.
\end{DoxyEnumerate}

Returns a 404 error if username already exists. 