Jump to content

MadTechie

Staff Alumni
  • Posts

    9,409
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by MadTechie

  1. And your code so far ? and the problem with it is ? did you read the rules ? and how to post a question ?
  2. OK, check your form.. as that seams to be the problem, (as i said maybe posting it will help) ie form.php <form ....> upload.php <?php print_r($_POST); ?> so we know what the file names are
  3. if you want the same folder as the image folder then i would say use the below $htaccess = $uploadpath.".htaccess"; so you only have to remember to update one path
  4. humm if thats what his asking then you mean use preg_match or ereg (maybe split)
  5. try my suggestion that will prove if the page is being called or not
  6. OK last test.. add die("NOTHING TO DO"); at the very top of the script.. now try if you don't get that then look at the form again (maybe post it)
  7. it depends on the database if you have records already (i aussme you do as its a profile) your just use the update syntax for sql!
  8. you don't need {}'s for one lines add print_r($_FILES); at the start to check data comming inn also add echo "Sending"; just before $upload = @ftp_put($conn, $post_dir, $file, FTP_BINARY); what results do you get ?
  9. try $uploadpath = '../digg/'; or $uploadpath = '../';
  10. REMOVE YOUR PASSWORD AND USER NAME (CLICK EDIT ON YOUR LAST POST)
  11. remove the @'s and post the errors ? what makes you say it doesn't work ?
  12. At that level the only help i could give is moral support.. so Come on Patrick we know you can do it.. one pecl solution i found was runkit but i also hear this ability will be in PHP6.. look into runkit.internal_override .ini directive then use runkit_function_redefine() hope thats of some help ???
  13. I don't know of another route you could take but do you really need to override a built in function ? --Ignore this question as its not "help" but i found myself in a real mess just playing with override..
  14. can you post the main.php script (IN code tags),
  15. please click solved (bottom left)
  16. The lack of understanding will always make people run and hide, if you want to do as little work as possible and hate a challenge then maybe VB8 is better for you.
  17. OK thats a real mess.. and theirs still parts missing...! i'm not filtering that so my suggection would be make sure the form is after the update of date and the update is before the reading of data.. i can't really point you in any realy direction as i find your code quite hard to read!
  18. can you try the example i posted last please!
  19. Sessions and header can be a real pain but when you get used to the common mistakes they not so bad... no wait yes their still a pain! have you read the pinned post about headers ?
  20. what do you have so far ?
  21. erm.. whats MONTH(starttime) -> 2 try <?php $eventid=2007-05-21; //only uses the 05 $sql = mysql_query("SELECT id, firstname, lastname, phone, cellphone, email, finishtime, event FROM calendar WHERE MONTH(starttime) = MONTH($eventid), ORDER BY starttime ASC"); ?>
  22. any errors? try <?php default: die("HEADER TEST"); break; } ?>
  23. maybe a book would help!
  24. have a gateway effect a simple little script thats includes the script required! <?php switch($_POST['acctype']) { case "member": include "member.php"; break; case "user": include "user.php"; break; } ?>
  25. close its more like SELECT * FROM table WHERE MONTH(starttime) = {$_GET['day']}";
×
×
  • 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.