web-development

Perlbal Reproxy with Remote Host

why would perlbal's reproxying give me a 503 for any remote url? X-REPROXY-URL: /path/to/a/local/file.jpg = working X-REPROXy-URL: http://a-public-file-in-an-s3-bucket.jpg = HTTP 503 my perlbal conf looks like: CREATE POOL test_pool POOL test_pool ADD 127.0.0.1:8888 POOL test_pool ADD 127.0.0.1:8889 CREATE SERVICE balancer ...

Becoming a Web Designer: CMS, or by hand

I'm biting the bullet and becoming a Web Designer, there are just too many good opportunities out there. I'm a professional SW engineer, so I want approach this correctly. So far I'm fairly good at HTML/CSS/Javascript all completely by hand. I'm also good with jQuery and Django with mySql. I've made some cool sites but it takes TOO L...

Specifying a single style sheet prblem.

In the case the html is opened in IE I want to use a different style sheet ONLY. However, it seems that it is pulling some elements properties from style.css as well. How can this be? Doesn't the [if gte IE 5] ensure only IEstyle.css is used? What is the best way to fix this? Thanks. <head> <title>!</title> <link rel="stylesheet"...

PHP: How to detect if a certain class has constructor?

Hello All, How do i detect of a certain class has constructor method in it? eg: function __construct() { } ...

HTML5 & CSS3 Support

Hello All, My question is that currently what browsers with what versions support HTML5 and CSS3? This will help me assess when to actually dive into HTML5 and CSS3 Thanks ...

How To Distract Clients From Using IE6

Hello All, How can we distract our clients from using IE6. We know IE6 is not a good standard-compliant browsers; has many issues. How to satisfy clients so that they do not use IE6? Thanks... ...

How to disable eval function without going to php.ini file?

Hello All, Is there a way to disable eval function without doing so from php.ini file. I have tried ini_set function but even that doesn't work. Basically I want my framework users to decide whether this function should be enabled or not through a config file. If they say no, i should be able to disable it using code as i can't go to s...

2CO Dontate Button

Hello There, How can I make a 2CO donate button? Thanks ...

How can I manualy fire RowEditing event?

How can I manualy fire RowEditing event WEB C# without clicking to autogenerated Edit button from any button clicked? ...

PHP: Can We Replace PHP Language Construct With Our Own?

Hello All, PHP allows you to replace or even re-name PHP's built-in functions using functions such as override_function and rename_function. Can we override the PHP's language constructs like the ones below? echo eval ...etc ...

What are some common SocketExceptions and what is causing them?

I've been caught catching SocketExceptions belonging to subspecies like for example Broken pipe or Connection reset. The question is what to do with the slippery bastards once they're caught. Which ones may I happily ignore and which need further attention? I'm looking for a list of different SocketExceptions and their causes. ...

Browser extension: is there a way to stop the loading of images?

In either Firefox/Chrome extension, is there a way to stop the loading of <img> before the browser actually starts loading them from a page? ...

How to instruct browsers to ignore GET parameters when caching a resource

Is there a way (an http header) to tell browsers not to distinguish between main.css and main.css?someparam=1 when performing caching. According to w3c spec: since some applications have traditionally used GETs and HEADs with query URLs (those containing a "?" in the rel_path part) to perform operations with significant side effects,...

web developer tools linux

I started using Linux for PHP web development. What is a helpful toolset to use for web development (mostly PHP) available for the Linux platform. My Current IDE is netbeans and I am happy with it. ...

Lightbox/Forms Question...

I am trying to allow for the filling out of a form from a lightbox pop up window. One like the one that Get satisfaction uses (though I only need to be able to collect info, not display from a query as well). You can see a Get Satisfaction example at http://tweet.fabeetle.com and clicking the feedback tab. What is the best way to do th...

PHP: Need to Expire Sessions for my webapp, when back button is pressed

We are working on a mission critical web application, we would like to expire the application's session out when a user presses the browser back button. Please help me with my problem. Thanks in advance. ...

CSS not loading up in ASP.NET site when using view in browser

I have this asp.NET web site that for some odd reason doesn't want to load css and script from the plugin I just wrote. This occurs if I use View in browser option in Visual studio. If I preview a sample file in browser directly from file system, it works OK. I have checked source code of ASP site and it contains both files. In Firefox ...

Getting 500 error on webpage only for one computer

I am running a site on php with a mysql backend. Things have been fine but suddenly one users account started getting a 500 error. Each user has his own profile when they log into the any box so his internet explorer settings are the same no matter what box he logs on to. Does anyone know if this could be an internet explorer setting cau...

Visual Studio Web development - removing code duplication

Hello, I am developing a basic .html website using visual studio. I am wondering on how other people find this experience. I do not really want to replicate the navigation, header, footer code in each page so what do you use? I was thinking I might have to use master pages and aspx, unfortunately masterpages and .html do not go. In d...

Presentation technology for multiple devices

Our application is supposed to serve multiple devices, from simple to smart-phones, IPhones, touch-screens to normal browsers. Application is layered, so we can reuse the business and persistence layer. However, we would like to program single presentation layer as well. I know for example that ASP .NET generates different html output ...