Jump to content

FORMAT FILE NOT ON SAME SERVER AS DATABASE


Dan Landis
 Share

This topic is 6587 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

This is my first post to this formun, so bear with me, folks. My problem:

1. The database is located on one server with a unique IP address

2. The format file (format.htm) is located on another server with a different IP address.

Can I devise a FMPRO? statement that a) first directs the <A HREF..> statement to the database (-db=) and then to the location of the format file.

Thanks much.

Dan Landis

[email protected]

Link to comment
Share on other sites

One way would be to use XML. With this method you do not need Format files. You can use either XSLT, or PHP, to "process/format" the output.

The other method would be to Mount the Drive containing the Format files on the computer hosting the databases. Then create the Symbolic Link in the "Web" Folder.

All the best.

Garry

Link to comment
Share on other sites

As long as the format file is on the server with the FMPx client inside the web folder and the database is actually open on that computer, regardless of where the physical database is, the basic "-db="mydb.fp5" & -format="format.html" should work.

Link to comment
Share on other sites

  • Newbies

The problem is that the format file is NOT on the same server as the FMPx client and the database. It is on another server. That server has a file called "Default.htm" which has the fmpro? statement which is part of an http statement that directs the fmpro? to the server with the database and the FMPx client.

Dan Landis

Link to comment
Share on other sites

This topic is 6587 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.