web

html form and negative top css values

I'm trying to position a small little search box form using CSS with a negative top value but when I do this you can no longer click in the text input box or click the button. You can still tab to the form and functionality still works. I've tried positioning the form itself, putting the form in a div and positioning that, positioning a ...

Problems with a web based browser

Hi everyone! I want to develop an asp.net website which gets an address as an input and fetches all contents of the website and changes links and js path and css paths which causes the content to be displayed correctly, and then Response.Write all of this content to my website. My question is that what's problems with this work, I mean...

What is the best web viewable format to save a TIF with a 1 bit depth?

I want to convert tif to an image type that is viewable in a web page. The tifs are black and white so jpg does not work well at all and end up even larger. Here are some tests I have made so far using C# and Image.Save to do the conversion: Orignal tif is 7KB (bit depth: 1). Converted to: JPG: 101KB (bit depth: 24) BMP: 256KB (bit...

Looking to get into the turn base webgames business....

Ok lets start off with info about myself.... that way there is no stone unturned. I am a adult, 27 years old. so this isnt a joke or a passing fad. Im into computers, how they work and how apps and games are designed from the ground up and made. I have ZERO programming back ground. I went to college for the wrong thing. I love ...

Nothing happens after starting a Java Web start app

I've never done a Java Web start application before. I wrote my app's JNLP files and published them along with all the JARs to my Web server. However, after getting the initial splash screen where JWS loads the libraries, nothing happens. Do you have any suggestions on how to debug this, perhaps get some console output? I've tried cleani...

What to do with old access logs?

I have 51 GB of HTTP (Apache) access logs for my website going back five years. I'm sort of a hoarder, as far as my personality, which is why I am reluctant to delete them, even though it's taking up more disk space than I would like. Should I bite the bullet and delete? Or anonymize? What do people do with their old log files? ...

"Live Preview" of a forum post or comment, like stackoverflow does

Hi.. I wanted to implement a "live preview" of forum posts / comments / etc, kinda like stackoverflow.com does (when you ask a question, you see the preview below it in the div with the blue background). What's the best way to do it? I would really want to avoid re-implementing my bbcode parser in java as it would be very complex. I was...

Which is better? Long TCP connection or long-polling?

I am planning to build a web chat on my site. I know two way of doing this: one is using XMPP web client (through flash, long TCP connection), and the other is facebook way, long-polling. But facebook is going to update their chat to support Jabber (XMPP), so can some one tell what way is better? (including upgrading to XMPP) ...

Jquery validation plugin and switching required field

Yup, basically, I am building a web form that need to provide different required form and validation function fallow by selected country. I am using <script type="text/javascript" src=" jquery-1.3.2.min.js" charset="utf-8"></script> <script type="text/javascript" src=" jquery.validate.js" charset="utf-8"></script> and here is my JS c...

How can I pass the environment from my Python web application to a Perl program?

How do I set Perl's %ENV to introduce a Perl script into the context of my web application? I have a website, written in a language different from Perl (Python). However I need to use a Perl application, which consists of a .pl file: #!/usr/bin/env perl "$ENV{DOCUMENT_ROOT}/foo/bar.pm" =~ /^(.+)$/; require $1; my $BAR =...

How can I find shortened URLs that link to a specific long URL?

This is the reverse of the usual expanding short URLs question. For a given Long URL, how can I find which short URLs link to it? If this needs to go through the APIs of the shorteners, apointers ot the ones which support such a query would be appreciated. ...

Float Creates Overlapping Divs

Hi Everyone: I have two divs (one inside of the other) and am running into a bit of a problem when I float the one inside to "left". The problem is that the outer div doesn't expand its height to fit the text inside of the inner div. Since this is probably pretty confusing, I'll try to explain it with some code. HTML: <body> <div id...

crawler instances

im building a large-scale web crawler, how many instances is optimal when crawling a web when running it on dedicated web server located in internet server farms. ...

Automatic file upload

Is there any way, any free software capable of automatic file upload? Let's say I edit php code on my local computer with my favorite IDE. I won't change my IDE, it's great. I want something that would detect a file is changed in my project directory and upload it with FTP/SFTP onto remote server. That's it - just that simple. What I've...

What's the difference between web services and calling code-behind with ajax?

Is there any difference in using one over the other? Should I be retrieving data from a database using web services? Or is it better to call methods from code-behind (or somewhere similar) with ajax to retrieve data? ...

what is the difference of calling a Web Services using Asynchronous Call vs. Asynchronous Task

What is the difference between Web Services Asynchronous Call and Asynchronous Task's. We are working an a ASP.NET application that requires to make a call to a Web Service Method that will process thousand rows of data. This process usually takes between 2 to 3 minutes (maybe more maybe less it depends of the amount of Data). So we ru...

First call to web service each day is slow

While building this web service and the app that calls it, we have noticed that the first call to the web service each day is extremely slow. It even will time out on some days. However, every call after that work great. Can anybody shed light on why this might be and how we can get rid of this pain? Thanks in advance! ...

Will HTML5 allow web apps to make peer-to-peer HTTP connections?

This is probably a dumb question, but I have to ask it anyway. I'd like to know if it is at all possible to create a web app that, with the help of a central server, could create direct connections with other users of the same web app. I'm imagining a process similar to UDP hole punching. I've read about the new WebSockets API in HTML5,...

Windows Authentication with basicHttpBinding of WCF

I am quite annoyed with this one for last 2 hours :( Folks, I am trying to access a SharePoint OOTB List web service from a Console application. My SharePoint site in IIS is set to Integrated Windows Auth mode, and anonymous access is disabled. Now at client side what I am doing is as follows try { BasicHttpBinding bin...

how to make transparent background with freeimage?

I use freeimage.net in my web project. I rotate a picture(.jpg) with RotateClassic function,but after that the background is black. How to make it transparent? thanks for any help. ...