web

How do common web frameworks (Django, Rails, Symfony, etc) handle multiple instances of the same plugin?

Do any of the popular web frameworks solve this problem well? Here's an example: suppose you're running one of these web frameworks and you want to install a blog plugin. Except instead of a single blog, you need to run two separate instances of the blog plugin, and you want to keep them segregated. Or say you want to install multiple ...

Converting digits, generated by weblog service, to Arabic form

sorry if this is irrelevance :-) I need to write something in my html code to convert digits of form 0123456789 to ۰۱۲۳۴۵۶۷۸۹ (Persian digits uni06F0..uni06F9). the number of visitors is generated by blog service. and I want to convert its digits to Arabic. Counter: تعداد بازدیدکنندگان : <BlogSky:Weblog Counter /> نفر the Persian p...

Free Web Manager for Asp .Net 3.5

I'm looking for free Asp .Net Application that acts like Web Manager enabling users to upload and download file? Download alone should do it. Do you know of any application of that kind? ...

How can I securely check if a username is already taken?

I have a form where someone can create a new user. I'd like to add some AJAX to check if a username is taken, as soon as the input field loses focus. I'm not really sure how to go about this, as this could pave the way to bruteforce attack, since you could check for any username and see whether or not it exists. Any suggestions? ...

Web hooks in Python: Any particular library?

Hi .. somewhat of a noob here to web programming. Just getting my feet wet in python. I wanted to implement web hooks in python. Both at server end and client end. Is there any particular library for implementing web hooks? Or does django or twisted python handle this? ...

add a subdirectory to a site hosting wordpress in doc root

I want to run a php script on my site from a newly created subdirectory. However I am finding that my existing wordpress blog (running from doc root) is intercepting my url to the script in subdir and giving me a 404. How can I get wordpress to ignore the subdirectory? EDIT: based on comment, here is my .htacess file contents: # -Fro...

Creating "screenshots" with HTML 5 and CSS 3?

Hi, I need to create small thumbnails of HTML elements. I first thought using CSS 3 reflection, but it is limited to being only a reflection (and not a direct copy) and I can not move it from its standard position. Then I thought using JavaScript to copy the HTML element entirely along with all its contents and apply CSS 3 transform to...

Axis2 with OpenEJB error on Tomcat

Hi, I deployed on Tomcat Axis2 and OpenEjb and got the error. If deploy either only axis2 or openejb, they works properly, but when deploy them together, Axis2 can't be deployed, but OpenEjb is available. Could anybody help with this problem, please? This is error that I got when Tomcat starts : SEVERE: Error deploying web applicatio...

Android equivalent of UIWebView in Xcode

Coming from an iPhone world... In Android, I am looking for an iPhone UIWebView-like control which can display HTML and let me catch clicks on links and stop the navigation. My apps display text with commands as href's in the HTML. ...

How can I get HTML to link to a browser (or system) specified URL?

Hi All, I'd like to be able to create a "HTML link" that the user can click on and be taken to an URL (location) specified either in the browser (preferences?) or system environment. Is this possible? Any suggestions on how to do it please? For example, it may look something like this (or alternatively it could be a clickable image...

Access Database Integration with website

I'd like to have my website be automatically and continuously updated with information from an access database, but I'm not sure how to do so? Any suggestions? ...

Get information from website for Android

I want to make an application that compare pizza prices. To do that I have to go to the actual site and enter and search. How can I display the prices WITHOUT the user seeing the actions of going to the website and entering a search. Would I use a WebView and a WebViewClient? ...

Best web technology for building dynamic charts

I need to build a custom designed bar chart that displays some simple data. Below are my requirements. Can anyone suggest the best web technology for my requirements. high browser compatibility ability to draw shapes ability to fill shapes with gradients ability to have onclick and onmouseover events for the different shapes (bars ...

VB.Net: Detect Webcam

How can I programmatically detect whether a webcam device is plugged in to the PC or not, return 'True' or 'False. ...

html5 / flash video player

I'm working on a website in which I'm going to embed some videos. Are there any good open source html5 / flash video players around so I can avoid having to code up one of my own from scratch? EDIT: Note that I'm going to have a very small number of videos, probably no more than 5 or so, so format maintenance isn't really a problem. ...

Css3 Transition on background transparent not working in Chrome 5

I`m trying to create an animation using CSS3 transition. The animation is a gradient background that should change his color (rgba). I used the webkit tag for the gradient and it`s working in Chrome 5.0.375.55. Sample code (something like this): .tag { -webkit-transition: all 1.0s ease-in-out; background-image: -webkit-gradient(radi...

jQuery AJAX with multiple URLs

I'm using jQuery to load the images before displaying them. The problem is that I don't know how many images are going to be loaded. The page loads the image paths from a XML file. I'm using this: $.ajax({ url: 'images/BYLINE/1.png', dataType: "image/png", success: function(data) { alert('psil'); }, error: fu...

web service exception handling

I have a WebMethod that receives following types of parameters: [WebMethod] User(long userid,int number) When Client sends parameter with different types from I want, I have to catch this error and write to database etc. For example ArgumentExceptions... How can I solve this? Thanks. ...

If you had to redo a site that has 150 tables and 250,000 visitors/day in any web platform, what would it be?

If you had to redo a site that has around 150 tables and 250,000+ visitors/day in any web platform, what would your choice be and why? Some points The team has experienced developers The old application is written in unrefactored PHP. It's unusable. Much of the database is not normalized, and there are columns in the wrong spots. Many...

Htaccess to force use WWW for mutlidomain.

I found this code to force using www. RewriteEngine On RewriteCond %{HTTP_HOST} !^www.example.com$ RewriteRule ^(.*)$ http://www.example.com/$1 [R=301] But i have many domain that pointed to same directory. So i need a version of this code for multiple domains. It must run on any domain, is it possible ? ...