web

How can someone with no experience learn how to program?

A friend and I have been coming up with website ideas for a couple years, mostly just jotting them down whenever we come up with a good, useful idea when browsing the web. For the past 6 months we've hired a couple different programmers to make a couple of the sites for us, but have been disappointed with how it's gone. Been too slow a...

web service event

I want to develop a web service that handle another web service's event. (C#.Net 3.5 framework) I will develop a web service and the correspond service's event catch this service, and it will send some data to me. Is it possible? Thanks. ...

PHP urlize function

Hello guys, I'm using this function on my website to transform user input into acceptable URL: function urlize($url) { $search = array('/[^a-z0-9]/', '/--+/', '/^-+/', '/-+$/' ); $replace = array( '-', '-', '', ''); return preg_replace($search, $replace, utf2ascii($url)); } function utf2ascii($string) { $iso88591 = "\\xE0\\x...

web based native app

How does one create a native app (windows, mac, or linux) that has the similar characteristics of a web app? I'm looking at 'dynamic' updates every time the app is launched by getting the code to run elsewhere (similar to rich web apps with javascript). It must retain the native gui however, with the behaviors/conventions expected in the...

input URL, output contents of "view page source", i.e. after javascript / etc, library or command-line

I need a scalable, automated, method of dumping the contents of "view page source", after manipulation, to a file. This non-interactive method would be (more or less) identical to an army of humans navigating my list of URLs and dumping "view page source" to a file. Programs such as wget or curl will non-interactively retrieve a set of ...

problem with Asp Net web Resource

Hi: We're working on a ASP Net web application that we migrated from 1.1 to 3.5 and, for some reason, the resource file is not taking the values we try to add/update. Some points to consider: 1)The legacy web app, generated 2 files: "MyFile.es-Mx.resx" and "MyFile.es-Mx.resources" 2)We can modify the "resx", but added/updates values are...

Web: Copy to clipboard (custom..)

Hey, I know the best and easiest way to copy text to a clipboard that is both cross browser and simple is to use Flash, which is fine with me! I have come across this awesome plugin called clippy but the problem is you have to embed the image or object onto the page. I wanted to have a link that when clicked would do the copying. Any i...

Best way to install web applications (e.g. Jira) on Unixes?

Can you throw some points on how it is a best way, best practice to install web application on Unixes? Like: where to place app and its bases and so for, how to configure to be secure and easy to backup, etc For example I know such suggestion -- to set uniq user for each app. App in question is Jira on FreeBSD, but more...

How to protect web site against hackers?

Hi Guys, Like everyone of us, I have my own dreams about developing the next cool product that will be adopted by many users and become industry standard. Surprisingly, I find that the most challenging task is to keep my website up & running. My site is being hacked again and again no matter what I do - I blocked the FTP connections, cha...

Roundup of HTML 5 vulgarizations and resources

Hi everyone, HTML 5 is going to change the game not just for developers but will also come into the lives of professionals of all trades have an online presence, and web amateurs. These people are not web professionals but HTML and Flash have both been an important part of their general culture of the web. Vulgarization: to make ...

Rewriterule end slash

Hi, I'm working on a Rewriterule in order to have URLs like these: http://www.myhost.com/var1/var2/ RewriteRule ^(.*)\/(.*)\/$ index.php?var1=$1&var2=$2 [L] What I would like to add is that when someone types myhost.com/var1/var2 (without the end slash), it still goes to the same page. Is there a better way to do it than this? Rew...

Using Microsoft's xml document transform to transform web.config is adding unwanted whitespace.

I'm using an XML-Document-Transform to transform my web.config file for deployment to a staging server. Unfortunately it isn't transforming exactly as specified and is adding some whitespace to an element's text. This whitespace is then being picked up by the Castle Windsor configuration that I use and bombing the application. Here's ...

IE I-Frame 1px border to the right

Please look at http://www.mymix947.com In the header i have a 1px border to the right of the banner. You will see a black line dividing the banner and listen live button. This is an i-frame and I can't seem to eliminate the line. This seems to only happen with Windows 7 - IE Browser 8.0.7 When my browser is full screen - i dont see ...

How to do a htaccess rewrite with a question mark ? in the original url

I've got to redirect a URL that has a question mark in it, and I just can't figure out the proper .htaccess code to make it happen. Example: redirect 301 /home.php?cat=16 http://www.example.com/furniture.html I believe I need to do a rewrite condition, but I'm no htaccess expert. ...

Create dropdown from multi array + PHP class

Hi there, Well, I am writing class that creates a DOB selection dropdown. I am having figure out the dropdown(), it seems working but not exactly. Code just creates one drop down, and under this dropdown all day, month and year data are in one selection. like: <label> <sup>*</sup>DOB</label> <select name="form_bod_year"> <option value=...

Django sitemap intermittent www

The automatic sitemap for my Django site fluctuates between including the www on urls and leaving it out (I'm aiming to have it in all the time). This has ramifications in google not indexing my pages properly so I'm trying to narrow down what would be causing this issue. I have set PREPEND_WWW = True and my site record in the sites fra...

my web service works locally but, not when it is deployed

When I deploy my web service, I get the following error: There is no build provider registered for the extension '.svc'. You can register one in the section in machine.config or web.config. Make sure is has a BuildProviderAppliesToAttribute attribute which includes the value 'Web' or 'All'. I found one thread (http://forums.asp.net/t/...

Where can I learn web programming from start to mastery?

I tried doing tutorials but it is unorganized and unstructured, where can I learn PHP from beginner to master? I'm looking for a site like www.w3chools.com, but somehow I feel it is incomplete, specially when it comes to more advanced functions. I know some basics but I wouldn't be able to for example make a secure online webstore, and ...

AjaxToolkit control Extenders in a composite web control

I am writing a bunch of controls for a Toolkit of controls and each control needs to use the various controls like the CollapsiblePanelExtender, RoundedCornerExtender, popup window extender etc. But since I am using the Web Control and inheriting from the Composite control but upon rendering if I try to render the extenders, it makes the...

Methods of sending web-generated config files to servers and restarting services.

Hi, We're writing a web-based tool to configure our services provided by multiple servers. This includes interfaces configuration, dhcp configs etc. etc. Having configs in database and views that generate proper output, how to send it/make it available for servers? I'm thinking about sending it through scp and invoking reload command t...