Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How do I get a FMS database onto my own website

Featured Replies

  • Newbies

Hi,

Im a complete beginner with FileMaker server. I have been working with FileMaker pro for the last 2 months. Thats my experience level. I felt should say that first. 

Im trying to get my FileMaker database which I have created to go onto my own website (www.mywebsite.com). But I'm completely stuck. I have gone through the manuals writing some PHP onto my website but I'm pretty sure I'm missing a step or three!


So I have uploaded the database onto my FileMaker server from FileMaker pro. What are the next steps after that? 


Any help would be gladly appreciated. 

 

The PHP code that is loaded on your website should make a connection to the files hosted on your FMS machine.

You don't put the FM file itself on the web server.

  • Author
  • Newbies

The PHP code that is loaded on your website should make a connection to the files hosted on your FMS machine.

You don't put the FM file itself on the web server.

What PHP code  am I meant to fill in?

I must have been filling in the wrong PHP code before.

I thought you had already written some PHP code...  so I"m a little lost know.

 

What have you developed so far for your website for people to connect to and use FM data?

  • Author
  • Newbies

Sorry. Thanks for replying. 

I did some php work but I wasnt able to connect the database to the website with the PHP code I used. I figured I was doing the wrong commands. 

This is an example of what I was trying; 

$connection =& new FileMaker('My Database', 'myserver');
$connection->setProperty('username', 'php');
$connection->setProperty('password', 'mypassword');

$cmd =& $connection->newFindCommand('My Layout');
$records = $result->getRecords();
foreach ($records as $record) { echo 'First Name: ' . $record->getField('First Name') . '<br>';
echo 'Last Name: ' . $record->getField('Last Name') . '<br>';
echo 'Email Address: ' . $record->getField('Email Address') . '<br>';
echo '<hr>';
}

 

 

We haven't made the connection to get the data online yet. So far I have created the data which I want to put online on my FileMaker Pro, but I don't know the exact PHP code to use. I have done some trials with some other PHP codes but still haven't been able to get anything to show. 

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.