Let's say you want to send a short private message to your friend, but don't want grandma to snoop around and find it. One way is to use the Python Image Library (PIL) and hide the message in a picture file's pixels. Just looking at the picture you will barely detect any difference between the before and after picture. All your friend needs is the decode_image portion of this simple code to get the message back.

Member Avatar
Member Avatar
+5 forum 11

Hi everyone. I am makng a RISK game and I am working on a territory class here, and I got a strange message that my google searches have not shed any light on. My code is below. First, my header file: // Class represents each individual territory on the map #ifndef Territory_hpp #define Territory_hpp #include <string> #include <vector> #include <array> #include <map> using std::string; class Unit; //forward declaration of class unit //////////////////////////////////////////////////////// class Territory { public: //CONTINENTS represents the index of the contninents in the corresponding vector ALL_BOARD_TERRITORIES //client classes can also use CONTINENTS to initialize a territory enum CONTNINENTS …

Member Avatar
Member Avatar
+0 forum 2

Hello friends! I want the script when user clicks the Delete botton to delete that post, a confirm message appears and ask if the user is sure to delete that post or not, if the user clicks the cancel button, nothing happen but if clicks the ok button, then the script delete that post. this is the main code: <?php include('connection.php'); try { $sql = "SELECT ID, Title, Author, Content FROM Posts"; $result = $conn->query($sql); echo "<h4>LOGGED IN AS: " . $_SESSION["Username"] . "</h4>"; echo "<p id='err_msg'></p>"; echo "<table cellspacing='0' cellpadding='20' border='1px solid black' border-collapse='collapse'>"; echo "<tr><th> POST ID </th><th> …

Member Avatar
Member Avatar
+0 forum 2

Hi guys Just a quick question...I have recnetly created a contact form for my site in codeigniter and the email sends and all that but i seem to have a problem getting the $_POST data to display in the message body. After my validation is done and the form gets posted it will only return the first variable that i place in the paranthesis like $this->email->message($name,$email,$message); so i was hoping someonce could show me how to construct the message body or point me to a tutorial that explains this?

Member Avatar
Member Avatar
+0 forum 2

Is there a way to catch whether a certain message has popped out. I tried: If MsgBox("Well done!", MsgBoxStyle.OkOnly, "Amazing") = Visible = True Then Me.WindowState = FormWindowState.Maximized End If

Member Avatar
Member Avatar
+0 forum 3

Hello there, I want to introduce message system in my website. I've created table fields as follows: id(int), receiver_id, msg_id, msg_sub, msg_desc, msg_time Below is my html form in which registered users will be displayed in dropdown list: <form class="form-horizontal" action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> <legend>Send Message</legend> Recipient:<select name="receiver_id" data-rel="chosen" onchange="showValues()"> <?php $query = "SELECT * FROM star.users"; $run = mysql_query($query); while( $row = mysql_fetch_assoc($run) ){ $receiver_id = $row['id']; $usrname = $row['username']; ?> <option value="<?php echo $receiver_id; ?>" ><?php echo $usrname; ?></option> <?php } ?> </select> Subject:<input type="text" name="msg_sub" value="" /> Message:<textarea name="msg_desc" rows="4" value="" /></textarea> <button type="submit" name="send">Send</button> <button …

Member Avatar
Member Avatar
+0 forum 5

This is a function I created to facilitate the sending of PHP emails. Just give it the name and email of who your sending it to, and your name and email. A subject and a message. These options are required. The type, cc and bcc options are optional. By default, the email will be sent as text, so if your sending an HTML email, make sure to set the type to 'html'.

Member Avatar
Member Avatar
+1 forum 19

<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css"> <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap-theme.min.css"> <script type="text/javascript" src="http://code.jquery.com/jquery.min.js"></script> <script src="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script> <style type="text/css"> .bs-example{ margin: 20px; } </style> </head> <body> <div class="bs-example"> <!-- Button HTML (to Trigger Modal) --> <a href="#myModal" class="btn btn-lg btn-primary" data-toggle="modal">Login</a> <!-- Modal HTML --> <div id="myModal" class="modal fade"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <div class="form-feedback" style="display:none;">Login Success</div> <form id ="employer_login"> <div class="form-group"> <label for="inputEmail">Email</label> <input type="text" class="form-control" id="inputEmail" placeholder="Email"> </div> <div class="form-group"> <label for="inputPassword">Password</label> <input type="password" class="form-control" id="inputPassword" placeholder="Password"> </div> <div class="checkbox"> <label><input type="checkbox"> Remember me</label> </div> <input type="submit" name="submit" /> </form> </div> </div> </div> </div> </div> <!--//// Modal HTML --> <script> $(function() { …

Member Avatar
Member Avatar
+0 forum 2

Hi Everyone, :) I'm a newbie here, and I'm looking forward to be a part of this cool community of programmers. Daniweb has helped me a lot to my previous program .. anywayss, I'm a graduating IT student.. (hopefully I would graduate XD) Godbless Us All ^_^

