Jump to content

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

Recommended Posts

  • Newbies
Posted

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]

  • Newbies
Posted

Garry, The servers are Macs running I think a unix base. The problem is that I am physically 5000 miles away from the servers so I have to handle everything over email or the internet.

Dan

Posted

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

Posted

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.

  • Newbies
Posted

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

This topic is 7690 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
×
×
  • Create New...

Important Information

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