I am new in joomla. a create a basic module for joomla.this is my file structure in my module.
mod_upload.xml
mod_upload.php
helper.php
i put this form in helper.php
<form action="mod_upload.php" method="post"
enctype="multipart/form-data">
Filename:
<input type="file" name="file" id="file"><br>
<input type="submit" name="submit" value="Submit">
</form>
and I know this is not working because I put this code in my php file.
defined('_JEXEC') or die('Restricted access');
for now I want to know how to set action for form to send my file from helper.php to mod_upload.php