Here is the necessary code -
//Storing the path of an html file
Code: Select all
$newfile = "categories\books\\".$newfile1 ;
fwrite($fp, $title."||".$description."||".$email."||".$newfile."••\n");Code: Select all
echo $data[$k][3] ; // this outputs categories\video\14a9d9f6b13130.html
echo "<tr><td> <a href=".$data[$k][3]." >".$data[$k][0]."</a> </td></tr>"; // making a linkCode: Select all
http://localhost/categories\books\14a9988973938a.html (note the slash)Code: Select all
http://localhost/categories/books/14a9988973938a.html (note the slash)Even weirder in firefox the slash to forward slash conversion did work a while back. Not sure what affected this
what is happening ?
Help please
I am running the site on netserver (localhost)