Feeding Posts From Sufolder Not Allowed?

Advertisement

This php script is driving me insane. This is a simple script which pulls wordpress titles from news directory. It works if I put this code on homepage file.But if I launch this script in a file that is in a sub folder then I get an error even though I do specify