i have a script, on...

virtual1.example.com


...that reads a flat-file database...

/data/database.data


which works quite well.

on...

virtual2.example.com


i put the same script, but didn't want to manage two copies of the same database, thus killing the point of having a database. so, instead of putting...

$filename ="data/directory.data";


...in the top of the script, i put...

$filename ="http://virtual1.example.com/data/directory.data";


...but it didn't work. i'm guessing that there are some security things are prevent this or something, but am not sure. do i not have the syntacs correct?

-wade preston

Reply via email to