i have a script that upload song to my server, but i dont want to upload i just want to use link cause it save time and space, so anyone tell me how edit this code that it just accept url in place of upload:
Code: Select all
<tr>
<td class="clsFormLabelCellDefault"><p><?php echo JText::_( 'CHOOSE SONGS' ); ?></p></td>
<td class="clsFormFieldCellDefault"><input type="hidden" id="uid" name="uid" value="<?=$user->id?>" />
<input type="hidden" id="hidUploadID" name="UPLOAD_IDENTIFIER" id="UPLOAD_IDENTIFIER" value="aaa" />
<input type="file" name="Filedata" class="validate['required']" id="photoupload-filedata-1" />
<p class="clsNoSpaces"><?php echo JText::_( 'MAX FILE SIZE' ); ?> <?php echo ($this->config->get('upload_maxsize') / 1000000); ?><?php echo JText::_( 'MB' ); ?> <?php echo JText::_( 'SUPPORTED FORMATS' ); ?></p><br />
<div id="uploadStatusDiv" style="width:0px; height:0px; visibility:hidden;"></div>
<div id="progressBarFrame">
<table id="progressBar" class="progress">
<tr>
<td><p class="clsNoSpaces">
<div id="statusText"></div>
</p></td>
</tr>