I have zend running on a VPS with Centos. I set it up by dragging the zend library files into the httpdocs, then editing my php.ini and adding the line of code below:
I want to search some text for a URL. If a URL is found, it should be turned into a HTML hyperlink. The text may also include an embedded youtube movie, so I included "[^\'"\w]" at the start of my...
I have a website that has some adult content on it. If someone sends a link to the page, I want them to run through an age check first, like “Are you over 18 years old?” One button is yes and the...
I read a while ago that if a database gets heavy traffic, then it's best to have MyISAM to read the records (fast) and have another database engine like InnoDB to write the records to the...
I'm trying to write a script that will have three thumbnail images and one big image on the screen. When you rollover a thumbnail, it will change the "big image" to whatever thumbnail you...
I have a car database with FULLTEXT search. If I type in BMW, it doesn't come up with any results because FULLTEXT search only allows people to search for 4 letter words by default.
I'm having some problems with a spammer who is coming to my site thru various proxy servers so the IP is different all the time. I did a bit of googling and I found this code shown below.
I just noticed this forum has a preview of the text when you hover over thread links. I turned off CSS to see if the text was on the page (can't be hidden with CSS off can...
I've seen a few websites that display links which you can hover over with your mouse cursor and it'll display a preview of a photo that is inside the thread/profile. How is this done?
I want to create a preview page for new sign ups. I have the preview page working, but I'm not sure of the logic if a photo is uploaded with the form data. Right now I'm thinking about doing this......