Topics
|
|
phpWebLog
|
|
Last 5 Comments
|
|
phpWebLog Addons
|
|
|
|
Problem with comments and $SELF
views: 374 |
By Jochen Buennagel (---.dip.t-dialin.net) on Wednesday October 17 2001 @ 09:01PM EDT [ Development ] An addon I'm coding allows users to comment on items in the addon. Because the addon is called thru pages.php?node= etc. I use $SELF to link back to the addon.
I also use $SELF&something=something in the where-argument to F_postComment so after posting I land back where I startet, but since $SELF is relative to the DOCUMENT_ROOT, not the G_URL, I'm in trouble if the Site resides not in the document root but in a subdirectory.
Any clever Ideas how to fix that without having to modify submit.php, edit.php and kill.php (thus screwing up with the next update) ???
|
jason writes on Saturday October 20 2001 @ 07:50PM EDT: [ reply | parent ]
Well, this could be one of the problems with the addon integration. I haven't really played with it much.
If you are seeing a problem with how $SELF is declared, maybe you could post a better way of how to handle this in pages.php.
|
education loans writes on Monday November 01 2004 @ 04:04PM EST: [ reply | parent ]
Please check some relevant pages about day loan pay | day loan pay | http://www.day-loan-pay-e-site.info/ | loan signature | loan signature | http://www.loan-signature-advisor.info/ | debt managment | debt managment | http://www.debt-managment-consultant.info/ | whiskey | whiskey | http://www.whiskey-cellar.info/ | mortgage lender | mortgage lender | http://www.mortgage-lender-ebanking.info/ | mortgage company | mortgage company | http://www.mortgage-company-ebanking.info/ | debt collection rfp 2004 | debt collection rfp 2004 | http://www.debt-collection-rfp-2004-consultant.info/ | credit personal reports | credit personal reports | http://www.credit-personal-reports-4u.info/ | dvd movie | dvd movie | http://www.dvd-movie-top-shop.info/ | mortgage companies | mortgage companies | http://www.mortgage-companies-ebanking.info/ | current mortgage rates | current mortgage rates | http://www.current-mortgage-rates-e-site.info/ | ... Thanks!!!
|
|
|
PHP.net
|
|
PHPBuilder
|
|
Bordom
|
|
|