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 Chriss Miller 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: shadedecho
  • Content: Threads
  • Order by date
  1. shadedecho

    howto: do an internal apache redirect from mod_perl

    Inside of a perl CGI script (run through mod_perl on Apache), I want to be able to inspect a URL and based on certain conditions, either decide to allow the requested file or alternately respond with some other behavior (like a 404 or whatever). So, essentially, I have a .htaccess file routing...
  2. shadedecho

    howto: access or manually create Apache2::Response object?

    I have a perl file i'm running from an apache request as a cgi file (mod_perl). Inside this file, I want to use the Apache2::Response module and be able to call methods on an object instance. Essentially, I want to be able to conditionally decide to send certain HTTP response codes (like 204 or...
  3. shadedecho

    access json content inside an iframe?

    I've been banging my head on this topic all day. I want to have an iframe load a url which will return nothing but json. And the url will be same domain, so no cross-domain issues. And I want to then access that json from parent document. I've tried several dozen variations of this, to no...
  4. shadedecho

    subquery to simluate table rows?

    So, let's say I had a table (call that "bar") that had one column in it, and like 5 rows, each with a different string value, like 'abc', 'def', ... etc. I could LEFT JOIN against "bar" from another table (call that "foo"), which only happens to have a subset of those string values as rows in...
  5. shadedecho

    how to properly emulate forward/backward buttons for an iframe

    I have a little widget that I've been working on which creates a virtual "browser window" that you can drag around your page, resize, etc. It contains in it an iframe, which the user can load up with any arbitrary page (including those not on the domain of the hosting page), like google.com for...
  6. shadedecho

    Javascript implementation of Punycode (IDN) encode/decode?

    I'm looking to get a javascript implementation of IDNA conversion (RFC 3490), which involves: * StringPrep/NamePrep (RFC 3454/3491) unicode string preparation * Punycode (RFC 3492) translation between unicode and ascii representations LibIDN (http://www.gnu.org/software/libidn/) has C, java...
  7. shadedecho

    subtract from height:100%?

    I know there are a million and one posts and websites about people trying to achieve various layout things and setting html/body to height:100% and bottom floating footers and all that jazz. My CSS problem is similar to all that, but has nothing to do with the out-and-out size of the...
  8. shadedecho

    [cross-posted] position:fixed problem in Opera

    I have a little widget/tool I'm building which creates some different boxes in the web page viewport, and uses position:fixed to keep them hovering anchored to the viewport, regardless of scroll or window resize. I have style-expression hacks in place for IE6 (and IE7 in non-standards-doctype...
  9. shadedecho

    command-line compile AS1 (-->FP6.0.65) code?

    I've been searching for a way to command-line compile (opensource-wise) AS1 code. The reason I need to do so is I've got a project that has a SWF that is compatible with the FP6.0.65 player to expose the ExpressInstall functionality, but I want to be able to let people re-compile the SWF without...
  10. shadedecho

    iframe shim to cover select boxes... doesn't completely work!?

    So I am well aware of the long standing problem with how select-boxes cannot be covered up by standard div elements simply with z-index'ing tricks, and that this problem plagues IE6, but was fixed in IE7. And I'm aware of the 2 main strategies for dealing with this problem: 1. iframe shim...
  11. shadedecho

    trying to optimize VBScript function

    I have the following VBScript function: Function bintostr(obj) Dim I,S Dim J For I = 1 to LenB(obj) J = AscB(MidB(obj,I,1)) If J = 0 Then S = S & "" Else S = S & Chr(J) End If Next bintostr = S End Function This function takes a binary object, such as...
  12. shadedecho

    Binary objects, String representations

    OK, I know this may sound like a strange request, but... Let's say from some location (like an ActiveX object for instance) I'm getting in my JAVASCRIPT a variable that is a binary packed object. This object is guaranteed to be a set of packed bytes, where each byte represents a single...
  13. shadedecho

    destructor being called when it shouldn't be...

    bitmap.h: #ifndef MYBITMAP #define MYBITMAP class bitmap { public: bitmap(void); bitmap(int,int); ~bitmap(void); static const int _default_width = 500; static const int _default_height = 500; private: int _current_width; int _current_height; }; #endif bitmap.cpp: #include...
  14. shadedecho

    problem with ssh, suid, ssh-keysign, and identity file

    I have a simple c++ program that i've written which forks a process, calls ssh so it can execute a remote command, and relies on root's private key (by passing the command line switch -i/root/.ssh/id_dsa) to be able to make the ssh connection without a password prompt. i have set the c++...
  15. shadedecho

    Apache loads slowly on boot (hangs)... probably DNS related?

    I have just finished installing and configuring Apache 2.2 on a debian linux system. I've set it up to use VirtualHost entries, as there are about half a dozen different sites being hosted on there. I've got apache set to start on boot up from init.d with the symlink to the apachectl script...
  16. shadedecho

    C++, mysql, and encryption... something not right.

    so, I have the need to do the following: from a c++ program, i need to take a string inputted (on the command line for instance), encrypt it (i chose 3DES as my algorithm), and stick the encrypted value (and the randomly generated string key used in the encryption) in a mysql DB table. Then...
  17. shadedecho

    Bind Slave DNS?

    I am setting up a slave DNS server. I am using Bind for both the master server(s) and the slave server. What I want is this... I want a slave-only DNS server that I can basically set up to automatically be a slave to multiple master servers for whatever zones those master servers have. In...
  18. shadedecho

    DNS Load Balancing?

    I'm being told by my registrar that I am not allowed to have 2 different nameserver names (ns.mydomain.com and ns2.mydomain.com) pointing to the same IP address. Now, to be fair, I understand the rationale behind this as a general default protection, because usually, it's not good to have a...
  19. shadedecho

    simple program to query mysql

    I want to write a simple c/c++ program that does some specific, sensitive querying of a local mysql database. i know there are probably a million ways to do this... but i don't need any kind of special ability, just some simple select and insert queries... and no need for advanced exception...
  20. shadedecho

    Bind-DLZ issue..

    anyone have any experience with the DLZ patch to Bind 9.2.2 which allows for Bind to connect to databases (in my case, MySQL) to dynamically load it's zone information? I'm having an issue where a second installation of DLZ is not working like the first one did. could definitely use some help...

Part and Inventory Search

Back
Top