Send Data From To C++ Server
Suppose I have a C++ server that listens to a port (WinSock API). Is it possible to send a data to that server from ASP page? If yes, how?
View RepliesSuppose I have a C++ server that listens to a port (WinSock API). Is it possible to send a data to that server from ASP page? If yes, how?
View RepliesA website has a form with the first line as written below:
<form METHOD="POST" action="submission_form.asp" name="FrontPage_Form1" webbot-action="--WEBBOT-SELF--">
Can I, if I match the field names used, submit my form and have it sent to their server as if the submission had come from their server?
Could I use:
<form METHOD="POST" action="http://www.example.com/submission_form.asp" name="FrontPage_Form1" webbot-action="--WEBBOT-SELF--">
and I match all of the field names? Would that work?
Could I harm their "database", or whatever they are doing with the form submission?
Since you are going to ask "why". My reasons are noble enough. It would just make things much easier.
I'm trying to submit an image object, along with some other text fields to
another web server from within an ASP page but am stuck on getting the image
to be submitted with the form.
In a bit more detail:
1. When this particular page is executed, I want the server to pull an image
from a db (stored as a BLOB) along with a few other text fields. This part
is easy and I have no problems with it.
2. I want to submit the image, along with the text fields to a second
webserver which typically accepts its input from a form (ie, the second
webserver usually has a webpage where a user enters some information into
form and browse for a file. When clicking submit, the form fields along with
the file are submitted to the second server).
The reason for this is that I'm trying to migrate from one web based photo
album to another which uses a data structure that is complicated and
difficult to interface with, so I'm using the web based image upload
functionality of the new album. Code:
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 RelatedI want to know how to send data through forms HTML with SSL and ASP. Which is the difference betweeen the use of ASP with and without SSL? Is it only the https and not the http or implies another changes?
View Replies View RelatedWhen more than one user send data into Database same time using following code, do you think the code is correct? I concern if 2 users send data into DB same time, it is one user is ok and another is failed, or both ok, or both failed? If this happened, how to make that work? I remember syncnization/parallel thread can be used to solve this issue, but don't know how. Any suggestion and sample code? Code:
View Replies View RelatedI'm trying to retrieve the data off a form (survey.htm) and email the results
back to me using CDO and ASP (survey.asp). I'm confused as to how to
retrieve the form data from survey.htm and send it using survey.asp. Below is
a sample ASP script that I found on ASPFAQ.com and it works fine, but now how
do I grab the info from a form and incorporate it into the emal. Code:
How to send data through winhttpd and process the data in the target page?
I've sent private data back to the IIS by implementing the web page reference to HTTPS, but how can secure data be sent to the client computer over the internet using SSL?
View Replies View RelatedHow to use VB to send data to ASP pages?For example,i click the ON/OFF command button.If ON button is pressed,the user that viewing the ASP page can be able to know that the ON button is pressed.
View Replies View Relatedi've got a database in ms access. using ASP (vbscript) and IIS. I can send text e-mails through ASP but i want to attach a file from the database to the e-mail when it is sent. can anyone give me any hints on how to get the data from access, attach it to the e-mail and send it on?
View Replies View RelatedI've written many pages that emails the content of a web form, but the data
formatted very nicely. Is there a way to have the content of the submitted
form data via email in XML?
What I'm doing is to show people data from database with ASP, but when there's nothing to show, ASP brings the browser with an error where only people like us knows what it means so what I want to know is how can I make ASP go to another page where I can explain the user that there's no data ralated to that new search and that he or she needs to try again?
View Replies View RelatedWhat I am trying to do is create a page on my company's internet site so that our customers can fill out a form, click a submit button and then have the data they entered be emailed to me. I have already created the form within Dreamweaver MX. How do I setup the Submit button to automatically email the information to me?
View Replies View RelatedI use dreamweaver and i have a combobox named country and a text field named email. I want the user choose a country from the combobox and the email for this country go to a text field. Lets say the user choose England from the combobox and an email will be puted in text box. I use PHP or ASP. This is my form:
<td><select name="country" id="country">
<option>1</option>
<option>2</option> </select>
<input name="email" type="text" id="email" value="email for the country in combo box"> </td>
How can i pass a parameter SQL stored Procedure from ASP pages
View Replies View RelatedI've set up a website contact page which uses CDOSYS to send form details to an email address.
However, the domain is set up such as the client is using their own mail server, and using my server only to host the website.
Ordinarily I would set up hosting with email and change the nameservers of the domain to point to my server, but in this case the client is keeping the nameserver details the same, but just updating the A record to point to my server to display the website.
Trouble is, the CDOSYS email doesn't seem to work with this set-up. Do I need to hard code their mail server IP somewhere to get it to work?
My computer is at intranet,I want to use following code to realizing function of sending mail.But this program only can send mail between intranet.If I send mail in internet,I need to through proxy server,the proxy method is HTTP(proxy server:xx.yyyy.com,port:8080,username/password),I want to use this program to send from intranet to internet through proxy server.I want to know how to realize this function.My code is follows:
Set objCDOMail = Server.CreateObject("CDONTS.NewMail")
objCDOMail.From = frommail
objCDOMail.To = tomail
objCDOMail.Subject = mailsubject
objCDOMail.BodyFormat = 0
objCDOMail.MailFormat = 0
objCDOMail.Body = mailbody
objCDOMail.Send
Set objCDOMail = Nothing
I need to send a email to my clients from my website using the email object. I developed my site in ASP, and the server is linux, thats why i cann't use CDONTS object to send emails bcz server is not IIS....
View Replies View Relatedhow to go about sending a batch of sql statements from asp to sql server, and
having errors appropriately handled? for example,
i want to send the following stored procedure calls to sql server in a
single batch from my asp code, rather than using a loop in asp to execute
each procedure individiually. if one of these fails, they all should fail.
exec myProc @param1 = 'A'
exec myProc @param1 = 'B'
exec myProc @param1 = 'C'
exec myProc @param1 = 'D'
exec myProc @param1 = 'E'
exec myProc @param1 = 'F'
I want to know the possiblity and process of an ASP client, which needs to get some UDT from a ATL Server component implemented in VC++. The UDT is basically a C++ class consisting of a BSTR and a short. for eg.,
class CMyClass
{
BSTR myName;
short myNum;
};
and what actually i need is to pass a collection(vector) of this object to ASP client as well as to a VC++ client.
how to send an HTMl email from an external server. I am trying to Send email using CDOSYS
this i what i have tried but cant get it to work.
My question is do ASP need to declare smtp server when send email using CDonts function?
View Replies View RelatedIs that possible that I can send request to IIS Server after a .ASP page is
displayed? My Requirement is:
Clinet will Fill the Details in one Request Form after the details are
filled then the Request Files will be shown to the user as Link in Another
page. (Currently before Sending the Link Page to Customer I am updating DB
in Different Servers Located Different Palces - So It takes Time).
So What is My Requrement is After the user gives his details - I will
directly display the Link Page and After the Link Page is Sent to Browser
then I will Execute / Update the DB.
I’m using ASP with VBScript…and I need to send mails using Lotus Notes Mail Server (IBM).
How to communicate to the Lotus Notes Server and send mails?
I want to send email with attachment. I have no problem if the file is located on the same server but i got error when attach file from different server. This is the code,
set mail=server.CreateObject("persits.mailsender")
mail.host="smtp.mydomain.com"
.....
'mail.addattachment "c:attach est.txt" ' no problem with this
mail.addattachment "websvrattach est.txt"
.......
mail.send
I got this error,
"Persits.MailSender.4 error '800a0007'
Logon failure: unknown user name or bad password."
when i changed the servername to static ip address also got the same error.
any idea? fyi, this user has an administrator rights to the server.
I am using ASP formmail from www.brainjar.com. I keep getting this error message:
Form could not be processed due to the following errors:
Email send failed: The server rejected one or more recipient addresses. The server response was: 550 endlessenergysystems.com.
The email address in the form is correct and does work. I have changed the settings to different email address and SMTP servers to try to figure out the issue. However I still get the same error. Here are the basic settings:
referers = Array("www.endlessenergysystems.com", "endlessenergysystems.com")
mailComp = "CDOSYS"
smtpServer = "smtp.readyhosting.com"
fromAddr = "info@endlessenergysystems.com"
I have made a page to display a chart based on data from my SQL-server. I have used Office Web-component graph. Here I can set the correct SQL statement and the graph works fine.
Now I want the user to be able to input the WHERE part of the sql sentence. Can anyone point me to info or code on the web to do this ?
I want to count number of data available depending upon the conditions in the large database the database table rows are approximately 3 lakhs and there are multiple table to be searched and records need to be displayed in ASP pages.
Kindly suggest the best scripting method as i am always getting error like "Script Time Out" Error in Active Server Pages (ASP)
please suggest how to avoid or in sql server i can create some pre defined script and just call from asp pages
I want to export data from SQL Server Database to Access Database through ASP code.
Will it be by running some sort of a batch file?The database structure of both the databases are the same, only there are 3 fields more in the SQL Server DB than the ACCESS DB which need not be exported.
Is there a way to get data submitted to the server without using a form? At the moment I have a very complex form that takes a very long time to load (about 30 seconds), and at intervals I want to send save commands back to the server so that the dynamic information on the page can be saved. The problem is that if I do it the normal way it's frustrating for the user because they have to wait another 30 seconds for the page to reload.
I've also tried using a hidden IFrame and submitting that, but it slows the page's initial load down even more and is causing a bit of an administration nightmare. Also, the program stalls while it waits for a response (success/failure) to come back to the client.
i am trying to insert utf-8 data into ms-sql server using asp. i created an input box from where other charater (like chinese,japnese) will be inputed and should store it in sql server.and it is inserting it as some junk characters in sql server. but When i tried to display it in browser it is not displaying properly. in asp page i wrote this
session.codepage = 65001
response.charset = "utf-8"
' INserting goes here
i need to display a data on the web from the miscrosoft sql server base on the user who have log on to the web.
name : <UserFullname>
id:<UserID>
profession:<UserProfession> ..