Results 1 to 5 of 5

Thread: This should be easy...

  1. #1

    Thread Starter
    Hyperactive Member zer0_flaw's Avatar
    Join Date
    Apr 2001
    Posts
    448

    This should be easy...

    Alright, I'm totally new to this... I'm a VB programmer, not a web designer =] Anyway, here's what I need; I will use www.abc123.com as my example site: Say you go to www.abc123.com and enter in some information. When you click a button it takes you to the address www.abc123.com?name?address?other_info which is the SAME address and site page but a different web address. When you arrive at this address it saves the text "name", "address", and "other_info" to a textfile on the server www.abc123.com. How can this be done? Http, java, cgi, other language (except PHP)... I really don't care. I just need it done. Thanks VERY much in advance. Later,

    -zer0 flaw

  2. #2
    kayoca
    Guest
    You can do it with ASP (Active Server Pages) if you use a url like this one.
    Code:
    http://www.abc123.com/save.asp?name=kayoca&address=vbworld&other_info=info
    So when he loads the asp page you can use FSO (FileSystemObject) for saving data in a file.

  3. #3
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    what, may i ask, is the matter with php?

  4. #4

    Thread Starter
    Hyperactive Member zer0_flaw's Avatar
    Join Date
    Apr 2001
    Posts
    448
    Host doesn't support php. How can I use ASP? I don't know how to do this

  5. #5
    Hyperactive Member
    Join Date
    Aug 2001
    Location
    India
    Posts
    276
    Assuming you have PWS & IIS and u know its proceedings...

    1. Create a HTML Page with a Form Tag and the elements that will take the values Name, Address, watever from the user.
    EX: <Form method=GET action=Process.asp>
    <input type=text name="Name">Name
    <input type=text name="Address">Address
    <input type=submit value="Submit">
    </Form>
    2. Create the ASP Page - Process.asp
    EX: <%
    Response.write Request.QueryString("Name")
    Response.write Request.QueryString("Address")
    %>
    3. Here Response.write is like your Msgbox in VB. Basically for testing, but this would write to the Web Page. Now that you have the values you can use the FileSystemObject, as said above, and write to text file jus lik in VB.

    Hope this helped.

    - Jemima.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width