PDA

View Full Version : Front Page Upload File Form



good_m
1st Mar 2006, 08:05 pm
Hi there,
I'm having problems with my web page and I was hoping that one of you web gurus could help me. I'm putting it together with Microsoft Frontpage and I can't get the upload form to work. Can someone please help me out and have a look at the code and let me know what I'm doing wrong? Thanks in advance. you can get the code at http://www.cadimage.net/postimages/lisp%20routine.htm
Thanks so much!
Mike

good_m
1st Mar 2006, 08:14 pm
Here is the code in plain text that I have on my site in plain text....it doesn't have the "nortbot" in the form area.


<html>

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Lisp Routines</title>
</head>

<body bgproperties="fixed" bgcolor="#000000" background="m%20good%20architectural%20designs%20&#40;web&#41;.jpg">



<font face="BankGothic Md BT" size="7" color="#C0C0C0">Lisp Routines</font></p>
<p align="center"><font color="#FFFFFF"><a href="Home%20Page.htm">
<font color="#0000FF">Home</font></a></font><font color="#0000FF">

</font>Firm Profile (Profile.htm)<font color="#FFFFFF">
<u>Projects (projects.htm)</u></font>
<font color="#FFFFFF">
<font color="#0000FF">
<font color="#0000FF">Feedback</font> (mailto&#58;mike.good@rogers.com?subject=Feedback)</font></a> </font>
Contact Us (contact_us.htm)
<font color="#FFFFFF">CAD Corner (CADCorner.htm)</font></p>


<font face="Times New Roman" color="#FFFFFF">Please feel free to download any
of the following LISP routines. If downloading all that I ask in return is that
you forward any of your existing Lisp routines so that I can share them with
everyone else that visits this site. Let's all help make each other's jobs
easier. If you have a Lisp routine that you want to share with everyone else
please donate it by clicking
here (mailto&#58;mike.good@rogers.com?subject=New Lisp Routine). M. Good
Architectural Designs does not claim to have written all of these lisp routines.
Although some of the lisp programs have been written by M. Good Architectural
Designs, we do not guarantee that programs are 100% tested and we do not
guarantee that they will not have a negative affect to your system.




M. GOOD ARCHITECTURAL DESIGNS PROVIDES THESE PROGRAMS &quot;AS IS&quot; AND WITH ALL
FAULTS. M. GOOD ARCHITECTURAL DESIGNS SPECIFICALLY DISCLAIMS ANY IMPLIED
WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. M. GOOD
ARCHITECTURAL DESIGNS DOES NOT WARRANT THAT THE OPERATION OF THESE PROGRAMS WILL
BE UNINTERRUPTED OR ERROR FREE.</font></p>
<form method="POST" enctype="multipart/form-data" webbot-action="--WEBBOT-SELF--" webbot-onSubmit>
<input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><input TYPE="hidden" NAME="_charset_" VALUE="windows-1252">


<input type="file" name="F1" size="42"><input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></p>
</form>


</p>


<font face="Times New Roman" color="#FFFFFF">**Please don't use this form
yet, it is not yet fully functional. Please click above where prompted. Thank
you for your patience.



arcl.lsp (Lisp_Routines/arcl.lsp) - </font><font color="#FFFFFF">

This simple lisp routine draws an arc leader. The arc size is directly related
to the dimasz variable, however, it prompts for a size and defaults to dimasz.
Larger sizes useful for multiple pipe rack widths.</font><font face="Times New Roman" color="#FFFFFF"> (Lisp_Routines/breakpoint.LSP)
&#40;lisp written by Dan Crane II&#41;</font></p>


<font face="Times New Roman" color="#FFFFFF">
breakpoint.lsp (Lisp_Routines/breakpoint.LSP)<font color="#FFFFFF">
- </font>Breakpoint.lsp is a simple lisp routine that allows you to simply type
in &quot;BP&quot; at the command prompt and start the break command it begins the
break command to break an entity at a point of your choosing. </font></p>


<font face="Times New Roman" color="#FFFFFF">

bscale.lsp (Lisp_Routines/bscale.lsp) - Bscale.lsp is a lisp program
that will allow you to scale a number of block at a scale that you specify. Each
block will be scaled with a basepoint at the block's insertion point. </font></p>


<font face="Times New Roman" color="#FFFFFF"><a href="Lisp_Routines/c2p.LSP">
c2p.lsp</a> - c2p.lsp is a simple lisp program that will allow you to, in a
single step, change a line or arc into a polyline.</font></p>


<font face="Times New Roman" color="#FFFFFF">
Delete_Routines.rar (Lisp_Routines/Delete_Routines.rar) - A group of
lip routines for when you receive a drawing file from another firm and you want
to erase all the text, dimensions leaders and mtext.</font></p>


<font face="Times New Roman" color="#FFFFFF">
Deter.vlx (Lisp_Routines/deter.vlx) - Turns your drawing into a
block that cannot be exploded. Great for &quot;locking&quot; the drawing from having
changes that you don't approve of being done. Be careful to use only on a copy
of your drawing you intend to send to others!</font></p>



<font face="Times New Roman" color="#FFFFFF">
edits.lsp (Lisp_Routines/edits.LSP) - Various edit routines which
includes colour change, text change and text width change.</font></p>


<font face="Times New Roman" color="#FFFFFF">
learn.lsp (Lisp_Routines/LEARN.LSP) - This is a lisp routine that
will write you a lisp code based on your input in autocad. However, I have not
figured out how to end the user input for this code. If anyone out there can
figure out how this properly works please drop me a line and let me know.
Thanks!</font></p>


<font face="Times New Roman" color="#FFFFFF">
llpsite.zip (Lisp_Routines/llpsite.zip) - A group of tons of lisp
routines complete with toolbars. Too much to give a full description of
everything. Just load it up and give it a try!</font></p>


<font face="Times New Roman" color="#FFFFFF">
lmatch.lsp (Lisp_Routines/Lmatch.lsp) - Change layer to selected
entity.</font></p>



<font face="Times New Roman" color="#FFFFFF">
Matchtext.lsp (Lisp_Routines/Matchtext.lsp) - Matches the text of
one text entity to be the same as a selected text entity.</font></p>


<font face="Times New Roman" color="#FFFFFF">
numbering.lsp (Lisp_Routines/numbering.lsp) - </font>
<font color="#FFFFFF">There are 7 routines in this one lisp file. It inserts
ascending numbers or letters etc.. until you press &#91;enter&#93;. It remembers last
inserted text and suggests the continuation. Descriptions and calling codes for
each function are in the beginning of the file.</font></p>


<font color="#FFFFFF"><a href="Lisp_Routines/pasteasblock.LSP">
pasteasblock.lsp</a> - A routine that allows you to choose a basepoint of a
group of entities that you would like as a block, select the entities and select
the insertion point that you want. NOTE&#58; this lisp erases the original entities.</font></p>



<font color="#FFFFFF">Steel.zip (Lisp_Routines/Steel.zip) - This
is a great routine for anyone that works with structural steel or with
architecture where you want each and every structural entity to scale. Comes
with an easy to use dialog box. Just type in &quot;SS&quot; and that begins the command
&#40;Once it's loaded into autocad of course!&#41;.</font></p>


<font color="#FFFFFF">txt2mtxt.lsp (Lisp_Routines/txt2mtxt.lsp) -
A great routine for those drawings that you get that have text instead of mtext.
Select the text entities that you want to convert to mtext in the order that
they should be written and the lisp combines it into mtext.</font></p>


<font face="Times New Roman" color="#FFFFFF">
trim_to_point.lsp (Lisp_Routines/trim%20to%20point.LSP) - This lisp
program creates a construction line based on your input and trim the entities
that you select to that construction line. To finish this command the
construction line is erased.</font></p>
<table border="0" cellpadding="0" cellspacing="0" id="table1" width="644" height="20">


<tr>
<td valign="top" height="20" width="644">

</td>
</tr>
</table>


</p>

</body>

</html>

CADTutor
1st Mar 2006, 11:47 pm
I'm not quite sure what the purpose of the upload form is. I suspect that you may need some back-end handler for it. I don't use FrontPage bots so I can't be sure what the problem is. However, if you are considering creating a dynamic site, FrontPage is not your best option. I recommend you work in PHP.

good_m
2nd Mar 2006, 01:07 am
what program should I use to create a php website?

CADTutor
2nd Mar 2006, 07:46 am
Well, I use Dreamweaver but you will need to learn how to code in PHP. The truth is that complex websites simply cannot be built using a WYSIWYG editor. You really have to get your hands dirty. I suggest that you start with the basics and learn how to use XHTML and CSS and keep your site relatively simple. Once you have mastered this, move on to PHP. It's a steep learning curve but it's the best way tp do it.