Texas X Riders

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2

Author Topic: Wasn't sure where to post this......  (Read 1952 times)

0 Members and 1 Guest are viewing this topic.

VTXLady53

  • Texas X Rider OverLord
  • ******
  • Posts: 2573
  • New Caney,TX <>< Member since 2004
    • Marigold's Basic Webs
Wasn't sure where to post this......
« on: January 18, 2008, 10:23:00 AM »

I have been busy with starting a small and when I say Small I mean small home business........ I have been toying with the idea for awhile.

During the Christmas Holidays I was at my cousin Virgie's home and I mentioned I wanted to start a Web Building business. She tells me she is looking for someone to build a web site......WOW. Needless to say my heart was excited. I told her I was only able to build simple basic web sites. She has seen my others web sites and liked them and hired me anyway.

I have been working on it off and on for the past couple of weeks. Getting paid to learn...  Things were going great but now I am stuck. I don't know how to make a password/passcode login form and what form properties am I suppose to use. I was told I need member script. What is that?

DUH I told them I can only build SMALL basic web sites.


This is the actual web address. http://northcrestranchyardsales.com

but I put it in my web site for now being it is not active and I wanted the buyers to be able to critique it.

Click on the NCR Sample 1 button and it should open.


Marigold's Basic Webs
www.marigoldsbasicwebs.com

Thank you in advance for any help I can get.......hehehehehe
Logged
Life is too short for drama or petty things, so laugh hard, love truly and forgive quickly. Live While You Are Alive. Forgive now those who made you cry. You might not get a second time.

forevrtxan

  • Texas X Rider OverLord
  • ******
  • Posts: 1149
  • (Leander) Austin, Texas
Re: Wasn't sure where to post this......
« Reply #1 on: January 18, 2008, 10:54:50 AM »

Looks very professional to me Marigold!!!! Job well done!!!! Two thumbs up!!!!  O0 O0
Logged
David

'05 1800R2 (with sidestand down)

Old enuff to know better....but young enuff to still do it!!!!!!

Courage is being scared to death but saddling up anyway~~John Wayne

All the way up in there!!!! (Quote from VTreX at BBTIII)

VTXLady53

  • Texas X Rider OverLord
  • ******
  • Posts: 2573
  • New Caney,TX <>< Member since 2004
    • Marigold's Basic Webs
Re: Wasn't sure where to post this......
« Reply #2 on: January 18, 2008, 03:16:58 PM »

Thanks but I need help on how to make a passcode form and what form properties to add so it will work........... :)

Logged
Life is too short for drama or petty things, so laugh hard, love truly and forgive quickly. Live While You Are Alive. Forgive now those who made you cry. You might not get a second time.

LoneWolf

  • Tejano
  • ***
  • Posts: 56
Re: Wasn't sure where to post this......
« Reply #3 on: January 18, 2008, 08:16:54 PM »

It's been a while since I played with web site building, but I do think there are several web sites out there that can help you out. Do a search for the form and you might be able to find a copy and paste code that you need. What I do remember is the more information/secure you need it to be the longer and more complex the code. Some programs (Microsoft front Page) have forms like that are built into the programing. It mainly depends on what/if any program you are using.
Logged
"People sleep peaceably in their beds at night only because rough men stand ready to do violence on their behalf." George Orwell

gsboriqua

  • Old Timer
  • ****
  • Posts: 142
Re: Wasn't sure where to post this......
« Reply #4 on: January 20, 2008, 12:40:19 PM »

Alright, like lonewolf said, if you need it to be seriously locked down you need to do alot of home work.  But here is a simple code I use to get to a secure area on our internal web:

Start script:
<%
' response.write("'" & Session("strUserId") & "'")
%>

<HTML>
<HEAD>
  <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  <TITLE>WEB Page Title</TITLE>
