Update for 29-11-22 21:30
This commit is contained in:
parent
399a76446c
commit
c23487fe7a
20
tech/PHP.wiki
Normal file
20
tech/PHP.wiki
Normal file
@ -0,0 +1,20 @@
|
||||
= PHP =
|
||||
|
||||
Php is an older, dynamically typed language for making web applications
|
||||
|
||||
== Tips and tricks ==
|
||||
|
||||
=== Get the address of the connecting party ===
|
||||
|
||||
`$_SERVER['REMOTE_ADDR']`
|
||||
|
||||
That will show the proxy IP if they are using a proxy. To try and bypass that,
|
||||
we can try
|
||||
|
||||
`$_SERVER['HTTP_X_FORWARDED_FOR']`
|
||||
|
||||
|
||||
== Syntax ==
|
||||
|
||||
* All varaibles begin with a dollar sign ($)
|
||||
* if statement syntax is the same as c-likes
|
Loading…
Reference in New Issue
Block a user