Jump to content

DeanWhitehouse

Members
  • Posts

    2,527
  • Joined

  • Last visited

Everything posted by DeanWhitehouse

  1. echo out $header_content, and see if it is what u expect
  2. if that is what you want, i would advise using bbcode for it. And have the person put bbcode in instead.
  3. can you show your code
  4. change if($_GET['msg'] != ""){ to if(isset($_GET['msg'])){
  5. For error checking echo out all your vars, and add error_reporting(E_ALL); to the top of the pages
  6. echo out all your varaibles and make sure there correct and add error_reporting(E_ALL); to the top of the pages
  7. you put the emails into an array , and do a foreach loop
  8. is this the full page code ,and the extension on the image seems to be .php in the page
  9. where are you setting the session?
  10. make sure session_start(); is at the top of everypage
  11. Please click solved at the bottom, if it is solved. Or there still a problem?
  12. show your full code, and echo out the session to see what is stored there
  13. yes, it passes the variable in the GET , so just save the GET as the session value
  14. try session_start(); $_SESSION['css'] = "spring";
  15. yes, u will have to save it some way
  16. where u have the if statements for the date add an or statment if(date..... || $user = "spring")
  17. for the date, use the numeric number for the month, as greater than and less than don't work for words try date("n"); then if would be something like if(date("n") >= 1 && date("n) <= 4) { spring }
  18. this should be $date = date("F"); if (!isset($_GET['css'])) { if ($date >= April && $date <= May) { ?> <link rel="stylesheet" href="/_stylesheets/spring.css" type="text/css" media="screen" /> <? } elseif ($date >= June && $date <= August) { ?> <link rel="stylesheet" href="/_stylesheets/summer.css" type="text/css" media="screen" /> <? } elseif ($date >= September && $date <= October) { ?> <link rel="stylesheet" href="/_stylesheets/autumn.css" type="text/css" media="screen" /> <? } elseif ($date >= November && $date <= March) { ?> <link rel="stylesheet" href="/_stylesheets/winter.css" type="text/css" media="screen" /> <? } else { ?> <link rel="stylesheet" href="/_stylesheets/screen.css" type="text/css" media="screen" /> <? }; } else { ?> <link rel="stylesheet" href="</_stylesheets/<?php echo $_GET['css']; ?>.css" type="text/css" media="screen" /> <? }; ?> this $date = date("F"); if (!isset($_GET['css'])) { if ($date >= "April" && $date <= "May") { ?> <link rel="stylesheet" href="/_stylesheets/spring.css" type="text/css" media="screen" /> <? } elseif ($date >= "June" && $date <= "August") { ?> <link rel="stylesheet" href="/_stylesheets/summer.css" type="text/css" media="screen" /> <? } elseif ($date >= "September" && $date <= "October") { ?> <link rel="stylesheet" href="/_stylesheets/autumn.css" type="text/css" media="screen" /> <? } elseif ($date >= "November" && $date <= "March") { ?> <link rel="stylesheet" href="/_stylesheets/winter.css" type="text/css" media="screen" /> <? } else { ?> <link rel="stylesheet" href="/_stylesheets/screen.css" type="text/css" media="screen" /> <? }; } else { ?> <link rel="stylesheet" href="</_stylesheets/<?php echo $_GET['css']; ?>.css" type="text/css" media="screen" /> <? }; ?>
  19. from what i know you would need to make the ad a link to a page you made, where you then update the database , then you redirect to the ad page .
  20. I think PHP info will tell you if imagemagick is installed
  21. that means that the page is being redirected constantl
  22. yer, u could have a preview below the textarea
×
×
  • 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.