I can't get PHP to read/output utf8 text from MySQL.
Setup - win32, MySQL 5.1.30, PHP 5.2.8
My table is created like this:
CREATE TABLE `pages` (
`ID` int(11) NOT NULL AUTO_INCREMENT,
`path` varchar(100) DEFAULT NULL,
`pageTitle` varchar(100) DEFAULT NULL,
`updatedOn` datetime DEFAULT...
Hi,
I've been using both fpdf and tcpdf libraries/classes in the past. However, now I need to generate PDF/X3 compliant pdf files - and neither of the two libs mentioned here can do that.
I found one -PDFlib, but that is a commercial licensed product.
Do you know of any freeware PDF/X3...
This works fine in FF & NS, but throws an error (str is not defined) in IE:
var json = {"code": [
{
"c": "div class=\"menu\""
},
{
"c": "div id=\"main_file\""
},
{
"c": "File"
},
{
"c": "div id=\"sub_file\"",
},
{
"c": "Open"
},
{
"c": "br /"
}...
Hi,
This is what I've put in my httpd.conf
<VirtualHost *:80>
ServerName id.me
ServerAlias www.id.me
ServerAdmin admin@localhost
DocumentRoot "C:/htdocs/customers/id/www"
ErrorLog "C:/htdocs/customers/id/logs/error.log"
CustomLog "C:/htdocs/customers/id/logs/access.log"...
Okay, so I'm new to JSON. Did some reading and got exited. Look both easy and looks like what I need.
I've written a dynamic absolute-div-"windowing system" for my own web appilcation. Works great.
Now to get the thing to work the way I intend, here's what I plan to do to "fill" those windows...
Hi,
So, I got this object
var myObj = {
init : function() {
this.name = 'Master!';
this.run();
} ,
run : function() {
alert('Hello '+this.name);
}
}
It works just fine. Now I would like to make a new object (JSON) that expands myObj.
How do I do that...
This code works fine in FF and NS. Shows nice red letters. In IE the style is not applied. Any ideas?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>...
Here's my challange:
Got a div : 700px wide and 400px high. Now, I would like to center the div in the window, both horiz & vert...
How would I do that? With tables it's easy, but I just can't crack it with divs ...
Any advice?
Hi,
I need to send out some 400 newsletters - mixed content, including attachments up to 500k. Just did a test and it takes about 1 second per mail.
Making BCC list .... hmmm, I'd rather not. Some servers regards "long" BCCs as spam and put's the mail in the bulk folder. That must not happen...
A client of mine would like to be able to see the number of users visiting her site - real time.
I know that I can examine the server access log to pull the information, but the provider won't give me access to it.
Is that information available through any Apache server vars? Do I need to use...
Got : one html page with a DIV in it.
Works : I can load external files into that DIV using AJAX and a backend PHP script - say some html formatted stuff.
But : If the external file also contains some javascript code, then the AJAX'ed code won't run.
Example : Say a file I AJAX into my div...
Hi,
I looking for a way to style the text cursor in a <input type="text" /> form field. Not that it matters, but what I'm looking for is a retro commandline style box shaped cursor.
Any ideas how. I know that it's not readily a part of css2, but maybe there is a workaround?
Thanks
Hi,
I'm looking for a binary to generate passwords for my domain - online, using a PHP script.
Guess I *think* need a linux version of htpasswd.exe, right? If so, got a link?
I don't know if my host/provider allows me to exec files on the server, though - if not, then how do I get about it...
Hi,
How is it possible with PHP (is it possible?) to obtain the username of someone after he/she has logged into a folder protected by .htaccess?
Thanks
Jakob
Hi,
When I create folders in the root of my webhotel I can access them in two ways:
1) http://mysite.com/folder
2) http://folder.mysite.com
In my testing environment I would like to do the same -how do I configure Apache?
And, just to satisfy my curiosity, what's the latter called?
Thanks...
Hi,
Until a few days ago, Apache ran quite well on my XP computer. Now I'm starting to get 206 (Partial Contents) problems... only seems to happen with image files.
Here's a sample line from the access log:
127.0.0.1 - - [26/Jul/2006:21:47:55 +0200] "GET...
Hi,
I have a script that uses mail(). About half the time, the script works fine (the mail() part). The rest of the time, the mail simply don't get sent.
Since I use it for a newsletter, it is important, that the html mail is sent when I want it to -and only once.
Any ideas og suggestions to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.