Search:

Type: Posts; User: arsenalbates; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    2,919

    Thank you

    Thank you
  2. Replies
    1
    Views
    1,683

    This is the whole code im using.

    This is the whole code im using.

    <?php


    $user = $_SESSION['username'];
    $target_path = "../$user/Uploads/" + "../dean/";
  3. Replies
    1
    Views
    1,683

    Uploading a file to 2 directories

    Is it possible to send an uploaded file to 2 areas.
    e.g send it to folder A and folder B


    $target_path = "../$user/Uploads/";
    this is the code to send it to the single location


    In pseudo...
  4. Replies
    2
    Views
    2,919

    Creating a dir in a folder via php

    Is there a way of creating a directoy with a specific name using php. I currently have a way of creating a directory on the same level as the php doc however with this code i want to be able to...
  5. Thanks

    Thanks
  6. How to exclude a file from being in the listed dir files ?

    I have set-up a script to list all the files on a folder. however as the script file is also in the same dir it is listing that too. How would i be able to filter out items from being listed...
  7. Replies
    4
    Views
    4,393

    Anyone got any idea on what the problem may be ?...

    Anyone got any idea on what the problem may be ? i still have no luck
  8. Replies
    4
    Views
    4,393

    Listing file in a directory problem

    Im having some trouble with some code that lists the content of a directory. at the moment it is supose to list the name of the file, the type and the file size. the code is displaying the file name...
  9. Replies
    2
    Views
    2,658

    Creating a Registration form

    Hi, I have a simple login and logout system but I want the users to be able to register themselves onto the database.

    I have looked at some code to do this but none of it works as im fairly new...
  10. Replies
    31
    Views
    10,452

    Resolved Yes it has. It's working fine now. Thanks for...

    Yes it has. It's working fine now. Thanks for your help
  11. Replies
    31
    Views
    10,452

    Resolved WOOOOO , finally lol. that seems to have done...

    WOOOOO , finally lol.

    that seems to have done the trick although its saying that its ok to be in the wrong directory and not ok to be in the right one .

    Thanks for your time and effort
    ...
  12. Replies
    31
    Views
    10,452

    Resolved Nope still im getting "not ok". this is what...

    Nope still im getting "not ok".

    this is what im doing :
    updating code
    saving it and copying it to the two different directories
    logging on using one username and being diverted to the first...
  13. Replies
    31
    Views
    10,452

    Resolved // Inialize session session_start(); //...

    // Inialize session
    session_start();

    // Check, if username session is NOT set then this page will jump to login page
    if (!isset($_SESSION['username'])) {
    header('Location: index.php');
    }
    ...
  14. Replies
    31
    Views
    10,452

    Resolved yes that works now although when i put the two...

    yes that works now although when i put the two together it seems to now work and only displays one "sam"
  15. Replies
    31
    Views
    10,452

    Resolved C:\xampp\htdocs\phpmysimplelogin\sam

    C:\xampp\htdocs\phpmysimplelogin\sam
  16. Replies
    31
    Views
    10,452

    Resolved Right, $_SESSION['username']) comes out as the...

    Right,

    $_SESSION['username']) comes out as the username :)

    $dir displays nothing :confused:
  17. Replies
    31
    Views
    10,452

    Resolved still no change in the text :confused: Is...

    still no change in the text :confused:

    Is there an alternate way altogether to stop the typed in url from being shown unless requested by the php code?

    or another code i could use ?

    it seems...
  18. Replies
    31
    Views
    10,452

    Resolved the code runs but dont change to not ok when...

    the code runs but dont change to not ok when accessing another users area.
  19. Replies
    31
    Views
    10,452

    Resolved Thanks for the replies, the webstite im creating...

    Thanks for the replies, the webstite im creating is just for testing and learning purposes. its nothing major. im using apache, so by changing the permissions in windows to ??? will stop it being...
  20. Replies
    31
    Views
    10,452

    Resolved thats exactly what i want although i get ...

    thats exactly what i want although i get

    Parse error: syntax error, unexpected '[' in
  21. Replies
    31
    Views
    10,452

    Resolved I want to prevent users from typing in another...

    I want to prevent users from typing in another users directory directly into the address bar and gaining access. so if they are in their own directory (folder name matches login name) then they can...
  22. Replies
    31
    Views
    10,452

    Resolved thanks, this is working for the logged in users...

    thanks, this is working for the logged in users own directory although when you access someonelses directory from it still displays ok and it should display not ok.

    :)
  23. Replies
    31
    Views
    10,452

    Resolved Parse error: syntax error, unexpected '=' in...

    Parse error: syntax error, unexpected '=' in C:\xampp\htdocs\phpmysimplelogin\sam\index.php on line 11
  24. Replies
    31
    Views
    10,452

    Resolved Validating users

    i want to make sure that other users cant access files in directories. to do this im thinking of using some php code to validate if the current user that has logged on has the same name as their...
  25. Replies
    7
    Views
    3,892

    Resolved Thanks !

    Thanks !
Results 1 to 25 of 30
Page 1 of 2 1 2