Jump to content

Niixie

Members
  • Posts

    108
  • Joined

  • Last visited

    Never

Everything posted by Niixie

  1. When i used span it only made it worse? I made it span now, without fucking it up. But its still smashed up in IE? Its not online, sorry.
  2. I changed it to div now, no more <error></error>. But now all the other stuff is pulled to the left side of the screen when box is appering?
  3. The error tag will be an error yes, but i made it. so i ignored it. If i change error to span it changes, but then in firefox looks like IE
  4. Yes, and i've searched ALOT, and now i got the one that validated my site green with w3 validator Its <!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" xml:lang="en" lang="en"> No its only localhost, sorry. -I'll try to make it span insted.
  5. that's an interesting assumption, considering you posted this an hour ago. do you have it on line somewhere. i am pretty much some more things and needed to say what is wrong. By the way if you have a class of error. put a dot in front of it .error{property:xxx;} Sorry and thanks for asking. Its not a class, but a "function", the line that calls it looks like this echo '<error>ERROR '.$errorid.': '.$errors[$errorid].'<br /><center><a href='.CurrentURL().'>Close</a></center></error>'; Its from my php function.
  6. I assume nobody knows?
  7. Anything in my CSS that's not allowed in IE?
  8. Hey peeps, i got a problem with my CSS code. When viewed in Firefox it looks right, but when i look at it in IE it's totaly fucked up! Its supposed to be a red background with text in it, but its just text spread all over the top of the screen. Can you help me? This is my CSS code for the part thats wrong; error { font-size: smaller; background-color: #ff0000; padding: 5px 10px 5px 10px; margin-top: auto; position:absolute; }
  9. phpinfo() says display_errors On error_reporting 30719 Is that answer?
  10. Found this error_reporting = E_ALL display_errors = On Is that it?
  11. COPY FROM php.ini ; display_errors ; Default Value: On ; Development Value: On ; Production Value: Off ; error_reporting ; Default Value: E_ALL & ~E_NOTICE ; Development Value: E_ALL | E_STRICT ; Production Value: E_ALL & ~E_DEPRECATED Anything needs to be changed?
  12. Answer block 1,2: What can i do to find out if its a header error? Answer block 3: There is no problem where the setcookie() statement is placed, there is a $_SESSION['auth'] aswell, and it's set perfectly.
  13. Ken: Dcro2: I only looked the way that Pikachu suggested, maybe a path and domain is good to have?
  14. Can you modify this so it makes a cookie with a time on 1 hour? setcookie('authcookie', $row[0], time()+3600); <--- My old
  15. Output from before final page $_SESSION:Array ( [ERROR] => -1 [upvalid] => 1 [accountname] => -1 [email] => example@yourdomain.com [password] => e [username] => x [auth] => 1 ) $_COOKIE:Array ( [cookie] => Array ( [three] => cookiethree [two] => cookietwo [one] => cookieone ) [phpSESSID] => 61e1a8i0b3uifd0b1o3ejpkb77 ) Output from last page $_SESSION:Array ( [ERROR] => 7 [upvalid] => 1 [accountname] => -1 [email] => example@yourdomain.com [password] => e [username] => x ) $_COOKIE:Array ( [cookie] => Array ( [three] => cookiethree [two] => cookietwo [one] => cookieone ) [phpSESSID] => 61e1a8i0b3uifd0b1o3ejpkb77 ) The cookie isn't there, but three other cookies i created to test is there. Don't know how to remove them, there is no time limit on them.
  16. session_start(); is in the very top, just underneath <?php
  17. Hey PHPFreaks! I have a problem with my login script, because when i login it sets a cookie and it all works. But when i got redirected and refresh the page, my script turns an error which says i'm not logged in? how come? This is what finds the cookie and redirects me if(!isset($_SESSION['auth']) && !isset($_COOKIE['authcookie'])) { $_SESSION['ERROR'] = 7; header('location: index.php?login'); }
  18. Hey peeps, i got a problem with some css position. Check the attached picture to understand. ------------------------------------------------- On the picture you can see 4 boxes. The two in the top is positioned right, but the two lower ones isn't. I'd like the boxes to come like this ________ _______ | | | | | | | | |______| |_______| ________ _______ | | | | | | | | |______| |_______| Insted of this ________ _______ | | | | | | | | |______| |_______| _______ | | | | |_______| _______ | | | | |_______| If you understand? My CSS for the coloums is #coloums { width: 70%; margin-left: 15%; margin-right: 15%; margin-top: 5%; margin-bottom: 50px; padding-bottom: 50px; } #col1 { float:left; margin-left: 6%; max-width: 350px; /* OLD 200 */ min-width: 350px; /* OLD 200 */ border: 1px solid grey; background-color: #5b5b5b; } #col2 { float:right; margin-right: 6%; max-width: 350px; /* OLD 200 */ min-width: 350px; /* OLD 200 */ border: 1px solid grey; background-color: #5b5b5b; } And my code looks like this for all four boxes <div id="coloums"> <!-- COL 1 BEGINS --> <div id="col1" class="shadowbox"> <h1>Daniel</h1> <img class="biografi-billede" src="images/biografi/daniel-profil.jpg" height="125" width="150"> <p>Daniel har spillet trommer siden han var helt lille. Han har fået meget privatundervisning og udøvet musik i mange forskellige bandsammenhænge.<br /> Gik på MGK (Musikalsk Grundkursus) på Sankt Annæ Gymnasium og senere hen på RMC(Det Rymtiske Musikkonservatorium) i København. Har sideløbende arbejdet flere år som musiklærer i fritidsklubben Hjørnet, Brønshøj. Daniel har en bred tilgang til musik med sin erfaring som trommeslager, pianist og komponist. I dag bruger han bl.a. tid på at arrangere musikken i bandet What The Pop og slå søm i rytmen, når hofterne skal sveje på dansegulvet.</p> </div> <div id="col2" class="shadowbox"> <h1>Joon</h1> <img class="biografi-billede" src="images/biografi/joon-profil.jpg" height="150" width="150"> <p>Joon kastede sig over guitaren som 11-årig og har siden da spillet vidt omkring i diverse bands. Han har berørt mange genre men er særligt habil i funk og pop. Derudover har han også sunget i Københavns drengekor på Sankt Annæ Gymnasium. Sideløbende med studierne på læreseminariet finder han adrenalinen i bandet What The Pop. Her bidrager han med sin energiske vocal og sine smagfulde guitarsoloer.</p> </div> <!-- COL 1 ENDS --> <!-- COL 2 BEGINS --> <div id="col1" class="shadowbox"> <h1>Daniel</h1> <img class="biografi-billede" src="images/biografi/daniel-profil.jpg" height="125" width="150"> <p>Daniel har spillet trommer siden han var helt lille. Han har fået meget privatundervisning og udøvet musik i mange forskellige bandsammenhænge. Gik på MGK (Musikalsk Grundkursus) på Sankt Annæ Gymnasium og senere hen på RMC(Det Rymtiske Musikkonservatorium) i København. Har sideløbende arbejdet flere år som musiklærer i fritidsklubben Hjørnet, Brønshøj. Daniel har en bred tilgang til musik med sin erfaring som trommeslager, pianist og komponist. I dag bruger han bl.a. tid på at arrangere musikken i bandet What The Pop og slå søm i rytmen, når hofterne skal sveje på dansegulvet.</p> </div> <div id="col2" class="shadowbox"> <h1>Joon</h1> <img class="biografi-billede" src="images/biografi/joon-profil.jpg" height="150" width="150"> <p>Joon kastede sig over guitaren som 11-årig og har siden da spillet vidt omkring i diverse bands. Han har berørt mange genre men er særligt habil i funk og pop. Derudover har han også sunget i Københavns drengekor på Sankt Annæ Gymnasium. Sideløbende med studierne på læreseminariet finder han adrenalinen i bandet What The Pop. Her bidrager han med sin energiske vocal og sine smagfulde guitarsoloer.</p> </div> <!-- COL 2 ENDS --> </div> [attachment deleted by admin]
  19. I'm trying to make a redirect page, but it looks like i messed up in the sessions. Do i need session_start() in every page?
  20. If you want it VERY simple, just make a php mail form that emails to you
  21. Hey, it looks like theres something wrong with my function to validate a user, but i dont know what it is? function SQL_VALID_USER($name, $pass, $email) { //if(SQL_PINK() == 1) { $query = sprintf("SELECT accountname, accountpassword, accountemail FROM members WHERE accountname = '%s', accountpassword = '%s', accountemail = '%s'", mysql_real_escape_string($name), mysql_real_escape_string($pass), mysql_real_escape_string($email)); $result = mysql_query($query); if (!$result) { return 0; } else { $_SESSION['auth'] = 1; return 1; } //} } Thanks for looking at it
  22. Cssfreakie works good for now, thanks
  23. Hey all, i need a function or a way to replace each letter in a string to a star (*) Thanks
×
×
  • 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.