<link rel="stylesheet" type="text/css" href="black.css">
</HEAD>
<BODY bgcolor="#ffffff" link="#FFFFFF" vlink="#FFFFCC" alink="#CCFFCC" style="background-color: #FFFFFF">
<FORM method='post' action='Security.asp'>
  <INPUT Name = "DataBaseName" Type = "Hidden" VALUE = "Fab Tools">
  <TABLE width="740" border="7" height="460" align="center" bgcolor="#FFFFFF"
  bordercolor="#FFFFFF">
    <TR>
      <TD height="487"><TABLE border="1" align="center" bgcolor="#FFFFFF" bordercolor="#FFFFFF">
     <TR>
       <TD height="110" width="242" align='center' valign='bottom' bordercolor="#FFFFFF">
        <font color="#000000">;Any description you wish</font></TD>
     </TR>
     <TR>
       <TD width="242" valign="top" height="353" bgcolor="#FFFFFF" bordercolor="#FFFFFF"><TABLE cellspacing=0
         cellpadding=0 border=0 align="center" style="HEIGHT: 236px; WIDTH: 228px">
      <TR>
        <TD valign=top height="300">
          <TABLE border=1 width="240" background="images/circut3.jpg" height="200">
            <TR>
         <TD height="271" align='center' bgcolor="#FFFFFF" bordercolor="#FFFFFF">
            <font face="Arial, Helvetica, sans-serif" size="4" color="#000000">Please Log In:&nbsp;</font>
           <TABLE border=0 width="247">          
             <TR>            
               <TD width="96"><font color="#000000"><B><font face="Arial, Helvetica, sans-serif">Username:</font> </B>
              </font></TD>            
               <TD width="105">              
            <INPUT TYPE="text" NAME="Name" SIZE="8"></TD>
               <TD width="26"></TD>                             
             </TR>            
             <TR>            
               <TD width="96"><B>
                  <FONT face="Arial, Helvetica, sans-serif"
                size="3" color="#000000">Password:</FONT></B></TD>
               <TD width="105">
            <INPUT TYPE="password" NAME="PSW" SIZE="8"></TD>
             </TR>
             <TR>
               <TD colspan="3" align='center' height="91" width="239">
            <INPUT type="submit" value="Logon" name="SUBMIT"></TD>            
             </TR>
           </TABLE>
         </TD>
            </TR>
          </TABLE>
        </TD>
      </TR>
         </TABLE>
         <P>
         </TD>
     </TR>
   </TABLE>
      </TD>
    </TR>
  </TABLE>
</FORM>
</BODY></HTML>

That will reference another asp page (Security.asp noted above)to verify the password.  You can also change the password in this script:

Start script:

<% @LANGUAGE = "VBScript" %>
<% Response.Buffer = True %>

<%
   user = getUserId()
   if user = "" then
   response.write("no user")
     response.redirect "LoginIMS.asp"

 else
   Session("STRUserid") = getuserid
   Response.Write Session("STRUserid")
   Session.TimeOut = 20
   response.Redirect " Place your web page redirect here "
 end if


'************************************************************************************
'********************************* Subroutine ***************************************
'************************************************************************************

   Function getUserId()
      getUserId = ""
      Const Request_POST = 1
      Const Request_GET = 2

      id = request.form("name")
Response.Write (id)

      pw = request.form("psw")

      If (id = "Username") and (pw = "password") then
         getUserId = id
      End if


