![]() |
Sorry its lost me - maybe its a host thing - contact them.
|
I've a Question to the cgi-version (php works fine *g*)... When my DB is not stored on localhost, what have I to add?
|
Quote:
Code:
# Connect to mySQL Code:
# Connect to mySQL |
Can someone please explain this hack better, I cannot get it to work. Instructions are not that clear to me.
|
This isn't a "hack", but a simple add-on script. What problems are you having specifically? "I can't get it to work" doesn't tell us a whole lot.
|
Thank you for your reply.
I don't undertand/know what code I need to add in the comment/join converstation to make it work. |
This is a great script.
I just added it (the PHP version) and it works. Just one problem when the title of the page contains '#' it halts. I tried htmlspecial chars, and stripslashes but they didn't change the behaviour. Any tricks to make it work with '#"? |
Another observation. If the page title ($topic) had an '&' it will trim it to just before the '&'
My guess is that the php parser expects a variable following &. Example: $topic = "Sweet & Sour" will create a thread titled "Sweet" htnlspecialchars won't help, it will replace & with & !! :) Any ideas? |
With the PHP version of this script, you'll need to use urlencode() to encode the title before passing it along. There are similar solutions for Perl scripts out there as well.
|
Yes, this fixed both of my problems, the & and #.
Thanks! |
All times are GMT. The time now is 01:46 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|