Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: dkdude
  • Content: Threads
  • Order by date
  1. dkdude

    uft8 : correct in MySQL - fails in PHP

    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...
  2. dkdude

    Freeware PDF libraries that are PDF/X3 compliant

    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...
  3. dkdude

    eval() problem with JSON in IE vs FF/NS

    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 /" }...
  4. dkdude

    <VirtualHost> on win32?

    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"...
  5. dkdude

    JSON objects and inheritance?

    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...
  6. dkdude

    How to inherit in JSON?

    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...
  7. dkdude

    setAttribute() problem in IE

    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>...
  8. dkdude

    Table layout : be gone! How to do this with divs?

    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?
  9. dkdude

    Sending 400+ mails w/attachment before 30 sec. script time-out?

    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...
  10. dkdude

    Forms &amp; files

    Is it possible to (pre)set the filename in a form/input box? I can read the value but can't seem to set it. Maybe securrity issue? Any thoughts?
  11. dkdude

    Determine how many users are visiting a site -now

    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...
  12. dkdude

    About loading a script with AJAX

    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...
  13. dkdude

    form text input ... cursor style?

    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
  14. dkdude

    htpasswd.exe - for linux?

    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...
  15. dkdude

    Obtain username after logon to .htaccess protected folder

    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
  16. dkdude

    mysite.com/folder =&gt; folder.mysite.com (What's it called)

    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...
  17. dkdude

    http 206 (Partial Contents) problem on Apache2/XP

    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...
  18. dkdude

    Problem with mail()

    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...
  19. dkdude

    VPN server for XP Pro?

    Hi! Any recommendations on a (prefably free) VPN server that can run under XP Pro (SP2)? Thanks! Jakob
  20. dkdude

    Centered div -works in IE but not in FireFox

    Hi, Consider this example: <?xml version="1.0"?> <!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> <title>Center Elements</title> <meta http-equiv="Content-Type"...

Part and Inventory Search

Back
Top