|
-
Nov 28th, 2001, 11:35 PM
#1
Thread Starter
Hyperactive Member
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
-
Nov 29th, 2001, 04:28 AM
#2
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.
-
Nov 29th, 2001, 04:53 AM
#3
Conquistador
what, may i ask, is the matter with php?
-
Nov 29th, 2001, 06:22 AM
#4
Thread Starter
Hyperactive Member
Host doesn't support php. How can I use ASP? I don't know how to do this
-
Nov 29th, 2001, 08:03 AM
#5
Hyperactive Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|