web

apache server as desktop application ,can it be done?

i want to take web application and turn it to desk top application i mean that is could start from desktop icon and stopped when the browser closed the development stack is : Apache server + php + misc db (can be any thing) can it be done some how? ...

Open a local file from local html+js page

Is it possible to show a dialog box to let the user select a file on the local drive and then read its content from a local html page using js? Is it possible to save a file to a user chosen path? I'm planning to write a simple script to open file and encode its content inside images (not steganography, just the file's raw bytes). Tha...

Google Analytics - referal address - utmr field

Hi, I would like to craete a link to other page but without letting know Google Analytic (GA) that user is comming from my site. So field "utmr" need to by empty (0 | - ) and it must looks like user will enter www address in browser. Is there a any way that GA will not be able to read source website’s address? <a href="http://domain.co...

web scraping groupon

i want scrap groupon.com now my problem is such sites when you load for the first time asks you to join their email service but when you reload the page they directly show you the content of the page. how do i do it? i am using php for my scripting. also if anyone could suggest a framework or library in php which makes scraping easy it ...

Design patterns in PHP

Hello, What are design patterns? And How do we implement them in PHP ? ...

Two Questions - Web Programming

1) I know HTML/CSS. Where do I go from here to learn how to build web sites and eventually web apps? I was thinking Javascript (jQuery, yeah?) and PHP/MySQL. Is that on the right track? 2) I know java. How hard will it be to learn what you recommend in question 1. And where/how do you recommend I learn? ...

Identify website visitors by correlating IPs and corporate IPs

There are lots of companies that are selling lead generation systems. Basically, they say they can tie website visitors to companies, identify corporate decision makers at these companies ( I assume by digging into Hoover or Jigsaw with their API), and putting them in a CRM system. My question is: how do you know which IP goes to which ...

Sharepoint web service(UserGroup) addGroup function

I tried using the addGroup() web method from web service from userGroup web service offered by Sharepoint Server. As stated by MSDN, the following codes were required (using visual studio C# programming platform Web_Reference_Folder_Name.UserGroup usrgrpService = new Web_Reference_Folder_Name.UserGroup(); usrgrpService.Credentials= Sys...

Web page scraping: press javascript button

Hello I am trying to scrape a web page and to recieve the data i need to press a button. This is the source code for the button: "a class="press-me_btn" href="javascript:void( NewPage['DemoPage'].startDemo() );" id="js_press-me_btn">PRESS ME Is it possible to "press" the button somehow without using a browser? either by using wget wi...

Australia Post shipping rate calculation

Hi Guys, Is anyone having any experience with any eCommerce application where you have calculated shipping rate on fly. I am in particular referring to Australia Post service. Could you please guide me in right direction. I am thinking of using Provider pattern by which I can plugin any shipping provider according to user's profile. E...

Delay when calling wcf service from silverlight client

My silverlight client calls a web service that is hosted in IIS and using the basic http binding. Over the WAN there's an initial 60-200 ms delay before the response ( less than 20K) begins to come back. Why is that and what can be done to reduce the delay? The latency for ping between the client and the server is around 40 ms. ...

Mercurial Hosting software, alternatives?

Are there any software packages available for hosting Mercurial repositories on my own server, apart from the very basic script that comes with it? I've looked over the PublishingRepositories wiki page at Mercurial, and the only viable alternative in that list is the hgwebdir script, which I've set up, but it's rather basic. Does anyon...

Dynamic Azure Web Page

What I am trying to achieve is the following. I would have "main" web worker on Azure the would have to create sub-workers (sub pages). For example, main page would ask for a username. After entered pre-defined .asp page would have been "copied"/published to a new sub directory. Ff there is www.foo.com and user enteres Joe the main wor...

Problem with DateTime.Now on Server

Hello All, I have a great problem and I don't know how to solve it I have created a web application and host it in USA server , and the users who access this web application from Egypt The problem that i'm using DateTime.Now method inside the application and this method return the time of USA server not the time of the machine that us...

what aspect to develop first in a website?

Hi, I'v just started learning different languages in web development and I believe the best way to improve is to think of an idea and develop it. (Feel free to correct me if i'm wrong). My question is what aspect do I develop first. If I am looking to build a simple script which is styled and comprises of HTML, PHP and CSS, which part ...

HTML of a parsed page

Hi, i am using Cobra parsing engine and I wish to get HTML code of an already parsed page (e.g. after javascripts executions). Is it possible to do? Cobra may be replaced with another open-source java web parser if needed. ...

problem when printing from web service

Hi, I have an application that needs to be able to print in different printers. This application has a desktop interface and a web service. If I try to print from the desktop application there is no problem, I'm able to print in both local and network printers, the problem is when I try to print via web service in a network printer (loca...

How can i parse through xml data from consumed web service Android?

Hi! I have a web service, .asmx that when consumed gives a response in the form: <lData> <name>...</name> <posx>..</posx> <posy>...</posy> </lData> I use Ksoap2 to consume the web service in Android, and I see the response as a string anyType {lData=anyType{name=....;posx=....;posy=....;};} So, I get the right data from my web servi...

Generate XSD for SOAP messages

I'm consuming a classic Web Service using .NET. Is it possible to automatically generate a XSD for the messages from client to service? The service proxy can be generated using svcutil but I would like to use XML serialization for the actual messages. Right now the service methods take XML strings as parameters whereas I want to use obje...

<col class="slick"> does not apply class to the columns of a table

My understanding of col is that it may be used to indicate a class for all the elements in a table's column. This doesn't seem to be working for me though. I can apply the class to individual td's, but I want col to help me avoid this. Here is the html head: <head> <style type="text/css"> .slick { background-color:#b0c4de; /*This ...