i want help in my php code i want function that returns the name of file i use now
eg :
i wrote my code in test.php
the return of function must be "test"

  • created

    Sep '10
  • last reply

    Nov '12
  • 1

    reply

  • 426

    views

  • 2

    users

2 years later

simple, just use a string function(substr() or strstr() maybe) that not return the last 4 charactes(lenght()-4), meaning the extension of file witch is php and the dot