|
| Web Hosting Deals | Holiday Logo Design | Webcam Chat | Website Header Templates | Register domain | Search Engine Optimisation | Web Hosting |
|
|||||||
| Programming / Scripting / Coding Got a question about : PHP / Perl / Java / JavaScript / CGI Scripts / JavaScript coding. Ask here! We'll get you the answers ! |
![]() |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
hi, it is my first thread in this clup so i would like to give you all a php code
this code is example you have a page and we need if we open this page to say ( hi admin welcome back) if i am the admin if not ( you are not the admin ) PHP Code:
that is all thanks |
|
|||
|
I'll contribute a little to this thread.
PHP Code:
|
|
|||
|
what if?
hi.. this is my first reply here.. a little question about that one who determine the admin by its IP add.. what if i use a proxy IP and use the same IP as the admin? hmm.. thanks i hope this thing should help...
if you have answers to prevent that please i want to know your answers.. thanks again.. |
|
|||
|
Code:
<?
if ($_SERVER['REMOTE_ADDR'] == "88.213.6.149") {
echo "hi admin welcome back";
}else{
echo "you are not the admin";
}
?>
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|