Jump to content

chanfuterboy

Members
  • Posts

    124
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

chanfuterboy's Achievements

Member

Member (2/5)

0

Reputation

  1. hi, there is no simple way, because this page consist of php code, and it is iframe way, thus i dont know if css make this more complicated
  2. Hi, seems still have a problem with the script, as it fade, it fade the background + text, it need to fade only the background, is there a thing that i do wrong? <body bgcolor="#252d38" style="opacity: 0.2; filter:alpha(opacity=90);"> <MARQUEE behavior= "scroll" align= "center" direction= "left" scrollamount= "2" scrolldelay= "20" onmouseover='this.stop()' onmouseout='this.start()' loop="true"> <table width="95%" border="0" cellspacing="0" cellpadding="2" style="background:url(images/shoutbg.JPG) repeat-x;"> <tr valign="top">
  3. hi, now i can use it a way in the html code there, that i dont need to use it as css?
  4. someone can help my out with the above posted problem
  5. hi, I want to fade the opacity of the solid background from 100% to 80% use-ing this code below hi, I want to fade the opacity of the solid background from 100% to 80% use-ing this code below <body bgcolor="#252d38"><MARQUEE behavior= "scroll" align= "center" direction= "left" scrollamount= "2" scrolldelay= "20" onmouseover='this.stop()' onmouseout='this.start()' loop="true"><table width="100%" border="0" cellspacing="0" cellpadding="2" style="background:url(images/shoutbg.JPG) repeat-x;"> <tr valign="top">
  6. hi, I want to fade the opacity of the solid background from 100% to 80% use-ing this code below <body bgcolor="#252d38"> <MARQUEE behavior= "scroll" align= "center" direction= "left" scrollamount= "2" scrolldelay= "20" onmouseover='this.stop()' onmouseout='this.start()' loop="true"> <table width="100%" border="0" cellspacing="0" cellpadding="2" style="background:url(images/shoutbg.JPG) repeat-x;"> <tr valign="top"> can someone help me out
  7. hi, can someone explain me maybe help me out with this problem, the error is Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/awortink/public_html/realgame/gallery_viewer.php on line 56 and in line 56 is (!in_array($_SERVER['REMOTE_ADDR'].$url2, $_SESSION['votes'])? Can someone helpme out on this
  8. hi, what mean Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/awortink/public_html/realgame/gallery_viewer.php on line 56 can some one help my about this part
  9. The script is a login script, as when user is online it should post the members link. Now it post blank what can be the problem
  10. hi, chek the code below and tell my pls what im doind wrong. <?php include("dbconfig.php"); //session_start(); // we must never forget to start the session //session_start(); if (isset($_POST['username']) && isset($_POST['password'])) { $username = $_POST['username']; $usernameEnc = md5($username); $password = md5($_POST['password']); require_once("dbconfig.php"); // check if the user id and password combination exist in database $query = "SELECT * FROM users WHERE usernameEnc = '$usernameEnc' AND password = '$password'"; $row = mysql_query($query) or die ("Error - Couldn't login user."); if (mysql_num_rows($row) == 1) { // the user id and password match, // set the session $_SESSION['username'] = $row['username']; $array = mysql_fetch_assoc($row); $_SESSION['username'] = $array['username']; // after login we move to the main page echo "Welcome $username! You've been successfully logged in."; echo"<p><img src='images/loading.gif'></p>"; echo "<META HTTP-EQUIV=\"Refresh\" Content=\"2; URL=members.php?user=$usernameEnc&pass=$password\">"; exit(); } else // bad info. { echo "Error - Couldn't login user.<br /><br /> Please try again."; echo"<p><img src='images/loading.gif'></p>"; echo "<META HTTP-EQUIV=\"Refresh\" Content=\"1; URL=index.php\">"; exit(); } } ?> <?php if ($_GET['user']&&$_GET['pass']) { $password = $_GET['pass']; $username = $_GET['user']; $query = "SELECT username FROM users WHERE usernameEnc = '$username' AND password = '$password'"; $row = mysql_query($query) or die ("Error - Couldn't login user."); if (mysql_num_rows($row) == 1) { $array = mysql_fetch_assoc($row); $user = $array['username']; echo "<table style=\"padding-left:70px; padding-right:5px;\" width=\"100%\"><tr><td><p>Welcome, $user</p></td><td align=\"right\">"; include('menu.php'); echo "</td></tr></table>"; } else { echo "Error - Couldn't login user.<br /><br /> Please try again."; echo"<p><img src='images/loading.gif'></p>"; echo "<META HTTP-EQUIV=\"Refresh\" Content=\"1; URL=index.php\">"; exit(); } } else { ?> <table width="100%"><tr><td style="padding-left:20px;"><a href="online.php">Online members</a> <a href="register.php"> Registra</a> <a href="recoverpass.php"> Forgot password?</a></td><td align="right"> <?php if($_SESSION['id']) { echo " Welcome, ".$_SESSION['username']; } else { ?> <form action="login.php" method="post"> <p align="right"><label><b>Username:</b> <input type="text" name="username" size="10" value="<?php echo $username; ?>"></label> <label><b>Password:</b> <input type="password" name="password" size="10" value="" /></label> <input type="submit" value="Login!"> </p> </form> </td></tr></table> <?php } ?>
  11. but there is a other way to write is so, maybe it just pop out, without to use that href # ?
  12. Hi, i began use-ing included header and footer.php so i dont know why the script/ code does not work anymore as it should, it just action the # and it does not open the link in a new window. can someone help me out with another way <a href="#" onClick="window.open('http://www.lyroy.com/flyer1.html','30958','width=640,height=441');"> <span style="text-decoration: none; font-weight: 700"> <font color="#000000" size="2"> <img src="Flyer/Oh%20Baby_small[2]%20Promo%20flyer.jpg" border="0" width="126" height="93" align="right"></font></span></a></td Thus it just stay on the same page link useing # as href, and in a popwindow it will open the flyer page. help me out. nos it just action the # only
  13. but, in my case when it is not online will redirect help on this, the script has some kind of error if(isset($_SESSION["username"])) { }else { header('Location: collection.php'); exit; }
  14. im busy with register page, everythink is working fine. The html code is on the same page thus after submit it come back in same page to post things in db. What i want is a script that after that it will not show again the register fields instead of that a other page.php help plz <?php include("dbconfig.php"); // item register ta kuminsa aki // prome kos bo tei wak si e port bou nomber di submit mane ta skibi komo nomber dje botton if(isset($_POST['submit'])) { // nos tabuta par di variabel ku ta nomber ku ba dune fields nan $articlename= $_POST['username']; $articlecolor= $_POST['password']; { // den database // na Value ta depende den kuantu table bo ta hinka kos, bo mester buta ('',) den nos kaso tin 8 table den kual e table ku nos ta usa ta 6 7 i 8 // Sobra tab // Sobra table ku no ta wordu usa na value ta keda bashi dor di un parentensis riba nan mysql_query("INSERT into users VALUES('','$_POST[username]','$_POST[password]','$pic')"); echo"$pic"; }else { echo "Can't upload. check folder permission"; } } ?>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.