Welcome Guest, Not a member yet? Register   Sign In
SWF Uploader - help required
#3

[eluser]Computerzworld[/eluser]
I am using jquery uploader from this website. If I run it separately then its working fine. But if I integrate it in CI then it doesn't work. Is there any modifications required in order to make it run?

Here is my view file.

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
&lt;html lang="en"&gt;
&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
&lt;title&gt;jqUploader demo&lt;/title&gt;
&lt;link rel="stylesheet" type="text/css" media="screen" href="style.css"/&gt;
[removed][removed]
[removed][removed]
[removed][removed]
[removed]
$(document).ready(function(){
    $('#example1').jqUploader({background:'FFFFDF',barColor:'FFDD00',allowedExt:'*.avi; *.jpg; *.jpeg; *.png;',allowedExtDescr: 'what you want',validFileMessage: 'Thanks, now hit Upload!',endMessage: 'and don\'t you come back ;)',hideSubmit: false});
    $("#example2").jqUploader({
        afterScript:    "redirected.php",
        background:    "FFFFDF",
        barColor:    "64A9F6",
        allowedExt:     "*.avi; *.jpg; *.jpeg; *.png",
        allowedExtDescr: "Images and movies (*.avi; *.jpg; *.jpeg; *.png)"
    });

    $("#example3").jqUploader({background:    "FFFFDF",barColor:    "FF00FF"});
});
[removed]
&lt;/head&gt;
&lt;body&gt;
  &lt;form enctype="multipart/form-data" action="flash_upload.php" method="POST" class="a_form"&gt;
    <fieldset>
    <legend>Your picture</legend>
    <ol>
      <li id="example1">
        <label for="example1_field">Choose a file to upload: </label>
        &lt;input name="MAX_FILE_SIZE" value="1048576" type="hidden" /&gt;
        &lt;input name="myFile"  id="example1_field"  type="file" /&gt;
      </li>
    </ol>
    </fieldset>
    &lt;input type="submit" name="submit" value="Send" /&gt;
  &lt;/form&gt;
  &lt;form enctype="multipart/form-data" action="flash_upload.php" method="POST" class="a_form"&gt;
    <fieldset>
    <legend>Upload your file</legend>
    <ol>
      <li id="example2">
        <label for="example2_field">Choose a file to upload:</label>
        &lt;input name="myFile2" id="example2_field"  type="file" /&gt;
      </li>
    </ol>
    </fieldset>
    &lt;input type="submit"  name="submit" value="Upload File" /&gt;
  &lt;/form&gt;
  &lt;form enctype="multipart/form-data" action="flash_upload.php" method="POST" class="a_form"&gt;
    <fieldset>
    <legend>Upload your file</legend>
    <ol>
      <li id="example3">
        <label for="example3_field">Choose a file to upload:</label>
        &lt;input name="myFile3" id="example3_field"  type="file" /&gt;
      </li>
    </ol>
    </fieldset>
    &lt;input type="submit" name="submit" value="Upload File" /&gt;
  &lt;/form&gt;
</div>
&lt;/body&gt;
&lt;/html&gt;
&lt;?php
//define("_BBC_PAGE_NAME", "jqUploader Index");
define("_BBCLONE_DIR", $localpath ."stats/");
define("COUNTER", _BBCLONE_DIR . "mark_page.php");
if (is_readable(COUNTER)) include_once(COUNTER);
?&gt;

Thanks.


Messages In This Thread
SWF Uploader - help required - by El Forum - 04-02-2009, 10:47 PM
SWF Uploader - help required - by El Forum - 04-02-2009, 11:14 PM
SWF Uploader - help required - by El Forum - 04-03-2009, 01:09 AM
SWF Uploader - help required - by El Forum - 04-03-2009, 01:21 AM
SWF Uploader - help required - by El Forum - 04-03-2009, 01:36 AM
SWF Uploader - help required - by El Forum - 04-03-2009, 02:06 AM
SWF Uploader - help required - by El Forum - 04-03-2009, 03:31 AM
SWF Uploader - help required - by El Forum - 04-07-2009, 11:52 PM



Theme © iAndrew 2016 - Forum software by © MyBB