Below is a script that (should) display a list of comments through AJax after a comment was posted.
After an user enters a comment and submits it using AJax, a list of comments with the new comment...
After trying to debug some more, I found that by passing some of the variables through intval(), the errors were fixed. This was probably a PHP issue, since I downloaded the WordPress code from one...
I transferred my WordPress blog (heavily modded) from a host using PHP5.2.13 to one using PHP5.2.11.
Now there's always a Fatal Error whenever I go to my website. I spent two days debugging and I...
I'm creating a forum based on WordPress. At the bottom of many forums, it states whether or not GZIP is used. There are many WordPress plugins that GZIP, so I can't create a variable ($is_gzipped)...
I want to test if the output of the current script will be GZip with PHP.
In other words, I want to test if ob_start("ob_gzhandler") was called.
How can I do this? Thanks in advance :)
I got a lot of hackers DoSing my website from Ukraine and Israel. I want to block all traffic from those two countries, since I don't get much real traffic from them anyways. What's the best way to...
I'm using JustHost, and they just suspended my site because I used too much CPU (from either a Digg homepage link or DoS). I don't don't know what to do now.
I tried using fopen to get the title, but it returns "Warning: fopen(url) [function.fopen]: failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in ..." for certain websites. I did some...
I created a new feature for my site which display websites as an iframe. The purpose of my site is for people to share links and for the community to vote links up (very similar to Digg). I used to...
For example, I want to load my CSS stylesheet and essential images before loading Javascript. How can I do this? The only way that I can think of is using a body onload.
My CPU is Intel Core 2 Duo Processor 1.8GHz, that means that my total CPU speed is 3.6GHz right?
I went on eBay to look at laptops. I found a laptop with 2 3.3GHz processors (6.6GHz) which is much...
The cheapest radio I've seen is $1 while the cheapest MP3 player I've seen is $15 (eBay doesn't count). Out of curiosity, which one is more complex? I'd think the radio is more complex because it has...
From what I understand, if I go to Google, my computer sends signals to Google, telling it to send data back. If my internet speed is 10kb/s (which is obviously isn't) and Google is 100kb, how does...
I've read about Anonymous hacking websites and gaining full control over the websites' server. How do they do that and how can I prevent that?
The only hacking methods that I know of are DoS and PHP...
@NogDog: Yes, that is exactly what I mean (sorry for the confusion). I made a WordPress plugin, but it would be very easy for someone else to copy/paste some of the code and re-upload it as their...
I've seen WordPress plugins that have been minimized by removing all spaces and newlines. I want to do that to my PHP (to make my plugins harder to reproduce). I know other people can still duplicate...