Logging into Windows through RDP via PHP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jonathan184
    New Member
    • Nov 2006
    • 154

    Logging into Windows through RDP via PHP

    basically i am trying to get to some log files from the windows servers.

    The servers ftp s disabled and telnet is disabled, only way i could login is through rdp, is there a way php could login the server?
  • pbmods
    Recognized Expert Expert
    • Apr 2007
    • 5821

    #2
    Changed thread title to better describe the problem.

    Heya, Jonathan.

    Is this a one-time thing (i.e., can you log into the server using a Remote Desktop client and get the files that way)? Or do you need to run this script regularly?

    Can you log in using a Remote Desktop client and turn on FTP or SSH access?

    Comment

    • jonathan184
      New Member
      • Nov 2006
      • 154

      #3
      Hi

      well its going to be a script running regularly.

      unfortunately the ecurity policies they have at the place i work will not allow us to install ftp telnt or ssh on the windows servers.

      Basicaly, we got alot o logs we need to ttrack so i was going to output the logs in php,

      So far our unix servers allow ftp but not the windows.

      So is there a way in php to login windows so i could pull the logs?




      Originally posted by pbmods
      Changed thread title to better describe the problem.

      Heya, Jonathan.

      Is this a one-time thing (i.e., can you log into the server using a Remote Desktop client and get the files that way)? Or do you need to run this script regularly?

      Can you log in using a Remote Desktop client and turn on FTP or SSH access?

      Comment

      • pbmods
        Recognized Expert Expert
        • Apr 2007
        • 5821

        #4
        Heya, Jonathan.

        Unfortunately, I don't believe that there is a PHP API for RDP (OMG BBQ!).

        I could be wrong, though; check your company's support options from Microsoft. Try shooting their tech support department an email and see what you get back.

        The other option is that you could log in manually, copy the files and then run the script. Reminds me of this story, but it's better than nothing.

        Comment

        Working...