Not able to connect Php application with SharePoint - php

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

Related

Remote Desktop Access using Laravel

In my project I am thinking of adding a technical support where a user will enter his/her queries .and my tech support will access the computer remotely and help to solve the problem. Its a web application and I am using laravel( php framework). I only have a little idea on how to do it. I have tried searching it . but it didn't gave me any proper result.
According to me it can be done by using Socket programming in which I have to get user's Public Ip and his/her MAC address .because public ip can be same if two or pc are connected to same router(I think so).
I need some guidance on how to accomplish it. I have heard that laravel has a package for socket programming named as socket.io.
Please give me a proper path to walk on. I need guidance on what I will be needed in doing this. please help me.

How to use windows authentification with php / symfony

I work on a Symfony application intranet.
I heard about the possibility of using the authentication window rather than having to log in using a conventional authentication window.
Could someone could give me 1 or 2 link addresses on the subject? I searched for myself but I can not find the right keywords.
Is he is WSSE?
Thank you in advance!
If you run your PHP application on an IIS instance on a windows server which is in an AD togheter with the other computers which uses this application you can turn off access for the website in your IIS interface for "Anonymous" users.
Afterwards you can check against one of the $_SERVER['AUTH_USER']/$_SERVER['PHP_AUTH_USER'] variables in PHP which contains domain\user information. You don't even need to show any login dialogue. So it's a SSO (single sign on) process then.
See the link below for more information about this:
http://www.iis.net/learn/application-frameworks/install-and-configure-php-on-iis/enable-php-applications-to-make-application-level-access-control-decisions
If what you call "identification window" is the small alert on which you must type id and pass rather than an HTML form, you just have to take a look in direction of htaccess and htpassword as this small windows is the result of a htacces protection.
See here (eg):
http://www.seas.upenn.edu/cets/answers/auth-htpasswd.html
Best regards
Peter
Further to TiMESPLiNTER's comment above
On our IIS setup (IIS 7.5) the relevant server variable is $_SERVER['AUTH_USER'] so if it doesn't work at first try using phpinfo() to find the right variable for your site.

Create an email account with PhP - With some things I need to work around

I need to create an email account in PhP. I found a ton of code samples online that do this, however I have a few problems:
I'm on a shared server host with the default php.ini, and my host won't change it
I need to create it via a URL, not with forms (something like: mywebsite.com/email.php?username=user)
The password and quota created needs to be the same every time, so the only thing after the ? I need is the username
I have 0 experience with PhP so I can't just edit one I find online, so sorry if this is easy. If someone could point me in the direction of a script someone made or something that'd be great! Thanks.
From your reply, it turns out that you are using cPanel. This is quite helpful, as cPanel provides its own XML API for some administrative tasks, including creating email accounts.
You can find a ready made script that uses the cPanel XML API and does what you require in this forum post:
http://forums.glowhost.com/programming-talk/using-cpanel-api-creating-email-account-forwarders-your-own-php-scripts-2798.html
This SO question contains information on how to use the cPanel XML API yourself.
If for some reason you can't get the XML API to work, there's another script that makes regular HTTP calls to cPanel itself over here:
http://www.zubrag.com/scripts/cpanel-create-email-account.php

Communicate through xmpp protocol for php and ios

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.

Windows live contacts PHP for 2011

I'm currently developing an invite system that is to be integrated into other systems. This development is web based with PHP5. Now i've been looking and testing code for about two weeks but all examples are out-dated and do not work with the windows live 2011. The windows live website itself isn't much of a help.
The login and contacts access requests have to be done trough popup because in my case its not acceptable to let people leave the website to login etc.
So am I just lazy or what is this about?
No, actually I'm not lazy, I did google, I did test etc etc. Just to let you see what I've tried upto sofar:
Out-dated http://livecontactsphp.codeplex.com/
Followed all tutorials at http://msdn.microsoft.com/en-us/library/gg276466.aspx no luck.
Out-dated http://www.phphulp.nl/php/forum/topic/windows-live-contacts-api/47598/
Out-dated http://social.msdn.microsoft.com/Forums/en-US/wliddev/thread/0087c7f6-d6b7-498e-8c6c-dd95cd2165f8
This list continues for a while.
Anyway, I got a verified domain an full access etc.
Is their anyone with suggestions and/or examples?
Your help is really appreciated
As per my understanding , what you are trying to do in your web app is to allow the end user to login to his windows live account and after logging in your web app will access his account data .
You need to use Oauth . The tutorial provided here http://msdn.microsoft.com/en-us/library/gg276466.aspx , is working for me in local host .
But I am not able to access contacts

Categories