I hope you are doing well.
We have fully developed our website (this means everything, the domain, hosting, design is all done and the website is live and working). We chose Bluehost (bluehost.com) as our Hosting and Domain provider. Here's a snapshot of the panel I see (just in case for knowing the available menus) :
Now we have some PHP pages with us, and we need to integrate MySQL with it. I have seen some videos regarding this, but all of them were for localhost & XAAMP. I just need to know how to connect MySQL with a published website, so we can code the database storing section in our PHP file.
Can you suggest any tutorials/articles reffering this problem?
I hope you understand my query. Any help is appreciated!
Thanks 😀
First you must create a database then somewhere in the menu-settings the blue host gives you information about username and password , then modify your php database connection file with host(probably is localhost),username,password,and database name
Problem:
I have Admin web portal which builds on PHP (CodeIgniter). which I want to make Sync Immediately while there is some change in Database.
Confusion :
As far as I tried to check from Google to solve the problem, there are two way I found
Push notification for notifying to web portal on change of database
Long Pooling which continuously listen to change and sends to the web portal.
Backend Database: MySql
Kindly please help me to get Best Practice for it. and also suggest more option if available.
I am a php developer have no experience with Share Point. I have follow these two links to get Data from Share Point into my Php application.
stackoverflow question here.
A Library for Share Point here.
Share Point team give me 2 IP address. What they said is, I have to login at Forti Client with first IP then second IP is used to access application in browser which is also prompted for Credentials. If I not login in Forti Client with first IP, Web Application will not work at all. One more thing is, this process is working well in windows system but not working on ubuntu (Linux).
So, My Php applications are running on AWS linux ( ec-tier ). I have to get data from Share Point.
I just want to know is it possible to get data from Share Point into my application.
If it is possible then what is the process that I should follow in order to get data.
Kindly help me with your suggestions/answers. Thank you.
Hope these links help you out.
Forti Client CLI for Linux click here.
Shell Script To Use CLI click here.
Is it a SharePoint List or Document library?
If it's a list, use web API to call for the required info.
Refer to my answer in this post:
how to add a connection to a sharepoint list to a word addin
I have a application set up and have changed my config file to contain the development token and keys from that application. When I run the oauth script, I get to the page where it says I am not connected, and has the button to connect. Upon clicking that button, I get a pop up window that is directed to https://appcenter.intuit.com/NotFound, and it says "Sorry, we can't find the page you are looking for". I am unsure what I am doing wrong at this point.
I would like to connect to my existing Quickbooks Online account so that I can use the Sandbox accounts I have already set up so I can test some new functionality that I am trying to incorporate into my existing application. Any help would be greatly appreciated.
Thank you.
Check the URLs in your config file
Check the URLs in your application configuration on Intuit's site
Check the URLs in your Javascript
If you still can't figure out what's wrong, actually post your code so that someone might be able to actually help you.
Im using Filemaker API in PHP to retrieve the records from Filemaker Pro 11 Advance Database.
But its showing error:
Error: Communication Error: (22) The requested URL returned error: 404 - This can be due to an invalid username or password, or if the FMPHP privilege is not enabled for that user.
Though I have set all Extend Privileges and gave it to user.
Please anyone can help me...
Although you mention you've taken care of this, whenever I've come across this problem it's been because the user being used to log in with PHP doesn't have the fmphp extended privilege set.
First know which user you're trying to log in as in PHP. Then, in FileMaker choose File>Manage>Security from the menu bar. Take a look at the Accounts tab and note the privilege set assigned to your web user. Click the Privilege Sets tab and double-click on this privilege set in the list. In the Extended Privilege list on the bottom right make sure there is a checkbox next to "Access via PHP Web Publishing".
While you're there, double-check the password you're working with. It has to be either you're not working with the right extended privilege set or you're not logging in with the right credentials.
I am pretty sure you must have resolved this by now but if you have not here is another suggestion. I had the same issue today and had all the extended privileges set.
The issue was with FileMaker API. Make sure the Php FM API being used is of the same version as the FileMaker server in which your db is hosted. FM Server 11 will require API released for FMS 11. I was using the last standalone API released for FMS 9 and hence it did not work. On updating php to FMAPI 13 I was able to connect and get the layouts.
The FileMaker API for PHP package was included as a .zip file in the following location:
For IIS (Windows): drive:\Program Files\FileMaker\FileMaker Server\Web Publishing\FM_API_for_PHP_Standalone.zip
For Apache (Mac OS): /Library/FileMaker Server/Web Publishing/FM_API_for_PHP_Standalone.zip
Double check your connection params, it should look something like this...
// filemaker server connection param
$connection =& new FileMaker('DBName', 'http://www.domain.com');
$connection->setProperty('username', 'youruser');
$connection->setProperty('password', 'yourpass');
First, check if the PHP API is installed and running.
On the server, go to http://localhost - You will see a screen telling the PHP API is running. If you see something else, you probably have to dig into the installation of the PHP API - possibly redeploy the server and checking off the PHP API. See that the server passes the web-server test.
Next, Check that the user that logs on to the server has the right privilege set. We usually create a second account for the PHP API, where the privileges are set correctly to MODIFY records, and VIEW Layouts, and of course have the fmphp attribute set.
If you still cannot connect, try from the web-server to do a
wget http://fmhost_ip/
cat index.html
see that you get something that can resemble a FileMaker API running page (look at the HTML code output).
Make sure you get the "FileMaker Database Server Website" landing page on the url (without the /fmi/... address), My issue was using another domain/sub-domain that IIS was using for another website.
I know this is really old. But in addition to the ISAPI fix. I needed to add a URL rewrite rule. The pattern needed to be:
^fmi/(.*)
And the rewrite URL needed to be:
http://localhost:16020/fmi/{R:1}
With those in place, the PHP API started working again.
after a few hours trying i found a solution to comunicate the php with the IIS... on your IIS manager, just need to add to your default web site, in ISAPI Filters, and add this executable... "C:\Program Files\FileMaker\FileMaker Server\Web Publishing\publishing-engine\web-server-support\iis\isapi_redirect.dll" - with anuy name