I've been developing with PHP for a few years now. I use a general development pattern like so:
index.php = viewable page. Contains 99% html code. The other 1% loads up a controller page for...
Type: Posts; User: Lucky.; Keyword(s):
I've been developing with PHP for a few years now. I use a general development pattern like so:
index.php = viewable page. Contains 99% html code. The other 1% loads up a controller page for...
A couple of years back I started down the NFS road. Native security with NFS is practically nonexistent. This led me down the path of Kerberos, which led me down the path of DNS. Fun learning...
The photo on that site made my day.
Thanks a bunch everyone, these are some great answers & explanations. I have a lot to choose from.
I see that I can edit my local php.ini and set the following:
include_path = ".:/usr/share/php:/srv/www/mysite/global"
This adds my global directory to the list of paths to check, so the...
Hello,
In my website, I'm putting shared files in a "/global" folder. Both "styles.css" and "library.php" are in this global folder.
HTML code seems to be working ok - the following bit works...
Thank you so much. in_array will work great. Much appreciated!
I am sorry for such a silly question, but I cannot find the syntax for such a thing in PHP.
Looking for something easier to type than the following:
if( $someVar == "string1" || $someVar ==...
My bad.
The "/srv/public" folder had 777 on it while I was testing, but the "/srv" folder had 770 on it. This was preventing things from working.
Thanks anyway!
I've been running Samba for a couple of years now. Bumped up from 9.04 to 10.10 server (64 bit), and nothing wants to work. I have a really simple share that I want to be accessible by all Windows...
Never mind, guess this happened in Lucid:
Previous post
I recently installed Server 10.10 64-bit.
After installation, I set up my config file (/etc/samba/smb.conf), and tried to restart Samba:
/etc/init.d/samba restart
There was nothing to...
I'm in Pacific Time Zone, and it's 10:00PM here. The past few releases I've stayed up for never happened until about 12:00PM PST on the release date, not 12:00AM or even 3:00AM. Had fun waiting and...
As a follow up, here's what I did from start to finish (with the help of forumite anirudhtomer in this thread).
After getting Kerberos working on server and client, do the following on the client:...
Scratch that, working good. Don't know what the problem was before, but it's been solid for a few days now.
Bum deal! Thought for sure this would work fine, but for some reason it didn't. "ps -A" yielded krenew as a defunct process. Manually running the command works though, so something must be...
Thanks!
I never tried NIS. I didn't know what I was doing, so I kind of worked backwards. Instead of finding an authentication mechanism first, I was really just trying to get a secure network...
Thanks! Sheesh, I feel silly. I've used /etc/profile to set my umask, but it never dawned on me to add stuff to it. Whooo!
Thanks again, I really appreciate it.
I have been so curious as to how this works! LDAP seemed way too confusing for me, so I went with NFSv4 and Kerberos. Working beautifully, but now everybody tells me that I went way overboard and...
This is a spin-off of this thread.
I would like to run the following command for all users once they login. The command auto-renews kerberos tickets before they expire.
krenew -K 10 -b
I...
I've been running Kerberos successfully for over 6 months now (Ubuntu Server & Client). However if I stay logged in too long (Over 10 hours), I automatically lose access to certain resources because...
Hi everyone,
Wow, got some great feedback!
Last night when I wrote this, I was being frank and venting. Seems like some people picked this up as I hate everybody that has and will ever hire...
Anybody out there do web development as a business?
Thought I'd vent a little and get some feedback (or hear some other amusing stories) regarding this. Here's my story:
Being a software...
I keep mine in IDE mode at the moment because I use a soft RAID.
I've had to bounce between IDE and AHCI a few times with the past few Ubuntu releases. 9.04 and earlier wouldn't detect the RAID...
Disk Manager reports the same thing on my PC and I definitely have two SATA hard drives. However in the BIOS, they're set to emulate IDE.