Using PHP coding in Sharepoint 2013 - php

I have loads of PHP-written pages that I'd like to host in Sharepoint without having to re-write them all in aspx.
Is it possible to use PHP coding on a Sharepoint aspx page?
If not, can you link a Sharepoint page to display a page written in PHP?

As far as I know SharePoint will not be able to directly delivery the php pages. However you can add script editor web part on SharePoint pages and show your php pages in iframe.

Related

How to access iframe in PHP Scriptable Web Browser

I am using PHP Scriptable Web Browser for downloading some data from
one web site and that website contains so many links https://www.xxxx.com/CWRWeb/ReportNav.do?rid=CHARGEBACK using this link i want to download the data this page contains one iframe when is access this page using my script i am able to get the that page contain but not able to get iframe content from that page
can any one guide me.
Thank you.

ASP.NET User Control (ascx) inside php File

We have a nice looking dynamic website developed in php. server is IIS7.
Also I have a asp.net user control[ascx], which is a special utility calendar with a nice UI and lot of DB interactions.
Can I put this asp.net user control inside one of the php file?
No you cannot do this in a normal way. You can do this if you use an Iframe and call an asp.net page where your user control exists in your php website.

Jquery mobile php site and phonegap

I was trying to convert my website which ceated using jquery and its contain a few PHP page into Android application by using phonegap online converting tool, the app work on navigation but the PHP page will not work accordingly, so is there any way to work around?
You can't run php scripts on a mobile phone, you can convert all php scripts to html pages or you could load the whole website inside the webview.
place window.location = 'example.com' inside your deviceLoad event and make sure you whitelisted your website in your config.xml
What to place inside the config.xml can be found here.
https://build.phonegap.com/docs/config-xml
However, you need an internet connection to run the app, while the html pages doesn't require internet.

Using wordpress as landing page that works with silverlight back end

I am web developer working on a wordpress landing page that will lead the user into an all silverlight page. Now my programmer says this can't be done and it's not supported php conflicts with silverlight/asp and so on.
My web address will be www.maddog.net... I need the wordpress and silverlight portions of the website to reside in the same URL.
One more note I had a a login developed for the wordpress site that will need to talk to the silverlight logon... is this possible?
Just have your PHP (wordpress) redirect to a .NET based subdomain application if need be. The silverlight elements need to be hosted by asp.net based pages so for example:
You should be able to set this up in IIS, PHP root level site and /Subsite as its own virtual directory hosting asp.net site.
User logs into php page, you can server transfer to next page with login details etc or any other way to want to pass the creds to the .NET page and automatically log the user in then display the silverlight component.

How do i run php code in fan page?

Is there a way i could run php code in facebook fan page. Basically i want to show the producsts from this site:
http://ohlalashopping.co.uk/
on one of the tabs of fan page. I would love to see any possible solutions to achieve just that.
Edit:
Based on the answers provided, i just wanted to ask one more thing:
How do i add the iframe app to the fan page?
You can't execute PHP on Facebook. You can write a Facebook App or widget which accesses data from your php application. There is also a PHP Client API for Facebook which can be used to tie together Facebook and your PHP web application.
You'll need to write a Facebook application that displays products from your website, and then install that application to a tab on your fan page.
When an application is installed in a tab, Facebook will query the url you've specified in your application settings. This is different from the regular way of accessing applications in that users don't need to install the application to use it.
it is also possible you can make iframe application

Categories