Questions tagged [php]

PHP is a server-side scripting language designed for web development but also used as a general-purpose programming language.

Filter by
Sorted by
Tagged with
4
votes
1answer
1k views

Create item in Sharepoint List with PHP

Is it possible to connect to sharepoint and then create an item in a Sharepoint list using php?
3
votes
1answer
1k views

Upload non-text file to sharepoint REST api from php

I am using Php curl to upload file to sharepoint api. I am able to successfully upload a text file using sharepoint rest api. However, when non-text files are uploaded, the file actually is uploaded ...
2
votes
2answers
631 views

Css doesn't apply

I've used custom CSS in my Webpart.module.scss and I'm trying to use these classes with ${styles.myClassName} But the Css doesn't want to apply. Could you please help me with that. .slickCarousel{ ...
2
votes
2answers
6k views

Is it possible to host a PHP Web Application in SharePoint 2013

I have a PHP Web Application hosted in a site which consumes REST API. I would like to know whether it is possible to host that application in SharePoint? I know you could use Page Viewer Web Part. ...
2
votes
1answer
2k views

Retrieving lists from SharePoint using php

I am using the library https://github.com/thybag/PHP-SharePoint-Lists-API for accessing the whole lists in SharePoint using php. I am able to get a connection with SharePoint.I am giving the code ...
2
votes
1answer
4k views

uploading a file to sharepoint using your phpSPO library

I saw from one of your previous post that you are an author of phpSPO. I came across your phpSPO library earlier this month while trying to access sharepoint by php. I went through your GitHub and ...
1
vote
2answers
539 views

Create folder and subfolder in SharePoint 2013 using php

I am a fresher and want to use SharePoint 2013 with php. What I really want to do is create folders, sub-folders and write .xlsx files inside these folders and also want to read and download these ...
1
vote
1answer
708 views

What format is UserProfile_GUID?

LATER EDIT: UserProfile_GUID has nothing to do with objectguid in LDAP. However, it can be used as DN like this dn=<GUID={the_string} when you bind to LDAP. UserProfile_GUID and objectguid are ...
1
vote
1answer
32 views

Allow access of SharePoint files to everyone

I am working with PHP-SharePoint integration. I want to fetch files and show videos to all the users. I am partially successful but the problem is that it shows the videos only when I am logged in. ...
1
vote
1answer
1k views

How can I Download/Access SharePoint Online Documents using PHP / XML / SOAP?

I am working on a web project that involves connecting to SharePoint Online via PHP and accessing the files stored on it. But I am extremely new to all this, and have hit a wall. I have the URL of ...
1
vote
0answers
79 views

Download file programatically by using anonymous link to file

I have got an anonymous link to a necessary file placed on SharePoint. Is there any option to download that file using automation? I need to do this using PHP. If it is not possible using PHP then C# ...
1
vote
0answers
244 views

Creating new Sharepoint Document folders and sub folders programatically

How to create New Document Directories and sub directories programatically in SharePoint Site Document Library using PHP REST API calls. Any example is appreciated.
1
vote
2answers
452 views

Get data from a Sharepoint site for a web application

I would like to get data from the SharePoint site, but I don’t know if it is possible by using JavaScript or PHP or something else. After getting this and saving it in variables, I would do different ...
1
vote
0answers
85 views

Interface in Sharepoint 2013, backend in PHP

I want to create an application which has the interface as a Sharepoint 2013 page (for example a number of input and select elements within a Script Editor), but for the operations with the data in ...
0
votes
2answers
250 views

Download a file from SharePoint OnLine using PHP

I need to download a file in SharePoint Online from PHP. The only data I have is the URL of the folder. Access is public, does not require authentication. How can you complete this task from PHP? ...
0
votes
1answer
434 views

Is there something similar to the PHP in_array() function in Powershell? [closed]

Is there a way of finding out if a given value is in an array without iterating through it? Something like the in_array function in PHP...
0
votes
1answer
2k views

PHP SharePoint Integration

I am new to SharePoint . I'm trying to access SharePoint list via PHP. I am able to connect to SharePoint which means my app is authenticating but not able access list data. ERROR THROWN IS: List ...
0
votes
0answers
14 views

How to login with API key?

I'm using the php library https://github.com/vgrem/phpSPO to connect my symfony application to our sharepoint online. This is working fine with normal username and password authentication. But I would ...
0
votes
1answer
495 views

SharePoint 365 javascript Rest API geting 403 on file upload

I am tring to upload the big file to SharePoint 365 using javascript but I getting the 403. In that I have used auth client library to generate the access token and form Digest. Below is my code: '...
0
votes
1answer
304 views

Is it possible to host PHP project to sharepoint?

I just developed a PHP project by using localhost (XAMPP). I would like to ask whether it is possible to deploy or to host my web project to Sharepoint. If it is possible, can anyone share me how it ...
0
votes
2answers
1k views

Sharepoint PHP File Upload

I'm new to Sharepoint integration. I'm hoping to get some answers and direction for the script. The current process requires an XML file to be uploaded into a library, from a separate website. My ...
0
votes
1answer
33 views

Reading File from share point and store it in local file

I want to read the file attached to a item in share point and store it into a local file.Is it possible?
0
votes
1answer
2k views

Read List from SharePoint using PHP [duplicate]

I'm struck with PHP SharePoint integration. Is there any simple PHP method to read list from SharePoint?
0
votes
1answer
107 views

Access php through jquery ajax in Sharepoint

I have the following code within a Sharepoint page $(document).ready(function(){ $.ajax({ type:"POST", url:"http://somesite.ro/helper.php", dataType: 'jsonp', // Notice! JSONP &...