jmullaney
asked on
Dreamweaver says file is an Orphan when it's really not.
I've taken over an existing PHP site and I'm trying to find orphaned files. I used the Check Links Sitewide feature in Dreamweaver 8.02, but it doesn't seemd to recognize an href link in a php block, so it sees a file as orphaned when it's really not an orphan. Can someone tell me how to use this feature differently/correctly, or point to some other tool that can do the job?
ASKER
What gives me hope the DW can (maybe) recognize the href links in php blocks is the fact that it DOES recognize include files within php blocks. If file X is included in file Y (within file Y's php block) then DW will warn me about that link if I try to delete file X.
>> it doesn't understand php or any links that may be defined inside code fragments and databases
The above is 100% correct.
The above is 100% correct.
>> it DOES recognize include files within php blocks
DW's ability to recognize things is limited. It uses regular expressions to see the links and those are set to ignore most PHP code. The includes are a special case, as DW will recognize <?php include(); ?>
But if you have code dynamically generating the entire <a href> tag, no luck.
DW's ability to recognize things is limited. It uses regular expressions to see the links and those are set to ignore most PHP code. The includes are a special case, as DW will recognize <?php include(); ?>
But if you have code dynamically generating the entire <a href> tag, no luck.
ASKER
Thanks for info everybody.
It sound like I won't be able to use DW to check for orphan files.
Does anybody know of another tool I can use?
It sound like I won't be able to use DW to check for orphan files.
Does anybody know of another tool I can use?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
the other tools I've used also only do html