- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
3 Posted Topics
Im using IIS7.0 for webhosting, Images and CSS Styles are not displaying in my website. P.S: Images and Styles are displayed only in my system(That too in IE9 only and not in other browsers) and not in other nodes.
[code]import java.util.Scanner; public class Encode { public static void main(String[] args) { Scanner s = new Scanner(System.in); System.out.print("\nEnter your Message : "); String msg = s.nextLine(); System.out.print("\nEnter your Encoding Number : "); int num = s.nextInt(); String encoded = scramble(msg,num); System.out.println("\nOriginal Message is "+msg); System.out.println("\nEncoded Message is "+encoded); } public …
try my code..its working.. [code]<?php session_start(); $con = mysql_connect("localhost:3306","user","password"); if (!$con) { die('Could not connect: ' . mysql_error()); } //echo'Connected Successfully'; mysql_select_db("userdetails", $con); $userid=$_POST['username']; $password=$_POST['password']; $userid=mysql_real_escape_string($userid); $password=mysql_real_escape_string($password); if($rec=mysql_fetch_array(mysql_query("SELECT * FROM userdetails.data WHERE userid='$userid' AND password = '$password'"))){ if(($rec['userid']==$userid)&&($rec['password']==$password)){ echo "Login Successful..!!"; } } else if(($rec['userid']!=$userid)||($rec['password']!=$password)){ echo "UserID or Password incorrect.Try …
The End.
nagarjunrajen