|
As you read each character of the password display an asterisk on the output device.
It's time for a new signature.
|
|
|
|
|
Ok
But getch is not working in unix
will you help me by providing simple demo code
|
|
|
|
|
Use the man pages for more information; you can take your pick from one of these[^].
It's time for a new signature.
|
|
|
|
|
Refer to this[^] post. It seems that it contains a solution for your problem using termios.h functionality.
|
|
|
|
|
1. Did you see point 2 in the Forum Guidelines above?
2. Have you tried a users forum for vBulletin, whatever that is?
3. Have you tried Google?
Software rusts. Simon Stephenson, ca 1994.
|
|
|
|
|
From the Forum Guidelines PLEASE READ at the top of this forum:
2. Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
In other words, we are here to answer specific questions, such as "why does [ten lines of code] cause [this error message]". We are not in the business of providing packages, although if we know of one, we'll point you to it.
There is a reason the next question down (a) got downvoted [not by me] and (b) isn't going to get answered.
Software rusts. Simon Stephenson, ca 1994.
|
|
|
|
|
Noman, not wishing to be rude, but in a thread below and in a thread in the Collaboration Forum, you have been told that this project of yours will not be resolved by free-of-charge activities here by CP members. And you have been pointed towards internet resources as well as external sites such as RentaCoder.
Kindly STOP asking the same question time and time again. The answers you have been given will not change and you will get annoyed and frustrated, and perhaps eventually ignored.
modified 1-Aug-19 21:02pm.
|
|
|
|
|
Thanks, Richard. I was not aware of earlier threads when I first answered this morning, or my response might have been a little more pointed. Still can't see how I was ever rude, though. Maybe I should have looked at OP's profile and taken heed of -140 debator and -34 enquirer points. [Run a mile.]
Software rusts. Simon Stephenson, ca 1994.
|
|
|
|
|
kindly i would like to give me code tic tac toe by written php,javascript and html
thank you
|
|
|
|
|
I want to check about duplication of records.
For example; if I want to put data of product name 'A' in database.
I found that this product is exist.
so I have 2 choices; update or cancel.
<?php
if(it_is_Existed)
{
echo $answer = "<script>confirm('do you want to change?')</script>";
if($answer)
{
update data;
}
}?>
I found that $answer 's value is not true or false;
but it is pop-up of confirm();
So, Whatever I choose yes or no, it is meaningless.
the data will update anyway.
can somebody help?
|
|
|
|
|
Try...
<form action='' method='post'>
<input type='text' value='' name='fav_movie'>
<input type='submit' name='vote' value='Add to Poll' onclick='return confirm("Are you sure?");'>
.. this should not submit if the user selects cancel on the popup and it will submit if they select ok. Your PHP should then check the posted values see isset() in php functions and processes from there
|
|
|
|
|
Experts,
I use to have a .html file which worked fine I then decided to add some php code which then meant i had to change the extension of the file. Now i have some flash videos which use to automatically play but now they don't... I am using dreamweaver and even tried using insert, media, flash video and still no luck
I kinda need these videos to play and the reason for the flash is all part of the security of the website
If any body can help that would be great
Dan
(I didn't really know which section to put this in so sorry if i did put it in the wrong section)
|
|
|
|
|
Hi,
How to solve no module named _tkinter problem
while running python program.
|
|
|
|
|
Lots of results for this error message on Google.
Look at this page under the section titled "Checking your Tkinter support". That might help.
http://wiki.python.org/moin/TkInter[^]
|
|
|
|
|
Hi,
accroding to that link document
"simply rerunning "make" should build the _tkinter extension."
Where to find the "make" i found in the python26 directory but,
i didn't found that "make" file from that directory.
|
|
|
|
|
Try renaming it to Tkinter, might work
|
|
|
|
|
I try to create contact form with captcha as security.
I found problem that when I submit form and I set that if it has any error go back to the input page
to correct.
When it goes back, the form is blank.
I want the form still remain what is in the textboxes or not reset data.
how can I do that?
I searched on Internet, it kinds of session_start() is problem
but when I deleted it, captcha is not work....
also, I try on delete captcha and test but still got the same result.
history.back(); then the previous page data is disappear.
|
|
|
|
|
You should redisplay the form, filling in the information that was entered.
|
|
|
|
|
I have already tried by use get method.
but it doesn't work.
header("Location:"."test2.php"."?name=$name&email=$email&message=$message&tel=$tel&country=$country&1=2");
in the input textbox did not show the values from _GET method correctly.
|
|
|
|
|
First, the register_globals option is now off by default and has been deprecated in PHP 5.3, so the line should be more like:
header('Location: test2.php?name=' . urlencode($_GET['name']) . ...
In PHP 5 there is a function for building the query string that does the hard work:
$args = array(
'name' => $_GET['name'],
'email' => $_GET['email'],
'message' => $_GET['message'],
'tel' => $_GET['tel'],
'country' => $_GET['country']
);
header('Location: test2.php?' . http_build_query($args));
The other thing to note is that you have to insert these values into the form:
<input type="text" name="name" value="<?php echo htmlentities($_GET['name']); ?>" />
|
|
|
|
|
I don't get it.
Ok、I will explain easily.
::::index.php::::
<form.....action ="save.php" method = "POST" ....>
</form>
::::save.php::::
if(check captcha is wrong)
{
echo......alert+history.back();
exit();
}
..............................
the code which u gave to me
I have no idea how to apply since my form use POST...
can I used both POST and GET??
|
|
|
|
|
Sorry, yes - you should use $_POST instead of $_GET for posted form data. The values on the form itself should use $_GET though, since they are passed back in the query string.
Here[^] is the relevant page from the PHP documentation.
|
|
|
|
|
To add memory to a page I use this pattern:
some_page.php
<?php
$uname = "":
if(isset($_POST['user_name']) && strlen($_POST['user_name'])>0))
{
$uname = htmlentities($_POST['user_name'],ENT_QUOTES);
}
echo "<form action='' method='post'>\n";
echo "<input type='text' name='user_name' value='".$uname."'>\n";
echo "<input type='submit' value='Save' name='action'>\n";
echo "</form>\n";
?>
This makes memory of the code easier. If the data being passed is not to much then you can use a $_GET instead of $_POST. Also the process logic can be moved into a separate script that you include to keep the main script here clean and readable. The echo'd form ends with a newline so you can view source in a browser for debug purposes.
|
|
|
|
|
Hello All,
Has anybody seen a BNF grammar for PHP?...preferably the 5.3.X?...some place you can point me to?
Cheers,
D
|
|
|
|
|
Maybe this[^] is helpful for you.
|
|
|
|