|
Red faced thank you ...
Guess I should read more documentation but setup.exe always worked for me in the past.
Cheers,
Rich
|
|
|
|
|
|
Why did you post this three times?
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
When he said 'a question' he meant 'three questions'. Identical ones.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
John Simmons / outlaw programmer wrote: Why did you post this three times?
How do you know that, you can't count that high can you? Ah my first one of the new year. Now that I've gotten that out of the way
|
|
|
|
|
|
|
i am really very sorry for such act actually when i posted the message my page got expired i thought may the message is not posted successfully but in this confusion my question posted more then one time ....once again i am sorry next time it wont happen
|
|
|
|
|
Don't mind them...it happens. And if he would have looked at the time signatures on the thread posts, he would have realized that your double post was actually an accidental "double tap" of the submit.
...Since you realize now that you double posted, go ahead and delete one of the threads and someone might answer.
"I need build Skynet. Plz send code"
|
|
|
|
|
|
Smashing_Perfect wrote: try to do on my own both of them gets disabled
What you have to do is that just disabling the textbox based on radiobutton click..
Can you show us the code that you have done so far for that part?
|
|
|
|
|
I have a page on a website that contains a form. The form posts back to itself when the submit button is pressed.
If the data is acceptable/valid, the page in question displays content that tells the user he submitted valid data (the form is not displayed). All is well.
However, if the user hits the BACK button in the browser, the browser displays a dialog box that says the page contains post data and blah blah blah the world is going to end blah blah blah. When I click OK in that dialog, the form is displayed again.
I've tried useing this
unset($POST);
after processing the data, but that doesn't get rid of the interim dialog box.
Is there a way to keep the browser from showing that without resorting to a separate "result" page that handles the form's data?
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
John Simmons / outlaw programmer wrote: s there a way to keep the browser from showing that without resorting to a separate "result" page that handles the form's data?
No. This is related to how browsers work, not the server. The typical way around it is, as you say, to have a 'separate' results page (which could still be the same file) that accepts the post data and then redirects the user to a 'normal' page (again can be the same file). The redirect ensures the user doesn't suffer the browser dialog if the they should go back.
It's a nuisance for sure.
|
|
|
|
|
I had a larger problem where if the user clicked the back button and (even on a separate page), the data was submitted again. I ended up having to create a random 32-character string and saving it with the data. On subsequent submits, data with the same "id" string is now rejected. The string is regenerated every time the user re-visits the form itself.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Hi Friendz,
I have a piece of code in ASP 3.0 that contains a logic to send email. It uses "CDO.Message" component to send email. But surprisingly no SMTPServer related configuration has been done in this code. Then from where would "CDO.Message" component pick up the default SMTPServer settings. Is that some thing related to IIS -> Default SMTP Virtual Server?
Find below the sample code
Dim objMessage
Set objMessage = Server.CreateObject("CDO.Message")
With objMessage
.To = "Display Name <email_address>"
.From = "Display Name <email_address>"
.Subject = "SMTP Relay Test"
.TextBody = "SMTP Relay Test Sent @ " & Now()
.Send
End With
Thanx in advance
Regards,
Vipul Mehta
|
|
|
|
|
Hi Vipul,
I didn't work for Classic ASP for so long but I did a search about your problem in Google and I found a link that might work for you.
Sending Email Via an External SMTP Server Using CDO[^]
According the example from that article, there is a way to configure the external SMTP server..
For example:
<br />
' Get a handle on the config object and it's fields<br />
Set objConfig = Server.CreateObject("CDO.Configuration")<br />
Set Fields = objConfig.Fields<br />
<br />
' Set config fields we care about<br />
With Fields<br />
.Item(cdoSendUsingMethod) = cdoSendUsingPort<br />
.Item(cdoSMTPServer) = "smtp_server_name"<br />
.Item(cdoSMTPServerPort) = 25<br />
.Item(cdoSMTPConnectionTimeout) = 10<br />
.Item(cdoSMTPAuthenticate) = cdoBasic<br />
.Item(cdoSendUserName) = "username"<br />
.Item(cdoSendPassword) = "password"<br />
<br />
.Update<br />
End With
So, you can read the details in the link above and I hope it will help you.
|
|
|
|
|
Hi all
I am creating a vbscript application to send Email for that i used Easymail object 6.0 . I used mailserver as smtp.gmail.com, i get 2 problems in that as
1) when i use ESMTP authentication it gives error
The selected ESMTP Authentication mode is not supported by the server
2) when i comment ESMTP Authentication & send mail i get error
The from address was not formatted correctly or was rejected by the SMTP mail server. Some SMTP mail servers will only accept mail from particular addresses or domains. SMTP mail servers may also reject a from address if the server can not successfully do a reverse lookup on the from addressplease suggest what i do to send Email by vbscript using my Gmail account with Easymail object
please suggest what i do to send Email by vbscript using my Gmail account with Easymail object
The Stifler
--
Bugs can neither be created nor be removed from software by a developer. They can only be converted from one form to another. The total number of bugs in the software always remain constant.
|
|
|
|
|
The Stifler wrote: The selected ESMTP Authentication mode is not supported by the server
Yeah. GMail doesn't support ESMTP.
The Stifler wrote: The from address was not formatted correctly
How did you set the "From Email Address"?
|
|
|
|
|
how do i know if file has been downloaded completely in php.i need to update the db for counting no. of download if download is completed
|
|
|
|
|
You need to feed the file through a PHP script. At the end of the script you can update the database. Take a look at the readfile function.
|
|
|
|
|
How can check the last number for rounding in forms of 10 like decimal rounding system if last number is >= .50 then calculated as 1 or <.50 calculated as 0
11.50=12
11.40=11
so i wants to chek last number <=1154 then 1150
if last number is >=1155 then 1160
sanjeev
|
|
|
|
|
Hi
Happy New Year
[code]
round=10 * Round( value/ 10 )
[/code]
sanjeev
|
|
|
|
|
I have the following code:
$_SESSION['LoggedIn'] = true;
$_SESSION['User'] = $_POST['txtUserID'];
This doesn't work, and when I go to read the session[user] value it comes up as not set (ie isSet() fails and there is no value stored.
$_SESSION['LoggedIn'] = true;
$_SESSION['User'] = 'mi407';
Doing this works and isSet will pass and mi407 is in the vairable.
When doing the following code, the value from post will be echoed but it will still not end up in the session
$test = $_POST['txtUserID'];
echo "$test";
$_SESSION['LoggedIn'] = true;
$_SESSION['User'] = $test;
Anyone know how I can copy the data from the POST array into the session array?
I presume when it's assiging it's simply putting a reference in there and not the data, which is causing the odd behavoir.
|
|
|
|
|
You might want to ask in a PHP forum.
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Not a solution.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|