Jump to content

mikesta707

Staff Alumni
  • Posts

    2,965
  • Joined

  • Last visited

Everything posted by mikesta707

  1. Is there a website out there that allows low traffic sites to come together and let related sites put each others links on each others websites to increase SE rank, and traffic? On a side note, if there isn't, any music related web designers want to swap links?
  2. array('rar', 'not sure what goes here', 'not sure what goes here'); shouldnt that work? you just have to figure out what goes in the 2nd and 3rd values... which shouldnt be too hard
  3. any opinions?
  4. maybe your actual mail.php code tries to add to the database, but the code you posted does nothing concerning inserting data into databases... try posting your actual mail.php code so i can look at it
  5. no that would use your gmail account to send whoever you want an email. it would be from your gmail account, instead of being from your server
  6. ooooooh I see. Wow I always wondered why that fixed the error I came across a long time ago... I never realized it never did. Well ill make sure to avoid that from now on
  7. Oh sorry didnt realize it was a wamp server. yeah mail probably wont work then
  8. ok... first things <body> <?php If (isset($_POST['yourfan'])) { $to = $row_Bus['Email']; $subject = 'You Have A Fan !'; $body = "blah...blah...blah.... "; $headers = "From: admin@mysite.com\r\n"; $headers .= "MIME-Version: 1.0\n"; $headers .= "Content-type: text/html; charset=iso-8859-1 \n"; $mail_sent = @mail( $to, $subject, $body, $headers ); } ?>;MM_popupMsg('It\'s official! You are now a fan.')" src="/FANBUT2.png" alt="Become A Fan"/> </label> <input type="hidden" name="MM_insert" value="fan" /> get rid of the stuff after the PHP... i dont even understand why it would still be there... based on what you have on your form page your mail page should be something like If (isset($_POST['yourfan'])) { $to = $_POST['BusEmail'];//or whatever the post variable which holds the target email $subject = 'You Have A Fan !'; $body = "blah...blah...blah.... "; $headers = "From: admin@mysite.com\r\n"; $headers .= "MIME-Version: 1.0\n"; $headers .= "Content-type: text/html; charset=iso-8859-1 \n"; $mail_sent = @mail( $to, $subject, $body, $headers ); } ?> As far as the action... i dont even understand where the variable you are using is coming from. I would really suggest you learn a lot more about PHP before continuing with this project, as from what i've seen it doesnt seem like you understand it very well (no offense) let me know if that helps. I hope it does
  9. i think it should already be installed... Just try to write a simple script and see if it works. I didn't need to install anything special on my server to use the mail function
  10. I have used the @ and seen it a bunch of times. I use it quite often for certain functions actually, but I just don't understand what it does. ANyone care to explain it?
  11. well it wouldnt redirect you to the members page unless there was a command to do so. Is there a redirect somewhere in that script that you havent included?
  12. http://www.w3schools.com/PHP/php_mail.asp view that for a guide on how the php mail function works. its actually very easy. as long as you understand post variables, you can make what you want fairly easily
  13. post mail.php, and please use the code tags. as far as it going to a page that doesnt exist... post the page with the html forms also.
  14. it also returns it. nah thats wrong. i think premiso is right. you may be having a problem with mysql's md5 function. Try using php's md5 function, and then just insert the info with mysql
  15. Ah yes the blockquote. forgot about that. EDIT: KK I took out the blockquote. Thank you very much for your Advice!!! But you still don't like the header pic? I love the pick of the girl, especially the left one lol. If you have a better pic recommendation, let me know! and do both of them look skewed? I know that the one on the right does, but the picture was pretty much like that to begin with.
  16. how is that?
  17. try echoing the query before you execute it. Or try md5'ing the password string before you pass it into the sql. I did a very similar script to yours, and mine worked fine. THe only real difference is that I md5'ed the password before storing it
  18. any new opinions?
  19. show us the code that sends the email, and the code the creates the password
  20. which line is line 51 in the code you posted. Im not going to count them by hand
  21. Does anyone know of any sites with a facebook application development tutorial. Im trying to compile a bunch and put them on a website of mine, so that people have a resource with a bunch of related understandable tutorials on the same site (Something the documentation wiki is severely lacking) Also, if anyone is interested in writing some, I would be extremely happy
  22. this seems like it should work... try md5ing the variable before you pass in into the mysql maybe?? $dbpass = md5($dbpass); $query = "select * from student where StudentUsername ='".$dbuser."' and StudentPassword = '".$dbpass."'"; maybe something like that?
  23. Ok I changed a lot of stuff. I pretty much followed the advice of Axeia. Any other opinions? Also opinions specifically on the content itself (IE does it have good info, or does it suck) would be helpful! Thanks in advanced
  24. Ahh great advice! thanks! So change the dl's to ul's and dt's to li's. Got it. I'm gonna fix it now so I hope your still around to check it out again. Yeah your definitely right about the green text... gonna change that too. also thanks for the anime bass player chick! have actually been lookin for a better quality image. I hope your still around in a few minutes, gonna be lookin for some new advice after i fix a few things
  25. awesome. Thanks everyone. I just implemented the Bump script, and it works perfectly. Gonna do some research on Cron Jobs now, but consider this topic solved
×
×
  • 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.