This situation is that I have an iphone app in development that uses the db. I just need to make the admin interface to edit the needed data. I'm starting to think Ruby was the worst choice for somethign non-standard like this.
But I'm pretty far in and I finished everything except the part where the iphone app dev can upload a php file to test his app script against the db. Thanks for your response Marnen. sqlite is just a file so the connection info is the tricky part for me. The ROR app is running in a c:\users directory, while the php script is in the main apache htdoc directory which is like c:\program files \rubystack\apache2\blah blah blah How would I write that file as far as the path to the sqlite db? On Aug 25, 10:49 am, Marnen Laibow-Koser <[email protected]> wrote: > Xenio wrote: > > Also I have apache running off port 84 and my ROR app running off port > > 3000. I can only get PHP to execute using the apache port. > > > The issue is that I need to access the ROR db using the PHP file. > > > How would I go about doing this so that the PHP script can "see" the > > ROR db file located in its default directory within my ROR app? > > Presumably by giving the PHP application the appropriate SQLite > connection information. But you shouldn't do that if this is a > production solution: SQLite is not suitable for production use due to > its lack of concurrency support. Use a real multiuser DB such as > PostgreSQL. > > Best, > -- > Marnen Laibow-Koserhttp://www.marnen.org > [email protected] > > Sent from my iPhone > -- > Posted viahttp://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

