Skip to content

Commit 66a9d81

Browse files
authored
Variable SERVER
1 parent 2241069 commit 66a9d81

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
11
# PHP UTILS
22
Funciones, utiles para PHP acompañados de JS.
33

4+
## Atributos SERVER
5+
* Ver el nombre del servidor
6+
```php
7+
$_SERVER['HOST_NAME'];
8+
```
9+
* Ver el puerto del servidor
10+
```php
11+
$_SERVER['SERVER_PORT']
12+
```
13+
14+

0 commit comments

Comments
 (0)