kevans91 wrote:Gez wrote:Well it's been a while since I meddled in PHP. Readfile worked for me with a localhost URL in my test, so I didn't expect a complication for using a local path.
The difference is going through webserver/PHP interpreter vs. actually attempting to read as a file off of the local filesystem -- which is what will be assumed if starting off with a path separator or no explicit protocol. =)
I made it go through http://localhost/ and it worked is what I was saying. (Attempting to use a non-localhost URL failed, obviously.) What system does the news page use to embed posts?