Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.
Moderator: General Moderators
Luke
The Ninja Space Mod
Posts: 6424 Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA
Post
by Luke » Tue Dec 06, 2005 5:30 pm
Anybody use phpadsnew?
I need to know where in the source code I can change onMouseOver to onmouseover so it doesn't cause my site to be non-xhtml complient.
Burrito
Spockulator
Posts: 4715 Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah
Post
by Burrito » Tue Dec 06, 2005 5:37 pm
do an extended find (case sensitive) for onMouseOver
Luke
The Ninja Space Mod
Posts: 6424 Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA
Post
by Luke » Tue Dec 06, 2005 5:54 pm
how do I do that?
Burrito
Spockulator
Posts: 4715 Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah
Post
by Burrito » Tue Dec 06, 2005 6:46 pm
that depends on what editor you use.
when you do a search, look for an option to "search directory" which will search all files / and subfolders for the terms you specify.
Luke
The Ninja Space Mod
Posts: 6424 Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA
Post
by Luke » Tue Dec 06, 2005 6:52 pm
cool thank you
m3mn0n
PHP Evangelist
Posts: 3548 Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada
Post
by m3mn0n » Tue Dec 06, 2005 7:48 pm
I *LOVE* that feature in an editor
Burrito
Spockulator
Posts: 4715 Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah
Post
by Burrito » Tue Dec 06, 2005 7:52 pm
Sami wrote: I *LOVE* that feature in an editor
Indeed, it's a "must-have" in my book...
Luke
The Ninja Space Mod
Posts: 6424 Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA
Post
by Luke » Tue Dec 06, 2005 8:22 pm
Burrito wrote: Sami wrote: I *LOVE* that feature in an editor
Indeed, it's a "must-have" in my book...
crimson editor's got it
Ambush Commander
DevNet Master
Posts: 3698 Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US
Post
by Ambush Commander » Tue Dec 06, 2005 9:02 pm
Or you could write a PHP script that does it for you.
Luke
The Ninja Space Mod
Posts: 6424 Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA
Post
by Luke » Wed Dec 07, 2005 11:22 am
Ambush Commander wrote: Or you could write a PHP script that does it for you.
kinda too tired.
m3mn0n
PHP Evangelist
Posts: 3548 Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada
Post
by m3mn0n » Wed Dec 07, 2005 11:24 am
No need to reinvent the wheel.
Ambush Commander
DevNet Master
Posts: 3698 Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US
Post
by Ambush Commander » Wed Dec 07, 2005 3:29 pm
Well, I was thinking: since PHP is the ideal language for smart refactoring of code. For instance, you use PHP's tokenizer functions to do smart function renames globally across a project. I don't know if any free editors can do that.
Grim...
DevNet Resident
Posts: 1445 Joined: Tue May 18, 2004 5:32 am
Location: London, UK
Post
by Grim... » Thu Dec 08, 2005 3:37 am
Textpad let's you write RegEx's
trukfixer
Forum Contributor
Posts: 174 Joined: Fri May 21, 2004 3:14 pm
Location: Miami, Florida, USA
Post
by trukfixer » Thu Dec 08, 2005 10:06 pm
SSH in , on unix command line
cd /var/www/html/location/phpadsnew
grep -ir onmouseover ./*.
simple
gotta love *nix
Luke
The Ninja Space Mod
Posts: 6424 Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA
Post
by Luke » Fri Dec 09, 2005 2:11 am
fixed that problem... now I need to close img tags... smurf it.