PDA

View Full Version : Getting page url - PHP



Luckyrare
28-09-2005, 07:27 PM
Hey

Iam working on a admin page log.

Atm it logs like

00.00.00.001 @ 20:23 - 28/09/05
00.00.00.001 @ 20:24 - 28/09/05

But how can I get the pages url?

So it logs like this...

00.00.00.001 @ 20:23 - 28/09/05 [admin.php]
00.00.00.001 @ 20:23 - 28/09/05 [adminpage.php]

You dont need to tell me how to do it I just need to no how to get the pages
url to show on the site.

Thanks <3

splintercell!
28-09-2005, 08:13 PM
<?php echo $_SERVER['PHP_SELF']; ?>

Try that ;)

Luckyrare
28-09-2005, 08:34 PM
Thanks mate ;) Its working ;P

Want to hide these adverts? Register an account for free!