Member Avatar
Member Avatar
+0 forum 6

i have intalled jdk 7 update 51 and netbeans 7.0 .for the first time it works fine but later IDE netbeans does not start at all and dialogue box comes that JVM creation failed...kindly help

Member Avatar
Member Avatar
+0 forum 2

I have been searching google but I did not find how to display a message in C# win store app. Actually I have been developing a app in which user will input. I have built rgex. When a text box is empty & user click on validate button it would display a message to prompt the user to first input data then he has to click on vaslidate.

Member Avatar
Member Avatar
+0 forum 2

Hello Dear All, I have a small problem ,though seems very simple,being a newb It is difficult for me. Please Help me I have a message box VbYesNoCancel My code is here If ACRS.RecordCount>0 Then MsgBox"SALARY ALREADY CALCULATED DO YOU WANT TO RECALCULATE ?",vbYesNoCancel,"Pebble" Else CmbNdm.SetFocus End If My problem is If click "Yes" I should proceed for Recalculation, If I click "No" I should exit Sub

Member Avatar
Member Avatar
+0 forum 3

So the article title says it. i wanna make the name as like a welcome message, something like "Welcome, <name>!" and yes there are many articles on the web that gives you coding and what not but i still don't understand how to get it done. sigh. forgive me im a noob at this php mysql stuff. Anyway, my login page uses email and password: loginpage.php <form name="flogin" action="index.php" method="post"> <table width="350px"> <tr> <td ><b>Email :</b></td> <td><input type="text" name="email"></td> </tr> <tr> <td><b>Password :</b></td> <td><input type="password" name="password"></td> </tr> </table> <div><input type="submit" class="login" value="Login" name="login"></div> </form> <?php session_start(); if (isset($_POST['login'])) { $email …

Member Avatar
Member Avatar
+0 forum 4

when i start my computer i get a empty messagebox named Explorer.exe. this is very annoying, can u suggest me what causes the problem? or any solution to get rid of this.

Member Avatar
Member Avatar
+0 forum 1

When I try to migrate from SQL Server 2000 to SQL Server 2008 R2 Express, when I run the application program there is an error message transaction aborted by the trigger, whereas before when I was using SQL Server 2000 does not exist error. after there was a note on the trigger statement to update data that is not given block BEGIN TRANSACTION in SQL Server 2000 while it had no effect. Does the complexity of SQL server 2008 which made ​​it should not be violated? It points what should be considered when migrating from SQL server 2000 to sql …

Member Avatar
Member Avatar
+0 forum 1

Hello, everyone I am going to get right to the point. I am trying to create this index.php with a discounted display of the calculation. Here is my display.php page code. I have your classic $product_description, $list_price, and $discount_present. I think it might be working well the only problem that I am having is **if the user is does not meet the validation requirements I am wanting the error message to display under the header.** <?php //get the data from the form $product_description = $_POST['product_description']; $list_price = $_POST['list_price']; $discount_percent = $_POST['discount_percent']; $sales_tax_rate = $_POST['.08']; //Validate product description if(empty($product_description)){ $error_message = …

Member Avatar
Member Avatar
+0 forum 4

**I am new in Visual C++ 2008. here is a project which is alredy developed and this time under maintence. In this project there are 5 projects which one one project is depend on another example a,b,c,d,e are 5 projects and b depends on a,c depends on b i.e --a-->b-->c-->d-->e. now all projects have so many folders. lets talk with "a" project. Inside this project 2 main folders named as Header files and Source files. Inside Header files .h files present and inside Source File .cpp files all files have same name only changed with extensions. when i build it …

Member Avatar
Member Avatar
+0 forum 1

So I'm getting this error message from MYSQL when I load this page. The first message is what's it displaying on the PHP code, the 2nd message is the result of mysql_error(). [ICODE](1) Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in [I][redacted][/I] on line 19 (2) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND CigarID = 334 AND DATE_SUB(CURDATE(),INTERVAL 15 DAY) <= DateAdded' at line 1[/ICODE] When I run the query in mySQL it returns a result, as it …

