i'm using the the code below
<?
$fp = fopen("c:\dir\text1.txt", "wb");
$writefile = fputs($fp, "text here");
in windows it works fine even if i remove the full path and use.
$fp = fopen("text1.txt", "wb");
what if the file is located in linux,mysql
this --> $fp = fopen("text1.txt", "wb");
will not work what is the correct path
to write to that text file