Announcement

Collapse
No announcement yet.

What is the variable to read the Application Dir ? after uploading a file....

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • What is the variable to read the Application Dir ? after uploading a file....

    After uploading a file succesful, I need to process a CSV file, How can i reference the App. Dir in my phph code ?

    I was doind something like this but did not work :

    $my_file = $str_path_apl_dir . "_lib/file/doc" . {my_uploaded_file}

    In the Documentation there is nothing that talk about it..

    Heeeellp !!

  • #2
    The first part is the document root which can be retrieved by

    $myroot = $_SERVER["DOCUMENT_ROOT"];

    Then apply your relative path to this.
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment

    Working...
    X