The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Is the '#dproject' supposed to bring you to an anchor named 'dproject'? If so, it should work -- in html. But, you are opening a php page, so the question is: what are you doing on the php side to read the attached?
I ask because:
1) php is not my forte, so I have no idea whether it is handling it the same as javascript/html
2) when passing arguments (in javascript), the convention is: somepage.xxx?arguments (with the arguments being parsed using location.search.substr(1) ) Perhaps you need to do the same -- or move this thread to the php forum.

This is a purely HTML issue, as Javascript just opens the correct page in a new window, and it will certainly include any anchor link that you give it. The only reason that the anchor would not work is if the <a name="blah"></a> doesn't exist. Post some urls and I can verify the code.