posible to search HTML & PHP code?

Associate
Joined
16 Aug 2005
Posts
631
Location
Nottingham
Hello , i have a site currently running oscommerce and one of my images is giving me the old white box and red cross as it was linking to a image on my old server and now i need to change the location of that image , however as i paid a coder i do not know which document it is stored in :( and there are hundreds of documents and thousands of lines of code so i don't know where to start. Is there any programs i could use offline or online to scan all the files at once for the keyword i need to find the broken link?


(I hope this makes sence )
 
Last edited:
could use grep if its a *nix system :)

i.e., grep -i *image.jpg* ./
would scan for image.jpg in all the files in the directory you're currently in...
 
Do you want me to try and change it for you?

I can code PHP so I could give it a go..

I understand if you don't trust me :P But I am only trying to help!
 
At the most basic level, windows file&folder search allows you to search within files, simply search for sameday.gif inside files which are inside your code directory.
 
Back
Top Bottom