php - How to write to Z drive by using fopen()? -


i have mentioned below code.

  $commandfile = "contains big string";    if($fp = fopen("file:///z:/testname.txt","w+"))   {     fwrite($fp,$commandfile);     fclose($fp);   } 

z drive has user credentials i.e (username:network,pass:network). z drive mapped computer. how write file z drive? in advance.

if z regular drive on machine running script, plain:

fopen('z:/testname.txt',"w+") 

should sufficient.


Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -