Dim :: Receive A Variable Send From A Formular With Method GET
I''ve got a problem with "dim". I want to receive a variable send from a formular with method GET Why it doesn't work??
<body>
<%
dim name
dim vorname
....
name = request.QueryString("name")
vorname = request.QueryString("vorname")
....
response.write ("name" )
response.write ("vorname" )
....
response.end
%>
</body>
View Replies
ADVERTISEMENT
sending a variable in this way: temp.asp?num= <% = Var %> creates an error , although i can see in the url that the value is added (e.g temp.asp?num=3) is it because the method is post? what should i do so the variable will come throgh with no error!?
View Replies
View Related
I cant use Microsoft.XMLHTTP object's Send method for posting a form. Can anyone help?
The form field is
<input type="hidden" name='content1' value='Add User'>
But when i post
objXMLHTTP.Send "content1=Add User"
an error occurs.
Neither of these works:
objXMLHTTP.Send "content1='Add User'"
objXMLHTTP.Send "content1=""Add User"""
View Replies
View Related
I am running the following script for sending e-mail thro web
Set objCDOMail = Server.CreateObject("CDONTS.NewMail")
objCDOMail.From = "vkumar@ugs.com"
objCDOMail.To = "vkumar@ugs.com"
objCDOMail.Subject = "Library books"
objCDOMail.BodyFormat = 0
objCDOMail.MailFormat = 0
objCDOMail.Body = "hi"
objCDOMail.Send
Set objCDOMail = Nothing
-------------------------
I get the following error, when I call send method of CDONTS.NewMail object
---------------------
Microsoft VBScript runtime error '800a0046'
Permission denied
/cae/library/issueupdate.asp, line 61
----------------------------
I tried both the following. Everything looks fine. My OS is windows200
server
http://support.microsoft.com/defaul...kb;en-us;286301
http://support.microsoft.com/defaul...kb;en-us;197619
Can somebody give a clue, what is going wrong....
View Replies
View Related
Is there a way to determin if the email message was sent? I have a numnber of applications that use CDONTS to send mail from both ASP and ASPX pages. If the server is down mail does not get sent. I do not see a way to determine this by code. Does anyone know of a way?
View Replies
View Related
is it possible to send info to a page with the post method automaticaly ?
whithout the user having to click the button ?
View Replies
View Related
how to pass variable using a url?let say i have a page contain a variable Variable, so when i want to pass the variable using url i shd using what code?thx a million.
View Replies
View Related
I am looking to incorporate SMS messages into a web page, so if people send a message to me, it shows up immediately on-screen. how to do this?
View Replies
View Related
I was just wondering what the requirements are on my computer system if I want to be able to receive e-mails (to my own mail server and not through the mail server of my ISP). I already have a functioning SMTP-server, but I guess that only works for outgoing mails, or is there maybe a way I can send mails to this SMTP-server?
Do I need a fixed IP-address? Do I need so kind of special software like Win 2003 server or maybe Exchange Server? Do I need my own domain name? Anything else I need to bear in mind if I want to have my own incoming mail server?
View Replies
View Related
Is it possible for IIS to send some sort of notification when an ASP
error occurs on a page?
I can see them in the web logs, but I was wondering if there was a way
to receive an email or some other alert
I thought about using CDO Send Mail, but this object is often what
cause the error in the first place.
View Replies
View Related
I am looking for a way to read & download my e-mails from my pop3 account from another server by using ASP(vb)
If you know anything about this subject please feel free to let me know. I learn how send but not receive.
View Replies
View Related
After I run my cdon't.asp file, I saw a successful message saying "mail sent". Then, I went to open my inbox but find no mail. So, I went back to c:inetpubmailroot, I saw a folder called queue and saw that mail there. How do I solve this problem?
View Replies
View Related
I have a form (it's a .asp page) that people fill out to receive a free brochure. The form results are sent to a database (mdb).This is what I want to do. I want to be notified by email everytime someone fills out the form. I also want to be able to use an auto-responder and send an automatic message to the person that filled out the form.
In the future, I would like to be able to have the people be automatically signed up for the newsletter (with the option of not be added to the newsletter).
View Replies
View Related
Does any one know if asppop3 allows you to insert mail directly into a database table? I think i know of a way but before I do, I would like to know if any one else knows?
View Replies
View Related
I have a html form. When it is submitted, an asp page retrives all the data and sends the data to my email id. It is working well when the form data is in English. When user fill in the form using Thai language and submit, as sends some junk. How can i fix it?
View Replies
View Related
I have application form in ASP and I�m using a code
which I have use many times before and when I fill out
the forms it doesn't return any errors so it works perfect I guess.
Anyway... when I download the database (Access mdb)
back to my C: and open it a new line of record has been
created but all the fields are empty and no data.
Does anyone know what can be wrong or what are the
possibilities?
View Replies
View Related
I have been writing a photoalbum in ASP and I am trying to receive an undetermined amount of files.
A more detailed explanation:
The client side (Javascript) generates a new file upload box as soon as the file in the first box is selected...the name of the file upload boxes is bestand[] so that the input is received in an array.
Now I am trying to receive all the files with ASP and store them on the server....
View Replies
View Related
I'm looking for a simple e-mail form processing for my website. I want users to be able to add their e-mail in a simple text field with a submit button so I can receive it by e-mail. I've looked on the Internet and it seems so complicated.
View Replies
View Related
Receive xml as input stream through asp and parse it. I would be getting a xml file and i need to recive it through asp and parse it thus extracting its childnodes.
View Replies
View Related
I have the following code in my my form:
Sub frmSubButton1_onclick
Dim ObjMail
'Create Mail Object
Set objMail = Server.CreateObject("CDONTS.NewMail")
'Populate variables from form value
strAuthorEmail = document.getElementById("OpenBy").value
strRecipientEmail = "tech@lsamedicaidspecialists.com"
strCC = document.getElementById("OpenBy").value
strBody = document.getElementById("IssueDescription").value
With ObjMail
.From = strAuthorEmail
.To = strRecipientEmail
.CC = strCC
.Subject = document.getElementById("IssueCategory").value
.Body = strBody
End With
ObjMail.Send
I am erroring out on this line -
Set objMail = Server.CreateObject("CDONTS.NewMail")
The error I receive is Object 'Server' Required. I am running IIS 5.x and that is why I am using CDONTS.
View Replies
View Related
i am trying harder to mix this 2 solutions... but without success... the below on seen to be grabing a template and replace the data with the values posted in a form Code:
View Replies
View Related
I'm turning my application into a "DLL". Everything worked fine untill I try to do a "While" in my asp code. Then I recieve an error like this:
"Object variable or With block variable not set"
My vb code look like this.....
View Replies
View Related
is there any way of passing a javascript variable over to a asp variable so
i can write it to my database.
View Replies
View Related
I have downloaded the DiscIDCalc program from CDDB. I've used it a lot because I've written my own application for my CD collections (keeping track of the track information of each CD, track duration etc). I've already got all my CDs into the application, I'm now just going through each of the disc again just to add in the DiscID information. I do it by running the DiscIDCalc program, generating the DiscID, and then then copying and pasting this DiscID into my application and then save it.
if anyone has successfully generated the DiscID within an asp page?
Now I have to have my browser up and this DiscIDCalc program up. Just want to know if there's a way to incorporate the two together (even if it means I'm not using the DiscIDCalc anymore.). This DiscIDCalc has a documentation for its DiscIDCalcDLL.dll but it's not something that I can CreateObject with, so I'm quite clueless... I don't want to use VB to write APIs for that
View Replies
View Related
I use query string to search for records by using GET method. This method will generate querystring automatically by using the form name. Using search field together with drop down is fine but the problem is when i didn't enter any keyword or left the search field blank it won't display any result.
Unless I put "%" in the search field. How do I make the querystring change to "%" whenever the field is blank so that all records will be displayed.
View Replies
View Related
i am trying top update a field in my sql database but it wont let me??? does anyone know if my syntax is correct?? I have a field called userId in the database and want to replace it with my form request. Code:
View Replies
View Related
Method Not Allowed
The requested method POST is not allowed for the URL /Database/processForm.asp.
Apache/1.3.33 Server at antonyx.freestarthost.com Port 80
i just got this error, however, i have managed to post data into my database on this server b4, why is this error comin up now, could there be a prob with my asp file??
View Replies
View Related
When using ActiveX Combo Boxes, can you use the GetString method to populate the control? I currently am using AddItem, however, it is taking a long time to process. I know that GetString works well to improve the performance. Here is my code while using AddItem:
while not rsClient.EOF
Response.Write chr(9) & "MenuForm.lstClient.additem " & chr(34) & replace(rsClient.Fields("Client Name").value,chr(34),"'") & " [" & trim(rsClient.Fields("Client Number").Value) & "]" & chr(34) & chr(13)
rsClient.MoveNext
View Replies
View Related
Now this is a weird one. I'm having a problem with a system in development. When I post data from a form in IE 5.01 it works fine, but in IE 5.5 it refuses to post the data to the server and in IE 6 it's scatty -- works sometimes but not others. Anyone seen this before?
Edit:
By the way -- this is normal VBS/ASP running on IIS 5 on an NT server
View Replies
View Related
can values of variables be transfered through response.redirect onto the next page
View Replies
View Related
I have a form that ignores my form validation code. My code works if I use the post method of <%=Request.ServerVariables("SCRIPT_NAME")%>.
But, If I post the form to another .asp page, which I prefer, the code doesn't work. Do anyone have any suggestions? Here's my code.
I have a form that ignores my form validation code. My code works if I use the post method of <%=Request.ServerVariables("SCRIPT_NAME")%>. But, If I post the form to another .asp page, which I prefer, the code doesn't work. Do anyone have any suggestions? Code:
View Replies
View Related
I have a service provider that's sends sms messages from clients mobile
phones to my asp page, problem is I don't know how to show the data and they
are not being helpful.
The process is simple as outlined below (instructions from service provider
Example: If you provide this: http://www.yourdomain.com/sms/sms.asp then we
will do a post via a standard HTTP GET as follow:
http://www.yourdomain.com/sms/sms.a...ISO-8859-1&udh=
How do I receive the url with the parameters in the address bar?
View Replies
View Related
I would like to know which method is best in ASP when using/coding for email via a form.
View Replies
View Related