Jump to content

denechtew

Members
  • Posts

    13
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

denechtew's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I'm not smart enough to made that, can you help me? I will learn.
  2. Hello, i made a upload script with help of you guys, but now I want to test how fast the speed is. Can I do this with HTML or do I need ajax I don't know anything about ajax etc... I'm a beginner php. Can someone help? Thank you.
  3. I think i've done someting wrong is it possible to post the whole code... I don't see an "outway" anymore.
  4. It still doesn't work. http://scampiml.com/warre/upload/upload2.php
  5. The big difference is that cookies are client-sided (process) and sessions are server sided processes. (out my book): Cookies have got a bad name when it's about privacy and safety. Old browsers can't work with cookies, modern browsers have got the option to hide them. Cause cookies are client sided you are never 100% sure that the data in a cookie original is. Maybe the user has been working (editing) on the cookie. So you need to check the data again. This is more codework. Best regards, denechtew
  6. http://scampiml.com/warre/upload/upload2.php I've set it on 755...
  7. I can be wrong cause I'm learning php, but maybe it is: mail($administrator,$subject,$message.,"From:gareth@humberep.co.uk"); ?> cause you said in $message.
  8. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <form name="form1" method="post" action="" enctype="multipart/form-data"> <input type="file" name="imagefile" /> <br /> <input type="submit" name="Submit" value="Submit" /> <? if(isset( $Submit)) { //Als er op de Submitknop was geduwd doe: if ($_FILES['imagefile']['type'] == "image/gif"){ copy ($_FILES['imagefile']['tmp_name'], "uploads/" . $_FILES['imagefile']['nam']) or die ("Could not copy"); echo ""; echo "Name: ".$_FILES['imagefile']['name'].""; echo "Size: ".$_FILES['imagefile']['size'].""; echo "Type: ".$_FILES['imagefile']['type'].""; echo "Copy Done...."; } else { echo "<br><br>"; echo "Could Not Copy, Wrong Filetype (".$_FILES['imagefile']['name'].")<br>"; } } ?> </form> </body> </html> Hello guys, i've got a problem, I read the tutorial of your website but i've got a problem, the image won't upload... can someone help me?
×
×
  • 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.