Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

How to show path to directory without spaces?

  • 23-10-2007 06:04PM
    #1
    Registered Users, Registered Users 2, Paid Member Posts: 35,715 ✭✭✭✭


    Hey lads, I solved the last problem i posted up on here, but typically have a new one. Only a small one this time.

    Im putting in the directory path for a file in PHP, but it doesn't except anything with a space in it, ie "Program Files" won't work. If i use a directory with no spaces its fine. How do i replace the space with something else to find the path, i've seen things on websites like %20 or something but not quite sure what it is. not having any luck googling.

    Thanks lads
    paul

    Subscribe to save Boards.ie from closing down: The Bad News

    https://subscriptions.boards.ie/



Comments

  • Registered Users, Registered Users 2 Posts: 3,507 ✭✭✭randombar




  • Registered Users, Registered Users 2 Posts: 6,134 ✭✭✭jhegarty


    Never used PHP on windows , but I presume you can use the old dos names

    c:\progra~1\


Advertisement
Advertisement