| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| First Time Poster! | lastindexof[javascript] in php? i'm trying to make a script solely in php, not javascript, but i don't find a way to remove the path from $_SERVER['PHP_SELF']. it returns /folder/subfolder/file.php . What can I do? Using javascript's lastindexof would be a solution, but i'd rather not use javascript. php is a lot better. I know, I could compare the $_SERVER['PHP_SELF'] to the whole path, but I want it to work both on my web server AND my home server. (easyPHP). |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Tutorial: Getting started with PHP (The Basics) | deadserious | Webmaster Tutorials | 60 | 11-17-2007 11:35 AM |
| Googlism - What does google think of you? | deadserious | The Break Room | 55 | 12-15-2005 09:09 AM |
| PHP Editor Software List | Ber|Art | Free Resources | 3 | 08-22-2004 08:59 AM |