HTML - Can't Upload Converted Geocom Files
5 years ago I converted my geocom to Html and uploaded it to my geocities Genealogy webpage.
I have new computer..Vista platform...and lots more names to add. I have downloaded several programs that convert my geocom to html. They all export my surnames to a designated folder (Kerr) on my desktop. The problem is that Geocities won't upload anything that is not Html. The folder is not Html....the 40 or so files inside are. I no longer have the program I originally used. Nor do I believe that I uploaded 40 or so files one by one 5 years ago. Is there an obvious answer to uploading my 3K surnames in on full sweep. The program I used today is Ged2Web. Thank you, Moira Similar TutorialsI am a newbie and know nothing about html. I am using Ewisoft for setting up my webpages. With that I have set up an email form for my submit page (I have a math help site).All other options are there but there is no option for uploading files. Can I do that with editing HTML code? If so what additional codes should I put? Should I add enctype"multipart/form-data I'm using bluehost. I don't wanna make an ftp site I jut want to allow the user to select a picture and upload the file which is saved into the save folder as the HTML file is... I have tried using this code: Code: <FORM METHOD=POST ENCTYPE="multipart/form-data" ACTION="C:\webpages"> File to upload: <INPUT TYPE=FILE NAME="upfile"><BR> <INPUT TYPE=SUBMIT VALUE="Submit"> </FORM> But that does not do anything... what do i need to do to allow users to upload photos? This will allow them to access the photos by typing in my website name/photoname.jpg Hello everyone. =) There's a video I want to put on my website; it's about 20 MB. The problem is, whenever I try to use either of my FTP programs (FileZilla and CoreFTP), the file always gets interrupted at around 12 MB. I've tried uploading the file about 10 times, and I keep having this problem. So...I was wondering if there's a way I can break the file up (into, say, twenty 1 MB files), upload those segmented files, and then merge them together online? I don't want my friends to download 20 individual files (that's a bit much, don't you think?); I'd like for them to just download that one, full size video. Plus, I won't be too pissed if a 1 MB file messes up. =) Do you know of any software (or websites) that can do this? (I found one website today called Wobzip, but I'm not 100% certain it'll do what I want. I'm kinda confused with some of the terminology...) Please help. =(Thanks in advance!) I have converted several Word 2000 files to html then inserted html code to display them on my pages. They all have lots of footnotes (actually endnotes). One of the files displays the endnote number the way I would like: NOT superscripted (superscripting makes the lines uneven). The others leave the endnotes numbers superscripted. I have tried comparing the HTML source of the Word files, but cannot find any suspicious differences. Does anyone know how to solve this and force the end note numbers to not be superscripted? Thanks much. Hello, Well iam trying to make a site or a page that uploads images to my webserver without the use of FTP. Very simpular to imageshack anyone got any idea how or what i should be looking at. ty wizanthony I have some .tif files that I want to display on my web site but they don't show up. What are my options? Thanks... Hi all, not sure if this is posted in the correct place... please move if not...! I am after some information about how to build OFT (Files Outlook File Templates). I cant find any information about how to build/develop them. It may be pretty straight forward but need some guidance. Any help or pointers would be greatly accepted! Thanks all Hurley! Hello, I know this sounds like a really dumb, dumb, newbie question so please don't skip over this thread. I really could use the help understanding, how this should work. I read thru a few books on how-to build websites and thought I knew how the process works. I don't have a problem with coding, or meta tags. The problem has to do with all the images that come together to create the overall look of the site. How I create websites...I start with a website template and open it up in Adobe ImageReady. Using ImageReady, I'll adjust the look of the template, by taking out certain images, and adding new ones, etc. Once I have everything placed where I want, then I select the 'slice tool'. Starting with the header, I drag the slice around it, then move to the menu and drag the slice around each button and work my way thru the website, slicing any other images. Then I open the 'Optimize Menu' window and use the 'slice select tool' to click on each slice that I want to adjust the image size/look. After that, I select all slices, and goto 'file-save optimized as' and save it. Next, I start Dreamweaver MX and open the website I just saved. I add the meta tags and etc, then start to click on each of the menu buttons that I sliced, and direct them to their correct page. Followed by adding the content and save it. Lastly, I'll upload the index.html file and the rest of the html files, along with all the images. NOW FOR THE REASON WHY I ASK: After uploading ALL the files, I then goto the 'url' but sometimes, it doesn't display the website in one quick motion. Instead it loads the site, an image at a time...meaning sometimes before the image is displayed, a small icon shows up in the corner, and then it goes away and the image appears. After visiting lots of other websites and not seeing the same issue, I started to question if I was doing something wrong...or not as good as is could be. The only way I can think to explain what the small icon looks like, is if you have ever visited a website that does not load completely and because the image is missing a small icon is displayed. I know there are many different ways to building a website. Please, if anyone can take a few moments and try to help me figure this out. It would be extremely appreciated. I apologize for writing a step by step process, but I was not sure if you might need that info, to figure out what I'm doing wrong. Here are some of the sites I made, that when you visit for the first time, will do that thing I mentioned about. http://www.wastenotwantnotusa.org http://www.hillerexport.com/ http://www.frontstreettrading.com/vi...nd_more_s.html (Some of the pages for frontstreettrading are down, I only posted it so can see example). Also, if anyone is not sure what I'm trying to explain or has any questions, please let me know, so I can try a different way to express the problem. Its really very important and would be doing me a great deal of help. Thanks in advance, Jon K could some one please tell how to upload a file without using the submit button. Iknow the location of the file and i want to upload the file into the server Hello, all I've been looking for a while now for a progress indicator for file uploads, but all I saw in my searches were progress indicators that showed the progress as a percentage or number of bytes of the total file size. I don't need that - just something to indicate to the user that something is happening. Could someone offer a suggestion? Thanks! I've recently been trying to create my own upload form. (i know the html for it, ect) But I'm havening trouble with it uploading to the directory I tell it to go to... So, how do you write/ make a upload form. (as mine is not working ) Hi Guys and Gals! Looking for a little help on this one... I use a service that allows me to upload up to 20 photos to each of my work orders. The upload screen is set up with 20 seperate "Browse" lines (1 for each photo). I have requested that the page be recoded to accept a range of photos in a single "Browse" line, as opposed to one line for each. This would really cut down on the "clicking time" involved in attaching photos to an order. Heres my problem...they tell me that it cant be done, and blame it on Internet Explorer capabilities or lack of... Is this true? And if so, does IE version 7 support this functionality? Here is the current code from the upload screen: HTML Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <title>Attach Files to a Workorder</title> <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5"> <style type="text/css"> BODY { BACKGROUND-COLOR: linen; TEXT-ALIGN: center } </style> <script language="javascript"> <!-- function ConfirmDelete(filename){ var CompleteDelete = confirm("Are you sure you want to delete "+filename+"?"); if(CompleteDelete == true){window.location='MultipleFileUploads.aspx?id=123553&action=delete&filename='+filename} else{return false} } //--> </script> </HEAD> <BODY TEXT="1"> <div id="MultipleFileUploadForm"> <H3>Attachment Upload</H3> <div id=notesholder align=center style="text-align:left;width:600px;"> <UL> <LI> The files you upload here will not show as uploaded until you save your changes to the order. <LI> You cannot upload a file that is larger than 1MB <LI> All images that have a file size larger than 75KB will be automatically resized <LI> All images that have either a width or height greater than 640px will be resized proportionately <LI> All bitmap files will automatically be converted to JPGs <LI> All files will be renamed in the following format. ([Lastname]_[Firstname]_[JobNumber]_##.[extension]) </LI> </UL> </div> <form name="Form1" method="post" action="MultipleFileUploads.aspx?id=123553&Fname=Kracht&Lname=Jennifer&JobNum=1246607" id="Form1" enctype="multipart/form-data"> <input type="hidden" name="__VIEWSTATE" value="dDwtMzA1MTQwMjgyO3Q8O2w8aTwwPjtpPDE+Oz47bDx0PDtsPGk8MD47aTwyPjs+O2w8dDxAMDw7Ozs7Ozs7Ozs7Pjs7Pjt0PEAwPDs7Ozs7Ozs7Ozs+Ozs+Oz4+O3Q8cDxwPGw8VmlzaWJsZTs+O2w8bzx0Pjs+Pjs+O2w8aTwxPjs+O2w8dDw7bDxpPDA+O2k8MT47aTwyPjtpPDM+Oz47bDx0PEAwPHA8cDxsPERhdGFLZXlzO18hSXRlbUNvdW50Oz47bDxsPD47aTwyMD47Pj47Pjs7Ozs7Ozs7PjtsPGk8MD47aTwxPjtpPDI+O2k8Mz47aTw0PjtpPDU+O2k8Nj47aTw3PjtpPDg+O2k8OT47aTwxMD47aTwxMT47aTwxMj47aTwxMz47aTwxND47aTwxNT47aTwxNj47aTwxNz47aTwxOD47aTwxOT47PjtsPHQ8O2w8aTwwPjs+O2w8dDxAPEZpbGUgMTpcPC90ZFw+XDx0ZCBjb2xzcGFuPSIyIiBhbGlnbj0icmlnaHQiXD5cPGlucHV0IHR5cGU9ZmlsZSBuYW1lPWZpbGUgc3R5bGU9IndpZHRoOjQwMCIgaWQ9ZmlsZVw+Oz47Oz47Pj47dDw7bDxpPDA+Oz47bDx0PEA8RmlsZSAyOlw8L3RkXD5cPHRkIGNvbHNwYW49IjIiIGFsaWduPSJyaWdodCJcPlw8aW5wdXQgdHlwZT1maWxlIG5hbWU9ZmlsZSBzdHlsZT0id2lkdGg6NDAwIiBpZD1maWxlXD47Pjs7Pjs+Pjt0PDtsPGk8MD47PjtsPHQ8QDxGaWxlIDM6XDwvdGRcPlw8dGQgY29sc3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4+O3Q8cDxwPGw8VGV4dDs+O2w8S3JhY2h0Oz4+Oz47Oz47dDxwPHA8bDxUZXh0Oz47bDxKZW5uaWZlcjs+Pjs+Ozs+O3Q8cDxwPGw8VGV4dDs+O2w8MTI0NjYwNzs+Pjs+Ozs+Oz4+Oz4+Oz4+Oz4AnCFSfdJrtisPv3L2YbwsLOQZAw==" /> <table id="dlFORM" cellspacing="0" border="0" style="border-collapse:collapse;"> <tr> <td> File 1:</td><td colspan="2" align="right"><input type=file name=file style="width:400" id=file> </td> </tr><tr> <td> File 2:</td><td colspan="2" align="right"><input type=file name=file style="width:400" id=file> </td> </tr><tr> <td> File 3:</td><td colspan="2" align="right"><input type=file name=file style="width:400" id=file> </td> </tr><tr> <td> File 4:</td><td colspan="2" align="right"><input type=file name=file style="width:400" id=file> </td> </tr><tr> <td> File 5:</td><td colspan="2" align="right"><input type=file name=file style="width:400" id=file> </td> </tr><tr> <td> File 6:</td><td colspan="2" align="right"><input type=file name=file style="width:400" id=file> </td> </tr><tr> <td> File 7:</td><td colspan="2" align="right"><input type=file name=file style="width:400" id=file> </td> </tr><tr> <td> File 8:</td><td colspan="2" align="right"><input type=file name=file style="width:400" id=file> </td> </tr><tr> <td> File 9:</td><td colspan="2" align="right"><input type=file name=file style="width:400" id=file> </td> </tr><tr> <td> File 10:</td><td colspan="2" align="right"><input type=file name=file style="width:400" id=file> </td> </tr><tr> <td> File 11:</td><td colspan="2" align="right"><input type=file name=file style="width:400" id=file> </td> </tr><tr> <td> File 12:</td><td colspan="2" align="right"><input type=file name=file style="width:400" id=file> </td> </tr><tr> <td> File 13:</td><td colspan="2" align="right"><input type=file name=file style="width:400" id=file> </td> </tr><tr> <td> File 14:</td><td colspan="2" align="right"><input type=file name=file style="width:400" id=file> </td> </tr><tr> <td> File 15:</td><td colspan="2" align="right"><input type=file name=file style="width:400" id=file> </td> </tr><tr> <td> File 16:</td><td colspan="2" align="right"><input type=file name=file style="width:400" id=file> </td> </tr><tr> <td> File 17:</td><td colspan="2" align="right"><input type=file name=file style="width:400" id=file> </td> </tr><tr> <td> File 18:</td><td colspan="2" align="right"><input type=file name=file style="width:400" id=file> </td> </tr><tr> <td> File 19:</td><td colspan="2" align="right"><input type=file name=file style="width:400" id=file> </td> </tr><tr> <td> File 20:</td><td colspan="2" align="right"><input type=file name=file style="width:400" id=file> </td> </tr> </table> <br><br> <input name="Submit1" id="Submit1" type="submit" value="Upload Files" /> <BUTTON onclick="window.location='MultipleFileUploads.aspx?id=123553&action=viewall'" type=button>View All</BUTTON> <BUTTON onclick="window.close()" type=button>Close Window</BUTTON> </form> </div> <table align=center style="width:600px;"> <tr> <td align=left> </td> </tr> </table> </BODY> </HTML> Hi guys. I took this coding from a free coding site but am stuck already! I would like the document the user uploads to appear on the website straight away. I am trying to get a notice board affect where multiple users can upload a document for someone else to look at. Thanks <!-- TWO STEPS TO INSTALL UPLOAD FILTER: 1. Copy the coding into the HEAD of your HTML document 2. Add the last code into the BODY of your HTML document --> <!-- STEP ONE: Paste this code into the HEAD of your HTML document --> <HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- Original: ArjoGod, Shauna Merritt --> <!-- Modified By: Ronnie T. Moore, Editor --> <!-- This script and many more are available free online at --> <!-- The JavaScript Source!! http://javascript.internet.com --> <!-- Begin extArray = new Array(".gif", ".jpg", ".png"); function LimitAttach(form, file) { allowSubmit = false; if (!file) return; while (file.indexOf("\\") != -1) file = file.slice(file.indexOf("\\") + 1); ext = file.slice(file.indexOf(".")).toLowerCase(); for (var i = 0; i < extArray.length; i++) { if (extArray[i] == ext) { allowSubmit = true; break; } } if (allowSubmit) form.submit(); else alert("Please only upload files that end in types: " + (extArray.join(" ")) + "\nPlease select a new " + "file to upload and submit again."); } // End --> </script> </HEAD> <!-- STEP TWO: Copy this code into the BODY of your HTML document --> <BODY> <center> Please upload only images that end in: <script> document.write(extArray.join(" ")); </script> <p> <form method=POST name=upform action="/cgi-bin/some-script.cgi" enctype="multipart/form-data"> <input type=file name=uploadfile> <p> <input type=button name="Submit" value="Submit" onclick="LimitAttach(this.form, this.form.uploadfile.value)"> </form> </center> <p><p> <!-- Script Size: 1.55 KB --> Recently we switched servers and now I can access my remote files but I cannot upload anything from the local site to the remote site. It gives me an error code of "550" and says that access is denied. Is there some setting that I'm missing? Right now I can't even update anything on the website and I really need to. hey dunno if there is an html code for this or if i shuld do this in php but does anyone have a way to have an upload section where all the uploads go and a different place to upload hope it make sense thx brad hi guys,does anyone know how i can upload my realestate listings to a several realestate portals at once,example from my web page..it is taking me forever cutting and pasting and then uploading on all sites individually I need to have a basic code that will basically just let people upload images to be displayed in a continious fashion down a page. Somewhat like hypebeast.com except it would just be images straight all the way down. Addtionally I need to make it so that I can preview the image and check it before it is actualyl displayed to make sure there is nothing bad in the image. Furthermore I need to have a simple system to take it down, that lets the person set an experation date for the image and also allows them to manually delete it when they want to, but I don't want any log in systems, they should just send an e-mail to the server or something. Also they need to be able to upload to a specific catagorey, ie. the site will have tabs where the various images are displayed. How hard would this be to make and addtionally could I do it using dreamweaver? Thanks for the info and lt me know if my description is to vague. Hello! I need a bit of help with some website programming! What I simply need to accomplish is; to upload some text, and overwrite an existing text file! I would prefer HTML and Javascript - it should be as easy as possible! Have tried Google, but no luck -Thanks in advance! Hello, I need some help to get a HTML file to load from a PHP file. I got a host who cannot use files from PHP, only from HTML and then PHP, so can someone help me to get the register.php to load from a html file? If this is possible I would be thankfull CODE: Code: <?php ################# # # # # # Enjoy! # # # # # ################# include("config.php"); error_reporting(E_ALL ^ E_NOTICE); session_start(); $msg = Array(); $error = Array(); function addUser(){ if (empty($_POST)) return false; global $config, $msg, $error; if (empty($_POST['login'])) $error[] = 'Error, You forgot to enter a account name!'; if (empty($_POST['password'][0]) || empty($_POST['password'][1])) $error[] = 'Error, You forgot to enter a password!'; if ($_POST['password'][0] !== $_POST['password'][1]) $error[] = 'Password does not match!'; if (empty($_POST['email'])) $error[] = 'Please fill in a valid email adress!'; if (!empty($error)) return false; $db = @mysql_connect($config['mysql_host'], $config['mysql_user'], $config['mysql_pass']); if (!$db) return $error[] = 'Database: '.mysql_error(); if (!@mysql_select_db($config['mysql_dbname'], $db)) return $error[] = 'Database: '.mysql_error(); $query = "SELECT `acct` FROM `accounts` WHERE `login` = '".mysql_real_escape_string($_POST['login'])."'"; $res = mysql_query($query, $db); if (!$res) return $error[] = 'Database: '.mysql_error(); if (mysql_num_rows($res) > 0) return $error[] = 'Username already in use.'; //Modified by Jerq $query = "INSERT INTO `accounts` (`login`,`password`,`lastip`, `flags`) VALUES ('".mysql_real_escape_string($_POST['login'])."', '".mysql_real_escape_string($_POST['password'][0])."', '".$_SERVER['REMOTE_ADDR']."','".mysql_real_escape_string($_POST['tbc'][0])."')"; //Modified by Jerq $res = mysql_query($query, $db); if (!$res) return $error[] = 'Database: '.mysql_error(); $msg[] = 'The Account <span style="color:#00FF00"><strong>'.htmlentities($_POST['login']).'</strong></span> has been created!'; mysql_close($db); return true; } { addUser(); } ?> <html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>Account Registration Page</title> <meta http-equiv="Pragma" content="no-cache"/> <meta http-equiv="Cache-Control" content="no-cache"/> <style type="text/css" media="screen">@import url(server_stats.css);</style> <!--[if lt IE 7.]> <script defer type="text/javascript" src="pngfix.js"></script> <![endif]--> </head> <body> <center> <div class="logo"></div> <div style="width:300px"> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="POST"> <table width="100%" border="0" cellspacing="1" cellpadding="3"> <tr class="head"><th colspan="2">Account Creation</th></tr> <tr> <th>Username: </th><td align="center"><input class="button" type="text" name="login" size="30" maxlength="16"/></td> </tr> <tr> <th>Password: </th><td align="center"><input class="button" type="password" name="password[]" size="30" maxlength="16"/></td> </tr> <tr> <th>Retype Password: </th><td align="center"><input class="button" type="password" name="password[]" size="30" maxlength="16"/></td> </tr> <tr> <th>E-mail: </th><td align="center"><input class="button" type="text" name="email" size="30" maxlength="30"/></td> </tr> <!--Added by Jerq--> <th>Account Type:</th><td align="center"> <select name="tbc" type="select"> <option value="0">Normal</option> <option selected value="8">Burning Crusade</option> </select></td> <!--Added By Jerq--> </table> <input type="button" class="button" value="Back" onClick="history.go(-1)" /> <input type="submit" value="Create" class="button"/> </form> <?php if (!empty($error)){ echo '<table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td class="error" align="center">'; foreach($error as $text) echo $text.'</br>'; echo '</td></tr></table>'; }; if (!empty($msg)){ echo '<table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td align="center">'; foreach($msg as $text) echo $text.'</br>'; echo '</td></tr></table>'; exit(); }; ?> </div> </center> </body> </html> THE CONFIG.PHP: Code: <?php ################# # # # # # Enjoy! # # # # # ################# $config['mysql_host'] = 'wowserver.serveftp.com'; //MySQL Host $config['mysql_user'] = 'root'; //MySQL Username $config['mysql_pass'] = 'wHoSYoURDaDy65'; //MySQL Password $config['mysql_dbname'] = 'antrix'; //Database Name ?> hey... i didnt know what forum to post this in, so admins, do what you want with this thread... I've recently taken over the web designing for a company... the site is already made, and the previous designer has dropped out, and the company needs me to make updates, add articles, etc. There are .htaccess files in almost every directory and subdirectory throughout the site. When I go to add an image, and make a link to it on a page, the image is not found, even though the source is correct. ex - initially, the page links to an image at "images/image1.jpg" . I make an image2.jpg, place it in the right folder, and try to link to it - "images/image2.jpg" but the image cannot be displayed on the site (says it cannot be found - same as a 404). I am assuming this has to do with the htaccess permissions and all that stuff (also in each directory is a "_notes" subdirectory and another directory like that) but I'm not sure. I wikipedia'd htaccess files, and read that they were made for apache servers... the server hosting the site I am working on uses IIS... another confusing problem. Is there anyway to edit these .htaccess files so that I can add more images to the site? Also, why cant I see images these 'blocked' images? Is there any way to disable this blocking? |