Jump to content

MadTechie

Staff Alumni
  • Posts

    9,409
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by MadTechie

  1. Try using fsockets instead of mail, (you can use PHPMailer) this allows you to use authenticated accounts, as non-authenticated are have a higher spam class
  2. don't forget to check the junk mail folder!
  3. You don't get it? as its greyed out or doesn't appear ? either your connected to a windows OS or have an old version of FileZilla, (you are right clicking on the files on the server correct)
  4. See my last post, and notice
  5. the page http://myipodbroke.com/repair_info.php is very dark, but i was referring to the green bars on the home page for example where it says "Check out the MUCH IMPROVED SELF DIAGNOSTIC PAGE!" I'm not much of a designer so take what I say with a pinch of salt,
  6. *untested* but should be okay change $image_name=time().'.'.$extension; $newname="userimages/$category/".$image_name; $copied = copy($_FILES['image']['tmp_name'], $newname); to $tname = time(); $image_name=$tname.'.'.$extension; $newname="userimages/$category/".$image_name; $copied = copy($_FILES['image']['tmp_name'], $newname); $image_thumb=$tname.'-thumb.'.$extension; $newthumbname="userimages/$category/".$image_thumb; // Set a maximum height and width $width = 200; $height = 200; // Get new dimensions list($width_orig, $height_orig) = getimagesize($newname); $ratio_orig = $width_orig/$height_orig; if ($width/$height > $ratio_orig) { $width = $height*$ratio_orig; } else { $height = $width/$ratio_orig; } // Resample $image_p = imagecreatetruecolor($width, $height); $image = imagecreatefromjpeg($newname); imagecopyresampled($image_p, $image, 0, 0, 0, 0, $width, $height, $width_orig, $height_orig); // Output imagejpeg($image_p, $newthumbname, 100); imagedestroy($image); imagedestroy($image_p);
  7. Its only obvious once you know it but those who don't know skipped the "boring" chapters lol and jumped to the full example on chapter 13 (or whatever)
  8. Those { are hard to notice from the text book
  9. also / * Empty the SESSION * / should be /* Empty the SESSION */ PHP does have a manual right ?
  10. Yes warranty is only 1 years, which is the minimum for any hardware, also not everything is covered by warranty, (ie improper use), however I don't think that's useful feed back, So, I think the black text on the dark grey parts is hard to read also the text in the green bars.. as a whole it seams too dark. either that or I need glasses,
  11. resizing the image and saving it under another name shouldn't be a problem, and you should be-able to plug it into your existing uploader you could create a function, heres some basic image resize code <?php // The file $filename = 'test.jpg'; $NewFile = 'test2.jpg'; // Set a maximum height and width $width = 200; $height = 200; // Get new dimensions list($width_orig, $height_orig) = getimagesize($filename); $ratio_orig = $width_orig/$height_orig; if ($width/$height > $ratio_orig) { $width = $height*$ratio_orig; } else { $height = $width/$ratio_orig; } // Resample $image_p = imagecreatetruecolor($width, $height); $image = imagecreatefromjpeg($filename); imagecopyresampled($image_p, $image, 0, 0, 0, 0, $width, $height, $width_orig, $height_orig); // Output imagejpeg($image_p, $NewFile, 100); ?>
  12. that's not 100% true, but i agree this should be in the freelance section, but i think you should read my last post before accepting to write a decrypter
  13. In FileZilla, connect to the server, right click on the file or folder select "File Attributes" you can change the permission from their The permission only affect *nix system, just ignore them for windows
  14. Welcome kinda lucky I suck as page design
  15. Can you post the URL, as its easier for me to look their (and a can get the CSS + HTML from their)
  16. http://www.mediacollege.com/video/streaming/overview.html
  17. telling us the line does help but at a guess i would say these $gender = $_POST['gender']; //Male or female? $status = $_POST['status']; //Hero or villain? change to $gender = (!empty($_POST['gender']))?$_POST['gender']:""; //Male or female? $status = (!empty($_POST['status']))?$_POST['status']:""; //Hero or villain?
  18. example <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_cart"> <input type="hidden" name="return" value="http://www.lotionsource.com/thank_you_for_your_order.htm"> <input type="hidden" name="business" value="sales@lotionsource.com"> <input type="hidden" name="item_name" value="Hempz ORIGINAL Herbal Moisturizer 18oz"> <input type="hidden" name="amount" value="10.60"> <input type="hidden" name="handling" value="0"> <input type="hidden" name="weight" value="1.2"> <input type="hidden" name="currency_code" value="USD"> <input type="image" src="http://www.lotionsource.com/design/addmini.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"> <input type="hidden" name="add" value="1"> </form> see here for more http://www.lotionsource.com/ Hope it helps
  19. The code is pointless, its not encryption, if you read the logic your notice that. Temp = will loss any character with an ASCII value over 122, ie "{}~€" Temp2 = I love this one, it doesn't even use ANY related data to the anything used so far, its total random! Temp3 = adds and removed from the new values from temp, but that's it temp 3 isn't ever used! -Okay So far only Temp and Temp3 has ANY thing related to the data to be "encrypted"- Temp4 = use temp2 reverses the order in sets of four and added (8,4,2,1) Temp5 = the hex value from 4 concatenated as one string So the end result is built from Temp4 that's built from Temp2 that's totally random! EDIT: I'll like it if someone else could check my findings as well.
  20. can you post the code that displays the data
  21. Well if the integer is over 340282366920938 then theirs more possibility than a hash, but this would work well for a 96char hash $Random = md5(uniqid(mt_rand(), true)).md5(uniqid(mt_rand(), true)).md5(uniqid(mt_rand(), true));/code]
  22. Solutions erm well That's the way to go, you could also store extra details I.E., browser info,
  23. It could be either, it really depends on your system, IE your database could be different (the field could be NULL on one and NOT NULL on the other)
  24. Hardly pointless, if no one said they don't understand then your never know, some response is better then none. if someone say you need to explain it better or even can you show us your calculation (as if it was on paper), them that means we can't work with what you have! as Ken2k7 says:~ Sure theirs a way to be sure, use what they have and check your doing the same! or at least getting the same results!
×
×
  • 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.