web-development

How check file size on upload

Whats the best way to check the size of a file during upload using asp.net and C#? I can upload large files by altering my web.config without any problems. My issues arises when a file is uploaded which is more than my allowed max file size. I have looked into using activex objects but that is not cross browser compatible and not the be...

Authenticating ASP.NET web app with WCF service

Background I have an ASP.NET web application that interacts with WCF services. The web application and the WCF services are under my control. The ASP.NET web application uses a custom implementation of the ASP.NET Membership Provider Model (with passwords stored in hashed form) to authenticate users who log in to the web application. Bo...

Strategy for supporting unicode & multi language in PHP5

Hi, I have heard that PHP6 will natively support unicode, which will hopefully make multi-language support much easier. However, PHP5 has pretty weak support for unicode and multi-language (i.e. just a bunch of specialized string functions). I was wondering what are your strategies to enable unicode and multi-languaage support in your ...

Good study material for C#,JavaScript,PHP?

Hi all, I am a proficient C++/Qt coder, having worked only on desktop projects till now. I wanted to extend my knowledge base into the web realm. In this regard, can some of you suggest good reading material for C#,JavaScript and php? And are there any standards for these languages as there are for C,C++ like ANSI C,C99,C++0x etc. ...

How do you output html as code on asp.net page?

I want to dump out some HTML I am rendering in a C# class on an ASPX page. But not as the rendered HTML but the actual HTML before the browser renders it. Is this possible? ...

What is the best way to manage duplicate code in static HTML websites

Hello, I am managing a legacy website with a lot of static HTML websites, no server side scripting, just plain HTML/CSS, minimal javascript. I found it a huge waste of time to change the same piece of code numerous times in different pages. For example, when something in the menu changes, since the menu is just static text in each docum...

How can I show different content to website visitors from a specific country in PHP?

On my Wordpress blog, I want to show additional content to people from Finland on all pages. Very much like the Feedback button at the left edge of the screen on printfriendly.com. How can I achieve this most reliably using PHP? ...

What's this with the Microsoft Web Plaform

Sorry. I'm just bitten (or bit. Go figure with this left-to-right language :-) I've invested a huge amount of effort studying NANT and learning how to build a command line CI environment. My goal was to solve the build issue once and for all so I'll be able to develop a few projects (web sites) and have them deployed "at the press of a ...

What is the best practice/approach to programatically sharing content between sites in Joomla?

I've got a client site that will have multiple "mini-sites" for individual web shows and one main site for the company that produces them. Each mini-site has it's own color scheme but has all the same menu items and/or content of the other site such as Photos, News, etc. I can't seem to figure out how to ensure programatically that the...

Which language should I learn between PHP and ASP.NET?

This question has been around my head for the past months but I have been reticent to post it on here due to the subjective nature of the question, but here goes. I'm a software engineering student and have been looking for quite some time to get serious about web development. I've done basic stuff in the past, mostly XHTML/CSS/Javascri...

Good Webserver for Out-Of-Box Deployment

The company I work for is starting a project that will probably require a web-server and database to be deployed on the clients system. There are a couple of reasons why we want to ship with a webserver: We need to send and receive data between machines, and we don't want to force customers to setup a network file-system We need to hav...

What is the best Open Source CMS System?

From the Developer (web dev/designer) point of view (POV). Not from the guy paying the bill POV. Please read below: Our company is looking for a good CMS system to develop our new website. We are looking for: Easy maintainability of the content Well kept MVC model Widely supported We want something that will give us the flex...

What factors exist to choose to develop a website or to use a CMS?

Hello SO Team: We are in the process of starting a new company website and the question was brought to use or not a Content Management Solution. What will be the factors to consider to be able to debate between this two options. Both of them have pros/cons, but I am sure that there has to be a few people out there that will have an ex...

Is it possible to do friendly url (url rewriting) in classic asp?

I know how to create/implement friendly url in asp.net, but is it possible (and if so - how) to do it in classic asp? if its impossible, how would google respond (SEO) to creating pages whos sole purpose is to redirect (on load) to a different page? thanks! ...

Restricteddomainhelp.com

Hi if i run the my application...i am getting an message as restricteddomainhelp.com and its not allowing me to open the page.. Thnaks in advance ...

Getting user data from 3rd party websites.

I am sorry if this is an RTFM question, I am a C programmer by trade and have almost no knowledge of web technologies. I would be very grateful if you could point me in the right direction and I will R the M :) The issue I need to solve is as follows, I need to get some data for my site users from different websites where they might hav...

MSBuild inconsistent compiler flags

I have two VS2008 solutions. Both contain a web application. For both web apps I have added a web deployment project. When I build the first one this is the command line I see in the output window. C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_compiler.exe -v /project.csproj -p C:\Projects\web\project\project -u -f -d .\T...

Dropdown menus in forms containing database primary keys

In a framework like Django or Pylons you can set up function to handle form submissions. If your form involves a dropdown menu (i.e. a select tag) populated with objects from a database you can set the values equal to the primary key for the record like: <select> <option value="1">Volvo</option> <option value="2">Saab</option> <o...

What are the important meta tags I must put in my website?

There seems to be huge number of meta tags you can set. I'm guessing that some of them are more important than others. What are the most important metatags to supply and why? Do I even need meta tags? (looking at the stackoverflow homepage there are none) ...

Some sort of site-wide CSS inspector

I work at a site that passed through some face lifts. In time the CSS files became pretty massive, as the CSS for the old designs was not deleted when no longer needed. I was wondering if there is some kind of tool that allows me to spider the entire site(or the source files) and check which css rules are no longer used. I know that t...