PHP and Javascript rarely line up because of the different times they're executed. getAttribute I can't see as being useful beforehand and without AJAX you can't use it later.
This allows you to open streams to other URLs. You can use fread and fwrite on it (or fget and fput, or whatever PHP uses for streams). If you looked on the W3C you'd...
HTTP variables are your best friend for this. What you'd do is make one blog page and all the user specific things would come from a database. You'd use an HTTP variable to retrieve this from the...
I think your problem is that the pages are designed to be run singularly, and not to be part of a group. You're including "dbinfo.inc.php" once in each page, and if this isn't protected against...
Try separating the code. Look at the output from the PHP, make sure it's suitable for LoadVars, variables/values must be url_encode()'d or LoadVars won't read it properly. After this try using some...
If it's not a local database (something like freesql.org) that could be contributing to the page load. Any local database query shouldn't take 4 seconds.
That... really isn't relevant. HTTP demands a lot more headers so that it can transfer multiple types of information and be understood. A chat server simply requires a "who: what" message, cutting...
The title and filesize are both contained within the .torrent, as well as a link to the tracker. You'd need to scrape from the tracker for the rest of it, but I'm not quite sure how to do that.
...
We'd want /[ad][be][cf][14][25][36][xg][y7][zh]/ on the first comparison, but say if you have a strictness of 2, on the third it would become [a-z]{3}[0-9]{3}[a-z][a-z0-9][a-z], and compress it to as...
You could use auto_prepend_file in php.ini to include a file with a function containing HTML in it, and then run this function wherever you need it. If it has to be at a certain place which isnt at...