Jump to content

Ionisis

Members
  • Posts

    31
  • Joined

  • Last visited

    Never

Everything posted by Ionisis

  1. Well, yeah, you and i know that, but this guy may not have, so i though that perhaps i'd be a bit more explicit for him. Anyway here's some docs on command line options that he can call with exec or system: http://www.cups.org/documentation.php/options.html
  2. i assume, by this, you mean using php's system() or exec() functions (you forgot to mention the HOW )?
  3. Well if you're not going to ban me, then i'll at least clean up my last post so that others don't see it. Oh, and perhaps i MAY have indulge into mentioning my stuff in this thread; but i'm VERY proud of it, and i worked my BUTT off to get my systems where they're at; and i did it with NO funding and NO help. I know exactly what they can do, and i know what they will be able to do in the near future. I'm just a little bit excited to be about to FINALLY let others use them. It's the first time since i've started this whole project that anyone else will be using them. I'm kinda ancy and excited both. So, forgive me if i couldn't resist to mention it here. I think that if you worked on something for 2 years solid, and anticipated wide adoption, you'd be a bit eccentric, and proud, as well. Anyway, i'll drop this issue. No harm, no foul. Oh, and fwiw, i WAS kinda digging this place. I don't usually ask for help with development, because i don't need it, but when i noticed there were threads here with NO answers, i bookmarked this site so that i could help out from time to time (because i'm a nice guy).
  4. I answered a question that was posed, and you call that spam? I'm not a spammer. You can ban me now .
  5. Probably ate it for lunch? I don't know how you could, it's disgusting. BTW, don't ever accuse me of such things. A question was asked, and an answer was provided. Ask and receive. Further more, it IS my opinion that my framework is the best there is; however i don't allow others to have the source, i was just stating that opinion.
  6. Ha, that's almost exactly what i was doing: for ($i = 1; $i < 17; $i++){ if (isset($_FILES['multimedia_'.$i])){ if ($_FILES['multimedia_'.$i]['size'] > 0){ $file = $_FILES['multimedia_'.$i]['tmp_name']; if ($mm->analyze($file)){ } } } }
  7. sure, here's what my can do: http://iims.ionisis.com It's not available to the public as a framework: it's SYSTEMS are. In other words, i don't share the code that makes my framework, but i let people use the systems (paid, or free). It's a wicked SaaS framework i've been working on for 2 years, and it's about showtime for it. It runs all of the systems you see under the "Systems" menu, at the top of the page (or to the right of that page). It even handles most mobile So, to be clear, as far as my answer, it was meant more as a joke than anything. I.E., it's the best, but you can't have it, lol (the framework itself, that is).
  8. AH! I think that i know EXACTLY what's going on! My systems run over a SaaS framework that i've spent 2 years developing; i never planned on having more than 1 parameter with the SAME name to forward through the API! I need to update my framework's api connector file that's used on the client's site so that it can handle multiple get/post/files params with the same name... Wow, that's going to be fun. Thanks a million for your help man. Without you, i would not have come to this realisation By the way, i love some of the quotes in your signature and under your avatar. Is there not a way to mark this "solved"?
  9. i have no clue what the hell that code is doing. I built my own forums so i don't know anything about those open source forums. However, i am a database junkie. Tell me what TABLES contain what INFORMATION that you want to have changed to what OTHER information. Start with this, for the table(s) in question: mysql> describe tbl_name; Post that, and tell me what you are TRYING to do with it.
  10. get a better cart . I know, it doesn't help, but i had to say it . I made a free one you can use when i release it (soon).
  11. For starters, stop appending strings, and use commas. It will make your scripts faster and consume less memory. When using echo, watch how i do; By the way, your quotes are not nested correctly: Yours: echo '<input style="margin:9px;" "type="checkbox" name="category[]" value="'.$scat_id.'/>'.$scat_name.''; Mine : echo '<input style="margin:9px;" type="checkbox" name="category[]" value="',$scat_id,'"/>',$scat_name; if ($my_relevant_val == 'some_value'){ echo '<input style="margin:9px;" type="checkbox" name="category[]" value="',$scat_id,'" checked="checked"/>',$scat_name; }else{ echo '<input style="margin:9px;" type="checkbox" name="category[]" value="',$scat_id,'"/>',$scat_name; }
  12. if you're running on a home internet connection, you'll also need a mail relay server.
  13. I'm kinda reaching here, but look into cups (IF you're running Linux). Here's an overview of my theory: 1) use php's fsockopen with fputs to open a socket to the cups server 2) issue a command to print What legwork you'll have to do: 1) research cups's commands that it can accept via the network, and what format they come in.
  14. i don't know what framework your using, but it looks like you're not passing ANY info to the objects/functions that create the user, and which would yield the user's ID. I expected to see a $_GET['userid'] or something. I'm just curious, are you trying to write this because you WANT to code your own site, or because you have no choice? I've always wonder that about people trying to do this stuff.
  15. My CMS is free, but it doesn't do all of that. You create content the same way you do on this website here (php freaks): with pseudo tags. Only catch is, you can't code with my cms, it's a completely "managed" solution, meaning that you just "use" it, instead of maintaining it (which we do).
  16. readfile() gets the content of a file and spits it out. file_get_contents will assign it's contents to a variable.
  17. What's the error you're getting?
  18. ok, i'm a bit partial, but i believe MY framework is the best . I'll leave it at that before i sound like a sales pitch .
  19. why don't you just readfile() the flat files?
  20. And while we're at it, here's my entire php.ini; later i plan i re-reading the entire core directives documentation again, to get rid of the options that i don't need (it's been a couple of years): engine = On extension_dir = "/usr/lib64/php/modules" zend.ze1_compatibility_mode = Off short_open_tag = On asp_tags = Off precision = 14 y2k_compliance = On output_buffering = 0 zlib.output_compression = On zlib.output_compression_level = 2 zlib.output_handler = implicit_flush = Off unserialize_callback_func= serialize_precision = 100 allow_call_time_pass_reference = Off safe_mode = Off safe_mode_gid = Off safe_mode_include_dir = safe_mode_exec_dir = safe_mode_allowed_env_vars = PHP_ safe_mode_protected_env_vars = LD_LIBRARY_PATH disable_functions = disable_classes = realpath_cache_size=64k realpath_cache_ttl=256 expose_php = Off file_uploads = On upload_tmp_dir = /Multimedia/servers/http/0-logic/temp max_execution_time = 240 max_input_time = 240 memory_limit = 96M post_max_size = 368M upload_max_filesize = 368M max_file_uploads = 16 error_reporting = E_ALL display_errors = On display_startup_errors = Off log_errors = On log_errors_max_len = 1024 ignore_repeated_errors = Off ignore_repeated_source = Off report_memleaks = On ; Store the last error/warning message in $php_errormsg (boolean). track_errors = Off server.max-keep-alive-requests = 64 server.max-keep-alive-idle = 10 variables_order = "EGPCS" register_globals = Off register_long_arrays = Off register_argc_argv = Off auto_globals_jit = On magic_quotes_gpc = Off magic_quotes_runtime = Off magic_quotes_sybase = Off default_mimetype = "text/html" enable_dl = On ; Whether to allow the treatment of URLs (like http:// or ftp://) as files. allow_url_fopen = On allow_url_include = Off default_socket_timeout = 60 date.timezone = UTC define_syslog_variables = Off sendmail_path = /usr/sbin/sendmail -t -i tidy.clean_output = Off ;xmlrpc_error_number = 0 ;xmlrpc_errors = 0 sql.safe_mode = Off odbc.allow_persistent = On odbc.check_persistent = On odbc.max_persistent = -1 odbc.max_links = -1 odbc.defaultlrl = 4096 odbc.defaultbinmode = 1 mysql.allow_persistent = On mysql.max_persistent = -1 mysql.max_links = -1 mysql.default_port = mysql.default_socket = mysql.default_host = mysql.default_user = mysql.default_password = mysql.connect_timeout = 60 mysql.trace_mode = Off mysqli.max_links = -1 mysqli.default_port = 3306 mysqli.default_socket = mysqli.default_host = mysqli.default_user = mysqli.default_pw = mysqli.reconnect = Off query_cache_size = 8M session.save_handler = files session.save_path = "/var/lib/php/session" session.use_cookies = 1 session.use_only_cookies = 1 session.name = PHPSESSID session.auto_start = 0 session.cookie_lifetime = 0 session.cookie_path = / session.cookie_domain = session.cookie_httponly = 1 session.serialize_handler = php session.gc_probability = 1 session.gc_divisor = 1000 session.gc_maxlifetime = 1440 session.bug_compat_42 = 0 session.bug_compat_warn = 1 session.cache_limiter = nocache session.cache_expire = 180 session.use_trans_sid = 0 session.hash_function = 0 session.hash_bits_per_character = 5 url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry" soap.wsdl_cache_enabled=1 soap.wsdl_cache_dir="/tmp" soap.wsdl_cache_ttl=86400
  21. Just for the hell of it, here's the ENTIRE html page (sans php): <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://developers.facebook.com/schema/"> <head> <title>Upload Multimedia</title> <meta property="og:site_name" content="The Social Expo"/> <meta name="robots" content="index,follow,NOODP"/> <meta name="title" content="Upload Multimedia"/> <link rel="prev" href="/"/> <link rel="next" href="/"/> <link rel="start" href="/"/> <link rel="active" href=""/> <link rel="canonical" href="http://thesocialexpo.com/?a=SMMM_Multimedia_Create_Bulk"/> <link rel="image_src" href="http://TheSocialExpo.com/api.ionisis.com/images/icons/128/default.png"/> <link rel="stylesheet" href="http://TheSocialExpo.com/api.ionisis.com/css/eecs.css"/> <link rel="stylesheet" href="http://TheSocialExpo.com/api.ionisis.com/css/smmm.css"/> <link rel="stylesheet" href="http://TheSocialExpo.com/api.ionisis.com/css/uams.css"/> <link rel="alternate" href="/?r=WCMS_Article_New" type="application/rss+xml" title="New Articles"/> <link rel="alternate" href="/?r=WCMS_Article_Updated" type="application/rss+xml" title="Updated Articles"/> <link rel="alternate" href="/?r=WCMS_Article_Voted" type="application/rss+xml" title="Highest Voted Articles"/> <link rel="alternate" href="/?r=UFBB_Topic_New" type="application/rss+xml" title="New Forum Topics"/> <link rel="alternate" href="/?r=UFBB_Topic_Unanswered" type="application/rss+xml" title="Unanswered Forum Topics"/> <link rel="alternate" href="/?r=UFBB_Topic_Updated" type="application/rss+xml" title="Updated Forum Topics"/> <link rel="alternate" href="/?r=SUBS_Blog_New" type="application/rss+xml" title="New User Blogs"/> <link rel="alternate" href="/?r=SUBS_Blog_Voted" type="application/rss+xml" title="Highest Voted User Blogs"/> <link rel="alternate" href="/?r=SMMM_Multimedia_New" type="application/rss+xml" title="New User Multimedia"/> <link rel="alternate" href="/?r=SMMM_Multimedia_Voted" type="application/rss+xml" title="Highest Voted User Multimedia"/> <link rel="alternate" href="/?r=EECS_Product_New" type="application/rss+xml" title="New Products"/> <link rel="alternate" href="/?r=EECS_Product_Voted" type="application/rss+xml" title="Highest Voted Products"/> <link rel="home" href="http://TheSocialExpo.com" title="Social Networking • Online Community • User Forums • Blogs • Friends"/> <link rel="shortcut icon" href="/favicon.png" type="image/png"/> <link rel="stylesheet" href="/api.ionisis.com/css/default.css" id="css"/> <link rel="stylesheet" href="/api.ionisis.com/css/textbox.css"/> <link rel="stylesheet" href="/api.ionisis.com/css/generic.css"/> <meta http-equiv="content-type" content="text/html;charset=utf-8"/> <meta property="fb:admins" content="100000464735232"/> <meta name="sitemap" content="/sitemap.xml"/> <meta name="Author" content="ionisis.com"/> <meta name="Rating" content="General"/> <meta name="google-site-verification" content="vWyket2mRv2OlYXO90_75PYB22F6HL6_jbEE-OpaGFU" /> <script type="text/javascript" defer="defer" src="/api.ionisis.com/scripts/forms.js"></script> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-15222608-7']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> </head> <body> <div id="layer1"> <div id="menu"> <a id="top" class="float_l" href="/" title="Online Community - Social Networking"><img id="heading_img" src="/api.ionisis.com/images/graphics/heading.png" alt="Social Networking - Online Community"/></a> <div class="m_b_s"> <img src="/api.ionisis.com/images/graphics/menu_separator.png" alt=""/> </div> <div class="m_b_u"> <a href="/?a=UAMS_Display" title="Account Options">Account</a> </div> <div class="m_b_s"> <img src="/api.ionisis.com/images/graphics/menu_separator.png" alt=""/> </div> <div class="m_b_u"> <a href="/?a=Search" title="Search">Search</a> </div> <div class="m_b_s"> <img src="/api.ionisis.com/images/graphics/menu_separator.png" alt=""/> </div> <div class="m_b_u"> <a href="/?a=SPIM_Display" title="Personal Information Manager">Organizer</a> </div> <div class="m_b_s"> <img src="/api.ionisis.com/images/graphics/menu_separator.png" alt=""/> </div> <div class="m_b_u"> <a href="/?a=WCMS_Display" title="Articles and Content">Articles</a> </div> <div class="m_b_s"> <img src="/api.ionisis.com/images/graphics/menu_separator.png" alt=""/> </div> <div class="m_b_u"> <a href="/?a=SUBS_Display" title="User Blogs">Blogs</a> </div> <div class="m_b_s"> <img src="/api.ionisis.com/images/graphics/menu_separator.png" alt=""/> </div> <div class="m_b_u"> <a href="/?a=UFBB_Display" title="User Forums">Forums</a> </div> <div class="m_b_s"> <img src="/api.ionisis.com/images/graphics/menu_separator.png" alt=""/> </div> <div class="m_b_f"> <a href="/?a=SMMM_Display" title="Social Multi Media Manager">Multimedia</a> </div> <div class="m_b_s"> <img src="/api.ionisis.com/images/graphics/menu_separator.png" alt=""/> </div> <div class="m_b_u"> <a href="/?a=EECS_Display" title="Easy E-Commerce System">Shop</a> </div> <div class="m_b_s"> <img src="/api.ionisis.com/images/graphics/menu_separator.png" alt=""/> </div> </div> <div id="content_area"> <div id="contents"> <div id="navigation"> <div class="float_r"> <a class="button_link" href="/?a=SMMM_Multimedia_Create">Upload Individual Files</a> </div> <a href="/?a=UAMS_Profile&id=12962693550254944"> <img class="float_l" id="navigation_image" src="/api.ionisis.com/uams/small/12962693550254944.jpg" alt=""/> </a> <div id="navigation_link_chain"> <a href="/?a=SMMM_Display">SMMM Main</a> -> <a href="/?a=SMMM_Multimedia_Create_Bulk">Upload Multimedia</a> </div> <br class="cleared"/> </div> <form method="post" action="" accept-charset="UTF-8" enctype="multipart/form-data"> <div class="con"> <h1 class="headline">Multimedia Upload</h1> <div class="sec"> <input type="hidden" name="MAX_FILE_SIZE" value="134217728"/> <p class="fnt_ff0000"> <strong>Each File must be more than 0 bytes. ALL FILES must TOTAL less than 93984mb</strong>. Also, your Title, Description, and Keywords MUST be applicable to all files, as they will be applied to all files. If the files are somewhat similar, then proceed; but go to each file when finished and add any extra information to it that makes it unique from the others. For example, if you're uploading a set of images that are about "Me, Mom, and Dad, on vacation", and 1 of the images also has "Susie", then it needs to be later updated to reflect that, so that the image with "Susie" can be found by searching for it. If you are uploading different unrelated files, or you do not appropriately update the Title, Description, Keywords, for the unique properties of the files, then you may be breaking this website's rules. </p> <label for="multimedia">Choose a fie: Audio, Video, Image</label> <br/> <input tabindex="1" class="button_link" type="file" multiple="true" id="multimedia_1" name="multimedia_1" style="width:98%;" value=""/> <br/> <input tabindex="1" class="button_link" type="file" multiple="true" id="multimedia_2" name="multimedia_2" style="width:98%;" value=""/> <br/> <input tabindex="1" class="button_link" type="file" multiple="true" id="multimedia_3" name="multimedia_3" style="width:98%;" value=""/> <br/> <input tabindex="1" class="button_link" type="file" multiple="true" id="multimedia_4" name="multimedia_4" style="width:98%;" value=""/> <br/> <input tabindex="1" class="button_link" type="file" multiple="true" id="multimedia_5" name="multimedia_5" style="width:98%;" value=""/> <br/> <input tabindex="1" class="button_link" type="file" multiple="true" id="multimedia_6" name="multimedia_6" style="width:98%;" value=""/> <br/> <input tabindex="1" class="button_link" type="file" multiple="true" id="multimedia_7" name="multimedia_7" style="width:98%;" value=""/> <br/> <input tabindex="1" class="button_link" type="file" multiple="true" id="multimedia_8" name="multimedia_8" style="width:98%;" value=""/> <br/> <input tabindex="1" class="button_link" type="file" multiple="true" id="multimedia_9" name="multimedia_9" style="width:98%;" value=""/> <br/> <input tabindex="1" class="button_link" type="file" multiple="true" id="multimedia_10" name="multimedia_10" style="width:98%;" value=""/> <br/> <input tabindex="1" class="button_link" type="file" multiple="true" id="multimedia_11" name="multimedia_11" style="width:98%;" value=""/> <br/> <input tabindex="1" class="button_link" type="file" multiple="true" id="multimedia_12" name="multimedia_12" style="width:98%;" value=""/> <br/> <input tabindex="1" class="button_link" type="file" multiple="true" id="multimedia_13" name="multimedia_13" style="width:98%;" value=""/> <br/> <input tabindex="1" class="button_link" type="file" multiple="true" id="multimedia_14" name="multimedia_14" style="width:98%;" value=""/> <br/> <input tabindex="1" class="button_link" type="file" multiple="true" id="multimedia_15" name="multimedia_15" style="width:98%;" value=""/> <br/> <input tabindex="1" class="button_link" type="file" multiple="true" id="multimedia_16" name="multimedia_16" style="width:98%;" value=""/> <br/><br/> <label class="fnt_ff0000" for="pid">Belongs to Sub Category:</label><br/> <select tabindex="2" class="button_link" id="pid" name="pid"> <option value="">Select a Category</option> <optgroup label="Audio, Music, Sound"> <option value="12974041670482675" >Audio and Sound</option> <option value="12974044600043451" >Music, Artists, Bands</option> </optgroup> <optgroup label="Family, Friends, and Community"> <option value="12975151360908780" >Community</option> <option value="12975149100923624" >Family</option> <option value="12975150530816298" >Friends</option> </optgroup> <optgroup label="Fun and Entertainment"> <option value="12974091320860418" >Adult Oriented Topics</option> <option value="12974090160122016" >Comedy</option> <option value="12974089910707285" >Cool Websites</option> <option value="12974090600757953" >General</option> </optgroup> <optgroup label="Science, Philosophy, Mathematics"> <option value="12974052650449933" >Biology</option> <option value="12974051790326242" >Chemistry</option> <option value="12974045940267979" >Classical Physics / Mechanics</option> <option value="12974052200000317" >Cosmology</option> <option value="12974047340229179" >Modern Physics, Quantum Physics</option> <option value="12974045300420890" >Philosophy</option> </optgroup> <optgroup label="Sports"> <option value="12974080690596945" >Baseball</option> <option value="12974080490672611" >Basketball</option> <option value="12974080960291325" >Football</option> <option value="12974113840489481" >Racing</option> <option value="12974059760246165" >Soccer</option> <option value="12974080100903414" >Swimming</option> <option value="12974079530903369" >Tennis</option> <option value="12974079870846736" >Volleyball</option> </optgroup> <optgroup label="Technology, Gadgets, Software"> <option value="12974082120799223" >Gadgets</option> <option value="12974083630691849" >Hardware</option> <option value="12974084130227582" >Information Technology</option> <option value="12974085290998116" >Linux Operating System</option> <option value="12974084870773470" >Networking</option> <option value="12974084430750010" >Programming</option> <option value="12974085630100615" >Server Administration</option> <option value="12974083830113426" >Software</option> </optgroup> <optgroup label="Video, Movies, TV"> <option value="12974086020769868" >Movies</option> <option value="12974086460412908" >Online Videos</option> <option value="12974086270350132" >Television</option> </optgroup> <optgroup label="World Affairs, Economy, Trade"> <option value="12974088230475499" >Animal Rights and Human Rights</option> <option value="12974087340929578" >Economics</option> <option value="12974087980172950" >Policy and Politics</option> <option value="12974087620164549" >Trade</option> <option value="12998488500515089" >Tragic Events and Current Events</option> </select> <br/><br/> <label for="title">Title:<br/> (if this is a song from a band, you can cause rich media tags to be generated for this video / audio, by giving it a title structure like so: "Artist or Band Name - Album Name - Song Name")</label><br/> <input tabindex="3" class="button_link" type="text" id="title" name="title" style="width:98%;" value=""/> <br/><br/> <label for="description">Description:</label><br/> <textarea tabindex="4" class="button_link" id="description" name="description" rows="2" style="width:98%;"></textarea> <br/><br/> <label for="keywords">Keywords / Tags:</label><br/> <textarea tabindex="5" class="button_link" id="keywords" name="keywords" rows="2" style="width:98%;"></textarea> <br/><br/> <label for="comments">Allow Comments:</label> <select tabindex="6" class="button_link" id="comments" name="comments"> <option value="1">Yes</option> <option value="0">No</option> </select>   <label for="voting">Allow Voting:</label> <select tabindex="7" class="button_link" id="voting" name="voting"> <option value="1">Yes</option> <option value="0">No</option> </select> <br/><br/> <label for="privacy">Choose who can see this:</label> <select tabindex="8" class="button_link" id="privacy" name="privacy"> <option value="0">Everyone</option> <option value="1">Indirect Connections</option> <option value="2">Direct Connections</option> </select> <br/><br/> <strong class="fnt_ff0000">Do not navigate away from this page until your files have finished uploading!</strong> <br/><br/> <input tabindex="9" class="button_link" type="submit" value="Upload Multimedia Files"/> </div> </div> </form> </div> </div> <div id="feedback"> <a href="/?a=WMMS_Create"><img src="/api.ionisis.com/images/graphics/feedback.png" alt="feedback"/></a> </div> <br class="cleared"/><br/> <div id="footer"> <div id="footer_links"> <br/><br/><br/><br/><br/> </div> </div> </div> </body> </html>
  22. I tried it: without: multiple="true" with: multiple="true" with: multiple="multiple" with multiple (no value, as suggested by Mozilla) None of them worked. The uniquely named elements DO work, but i have to loop through them on the backend. There is no javascript. It's all plain html. The html LABEL element addresses input fields by id, and not name (go figure). $_POST contains the title and description field values, but $_FILES is empty and $_SERVER['content_length'] only holds the length of the textfield values. Like i said, it DOES seem that the data IS posted TO the server (as per TamperData). validator.w3.org shows the only "errors" being with the OpenGraph meta tags (which is not really an error, it just doesn't know wtf they are yet).
  23. I'm sorry, i completely forgot to come back to this. When struggling to get it to work, and trying different things, i had outright copied and pasted a few examples, which used different names for the form fields, and they didn't work either. I got the same empty files result. I wonder if there is a directive in php.ini that affects that behaviour, because i've got a fairly custom config... Also, here's the whole form, ignore the new field names, and just imagine that they are still "multimedia[]". Also, remember, i was checking as SOON as the page posted back, before any processing: <form method="post" action="" accept-charset="UTF-8" enctype="multipart/form-data"> <div class="con"> <h1 class="headline">Multimedia Upload</h1> <div class="sec"> <input type="hidden" name="MAX_FILE_SIZE" value="134217728"/> <p class="fnt_ff0000"> <strong>Each File must be more than 0 bytes. ALL FILES must TOTAL less than <?=floor($remaining)?>mb</strong>. Also, your Title, Description, and Keywords MUST be applicable to all files, as they will be applied to all files. If the files are somewhat similar, then proceed; but go to each file when finished and add any extra information to it that makes it unique from the others. For example, if you're uploading a set of images that are about "Me, Mom, and Dad, on vacation", and 1 of the images also has "Susie", then it needs to be later updated to reflect that, so that the image with "Susie" can be found by searching for it. If you are uploading different unrelated files, or you do not appropriately update the Title, Description, Keywords, for the unique properties of the files, then you may be breaking this website's rules. </p> <label for="multimedia">Choose a fie: Audio, Video, Image</label> <br/> <input tabindex="1" class="button_link" type="file" multiple="true" id="multimedia_1" name="multimedia_1" style="width:98%;" value=""/> <br/> <input tabindex="1" class="button_link" type="file" multiple="true" id="multimedia_2" name="multimedia_2" style="width:98%;" value=""/> <br/> <input tabindex="1" class="button_link" type="file" multiple="true" id="multimedia_3" name="multimedia_3" style="width:98%;" value=""/> <br/> <input tabindex="1" class="button_link" type="file" multiple="true" id="multimedia_4" name="multimedia_4" style="width:98%;" value=""/> <br/> <input tabindex="1" class="button_link" type="file" multiple="true" id="multimedia_5" name="multimedia_5" style="width:98%;" value=""/> <br/> <input tabindex="1" class="button_link" type="file" multiple="true" id="multimedia_6" name="multimedia_6" style="width:98%;" value=""/> <br/> <input tabindex="1" class="button_link" type="file" multiple="true" id="multimedia_7" name="multimedia_7" style="width:98%;" value=""/> <br/> <input tabindex="1" class="button_link" type="file" multiple="true" id="multimedia_8" name="multimedia_8" style="width:98%;" value=""/> <br/> <input tabindex="1" class="button_link" type="file" multiple="true" id="multimedia_9" name="multimedia_9" style="width:98%;" value=""/> <br/> <input tabindex="1" class="button_link" type="file" multiple="true" id="multimedia_10" name="multimedia_10" style="width:98%;" value=""/> <br/> <input tabindex="1" class="button_link" type="file" multiple="true" id="multimedia_11" name="multimedia_11" style="width:98%;" value=""/> <br/> <input tabindex="1" class="button_link" type="file" multiple="true" id="multimedia_12" name="multimedia_12" style="width:98%;" value=""/> <br/> <input tabindex="1" class="button_link" type="file" multiple="true" id="multimedia_13" name="multimedia_13" style="width:98%;" value=""/> <br/> <input tabindex="1" class="button_link" type="file" multiple="true" id="multimedia_14" name="multimedia_14" style="width:98%;" value=""/> <br/> <input tabindex="1" class="button_link" type="file" multiple="true" id="multimedia_15" name="multimedia_15" style="width:98%;" value=""/> <br/> <input tabindex="1" class="button_link" type="file" multiple="true" id="multimedia_16" name="multimedia_16" style="width:98%;" value=""/> <br/><br/> <label class="fnt_ff0000" for="pid">Belongs to Sub Category:</label><br/> <select tabindex="2" class="button_link" id="pid" name="pid"> <option value="">Select a Category</option> <? $optgroup = null; $i = 0; foreach((array)$m as $r){ if ($r[1] != $optgroup){ $optgroup = $r[1]; if ($i > 0){ echo "</optgroup>\n\t\t\t\t\t\t\t<optgroup label=\"{$r[1]}\">"; }else{ echo '<optgroup label="',$r[1],'">'; $i++; } }?> <option value="<?=$r[0]?>" <? if($system->id == $r[0]){echo 'selected';} ?>><?=$r[2]?></option> <?}?> </select> <br/><br/> <label for="title">Title:<br/> (if this is a song from a band, you can cause rich media tags to be generated for this video / audio, by giving it a title structure like so: "Artist or Band Name - Album Name - Song Name")</label><br/> <input tabindex="3" class="button_link" type="text" id="title" name="title" style="width:98%;" value=""/> <br/><br/> <label for="description">Description:</label><br/> <textarea tabindex="4" class="button_link" id="description" name="description" rows="2" style="width:98%;"></textarea> <br/><br/> <label for="keywords">Keywords / Tags:</label><br/> <textarea tabindex="5" class="button_link" id="keywords" name="keywords" rows="2" style="width:98%;"></textarea> <br/><br/> <label for="comments">Allow Comments:</label> <select tabindex="6" class="button_link" id="comments" name="comments"> <option value="1">Yes</option> <option value="0">No</option> </select>   <label for="voting">Allow Voting:</label> <select tabindex="7" class="button_link" id="voting" name="voting"> <option value="1">Yes</option> <option value="0">No</option> </select> <br/><br/> <label for="privacy">Choose who can see this:</label> <select tabindex="8" class="button_link" id="privacy" name="privacy"> <option value="0">Everyone</option> <option value="1">Indirect Connections</option> <option value="2">Direct Connections</option> </select> <br/><br/> <strong class="fnt_ff0000">Do not navigate away from this page until your files have finished uploading!</strong> <br/><br/> <input tabindex="9" class="button_link" type="submit" value="Upload Multimedia Files"/> </div> </div> </form>
  24. Scratch that. It appears that the image information IS there, it just doesn't copy to the clipboard.
  25. Just a moment, maybe it COULD be something wrong with the HTML/Browser... Tamper Data shows THIS: Host=xratedbliss.com User-Agent=Mozilla/5.0 (X11; Linux x86_64; rv:2.0) Gecko/20100101 Firefox/4.0 Accept=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language=en-us,en;q=0.5 Accept-Encoding=gzip, deflate Accept-Charset=ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive=115 Connection=keep-alive Referer=http://xratedbliss.com/?a=SMMM_Multimedia_Create_Bulk Cookie=**** Content-Type=multipart/form-data; boundary=---------------------------985814143726565843317566494 Content-Length=1048807 POSTDATA =-----------------------------985814143726565843317566494 Content-Disposition: form-data; name="MAX_FILE_SIZE" 67108864 -----------------------------985814143726565843317566494 Content-Disposition: form-data; name="multimedia[]"; filename="01.jpg" Content-Type: image/jpeg ÿØÿà Notice there is only ONE form field posted (after the MAX_FILE_SIZE, anyway), and the rest --EVEN the text fields-- do not follow! But on that same post, i get this: print_r($_FILES); echo $_SERVER['CONTENT_LENGTH']; Array ( ) 864
×
×
  • 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.