Jump to content

Need help with Upload form


Chrisj

Recommended Posts

I'm trying to change the phpmotion script so that upon logging in, a user goes directly to the upload page.

I've accomplished that, but after browse > select > upload there nothing happens.

I suspect that the previous page (that I've skipped over) needs to be completed first, it's the video_upload_form.htm.

Is there a way I can mod the form so it's always completed? Or so it's not required?

Here's what appears on the upload page (the form part of the upload page video_upload.htm), which may help you help me:

<!-- Start Upload Form -->
<form name="form_upload" method="post" enctype="multipart/form-data"  action="[var.path_to_upload_script]" style="margin: 0px; padding: 0px;">
<noscript><input type="hidden" name="no_script" value="1" /></noscript>
<input type="hidden" name="title" value="[var.title]" />
<input type="hidden" name="description" value="[var.description]" />
<input type="hidden" name="tags" value="[var.tags]" />
<input type="hidden" name="location_recorded" value="[var.location_recorded]" />
<input type="hidden" name="allow_comments" value="[var.allow_comments]" />
<input type="hidden" name="allow_embedding" value="[var.allow_embedding]" />
<input type="hidden" name="public_private" value="[var.public_private]" />
<input type="hidden" name="channel" value="[var.channel]" />
<input type="hidden" name="channel_name" value="[var.channel_name]" />
<input type="hidden" name="sub_cat" value="[var.sub_cat]" />
<input type="hidden" name="form_submitted" value="yes" />

<div id="upload_slots"><span class="font5_16"><b><br/><font size="3" color="#800000" face="Arial">[var.lang_please_upload]  </b></font></span><br/><br/><input type="file" name="upfile_0" size="72" value="" /></div>
<noscript><br/><input type="reset" name="no_script_reset" value="Reset" />   <input type="submit" name="no_script_submit" value="Upload" /></noscript>
</form>
<!-- End Upload Form -->

I'd be glad to provide the upload_video_form.htm code also. Any help/suggestion-to-try will be appreciated

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.