|
12-10-2004, 07:41 AM | #1 |
Green Mole
Join Date: Dec 2004
Posts: 1
|
Dynamic Link Bug with Short Tags (and solution)
Hey, just ran into this issue and thought I'd post it, as I couldn't find it listed anywhere else (although this thread looked like it might have been about the same issue). Please move it to the appropriate forum if this isn't the right place.
PHPDig seems to have a bit of difficulty crawling links that are dynamically generated using short tags. For instance: Code:
while ($moreRows) { ... ?> <a href="my_page.php?ID=<?=$row[pageID]?>">link</a> <? } ?> If you ouptut it this way instead: Code:
while ($moreRows) { ... echo '<a href="my_page.php?ID=' . $row[pageID] . '">link</a>'; } This was an issue for me, as I have a ton of dynamically generated links, and I tend to use short tags rather than echo. Normally, the server has no problem with short tags - it was only with PHPDig that I encountered it as an issue. I was using PHPDig 1.8.3 as well, so it's entirely possible that this behaviour has been fixed in 1.8.4 (but I haven't yet upgraded). Anyway, YMMV. Keep up the good work - it's an excellent tool. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Remove PHP short tags (patch) | blueyed | Mod Submissions | 0 | 11-22-2006 05:29 AM |
pdftotext no solution | Art | External Binaries | 7 | 04-11-2005 04:39 AM |
Problem for short words | infoland | Troubleshooting | 8 | 02-23-2005 08:10 AM |
No short description from .doc? | Spider | External Binaries | 1 | 09-06-2004 02:25 AM |
Need Solution Please | rwh | Troubleshooting | 24 | 12-26-2003 12:16 PM |