Jump to content


Photo

Uploading File Across Network


  • Please log in to reply
1 reply to this topic

#1 PWD

PWD
  • Members
  • PipPip
  • Member
  • 19 posts

Posted 26 April 2006 - 03:50 AM

Maybe I missed something basic, but do I need to set anything special in my php.ini to upload a file from our webserver to our file server across the network? I have given the anonymous web user account write access to the folder, mapped the network drive and have the following in my script:


$filedestination = 'Z:/www/folder1/'; 
/* The 'Z:/' drive being my network drive */


Running the following:

1) php 4.4.2
2) Windows 2000 Server
[!--fonto:Geneva--][span style="font-family:Geneva"][!--/fonto--]My Gratitude---[!--fontc--][/span][!--/fontc--]
(My gratitude in advance for helping me learn; so I may one day give as freely as you have here today)
----------
[!--sizeo:5--][span style="font-size:18pt;line-height:100%"][!--/sizeo--][!--fonto:Optima--][span style="font-family:Optima"][!--/fonto--][!--coloro:red--][span style="color:red"][!--/coloro--]PWD[!--sizec--][/span][!--/sizec--][!--colorc--][/span][!--/colorc--][!--fontc--][/span][!--/fontc--]

#2 shocker-z

shocker-z
  • Members
  • PipPipPip
  • Advanced Member
  • 864 posts
  • LocationNottingham

Posted 26 April 2006 - 10:53 AM

where is the rest of your code? you will need to copy/move the file to Z:/www/folder1/
www: www.ukchat.ws | irc: irc.ukchat.ws chan: #blufudge




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users