No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I might NOT be the BEST, but I'm NOT like the REST!
- Interests
- Computers, doggy, fishing, hiking and etc !
- PC Specs
- AMD Athlon 64 X2 6000+, GigaByte M57SLi-DS4, 4GB Corsair PC8400 DDR2RAM, 400GB Seagate HD 160GB Seagate…
auth.php [code=php] <?php // start session session_start(); // convert username and password from _POST or _SESSION if($_POST){ $_SESSION['username']=$_POST['username']; $_SESSION['password']=$_POST['password']; } // query for a user/pass match $result = mysql_query("SELECT * FROM users WHERE username='" . $_SESSION['username'] . "' and password='" . $_SESSION['password'] . "'"); // retrieve number of rows resulted … |
|
Hi, I have virtual server in EC2 Amazon. Currently I'm using pgadmin to connect to postgres db in my server. Problem : Whenever I execute any queries (e.g DELETE), it will go on endlessly. But If you SSH into the server and check the result, the DELETE query has been … |
|
Hi In linux, ANT, JAVA, GIT and etc functions are integrated to it's terminal upon installation. You can straight type "ant dep" then press [I]tab key[/I] to get "ant deploy.". How do I do / get the similar functionality in windows 7. Please advice. |
|
Re:
i have a compaq presario v3019 and it wont turn on, it will stay like for hours then later when i push the power button again, the screen is still black but the power button is on, the wireless light is on, all the lights are on, I can even … |
|
Re:
i'd been using these for years, i can download any file or installer i like in the web only that it takes a day to download the file. [B][COLOR="Red"]using azureus you can download installers in torrent form [/COLOR]as long as you have internet connection. but be patient with the speed … |
|
Hi there, I'm unable to run the demos java files. I followed the ways according to the prefuse tutorial. It says, 1) Go to "build" folder 2) Launch demo of interest java -cp prefuse.jar:demos.jar prefuse.demos.<name of demo here> and I inputted e.g. java -cp prefuse.jar:demos.jar prefuse.demos.TreeMap.java Please advice. [COLOR="Red"]*Screenshot Attached![/COLOR] |
|
Re:
Can I run 16GB RAM on a motherboard that contains a single cpu (with vista ultimate x64 installed)? |
|
[code=html] <html> <head> <script type="text/javascript"> function validateFloat() { var o = document.frmInput.txtInput; switch (isFloat(o.value)) { case true: alert(o.value + " is an float") break; case false: alert(o.value + " is not an float") } } </script> </head> <body> <form name="frmInput"> Enter something: <input name="txtInput" size="4"> <input type="button" value="Validate" onclick="validateFloat()"></input> </form> … |
|
[code=java] import java.awt.EventQueue; import javax.swing.JFrame; public class tatat extends JFrame { private static final long serialVersionUID = 1L; public static void main(String args[]) { EventQueue.invokeLater(new Runnable() { public void run() { try { tatat frame = new tatat(); frame.setVisible(true); } catch (Exception e) { e.printStackTrace(); } } }); } public … |
|
I doing a project about Genetic Algorithm (GA). I'm looking for some book that shows GA in Java. Please advise. [COLOR="Green"]Books[/COLOR] [COLOR="Red"]Websites[/COLOR] [COLOR="Green"]Journals[/COLOR] [COLOR="Red"]White Papers/ Publications[/COLOR] |
|
[B]Eclipse IDE for Java Developers[/B] (85 MB) [B][COLOR="Red"]Vs[/COLOR][/B] [B]Eclipse Classic 3.4.1[/B] (151 MB) Just wanted to know. Please advise. |
|
[code=java] /* * IconDisplayer.java is a 1.4 application that requires the following files: * images/rocketship.gif */ import java.awt.AlphaComposite; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Insets; import java.awt.Rectangle; import javax.swing.BorderFactory; import javax.swing.Icon; import javax.swing.ImageIcon; import javax.swing.JComponent; import javax.swing.JFrame; /* * This component displays a single icon one or … |
|
[code=java] import javax.swing.*; import java.awt.*; public class CreateToolbar{ public static void main(String[] args) { JFrame frame = new JFrame("Create a toolbar Which have three buttons Such as: Cut, Copy, Paste"); JToolBar toolbar = new JToolBar("Toolbar", JToolBar.HORIZONTAL); JButton cutbutton = new JButton(new ImageIcon("cut.gif")); toolbar.add(cutbutton); JButton copybutton = new JButton(new ImageIcon("copy.gif")); toolbar.add(copybutton); … |
|
[COLOR="Green"]Netbeans IDE[/COLOR] [COLOR="Green"]Eclipse IDE[/COLOR] [COLOR="Green"]IntelliJ IDEA[/COLOR] Which from the above the the [COLOR="Red"]BEST[/COLOR], [COLOR="Red"]USER FRIENDLY[/COLOR], [COLOR="Red"]COMPLETE[/COLOR] IDE to use to design/create GUI for Java based programs. Please advise. Thanks. |
|
[code=Java] package midp.firstAid; import javax.microedition.lcdui.*; public class AboutCopy extends Basic { public AboutCopy() { super("About Product"); append("Copyright 2008\n " + "\n Nanthikesvaran\n" + "\n" + "This product based on Java Technology " + "to give and provide sufficient information " + "of a knowledge on First Aid.\n"+ "It's still under … |
|
[code=javascript] var cBrand = document.getElementById('cBrand'); var cType = document.getElementById('cType'); var cStyle = document.getElementById('cStyle'); var cFrame = document.getElementById('cFrame'); var cGroupSet = document.getElementById('cGroupSet'); if (empty(cBrand) && empty(cType) && empty(cStyle) && empty(cFrame) && empty(cGroupSet)) { alert("Please Choose atleast 2 Criteria"); return false; }else{ return true; } [/code] The above code is not working … |
|
Hi, How to this type of validation using JavaScript? [COLOR="Green"]Scenario[/COLOR] In my SEARCH page, user was given 5 types of field[COLOR="Red"](drop-down menu)[/COLOR] to choose from. User can select either 1, 2,3,4 or all the field's option to make a search. I know how to do validation field by field[COLOR="Red"](need to … |
|
[code=php] $result = mysql_query("SELECT * FROM cycles WHERE Upper(brand) LIKE '%$brandC%' AND type LIKE '%$typeC%'"); [/code] Above code not working, pls help. |
|
[code=mysql] $result = mysql_query("SELECT * FROM cycles WHERE Upper(brand) LIKE '%$brandC%' AND type LIKE '%$typeC%'"); [/code] Above code is not working, pls help. |
|
[code=php] echo "<td align=center style='width: 30px'><strong><a href='' . $link1 . '' style='color: red'>CID</a></strong></td>"; [/code] Is this part properly coded [code=php] <a href='' . $link1 . '' style='color: red'> [/code] I tried like [code=php] <a href="' . $link1 . '" style='color: red'> [/code] but not working. Pls advise. |
|
Re:
Ive have been having some problems with my computer -once in a while the bottom bar with go to the original grey and i will lose all sound -when i am typing sometimes the letters wont appear and they will start to show up somewhere else (even while writing this … |
|
[code=php] <?php // auth.php // start session session_start(); // convert username and password from _POST or _SESSION if($_POST){ $_SESSION['username']=$_POST["username"]; $_SESSION['password']=$_POST["password"]; } // query for a user/pass match $result=mysql_query("select * from users where username='" . $_SESSION['username'] . "' and password='" . $_SESSION['password'] . "'"); // retrieve number of rows resulted $num=mysql_num_rows($result); … |
|
[code=php] <?php // connect to database include("inc/connect.php"); // include auth and nav //include("inc/auth.php"); // begin content //include("inc/nav.php"); // close mysql connection //mysql_close(); // Check if the form has been submitted. if (isset($_POST['Submit'])) { $brandC = $_POST['brandC']; $typeC = $_POST['typeC']; $styleC = $_POST['styleC']; $frameC = $_POST['frameC']; $groupSetC = $_POST['groupSetC']; $errors = … |
|
I'm looking for some PHP scripts that be able to search into the Database and retrieve all the records that matches the user input string in the search form. Please advise. |
|
I wanted to how do we upload an image path(url) into the MySql database and call it through PHP. Do we use the BLOB function, if yes, then how? I don't want to upload the image itself as it will burden the database. Please Advise.* * Any Tutorials, videos, article, … |
|
[code=php] <?php //echo "You have been successfully logged out. echo "You have been Successfully logged out.<br><br> <img src='../images/goodByeC2.png'/> You will now be returned to the Main page. "; ?> [/code] Why line 4 is not working, please advise. |
|
[code=php] <table align="left" style="width: 764px"> <tr> <td> <?php $con =mysql_connect("localhost","root",""); mysql_select_db("administration",$con); $list=mysql_query("SELECT * FROM cycles"); echo "<table border=1>"; echo "<tr>" ; echo "<td align=center style='color:red'>CID</td>"; echo "<td align=center style='color:green'>Brand</td>"; echo "<td align=center style='color:red'>Type</td>"; echo "<td align=center style='color:green'>Style</td>"; echo "<td align=center style='color:red'>Model</td>"; echo "<td align=center style='color:green'>Gear No</td>"; echo "<td align=center style='color:red'>Frame</td>"; … |
|
[code=mysql] $query = "INSERT INTO users (first_name, last_name, email, password, registration_date) VALUES ('$fn', '$ln', '$e', SHA('$p'), NOW() )"; [/code] What is the NOW() used for. Is it compulsory? |
|
[code=php] <?php // connect to database include("inc/connect.php"); // include auth and nav include("inc/auth.php"); // begin content //include("inc/nav.php"); // close mysql connection //mysql_close(); // Check if the form has been submitted. if (isset($_POST['Submit'])) { //require_once ('mysql_connect.php'); // Connect to the db. $errors = array(); // Initialize error array. // Check for … |
|
[code=html] <select name="test1" style="width: 200px"> <option></option> </select> [/code] This is typical drop-down box in html forms. My question is, hot to make the option to capture current date. Or Must I use any other function than drop-down box. Please advise. |