Search results

  1. P

    Processing salts affecting login

    after developing a function register form i went to test the login where the passwords entered are not recognised even though they are right as i created them to test the register form. I read about having to store the salt within the db next to the password, I've been looking for examples on...
  2. P

    File Sharing capabilities

    okay so i have a file uploading function to a path within the server and Ive managed to get it to display on the webpage as a link to download etc just need to add restrictions as to who is able to access the file
  3. P

    File Sharing capabilities

    okay so I've posted about file upload issues etc basically during lesson were developing php systems and our topic is virtual storage like dropbox, google drive etc. My teacher has now set the task to enable the ability to share files but also restrict access within the server folder. I'm being...
  4. P

    Email activation not working

    hi so I'm working on an email activation so that users verify themselves, during the testing process the user receives the email with the link however once its clicked the page appears blank, none of my echoes are displayed stating whether it has been accepted or denied and the database has not...
  5. P

    Homepage in need of a makeover

    oh wow thanks is there any advice you could give me on the logo i feel thats the bit i need to change
  6. P

    Homepage in need of a makeover

    ok so I'm developing a school project for media students, i designed the homepage below i know it sucks but I'm not the best designer was hoping for some feedback regarding the colours and layout pleassse
  7. P

    PHP ELSE error

    thanks it was a really silly mistake somehow left out the e of one of the $filename
  8. P

    PHP ELSE error

    yes it enters the user whose upload but the filename field is blank, Ive adapted the code though attempting PDO
  9. P

    PHP ELSE error

    thanks for the help the upload function is running however it does not print the file onto the database, i adds the user and creates a fileid through I am not creating a file sharing system we covered php uploads in class and our task is to develop i secure upload that enables files to be...
  10. P

    PHP ELSE error

    in terms of the connection do you mean connecting to the database as I have it included within the code as conninfo.php I have been looking at PDO just not the best person at understanding PHP The problem is still appearing it doesn't seem to like the end tag Parse error: syntax error...
  11. P

    PHP ELSE error

    <?php session_start(); $usid=$_SESSION["usersid"]; include "conninfo.php"; $fileName = $_FILES["myfile"]["name"]; // The file name $fileTmpLoc = $_FILES["myfile"]["tmp_name"]; // File in the PHP tmp folder $fileType = $_FILES["myfile"]["type"]; // The type of file it is $fileSize =...
  12. P

    PHP ELSE error

    Hi thanks for the help i made the changes but still receiving this error Parse error: syntax error, unexpected $end in /home/mediaedi/public_html/roxanne/uploadprocess.php on line 48 line 48 is where the end tag is but i changed it as you said in the previous post
  13. P

    PHP ELSE error

    <?session_start(); $usid=$_SESSION["usersid"]; include "conninfo.php"; $fileName = $_FILES["myfile"]["name"]; // The file name $fileTmpLoc = $_FILES["myfile"]["tmp_name"]; // File in the PHP tmp folder $fileType = $_FILES["myfile"]["type"]; // The type of file it is $fileSize =...
  14. P

    PHP ELSE error

    $query2 = ("INSERT INTO files (filename,usid,subfolder)VALUES ('$filename', $usid, 0)"); $result2=mysql_query($query2); if ($handle = opendir('fileupload/')) { while (false !== ($entry = readdir($handle))) { if ($entry != "." && $entry != "..") { echo "$entry<br>"; } }...
  15. P

    PHP ELSE error

    i can't believed i've spent 2 hours looking at this code and it was only { thanks for the help do you know if the end tag <? can cause issues I tend to get errors from it
  16. P

    PHP ELSE error

    Hi I'm working on an upload process for my project and keep receiving this error: Parse error: syntax error, unexpected T_ELSE in /home/mediaedi/public_html/roxanne/uploadprocess.php on line 29 The error is for the last ELSE that I have used could any of you explain to me why this is occurring...
Top