Jump to content

Jessica

Staff Alumni
  • Posts

    8,968
  • Joined

  • Last visited

  • Days Won

    41

Everything posted by Jessica

  1. $sql_result=mysql_query($sql, $connection) or die($sql.' - '.mysql_error());
  2. You only send the mail within the // if the upload succeded, the file will exist if (file_exists($tmp_name)){ block.
  3. The 'is' refers to the act of using, not the two things. It is certainly a complete sentence, it has a noun and a verb, along with several other things. I am not that incredibly nitpicky, but when you can't even understand what someone is trying to say there is a problem. Because of the spelling and grammar issues, people can't figure out what redarrow is trying to do.
  4. "i am going to have to host the users site" I'm assuming "wont" meant "want". Having it mean "won't" doesn't make any sense here. So he said he WANTS to charge for a HOSTING service. This is why using proper grammar and spelling is important.
  5. Should your cookie_path be in the same format as your save_path?
  6. I dunno Ted, maybe the manual has a list of the syntax it supports...
  7. It depends on how you're going to host it...you should probably just resell a plan from somewhere else than try to set up your own hosting. Find a site that offers what you need, buy it yourself and mark it up a few bucks a month.
  8. There are min-width fixes that don't rely on JS, I'm pretty sure...
  9. Thanks Obsidian, I always forget about how strtotime can handle stuff like "Last Monday" - that makes it cleaner and shorter than mine.
  10. Perhaps it is case-sensitive, the manual says "Cc" not "CC"
  11. what happens if you do print_r($number);
  12. http://www.grady.us/temp.php 2007-02-19 2007-02-20 2007-02-21 2007-02-22 2007-02-23 2007-02-24 2007-02-25 Looks fine to me... I changed one line, but it still worked fine before that, it just wouldn't have in the event you sent a different start date: while(date("w", $start) != $startDay){
  13. Add no-cache headers to the pages.
  14. This is sort of like asking "I have an H on one page and an I on the other and I need to display these two pages together". You know what you'd do...put the H and the I on the same page...
  15. it says if the variable $show is set in the url to the value of 1, show this extra text.
  16. Just FYI, <button> isn't supported by all browsers, you should use <input type="submit"> What happens if you do: $q = "INSERT INTO `players` (`name`,`pos`) VALUES ('$name','$pos')"; print $q; $sql = mysql_query($q) or die(mysql_error()); What does it show you the query says?
  17. Again, what didn't work with my code?
  18. If they think that, they deserve to wait as it goes over and over. Just like people who do that with elevators and traffic lights.
  19. Why does it matter if they click it more than once?
  20. $ext = substr(strrchr($fileName, "."), 1); Shouldn't this be more like $ext = substr($fileName, strrpos($fileName, "."));
  21. To me, that indicates that it will be the current path + that, so if just "folder" creates a folder at /home/mysite/folder/, won't that make "/home/mysite/home/mysite/folder/" ? Is this some kind of ini setting or something? I just recently changed the site from php4 to php5 also...
  22. If it was a permissions issue, wouldn't I get a permissions error? Instead it's acting like the folder doesn't exist when it does. All the folders are 777. Well it didn't like me using the whole path...if I just do 'folder' it works, but not '/home/mysite/folder';
  23. 777 is default. I can't create the folder, so how can I CHMOD it? Actually, this is weirder - the folder already exists, so it shouldn't be trying to mkdir it - it's like it can't see $moveTo in the is_dir and mkdir commands...but I can print it out right before.
×
×
  • 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.