2 (simple?) php related questions

From: Date: Thu, 27 Nov 2003 18:15:25 +0000
Subject: 2 (simple?) php related questions
Groups: php.general 
Request: Send a blank email to php-general+get-171223@lists.php.net to get a copy of this message
Hi, I have 2 main php questions and a few sub questions :-) 1. I have Dreamweaver/EditPlus and Zend developer (some full versions some trial) (am open to trying out other tools) Is there anyway to do a find/replace on a particular variable in a whole directory? (or all files that refer/use that variable) eg: find $GuessableVariable and replace it with $HardToGuessVariable or do i have to go file by file and do a search? 2. I have visited many sites which use ASP/JSP and PHP which instead of calling *differient* pages like so: http://somesite.com/pageName.php?s=blah http://somesite.com/DifferientPageName.php?s=blah2 (thats the way i generally program) keep calling the *same* page with numbers, like so: http://somesite.com/pageName.php?s=333 then http://somesite.com/pageName.php?s=334 http://somesite.com/pageName.php?s=253 etc Whats the advantage of the above and whats the idea? isnt it much easier (and logical) to keep track of pages if you give them a logical name? giving a page: loginClient.php is much easier than remembering script.php?val=214 right? Or am I missing something? Thanks, -Ryan http://Bestwebhosters.com

« previous php.general (#171223) next »