Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
pressed
- Page 1
Online subission forms not sending emails of submitted info
Programming
Web Development
1 Week Ago
by david.tigner
…. But now something new is happening. Now, when Submit is
pressed
, system doesn't crash and goes to the after submission…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Week Ago
by Dani
The first thing I will say is never output `$_POST[]` content directly into the HTML without escaping it first. You are leaving yourself wide open to an HTML injection attack. Not only that, but you're also leaving yourself open to invalid HTML. All it takes is to wrap your user-sent variables with htmlspecialchars to make sure they're HTML-escaped…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Week Ago
by Biiim
In your code where you write `mail($to,$subject,$message,$headers);` if you want to get error messages or "do something if it fails" you need to alter it a bit to something like: if(mail($to,$subject,$message,$headers)){ //if successful do something }else{ //if error do something else } //or…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Week Ago
by david.tigner
I do not have access to the PHP error log nor do I know how to check to see if mail() is returning false. The coding I'm using has worked (e.g. sent email with submitted info) for 13 years and now stopped working. My URL/PHP provider, Ionos, claims it won't send because all recipient email addresses need to be authenticated and a new STMP PHPmailer…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Week Ago
by david.tigner
Re: Biiim's post, the coding you suggest to get error messages looks like something good to try and the PHP Mailer stuff looks the same as the generic code I got from Ionos. It sounds like all these methods are appearing favorable for solving the problem. This kind of troubleshooting can be very frustrating so thanks for your help.
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Week Ago
by Dani
I wonder if the problem is that your php mail() function is configured to use SMTP in your php.ini file. A lot of SMTP servers switched over the past year or so to using XOAuth2 for authentication. A username + password in your config settings will no longer suffice to establish a connection. You can see me complaining about it [here](https://www.…
Trump Returns & A Good Year for BTC: ChatGPT’s Bold Predictions for 2024
Community Center
2 Months Ago
by Johannes C.
… leaders, tech innovators, humanitarian figures, peacemakers, and cultural influencers. When
pressed
to give a name, is predicted Thunberg. However, it's…
Re: Trump Returns & A Good Year for BTC: ChatGPT’s Bold Predictions for 2024
Community Center
2 Months Ago
by carriejo810
I did the same for Bard: Who will Win the 2024 US Presidential Election? Answer: In a surprise upset, a strong third-party candidate emerges after the primaries, capturing disaffected voters from both major parties and ultimately winning the 2024 US Presidential Election. Will 2024 be the Hottest Year on Record? Answer: Yes. What will be the …
Re: search bug
Community Center
Meta DaniWeb
16 Years Ago
by Dani
>
pressed
Search it changed the selection to "Entire Site" and produced a list of 3 pages This is by design. > But it will display only the first page even when I select one of the other two pages. I fixed this bug. Thanks!
How to determine which button was pressed?
Programming
Web Development
15 Years Ago
by n00b0101
…code to "figure out" which button was
pressed
. When the user presses one of the buttons, … to popup a form depending upon which button was
pressed
. Wherever there's a reference to "sample0"… change to the id of the button that was actually
pressed
. [code] YAHOO.namespace("forms.container"); function init() …
Re: C++ Form problem: pause execution until button is pressed
Programming
Software Development
13 Years Ago
by VernonDozier
…;} else if (<button 2 on form is
pressed
>) {<then carry out function_2>} &… (still_user_turn == true) { // <wait until button is
pressed
and action related function functions (plus or minus 1 from…stick a pause in there? } // button 1 has been
pressed
. Do whatever. } [/code] Within that button1_Clicked function, set…
Testing whether shift is pressed
Programming
Software Development
13 Years Ago
by Medalgod
…object sender, KeyPressEventArgs e) { //If enter is
pressed
and shift isn't //This allows for line breaks… rtbInput.Text.Length - 1); Send(); } //Else if shift is
pressed
else if (e.KeyChar == (char)15) { shiftPressed = true;…
Re: How do you check if arrow keys are pressed?
Programming
Software Development
17 Years Ago
by Diode
…) { case ARROW_KEY_UP: printf("\nYou
pressed
the UP arrow key!"); return; …; case ARROW_KEY_LEFT: printf("\nYou
pressed
the LEFT arrow key!"); return…
Mouse event pressed/released (C++)
Programming
Software Development
13 Years Ago
by Extremus
… came up. I found out the way to catch the
pressed
event: [CODE] #include <windows.h> #include….Event.MouseEvent.dwButtonState & FROM_LEFT_1ST_BUTTON_PRESSED)) { printf("Left Mouse -
Pressed
.\n"); } } } [/CODE] What I want to use …is to catch the time elapsed between the '
pressed
' and 'released' event.
Re: Mouse event pressed/released (C++)
Programming
Software Development
13 Years Ago
by nezachem
… it for is to catch the time elapsed between the '
pressed
' and 'released' event.[/QUOTE] [CODE] while( TRUE ) { ReadConsoleInput(…InputRec.Event.MouseEvent.dwButtonState & FROM_LEFT_1ST_BUTTON_PRESSED) { printf("Left Mouse -
Pressed
.\n"); } else { printf("Left Mouse - Released\n&…
C++ Form problem: pause execution until button is pressed
Programming
Software Development
13 Years Ago
by carrythe1
…decision is made (one of the buttons is
pressed
). I have added a simplified version of the…{ while (still_user_turn == true) { // <wait until button is
pressed
and action related function functions (plus or minus 1 from…and continue the program when the button is
pressed
but I cannot seem to get it to …
Some action tobe done in RTB when Enter key pressed....
Programming
Software Development
13 Years Ago
by Nivass
… key on the rich text box. i.e; If user
pressed
enter key the rich text box cursor should not move…. I have achived this to some what. When enter key
pressed
it do action what needs to be done. the issue… in the RTB. Say pointer in 70 line and i
pressed
enter key pointer move to 71 line and do the…
Tkinter which button was pressed?
Programming
Software Development
12 Years Ago
by Gobble45
… bottom right square missing.) when one of the buttons is
pressed
, and if it is directly next to the empty square… cant think of a way to determine which button was
pressed
. i only want to use a single function for this… "get" the details of the button that was
pressed
, is there like a value? or something that will do…
Wait for a button to be pressed before sending info back to caller
Programming
Software Development
12 Years Ago
by getack
… be inserted here*/); OKPressed = true; System.out.println("OK
Pressed
"); //this.dispose(); } public void display() { java.awt.EventQueue.…a boolean variable that turns true when the button is
pressed
. For some reason it keeps on spinning and the waitForOK…
Re: C++ Form problem: pause execution until button is pressed
Programming
Software Development
13 Years Ago
by carrythe1
… for input> if (<button 1 on form is
pressed
>) {<then carry out function_1>} else if (<…;button 2 on form is
pressed
>) {<then carry out function_2>} <continue code…
Re: how to get the last key pressed without stopping the programm ?
Programming
Software Development
12 Years Ago
by pteryx
…following function returns zero when nothing was
pressed
and ASCII code when something "ASCII&…quot; was
pressed
. I hope that this solution really works…) { return 0; } // Retrieve the character that was
pressed
. ch = input.Event.KeyEvent.uChar.AsciiChar; // Function keys …
Re: how to get the last key pressed without stopping the programm ?
Programming
Software Development
12 Years Ago
by zeroliken
…{ return 0; } // Retrieve the character that was
pressed
. ch = input.Event.KeyEvent.uChar.AsciiChar; // Function keys…| RIGHT_CTRL_PRESSED ) ) return 0; // if( ch == 13 ) // ...; // enter
pressed
return ch; } [/code][/QUOTE] you do realize your replying to…
Re: how to get the last key pressed without stopping the programm ?
Programming
Software Development
19 Years Ago
by mango_maniac
…Event.KeyEvent.bKeyDown) { // Retrieve the character that was
pressed
. buffer[0] = input[0].Event.KeyEvent.uChar.AsciiChar;… if(buffer[0] == 13){ break;} // enter
pressed
if(buffer[0] == 8){ // backspace pw.erase(pw…
Recognizing when a button is pressed.
Programming
Software Development
18 Years Ago
by MFal
…, and it uses ActionListener to detect when the button is
pressed
. The program is [I]supposed[/I] to go through my… methods when the button is
pressed
. However when i launch the applet and put values in…
How can I know the button is pressed?
Programming
Software Development
15 Years Ago
by zawpai
… me some suggestion? How can I detect the button is
pressed
continuously? Actually, I use [ICODE]Command1_MouseDown[/ICODE], but it is… like to do the application continuously if the button is
pressed
. If the user release (mouse up), I will stop the…
How can I get the key that is pressed by user in a module in kernel 2.6.x ?
Hardware and Software
Linux and Unix
14 Years Ago
by fenerista
… or anywhere. I want to get the key that is
pressed
by user. I found something about that I can make… for me because of it logs all keys that are
pressed
by user. (Module Programming(possibly it will be a char…
Re: Multiple keys pressed and PeekMessage.
Programming
Game Development
14 Years Ago
by emilo35
… flag the corresponding key (wParam) as either true (
pressed
) or false (not
pressed
). This way you should always be able to keep… track of which keys are
pressed
, and which ones that aren't. I hope this helps…
Cannot capture textbox event when tab is pressed
Programming
Software Development
13 Years Ago
by tonymuilenburg
…, I'm trying to capture an event when tab is
pressed
in a textbox using visual studio.net, and am having… ) { if(e->KeyChar == '\r') MessageBox::Show("enter key
pressed
"); } [/CODE] Thanks in advance.
Disable Pressing Enter on Datagridview (Problem is when pressed enter datagrid row )
Programming
Software Development
13 Years Ago
by Mubusher
… saniplast so data of datagriview select similar saniplast when i
pressed
enter so the datagridview_keypress coding cannot execute here is coding…() end if [/CODE] now the problem is that when i
pressed
enter so the second row of datagridview is selected and…
Detect the ctrl key is being pressed
Programming
Software Development
13 Years Ago
by neosonic
… I want to detect whether the ctrl key is being
pressed
. Since I want to simulate... ctrl and left click for… I check the ctrl key status (whether it is being
pressed
or not) without using keyUp and keyDown event? thanks
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC