htaccess Folder Protection Allows Single Referrer Monday, September 21st, 2009
Here’s an .htaccess script to only allow a single domain (not IP) access to the files within a folder.
Here’s an .htaccess script to only allow a single domain (not IP) access to the files within a folder.
It appears that there is very little info available in regard to global variables within vbulletin. It took WAY too long to pull this off tonight so I guess I’ll post it here.
Here’s a quick way to construct the WHERE parameters when snagging data out of a MySQL database using data from an entry form. In this example, I didn’t not include the $_GET, $_POST, or $_REQUEST as I am lazy and the current code I’m working on is using some Smarty thing to get [...]
Yesterday, I needed to decode a Multiple-Selection Checkbox from vBulletin’s custom profile for an external script. I’m not really that experienced at programming, but I through this together and it has worked for me quite well.
I figured most people wouldn’t be all that interested in dealing with “binary stuff”. I know I wasn’t.
// Change ‘field11′ [...]
I know just enough php to be dangerous. Okay, well I’ve probably been “dangerous” for a while now. As I get more into this MySQL normalization junk, I can see where I’m going to need more and more MySQL Left Join thingies all the time. So, for my own benefit, here is [...]
I have to say that I HATE javascript. While I can usually squirm my way through a php mess, my girlfriend can tell if I had done any work with javascript that day. She walk in and I’ll be pale, holding my knees to my chest, and sucking my thumb. She’ll say [...]
I’ve ran into a few situations where a user was to fill out a form but their use of “enter” wasn’t being counted. In other words, all paragraphs were crammed together into one.
Using php’s nl2br function automatically inserts “enter” where the user has placed them.
Brandon
I just realized today that I was suffering from the default 2MB PHP upload limit on my home recording site which is hosted at Lunarpages. My recording forum encourages users to upload their mp3 so other users can give their opinion on the quality of the mix. Well, a 2MB mp3 at 128kps [...]
One facet of textlinkcenter.com that I’ve been concerned about is the few sections where, using a cron job, I would have to update every record in a database when a given value. I thought I would have to pull out 2 zillion records, store them an array, and then re-insert them. Well, it [...]
My robo massive project continues. While I’m just cracking into the bottom level of being an “intermediate†php / MySQL programmer, I’m trying to Text Link Center the best it can possibly be. This means the whole process is very time consuming. So be it. I’ve just got to fight the [...]