Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions PHP/DataManager/corsdatafetching.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
---
title: CORS Data Fetching
description: CORS Data Fetching
title: CORS Data Fetching in PHP DataManager control | Syncfusion
description: Learn here more about CORS Data Fetching in Syncfusion Essential PHP DataManager Control, its elements, and more.
platform: php
control: DataManager
documentation: ug
keywords: CORS Data Fetching, SAME-ORIGIN POLICY, Access-Control-Allow-Origin, Access-Control-Request-Method, Access-Control-Request-Headers
---
# CORS Data Fetching
# CORS Data Fetching in PHP DataManager

The Cross-Origin Resource Sharing (CORS) mechanism enable secure cross-domain data transfers.

## SAME-ORIGIN POLICY

This policy defined the rule for, “how a web page can be accessed by an external resource”. Browsers wont permits a request to access the resources who origin is differ than the current page. To overcome the restriction of same-origin policy, we can use a technique called Cross-origin resource sharing.

![](CORS_images/SAME-ORIGIN1.png)
![PHP DataManager SAME-ORIGIN POLICY](CORS_images/SAME-ORIGIN1.png)

## Access-Control-Allow-Origin

Expand Down
14 changes: 7 additions & 7 deletions PHP/Rating/Getting-Started.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
---
layout: post
title: Getting started with Rating
description: To get start with Rating
title: Getting started with PHP Rating control | Syncfusion
description: Learn here more about Getting Started with Syncfusion Essential PHP Rating Control, its elements, and more.
platform: php
control: Rating
documentation: ug
keywords: Rating, rating
---

# Getting Started
# Getting Started with PHP Rating

This section explains briefly about how to create a **Rating** control in your application with **PHP**. **Rating** helps to select the number of stars that represent Rating. Here, you can learn how to create **Rating** control in a real-time movie download application and also learn how to rate the application.

The following screenshot illustrates the functionality of a Rating widget with a Rating range of 0 to 5.

![](Getting-Started_images/Getting-Started_img1.png)
![Getting Started with PHP Rating](Getting-Started_images/Getting-Started_img1.png)

The external script dependencies of the Rating widget is,

Expand Down Expand Up @@ -213,7 +213,7 @@ The Rating can be created in **PHP** by using the below given code.

The following screenshot displays a Rating widget.

![](Getting-Started_images/Getting-Started_img2.png)
![Create a Rating Widget in PHP Rating](Getting-Started_images/Getting-Started_img2.png)

##Set the Min and Max Value

Expand Down Expand Up @@ -250,7 +250,7 @@ In a real-time scenario, you can extend the range by using the properties **minV

The above code example displays the following output.

![](Getting-Started_images/Getting-Started_img3.png)
![Set the Min and Max Value in PHP Rating](Getting-Started_images/Getting-Started_img3.png)

##Set Precision

Expand Down Expand Up @@ -316,7 +316,7 @@ In a real-time movie **Rating** scenario, you can set precision in between two w

The above code example displays the following output.

![](Getting-Started_images/Getting-Started_img4.jpeg)
![PHP Rating Set Precision](Getting-Started_images/Getting-Started_img4.jpeg)

You can also add additional functionalities such as orientation, event tracer and API’s to the **Rating**.

10 changes: 5 additions & 5 deletions PHP/Ribbon/getting-started.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
title: Getting started with Ribbon component
description: Rendering a basic Ribbon
title: Getting started with PHP Ribbon control | Syncfusion
description: Learn here more about Rendering a basic Ribbon in Syncfusion Essential PHP Ribbon Control, its elements, and more.
platform: php
control: ribbon
documentation: ug
keywords: ejribbon, ribbon, ribbon widget, js ribbon
---

# Getting Started
# Getting Started with PHP Ribbon

To get start with the Ribbon control using PHP wrapper classes, either of the following prerequisites needs to be installed in your machine to deploy and run those samples locally.

Expand Down Expand Up @@ -281,12 +281,12 @@ Create button controls as array of objects as mentioned with the following code.

The above created sample is now ready to run. Therefore, open the **XAMPP control panel** and start the **Apache** module as shown in the below image -

![](getting-started_images/getting-started_img.png)
![Run File in PHP Ribbon](getting-started_images/getting-started_img.png)

Now, the sample can be run directly on the browser through localhost with appropriate port numbers, on which the Apache server is currently listening. For example, say if the Apache is configured to listen on port 7777, then type http://localhost:7777/ on your browser and press enter. Also, make sure that your sample folder is present within this location `C:\\xampp\\htdocs` as mentioned earlier.

The following Ribbon output shows up on the browser, when you type http://localhost:7777/RibbonPHP/index.php and press enter -

![](getting-started_images/getting-started_img4.png)
![Configure Apache in PHP Ribbon](getting-started_images/getting-started_img4.png)

N> In case, if you face any problem with default port 80 while running your sample, make the Apache to listen on some other different ports. The port number changes needs to be done on both the `httpd.conf` and `httpd-ssl.conf` files, in order to get rid of this problem.(Refer [here](http://stackoverflow.com/questions/20558410/xampp-port-80-in-use-by-unable-to-open-process-with-pid-4-12))