Il lun, 2004-03-15 alle 15:55, David T-G ha scritto: > Sebastiano, et al -- > > ...and then Seba said... > % > % I think that the only way to catch it is to rewrite the URL. > % > % 1)Write pages with appropriates links. Somethink like > % href='www.yoursite.com/anchor_target/index.php' > > Hmmm... Do you mean that I should write the calling page this way? I > can't do that; I'm planning for pages that I don't own that may not be > updated (or even formed properly from the start). Or do you mean I > create a subdir and index.php file for every possible link target? Ugh; > there are way too many of those. > > Given a URL like > > http://web-folio.net/help.php#delcoll > > that should look like > > http://web-folio.net/help.php?req=delcoll > > for the new script, what do I put where in my site dir? > >
The first one. But if you do not own the pages I have not any idea to solve the problem. > % > % 2)Create e rewrite rule in the htacces file. > > OK. > > > % > % > % 3)Catch the target value from the php page parsing the rewritten URL > % www.yoursite.com/index.php&anchor=target > > That sounds good, I think. > > > % > % I did it and it works. > > Great! Now tell me more :-) > > > % > % > % Sebastiano > > > Thanks & HAND > > :-D -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php