Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Search (and Replace) on multiple files
Search (and Replace) on multiple files [message #76643] Mon, 21 July 2008 17:38 Go to next message
No real name is currently offline No real nameFriend
Messages: 53
Registered: July 2009
Member
Hi,

I inherited a website (~ 40 files) that used registered globals ...
according to PHP, registered globals should be avoided because they are
a security risk.

I looked for a way to search and replace across multiple files in this
project... and did not find one. Eventually, I went out to the OS
(Ubuntu linux) and got it done with grep and sed. Is there a way to do
this from within eclipse?

Thanks
R
Re: Search (and Replace) on multiple files [message #76707 is a reply to message #76643] Mon, 21 July 2008 21:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: codeslave.ca.ibm.com

Select the project or projects you want to massage and hit CTRL-H to do
global multi-file find & replace.

Richard Geddes wrote:
> Hi,
>
> I inherited a website (~ 40 files) that used registered globals ...
> according to PHP, registered globals should be avoided because they are
> a security risk.
>
> I looked for a way to search and replace across multiple files in this
> project... and did not find one. Eventually, I went out to the OS
> (Ubuntu linux) and got it done with grep and sed. Is there a way to do
> this from within eclipse?
>
> Thanks
> R

--
Nick Boldt :: Release Engineer, IBM Toronto Lab
Eclipse Modeling :: http://www.eclipse.org/modeling
http://wiki.eclipse.org/index.php/User:Nickb
Re: Search (and Replace) on multiple files [message #76770 is a reply to message #76707] Wed, 23 July 2008 02:45 Go to previous message
No real name is currently offline No real nameFriend
Messages: 53
Registered: July 2009
Member
Thanks... that's a handy tip.

Nick Boldt wrote:
> Select the project or projects you want to massage and hit CTRL-H to do
> global multi-file find & replace.
>
> Richard Geddes wrote:
>> Hi,
>>
>> I inherited a website (~ 40 files) that used registered globals ...
>> according to PHP, registered globals should be avoided because they
>> are a security risk.
>>
>> I looked for a way to search and replace across multiple files in this
>> project... and did not find one. Eventually, I went out to the OS
>> (Ubuntu linux) and got it done with grep and sed. Is there a way to
>> do this from within eclipse?
>>
>> Thanks
>> R
>
Previous Topic:Exception when try to add path variables
Next Topic:PDT 1.0.3 Xdebug Breakpoint Problem
Goto Forum:
  


Current Time: Thu Apr 25 06:48:06 GMT 2024

Powered by FUDForum. Page generated in 0.03817 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top