Response.Write (id)
Response.Write ("
")
Response.Write (pw)
Response.Write ("
") 
Response.Write (getUserId)          


   End Function
%>

Logged


Phattened up by www.stumpwerx.com
Custom work by www.cat5customs.com

RD

  • Texas X Rider OverLord
  • ******
  • Posts: 2119
  • Just another Joe in San Antonio
Re: Wasn't sure where to post this......
« Reply #5 on: January 20, 2008, 01:18:58 PM »

  :o ??? ??? ??? ???

Too much for my little mind.
Logged
Another proud owner of 2 1800's
04' Honda VTX 1800C
08' Honda GL1800 Goldwing

hooter

  • Master of Monumental Proportions
  • *******
  • Posts: 4337
  • Itasca (just North of Hillsboro on sceanic I-35W)
Re: Wasn't sure where to post this......
« Reply #6 on: January 20, 2008, 02:17:19 PM »

 :D :D :D :-\ :-\ ???
Logged
What I do today is very important because
I traded a day of my life for it.

Whatever you want to do, do it now.
  There are only so many tomorrows.

VTXLady53

  • Texas X Rider OverLord
  • ******
  • Posts: 2573
  • New Caney,TX <>< Member since 2004
    • Marigold's Basic Webs
Re: Wasn't sure where to post this......
« Reply #7 on: January 20, 2008, 03:36:38 PM »

gsboriqua, Thanks for the reply but it's too much for my little mine too.............. :D

I guess I will have to tell the client.......I only do Simple Basic Web Sites and stick to it.



Logged
Life is too short for drama or petty things, so laugh hard, love truly and forgive quickly. Live While You Are Alive. Forgive now those who made you cry. You might not get a second time.

RedDragon

  • Master of Monumental Proportions
  • *******
  • Posts: 3725
Re: Wasn't sure where to post this......
« Reply #8 on: January 20, 2008, 06:11:55 PM »

So I take it you can't copy and paste.  :D :D :D ;D ;D ;D ;D ;D ;D
Logged

2005 VTX 1800C Red Tribal Flame
2005 Yamaha FZ1 Silver

gsboriqua

  • Old Timer
  • ****
  • Posts: 142
Re: Wasn't sure where to post this......
« Reply #9 on: January 20, 2008, 06:39:28 PM »

So I take it you can't copy and paste.  :D :D :D ;D ;D ;D ;D ;D ;D

What he said!  I gave ya the code!!  Give it a shot, don't sell yourself short.
Logged


Phattened up by www.stumpwerx.com
Custom work by www.cat5customs.com

VTXLady53

  • Texas X Rider OverLord
  • ******
  • Posts: 2573
  • New Caney,TX <>< Member since 2004
    • Marigold's Basic Webs
Re: Wasn't sure where to post this......
« Reply #10 on: January 21, 2008, 07:20:10 AM »

Ok.....................copy and paste is one of the things I can do..

I've made the login form............... :)

I need to know what to put in the form propertie to get the answers to go to a secure location.

Like the account form. I know to put the email address as one of the code and it takes the information to the owners email account.

Maybe I am not not using the correct terms..... :( ::) :'( :-\
Logged
Life is too short for drama or petty things, so laugh hard, love truly and forgive quickly. Live While You Are Alive. Forgive now those who made you cry. You might not get a second time.

gsboriqua

  • Old Timer
  • ****
  • Posts: 142
Re: Wasn't sure where to post this......
« Reply #11 on: January 21, 2008, 02:38:43 PM »

In line 12 of the first script you can see where it references Security.asp.  This is what you should name the second file with the username and password settings.  Or name it what ya want and change it in line 12 to match.

In the second file (secuirty.asp) enter the web page name your protecting in line 14 and save as a .asp page.

Put this line in the top of the protected page:

<%
if Session("strUserId")=""then response.redirect "LoginIMS.asp"

%>
Logged


Phattened up by www.stumpwerx.com
Custom work by www.cat5customs.com

gsboriqua

  • Old Timer
  • ****
  • Posts: 142
Re: Wasn't sure where to post this......
« Reply #12 on: January 21, 2008, 02:40:24 PM »

I also find it hilarious we are talking code in a motorcycle forum!

Logged


Phattened up by www.stumpwerx.com
Custom work by www.cat5customs.com

hooter

  • Master of Monumental Proportions
  • *******
  • Posts: 4337
  • Itasca (just North of Hillsboro on sceanic I-35W)
Re: Wasn't sure where to post this......
« Reply #13 on: January 21, 2008, 06:00:48 PM »

I also find it hilarious we are talking code in a motorcycle forum!



Oh that's not to odd, the subjects change from week to week on this forum and next week's subject will be Martha Stewart's recipe for Creamed Chicken served on a bed of Spanish Rice, which in my opinion is much better with jalopenos in the rice and not the Chicken.
Logged
What I do today is very important because
I traded a day of my life for it.

Whatever you want to do, do it now.
  There are only so many tomorrows.

gsboriqua

  • Old Timer
  • ****
  • Posts: 142
Re: Wasn't sure where to post this......
« Reply #14 on: January 21, 2008, 06:08:01 PM »

Oh that's not to odd, the subjects change from week to week on this forum and next week's subject will be Martha Stewart's recipe for Creamed Chicken served on a bed of Spanish Rice, which in my opinion is much better with jalopenos in the rice and not the Chicken.

I guess it depends if its red rice or yellow rice.  I would think it would taste better with yellow rice but thats just me  ;)
Logged


Phattened up by www.stumpwerx.com
Custom work by www.cat5customs.com
Pages: [1] 2
 


SimplePortal 2.3.3 © 2008-2010, SimplePortal