Jump to content

Codarz360

Members
  • Posts

    19
  • Joined

  • Last visited

Profile Information

  • Gender
    Male

Codarz360's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Take a look at this article I think it will provide the answer to your query - http://fideloper.com/laravel-multiple-database-connections
  2. I believe this maybe due to the fact that you need to provide different formats of the video files you are trying to play. E.G: <source src="example.vid" /> <source src="example.mp4" /> <source src="example.webm" /> <source src="example.ogg" />
  3. Thanks for the help I will try that.
  4. Hey, I'm wondering how to secure my unsubscribe link. Currently the link looks something like this delete.php?id=6 the number is the field id of the email address. However when if someone then changed the to delete.php?id=5 then the email address with the id 5 would be deleted. I have tried doing an MD5 but it doesn't seem to work. Any ideas I've been trying all day.
  5. You have miss spelled "professional" on your slideshow the fourth slide - web design.
  6. Thanks for the replies and the tips guys... I've now managed to fix the problem all align them all on the same line. It was because I wasn't using any float property.
  7. Hey, Basically I'm trying to align 3 boxes across the page horizontally next to each other in a row. However just above the boxes I've given them a header with a background image with some text in and this also needs to directly aligned above the box for that header. I've got this so far in my html file <div id="test1head"> <h1>test1</h1> </div> <div id="test1content"> text for test1... </div> <div id="test2head"> <h1>test2</h1> </div> <div id="test2content"> text for test2... </div> <div id="test3head"> <h1>test3</h1> </div> <div id="test3content"> text for test3... </div> Then this in my css file #test1head { width: 140px; padding: 5px 5px 5px 5px; color: white; background-color: transparent; background-image: url("images/ttl-bg.gif"); background-repeat: repeat-x; background-size: auto; } #test1content { width: 138px; margin: 0% 0 0 0; padding: 10px 5px 10px 5px; border: 1px solid red; } #test2head { width: 140px; padding: 5px 5px 5px 5px; color: white; background-color: transparent; background-image: url("images/ttl-bg.gif"); background-repeat: repeat-x; background-size: auto; } #test2content{ width: 138px; margin: 0 0 0 0; padding: 10px 5px 10px 5px; border: 1px solid red; } #test3head { width: 140px; padding: 5px 5px 5px 5px; color: white; background-color: transparent; background-image: url("images/ttl-bg.gif"); background-repeat: repeat-x; background-size: auto; } #test3content{ width: 138px; margin: 0 0 0 0; padding: 10px 5px 10px 5px; border: 1px solid red; } All this is doing is just placing them under each other... I've tried floating and everything seriously I hate CSS! Any help is appreciated.
  8. Thanks for your help I will take a look on Google. Here is the working link by the way - http://www.codarz360.co.cc/projects/user_sys/login.php
  9. Hey, I'm developing a user management system for a personal project to improve my web development skills and I'm struggling with a problem which is caused by me only knowing a little CSS. Basically I've got a bunch of expressions to output if the username, password and things are incorrect and I want this to output in a different colour directly above the form and I don't want the form to down the page when the error message displays just above the form. The form is slap bang in the middle of the webpage and I don't want it to move anywhere just stay in the exact same place with the error message displayed if the expression evaluates to false. Here is my script in action so you can see what I mean.... http://www.codarz360.co.cc/user_sys/login.php Thanks in advance for any help.
  10. Hey cssfreakie, Thanks for replying to the problem that I'm currently having. I was trying to not use the background image on my body as all that done was then cover up the login form that I had created. I've tried a numerous amount of ways such as: <img src="BG.jpg" width="100%" height="100%" style="position:fixed;left:0px;right:0px;z-index:-1;background-repeat: no-repeat;" /> background-image: url(BG.jpg); background-size: 100%; background-image: url(BG.jpg); All of these are just not working in the way that I would like them too. I wanted the login form to be exactly in the middle of the screen with the header at the top perfectly aligned with the title and the footer at the bottom with the text aligned correctly. I don't tend to develop projects online I tend to do them on my MAMP firstly then upload them to a web server. I will upload the files required to a web server now and send you the address so you could take a look. I will PM you the address within the next few minutes.
  11. Hello, I'm developing a user system and I'm currently working on the login page as this is where I've started from. I've created a background for the website in Photoshop and used the background: property in CSS to make the background show up on the page. I've managed to get this to fit perfectly on my monitor but when I go to check it at a laptop or another computer with a different size screen it's not showing up correctly and I just can't work out why. I've tried setting the background-size to 100% but still no help. I've searched google but couldn't really explain what I wanted it to do to the search engine. Any help is appreciated as always.
  12. Yes I know I need to do that but how exactly would I go about it?
  13. I think I have fixed the original error by putting the code I had in my checkpass.php into my adduser.php script. The only problem I'm having now is I'm getting notices from the PHP error system saying that I have 2 "Undefined variables" any idea's how to solve this small issue without turning off the display errors?
  14. My database column is named "Password" so it should match up but for some reason it doesn't.
  15. Alright so your saying it should look like this now: include("include.php"); // include the mySQL info! $users = mysql_query(" SELECT * FROM User "); // Select all from the users table in the database! while($row = mysql_fetch_array($users)) // While it fetches the users do the following... { if (hash("sha256", $password) == $row["Password"]) // If the hash matches the password echo the following... { echo "Hash correct!"; } elseif (hash("sha256", $password) != $row["Password"]) { echo "Your Hash failed to match the password entered!"; } else die("Nothing"); } If so then all this is doing is displaying "Your Hash failed to match the password entered!" when I know for a fact it's the correct hash for the password.
×
×
  • 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.