Skip to content

Commit b238013

Browse files
unknownunknown
unknown
authored and
unknown
committed
Renamed title
1 parent db03570 commit b238013

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
PHP Cross Domain Proxy
1+
PHP Cross-Origin Proxy
22
===
33

44
Client-side HTTP requests, are limited by browser cross-origin restrictions.
@@ -97,7 +97,7 @@ function useCrossDomainProxy(event, jqxhr, options)
9797
// Set URL to the proxy
9898
options.url = 'proxy.php';
9999

100-
// Since all cross-origin URLs will now look the same to the browser,
100+
// Since all cross-origin URLs will now look the same to the browser,
101101
// you can add a timestamp, which will prevent browser caching.
102102
options.url += '?_='+Date.now();
103103
}
@@ -163,4 +163,3 @@ Cookies sent to the proxy will be ignored, since the browser will send the ones
163163
If a request requires a certain cookie set, for example a session id, you can set the `X-Proxy-Cookie` header which is then used as `Cookie` header by the proxy.
164164

165165
X-Proxy-Cookie: jsessionid=AS348AF929FK219CKA9FK3B79870H;
166-

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "geekality/php-cross-domain-proxy",
3-
"description": "Simple self-contained PHP proxy for cross domain ajax requests.",
3+
"description": "Simple self-contained PHP proxy for cross-origin ajax requests.",
44
"keywords": ["php-cross-domain-proxy","cross-domain", "http", "proxy", "javascript", "ajax"],
55
"license": "MIT",
66
"support": {
@@ -15,4 +15,4 @@
1515
"autoload": {
1616
"classmap": ["src/"]
1717
}
18-
}
18+
}

src/CrossOriginProxy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/**
4-
* Cross origin request proxy for client-side scripts.
4+
* Cross-origin request proxy for client-side scripts.
55
*
66
* @see https://github.com/Svish/php-cross-domain-proxy
77
*/

test/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<meta charset="utf-8" />
5-
<title>PHP Cross Domain Proxy test page</title>
4+
<meta charset="utf-8" />
5+
<title>PHP Cross-Origin Proxy test page</title>
66

77
<style type="text/css">
88
html {font-family: sans-serif;}
@@ -74,4 +74,4 @@ <h2>Examples</h2>
7474
</pre>
7575

7676
</body>
77-
</html>
77+
</html>

0 commit comments

Comments
 (0)