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. change if($_GET['msg'] != ""){ to if(isset($_GET['msg'])){
  4. For error checking echo out all your vars, and add error_reporting(E_ALL); to the top of the pages
  5. echo out all your varaibles and make sure there correct and add error_reporting(E_ALL); to the top of the pages
  6. you put the emails into an array , and do a foreach loop
  7. is this the full page code ,and the extension on the image seems to be .php in the page
  8. Please click solved at the bottom, if it is solved. Or there still a problem?
  9. show your full code, and echo out the session to see what is stored there
  10. yes, it passes the variable in the GET , so just save the GET as the session value
  11. where u have the if statements for the date add an or statment if(date..... || $user = "spring")
  12. 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 }
  13. 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" /> <? }; ?>
  14. 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 .
  15. I think PHP info will tell you if imagemagick is installed
  16. that means that the page is being redirected constantl
×
×
  • 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.