PHP newbie would liek some tips

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ozy123
    New Member
    • Dec 2006
    • 1

    #1

    PHP newbie would liek some tips

    I'm running php on windows xp and am testing using a program called script gui to test my scripts offline. I have a script that I want to access on a client side computer.

    Question 1
    Now how do I test them online? Do I need webspace? a server? I'm completely new to it so I'm a little confused as to the best way to do this.

    Question 2
    I've written a script that lists all the files and directories in the directory that the script is being run from. I'm assuming that if this script is uploaded to a server it will list the files on the server. But what i want is to list all the hard drive directories and files on teh server side? I hope that makes sense.

    Question 3
    Can I see the hard drive files and directories of the server computer on the client side via a webpage?

    Thx everybody.
  • ronverdonk
    Recognized Expert Specialist
    • Jul 2006
    • 4259

    #2
    Originally posted by ozy123
    I'm running php on windows xp and am testing using a program called script gui to test my scripts offline. I have a script that I want to access on a client side computer.

    Question 1
    Now how do I test them online? Do I need webspace? a server? I'm completely new to it so I'm a little confused as to the best way to do this.

    Question 2
    I've written a script that lists all the files and directories in the directory that the script is being run from. I'm assuming that if this script is uploaded to a server it will list the files on the server. But what i want is to list all the hard drive directories and files on teh server side? I hope that makes sense.

    Question 3
    Can I see the hard drive files and directories of the server computer on the client side via a webpage?

    Thx everybody.
    Question 1:
    If you want to run server side scripts, you need a server. Ideally would be to install a server (Apache), together with PHP and MySQL on your own PC. This set is sometimes referenced as WAMP (Windows Apache MySQL PHP). Some links / tutorials are:



    Find information, resources and relevant links for phptoys.com. This domain may be for sale.


    Question 2.
    If you setup your script correctly (e.g. possibility of specifying the start directory) you can do that.

    Question 3:
    Either with your directory program or via an FTP client.

    Ronald :cool:

    Comment

    Working...