Trium918
Members-
Posts
883 -
Joined
-
Last visited
Everything posted by Trium918
-
When you insert the the password what is the data type and how many characters, varhar()?
-
That is it. Thanks!
-
No, there is no CSS with in the code I provided. There were no CSS needed. I am sure CSS will be needed to change the background to an image. For instance: body{ background-image:url(image) } I was wondering how can I use the code that I provided in my first post to change the background so that an image is displayed instead. Do you follow me? Note: By using a form that is submitted to the php engine.
-
Is it possible to use php and css together. Ok, I am trying to change the background of the html page. I can change the color, but how would I insert an image? <?php // input for background color $background = $_POST['background']; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Edit Background</title> </head> <?php echo "<body bgcolor=\"$background\">"; ?> <form method="post" action="change_background.php"> <table border="1" align="center"> <tr> <td align="center"> <input type="text" name="background" /><br /> <input type="submit" name="submit" value="Change Background"/> </td> </tr> </table> </form> </body> </html>
-
How are you storing you passwords into the database?
-
The password that you enter into the form isn't matching the password stored in the database.
-
Both work! Style should have been style. Big differences. @import url(./superiun.css ); and @import url(../superiun.css );
-
Nothing! http://www.superiun.com
-
This doesn't work either. @import url(style/superiun.css );
-
What type of processor do you have? What is the size?
-
Like? I will install java,visual basic.net,C++,and C. Things of that nature. I am more focus on the components such as memory, processor etc...
-
So I cannot use ../ or ./? When can I used them?
-
I don't understand! All I am trying to do is access the the content inside of the style folder.
-
I would love to learn the fundamentals hacking! lol Fun Dam Mental
-
I am looking to purchase a notebook computer and I was wondering what type of notebook computer would be great for running a variety of different programs. Note: The name of the computer means nothing. I am more focus on the components. Such as memory, processor, etc... I really hate a slow computer!
-
index.php and a folder named style are in the same directory. Style contains a CSS file called test.css. I am trying to access test.css from index.php by using ../ Which would be the equivalent to? @import url(style/superiun.css ); @import url(./superiun.css ); or @import url(../superiun.css );
-
Linux hands down.There's the first uninformed post in the thread.Nah. I could have made a big 10 page long post explaining my reasoning behind it, it's just that that would have taken a long time and noone would have read it anyways. You would be surprise about how many people who would actual read it!
-
I'll help you tomorrow? We will get it working, ok?
-
No, I was wondering how to organize my files and folders on shared hosting account. I understand that is is different from a dedicated server, but I don't know what the structure would be.
-
How do you protect them for the users?
-
Like adding something similar to music sharing to my website. I guess it would be listed under music sharing. Similar to myspace. How are they able to provide music to the users with any legal dispute?
-
What version of apache are you running? The thing that I donnot understand is why would redundant code work? The sessions are being register when I am using the script below. <?php function login($user_name, $password) // check username and password with db // if yes, return true // else return false { // connect to db $conn = db_connect(); if (!$conn) return 0; $result = mysql_query("SELECT * FROM members_info WHERE user_name='$user_name' AND password=MD5('$password')"); if ($result){ $sql1="SELECT members_id,last_visit FROM members_info WHERE user_name='$user_name'"; $result1=mysql_query($sql1); $row=mysql_fetch_assoc($result1); $last=$row['last_visit']; $membersid=$row['members_id']; $_SESSION['membersid'] = $membersid; #Display date as 5/8/2007 format $last = date('n/d/Y', strtotime($last)); $_SESSION['last']=$last; //use the session variable to hold the previous last visit date. $sql="UPDATE members_info SET last_visit=NOW() WHERE user_name='$user_name'"; //now only update it $result2=mysql_query($sql); } if (!$result) return 0; if (mysql_num_rows($result)>0) return 1; else return 0; } ?>
-
I knew google was going to come up. Trust me, I have been looking for advertisements, and the results were google adsence and something with yahoo. I really didn't find anything relative to music, videos, books. Hell, I even called amazon customer services looking for the books.
-
Does anyone know where I can look on the net for resources. Ok, I would like to provide a variety of different features to my users. For instance, books, music, video etc....