Jump to content

z20let

New Members
  • Posts

    9
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

z20let's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Ok, Seems like a mis-understanding on my part so I apologise for this, I fully understand that people can only give/make suggestions on forums and for that I am also grateful... Here might be a better example... All users are on Server A The intranet is on Server B Server A is very restrictive (to which we are not able to fully modify because it's managed by an external IT contractor) Server B is our own server which we are running the web server from here... When a user logs onto Server A all that they are required to do is click onto the internet -> this should then take them into the intranet (from here there windows logon name will be displayed as well as many directories being shown to them) We are simply trying to test to see if a user is able to read/write files which could either be on Server A, B or a different server entirely....
  2. Sorry mate that doesn't work - the IT Officer said that we aren't trying to check other servers IP Addresses we are simply trying to read/write files on a directory... The user will try and access a file which maybe in c://documents/test.doc instead of accessing it from the normal location c:\inetpub\wwwroot\intranet\test.doc
  3. Thanks Ken for editing my post (didn't know you could put the code into code brackets on here) We are testing opening files both on the local machine (within the domain) and external files (not on the domain) The domain at the moment is wwwroot (yep you've guessed it - we are using IIS) I looked at the source Scott and it is pointing to the actual file (c://wwwroot/intranet/test.txt) rather than looking at the localhost which is what we want to happen!
  4. Me and my IT Officer are in need of some help with the following: We are trying to open a directory -> read files in the directory -> when the files are clicked on they can open up each file... However we are having no such luck Here is the code <?php $path = 'C:/Inetpub/wwwroot/intranet/'; $dh = opendir($path); $i=1; while (($file = readdir ($dh)) !== false){ if($file != "." && $file != "..") { if (substr($file, -4, -3) =="."){ echo $i.". <a href='$path.$file'> $file </a><br />"; }else{ echo $i.". <a href='$path.$file'> $file </a><br />"; } $i++; } } closedir($dh); ?> <a href="C:/Inetpub/wwwroot/intranet/test.txt">test</a> The directory is shown, however clicking on the links does nothing Help! (edited by kenrbnsn to add tags)
  5. We are just going to try this now... I will let you know the result! No luck unfortunately, it doesn't seem to do anything??? Remember we are running Apache 2.2 with MySQL 5 and PHP 5
  6. We are just going to try this now... I will let you know the result!
  7. We are just testing it locally at the moment, we have downloaded a module for apache (2.2) "mod_auth_sspi" however now that we have it the IT Officer has noticed that there are lots of other files which have been downloaded with it that may not have anything to do with the actual module file itself!?!? God damn Apache!!!!
  8. It seems very difficult to find any examples on the web about this... What ever variable we use it doesn't seem to like it? But you say we have to use ActiveX? explain?
  9. Hey, All me and my IT Officer are looking to do at the moment is display the "current user" (windows user name) We are using Apache 2.2 and unfortunately for us, most of the help and advice online is for IIS Any help would be greatly appreciated thanks
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.