Greetings,
I have items in a database, and want to create a little custom markup. What I'd like to do is be able to search my text and replace "" with "<a href=http://localhost/foo.php?x=37>(some link text looked up based on the '37' or whatever the value is)</a>". I found some code that let's...
Congrats on getting it working dseaver. And also, grats on successfully running the gauntlet of both a 'which linux do you suggest?' and 'a text editor' and coming out in one piece. Hehe, wars have been fought over such things ;-)
Thanks for the aboutdebian.com link. Good stuff there.
----
JBR
Looking at my pg_hba.conf, the heading for the entries is:
# TYPE DATABASE USER CIDR-ADDRESS METHOD
It looks like you have left out the 'METHOD' for authentication. There's several in the comments for the file. I'm not an expert on them, sorry. But I usually use 'MD5'...
Check out 'man hier' for filesystem hierarchy info. It will help you get the 'big filesystem location' picture.
Also see 'yast' for Suse's system admin/config tool, with a module for package management.
----
JBR
I didn't see it explicitly mentioned, so figured I throw out the 'turn off system restore' before cleaning up and rebooting. Seems Windows likes to be helpful and restore those critical files you mistakenly deleted. You gotta love Windows' helpfulness sometimes.
Might help, can't hurt.
----
JBR
I feel every Fedora User should have the Fedora FAQ embedded in their brain (this page got me through FC1-3). In your case, check out How do I read my NTFS (Windows NT/2000/XP/2003) drive in Fedora?. Great source of Fedora info.
----
JBR
You need to look into the "Options" directive in Apache, something like "Options -Indexes". That will prevent directory listing on all affected directories without having to remember to make a blank index file.
----
JBR
Maybe you want:
cd / && du -sh *
That will give you disk usage for each directory, summarized and human-readable (don't know if that's what they really mean, but it's how I remember them and it seems to work ;-))
----
JBR
The 'alter' command has some version-specific capabilities, so what you can do with it depends on your version. Here's a link to an older page in the docs:
http://www.postgresql.org/docs/7.4/interactive/sql-altertable.html
----
JBR
We need a better description of the error or behavior to figure out what's going wrong here. If you are filtering directly on the table, you have to enclose your dates with #, like #1/1/2005# Might be able to help with a little more information.
----
JBR
Not sure if you have an answer yet, but this is what I got just now:
golem:~ # host www.comicavalanche.com
www.comicavalanche.com is an alias for comicavalanche.com.
comicavalanche.com has address 64.202.190.153
You were saying the ip was 64.202.193.150. I can hit comicavalanche.com, and it...
The :INPUT :FORWARD :(other chains) notation for chain policy is used by iptables-save and iptables-restore.
My vote here goes to ISP filtering the your inbound traffic destined to port 80. I also use grc.com's shields up test, but more often I ssh to a remote shell (everybody as a couple of...
Could be a casefolding thing. Postgresql tends to make fold stuff to lowercase, unless enclosed in doublequotes (grasping at the dusty, cobwebbed filled corners of my aging memory here, I'm up for correction :-)).
----
JBR
I have a similar situation, also using suse 10.
# route add default gw XX.YY.ZZ.AA ; this is my internet gateway address assigned by ISP
# route add -net 192.168.1.0/24 gw 192.168.1.1 eth1 ; this is for the LAN
I had a heck of a lousy time trying to use yast (the suse configuration program) to...
I'm definitely going to have to put this on the shelf until next week (doing payroll this week). Way more complicated than I initially thought it would be.
Maybe my desire to be able to drop in new zones with connected-zones links on a whim is the breaking point. Having a job run on say a...
Thanks for the input. I'll Google up the Traveling Salesman links here after getting my Monday morning out of the way.
I also like the 'weighting' zones deal. Some are preferrable to others. Thinking that there's a hairy recursive function to be done here, where I query Origin and Destination's...
Right now, I estimate 40. Some I want to link to others. It's not linear at all. I think it's going to end up being a code thing rather than a strictly backend/SQL thing.
I'll boot into Linux later tonight and do a little tinkering. Maybe something will come to me :-)
----
JBR
I appreciate the reply. Unfortunately, the depth of recursion is variable and unknown. Areas will have to be added from time to time. Wondering if there may be some trickery to be done with a view or union somehow. Was also thinking of just doing the interface on the webserver, and use php to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.