Getting the name of a file?

    Date: 12/21/05 (PHP Community)    Keywords: no keywords

    I've read up on basename(), but it doesn't seem to do what I want.

    I have several files that all use the same bit of code. In that code, the filename is important to link to the same file in the other language. I'd like to be able to code in the process of getting the filename, rather than having to remember to change it every time. Is there a function to do this? My other searches only turned up stuff on reading in and writing to files, which isn't what I want.

    Thanks in advance!

    Source: http://www.livejournal.com/community/php/382398.html

« making code secure || Using functions in classes »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home