Jump to content

ShimmyShine

Members
  • Posts

    54
  • Joined

  • Last visited

    Never

Contact Methods

  • AIM
    jefflhuntjr
  • MSN
    wide_bucs19@hotmail.com
  • Website URL
    http://www.bbgames.co.nr

Profile Information

  • Gender
    Not Telling

ShimmyShine's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. No? I would go about doing that how? Sorry for the questions, never have come across this error before. Thanks Shimmy/Jeff
  2. Still allowing it, heres my whole script: <?php $target_path = "uimg/"; $basenamer = basename($_FILES['uploadedfile']['name']); $target_path = $target_path . $basenamer; $ext = $_FILES["uploadedfile"]["type"]; $validexts = array('image/png','image/jpg','image/jpeg','image/gif'); if(in_array($ext,$validexts)){ if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target_path)) { $fname = $_FILES['uploadedfile']['name']; $q2 = "INSERT INTO ".TBL_PICS." (`oid`,`file`,`month`,`year`,`hits`,`approve`,`win`,`place`) VALUES ('$user', '$fname', '$month', '$year', '0', '1', '0', '0')"; $result2 = $database->query($q2); if(!$result2) { echo $error; } else { echo $_txt79."\"".basename( $_FILES['uploadedfile']['name'])."\"".$_txt80; } } else { echo $error; } }else if(!in_array($ext,$validexts)){ echo $_txt84; }?> Shimmy/Jeff
  3. Well you see, I did exactly that and it still allows test.php.jpg to be uploaded. Why? I even did to what you said. Shimmy/Jeff
  4. How would I go about stopping the upload of test.php.jpg files? Shimmy/Jeff
  5. Thank you darkfreaks! I have fixed the password issue, but I am not sure how to fix the following after? Any tips? Thanks Shimmy/Jeff
  6. Woops lmfao.. Sorry http://www.tagmypic.net Shimmy/Jeff
  7. Okay I have been here once, and got a lot of comments that said they didn't like the template. I have redone the template, and added some new feature stuff. What the site is for is well complicated and simple at the same time. My uncle and I have come up with the fact that people are always self-centered (meaning all about themselves) so we thought of a site to take advantage of this. What a person does is register an account, log in and upload pictures. Then they try to get as many people to hit their pictures as they possibly can, to be the winner of that month. We plan on awarding prizes to the winners of the months, they will start of small because we aren't the richest people in the world, but we plan on them getting bigger. So it is like that, repeated monthly. We have had the idea to have "Penny Days" where we pick 1-2 days a month where for every hit a person gets, they get a penny. In order to get payed, you have to have the most hits out of everyone. We figure it will attract them, and keep them wanting more. How do we plan on paying for it? Easy, Sponsors. If the site is always getting hits, then companies should want their name there, getting seen every time a hit occurs. Can I get people to beta test it and find any exploits etc? (Prizes won't be held out until in September, for the reason that we don't have enough money for prizes yet :\ ).. Also some critique wouldn't hurt , unless your saying it to be a jerk then it would be more appreciated if you hold back your comments. Lol Thanks Jeff/Shimmy
  8. Is there money involved? PM me if there is. Shimmy
  9. You want one like his? Or like : http://www.tagmypic.net If you want one like the link I have provided I will post the code (Note it is not mine) else wise you'll have to get his on your own ShimmyShine
  10. Not sure if this is much of a help but a hint for the future, google is your friend.. http://www.builderau.com.au/program/php/soa/Generating-PDF-files-with-PHP-and-FPDF/0,339028448,339286044,00.htm ShimmyShine
  11. Sorry thorpe, didn't notice that part of the line Shimmy
  12. Thorpe that would work for 1 new registry only, then it would erase the //newuser and not write another one. Wouldn't you have to make it write another //newuser after it wrote that current array? ShimmyShine
  13. Can't people modify cookies? I am not 100% sure i havn't looked into them. But it would be simpler to use a database yeah? Shimmy
×
×
  • 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.