ok this has got to be simple for someone that knows.
I have two sites sitting on my localhost atm within two different folders, say one folder called "site1" and another folder called "site2"
not i have workout that you can read and display the data from another php page using the fread() but how do i go about accessing a diffrent folder?
this work within the root of my site that im in
$myFile = "hello2.txt";
$fh = fopen($myFile, 'r');
$theData = fread($fh, filesize($myFile));
fclose($fh);
echo $theData;
but how do i get out and into the other site? does this make sense? i hope so.
Any help wud be good thanks 🙂