Member Avatar
Member Avatar
+0 forum 4

Hello, I have a project to sent messages to HODs in an organization and I have developed a HTML/PHP/MySql app that sends the messages. What i need help now is: How to notify userB on his computer that he has a message when userA sends him a message. Any urgent help would be appreciated. Thanks in advance.

Member Avatar
Member Avatar
+0 forum 2

We would like to know how to remove a message, a "Warning" that someone put on our churches presentation Acer computer. The computer is running perfectly, using Power Point as the program to put up the slides on the front display. The computer doesn't have an administrator login so that others can mess with the computer. Any and all replies appreciated. We do know that there is a way to use a path from a word processor to put a line of information on the startup or login screen. I just need a step by step procedure to learn how …

Member Avatar
Member Avatar
+0 forum 8

Hello community My name is Hadi and I'm a (newbie) freelance web developer and designer. Just joined the group to share experiance with other developers and designers and belive that we all have greate ideas to be reality.

Member Avatar
Member Avatar
+0 forum 5

I am trying to create a form that allows a user to enter information and saves information to a file. Every item must be complete and the account balance must not be negative or error messages pop up. I have the form working, but when you click on the clear and reset button, the error message "The file cannot be saved. Please confirm customer information has been entered in all boxes" appears, but it should not. Can someone show me where I'm going wrong and how to correct? I would also prefer that instead of random Customer Numbers they are …

Member Avatar
Member Avatar
+0 forum 4

Hi everyone, I am a C/C++ winapi developer and have to rewrite a "Dialog based" application in java, so that it will execute as an applet in any browser. My java skills are very few, since my knowledge is limited to past college classes. The application is not a large scale one, since it only implements a GUI, with a few screen interactions, which are driven by data from udp network connections. In a windows development model, i would create worker threads wich handle the network communication and feed the gui with data through the window message queue, probably using …

Member Avatar
Member Avatar
+0 forum 6

$("#contact-form").validate({ rules: { contact_name: { required : true, email: {required: true, email: true } }, contact_company: "required", }, messages:{ "contact_name":"", "contact_company":""} }); How to add a messagebox to jsvalidation that says "you sent message"

Member Avatar
Member Avatar
+0 forum 1

Hi, I am doing Home & Learn PHP Tutorial.I got to the lesson about forms. I keep getting this error: PHP Notice: Undefined index: username in C:\inetpub\wwwroot\basicForm.php on line 7. This is the code: <!DOCTYPE HTML PUBLIC -//W3C/DTD HTML 4.01 Transitional//EN"> <html> <head> <title>A Basic Html Form</title> <?PHP $username = $_POST['username']; print($username); ?> </head> <body> <FORM NAME="form1" METHOD="POST" ACTION = "basicForm.php"> <INPUT TYPE="text" VALUE="username" NAME="username"> <INPUT TYPE = "Submit" NAME = "submit1" VALUE = "Login"> </FORM> </body> </html> It says to ignore the error message and click on submit or login button in this case.The problem is that the browser …

Member Avatar
Member Avatar
+0 forum 2

Dear All, i want to make a program through which, our chairman gets a prompt message one day before a deadline of a specific event comes. In database, il make a database fields like, **serialno, file, intial date, deadline date, status** how a user to get a deadline prompt message continues blinking when a deadline of a file comes? Help Please !

Member Avatar
Member Avatar
+0 forum 8

Hi everybody, Just wondering if it is possible t hat we can change the text size in balloon or bubble message or whatever you call it the one we create useing "trayicon.displaymessage("message", "message", message.info);Highly appreciate if someone could help me out. Thanks.

Member Avatar
Member Avatar
+0 forum 4

I need to encode the sending messages/data(not MD5)and then they will be decoded on the other side. Codes have to be in android libraries not in java. Is there any code or information that may help me around internet? Thx all for your help.

Member Avatar
Member Avatar
+0 forum 1

hi, if anyone can help me? I have problem with windows live mail. the preview pane show different email with the selected email I click in message list pane. It is not happened to all the message but some do. this is happened just recently, I didnt have this problem before (or I think it is, hard to check it since I receive hundreds emails every day and I distributed it to many folders). Thanks.

Member Avatar
+0 forum 0

for example i have 4 columns in the listview namely name,age,year and grade. the problem is this, how can i display an error message when i click the row when the grade = "fail" . help me please thank you :)

Member Avatar
Member Avatar
+0 forum 3

The End.