I am a php developer and I installed xampp in my machine. I have a mysql database where user table is there. This table is containing userid, name and online status(1 or 0).
I have to send the list of current online users to ios client, which is not supposed to request again and again. Instead of that if any changes occurs in table, automatically it will update in ios. I need only online user list, not for the te
By googling, I come to know that we can use XMPP protocol for that. But as I am using xampp server, it is using http protocol. So could you please let me know whether my googling is correct or not. If yes then please guide me how to proceed according to above mentioned environment and if no then please suggest what will be the better solution for that.
Related
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 try to get my Lotus Notes calendar entries via PHP.
I read about the REST API, but when I tried to access my calendar there is an forbidden error and it seems that to access the content, there must be some settings on the Lotus Notes Server (I cannot make this as the servers are hold by external admins)
I know that I cann access the entries via vba, like the guy in this thread made. For this I only need the mail database .nsf and the server (for me it works with just "")
I'm sure that there must be a possibility to also get the wished content in PHP...
Please help me, a workaround by calling a vba file doing the job wouldn't be very nice ;-)
Thank you in advance!
This old article describes how to use the Lotus Notes COM API in PHP. It also gives a couple of other alternatives, which you might find useful if you're not running your PHP server on a Windows host.
This topic has been raised a few times but even after searching and going through suggestions I haven't found a solution.
I have a PHP based website and an Android app that has to use the same database. The database is for an objective type test. The questions are created on the web using an admin panel.
The Android app needs to work offline so there is a need for one time sync when internet is available.
I have created a table in PHPMyAdmin called "database version". The Android app checks the database version using a web service. If the the version number is different it should be able to download the latest version of the database of the website and store it locally for offline access.
One of the suggestions I've come across is to convert the .sql database into .sqlite and give the download link of .sqlite to the Android app. However, converting .sql database to .sqlite using PHP doesn't seem to be easy. I've come across some shell script method but with no knowledge about that it probably doesn't work for me.
So, I'm looking for way to make sure the Android app can use the same database of the website but only require internet connection for syncing otherwise the app will work offline.
Would appreciate if I could get some directions and advise as to how to accomplish this.
Thanks!
Actually, I'm not sure If I would choose a solution that "replaces" the database when your app gets back online. I think I would build a database on the Android (SQLite), and synced with the Webdatabase (MySQL) row by row, by comparing datastamps.
Alright, so here is what I am trying to achieve. I have a custom built Point of Sale done in VB.net. What I want to add now is a customer facing android tablet that shows the reciept as it's entered into the Point of Sale.
Brainstorming how to do this I came up with the idea to use a php hosted script (no problem as the POS has a mysql-php web backend on a local server) that would use server sent events to update the tablet. The issue I'm facing is I'm not sure how to update the server (and thus the tablet) from another client (this one being the Point of Sale).
I can't seem to find any examples other than clocks for server sent events, does anyone have a link to something similar or perhaps a better solution than what I came up with?
I had considered using an app like idisplay and just extending that way, but it doesn't support windows 8 which is what the POS is running. I also considered websockets, but I don't have a firm enough grasp of that to get it up and running. I could make an app for the tablet, but I don't really want to do that, most of my background with app development is on iOS and I don't personally like java as a development language.
EDIT 1: Alright, so I'm understanding better how I would need to make this work.
So far I have it working where I can input a $_GET variable to change the value and the next time an update is pushed it works properly. I just need to verify there's new or different data before it pushes the data.
Is there a better example than this http://www.html5rocks.com/en/tutorials/eventsource/basics/ concerning how to push updates on demand to the listening clients?
I'm working on a project where we have jobs submitted via a web interface (backend is PHP), and those are to appear in a queue (rabbitmq backend) on a server across the WAN. I have the PHP producer working fine, without any kind of authentication or encryption.
I'm currently working on implementing some kind of authentication (we don't want anyone submitting jobs to our server all willy nilly).
However, I can't find a way in any of the PHP libraries to use SSL [I partially have it working on the server, but can't get the client]. I want to avoid someone being able to traffic sniff and get our credentials, and possibly submit jobs.
The jobs being passed are just IDs that relate to a database, so they're not sensitive, just the credentials are.
Is there something I'm missing? Is there an undocumented feature in any of these libraries? Is there one I may have not tried? The one I tried, and currently am using, is the one via PECL (php-amqp I believe).
After even more continuous research, I found another (newer) library, that may be of help.
https://github.com/BraveSirRobin/amqphp
I would still love other input, from others more experienced with AMQ and PHP