Jump to content

happypete

Members
  • Content Count

    124
  • Joined

  • Last visited

  • Days Won

    1

happypete last won the day on September 29 2012

happypete had the most liked content!

Community Reputation

16 Neutral

About happypete

  • Rank
    Advanced Member

Profile Information

  • Gender
    Male
  1. Try this. Create an index.php, ageCheck.php & verified.php page and use the code below. Navigate to the verified.php page in the browser first (to check its working) you should automatically be redirected to the index.php page. Now if you select "i'm 21" then you will be redirected to the verified page. index.php <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Untitled Document</title> </head> <body> <form method="POST" action="ageCheck.php"> <input type="sub
  2. Awesome, thanks, that worked: window.addEventListener("change", function(e) { e.preventDefault(); e.stopPropagation(); upcontrol.start(e.target.files);
  3. I have an image upload script which works file on desktop but not on mobile so I am trying to change the drag drop file input to select multiple files. original: <!-- DROP ZONE --> <div id="uploader"> <div class="drop">Drop Files Here</div> </div> /* !! UPDATE : AJAX IS ASYNCHRONOUS !! */ /* We do not want users to dump 100 files & upload all at the same time */ /* This will create sort of a queue system & upload one at a time */ var upcontrol = { queue : null, // upload queue now : 0, // current file being uploaded start
  4. Awesome thanks, that's just want I needed to know.
  5. Hi, I have an drag and drop image upload script that will process multiple image uploads with PHP, the JS gives a notification of each file uploaded. I want to be able to give an "all files uploaded" notification at the end ... index.php <script src="upload.js"></script> </head> <body> <h2>Upload a new image.</h2> <!-- DROP ZONE --> <div id="uploader"> <div class="drop">Drop Files Here</div> </div> upload.js /* !! UPDATE : AJAX IS ASYNCHRONOUS !! */ /* We do not want
  6. Thanks for the comments, I will do some more research.
  7. Hi, I'm trying to edit some database fields, I have text1, text2, text3, text4, text5, text6 etc.. They are displayed on the index.php page, with an edit link so the user can choose which set to edit // Extract details from database $sql = "SELECT * FROM data WHERE id=1"; $stmt = $db->prepare($sql); $stmt->execute(); $e = $stmt->fetch(); <h1><?php echo $e['text1']) ?></h1> <p><?php echo ($e['text2']); ?></p> <p><a href="edit.php">EDIT</a></p> <h1><?php echo $e['text3']) ?></h1> <p><
×
×
  • 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.