web

Top techniques to avoid 'data scraping' from a website database

I am setting up a site using PHP and MySQL that is essentially just a web front-end to an existing database. Understandably my client is very keen to prevent anyone from being able to make a copy of the data in the database yet at the same time wants everything publicly available and even a "view all" link to display every record in the...

jquery scrollable issue

Dear All, I am trying to create a scrollable jquery application in which there is an image and some text. I want an image and some text contents I am just getting 1 image and contents(in the below example the contents is in the tag) how can I get the second image and contents by clicking on any arrow. Below is the code. All your he...

scripts that interact with flash objects on webpages

Hey everyone, I was wondering if there was a scripting language that one could use to to interact with a flash object on a webpage? I am trying to automate some tasks but the webpage uses flash. Thanks for the help! Edit: I am trying to fill out a form basically click a few "check boxes" and then a submit button but I would like to ...

Too aggressive bot ?

Hi, I'm making a little bot to crawl a few websites. Now, I'm just testing it out right now and I tried 2 types of settings : about 10 requests every 3 seconds - the IP got banned, so I said - ok , that's too fast. 2 requests every 3 seconds - the IP got banned after 30 minutes and 1000+ links crawled . Is that still too fast ? I ...

Jquery Cycle Plugin Question - Changing and styling links...

Ok, I have this thing working. Rollover the links and it changes the banner/pic. Fantastic. Question is this: How can I change the text from 1,2,3... to whatever I want? In addition, how can I apply background images, hover, and active treatments. In the example at http://malsup.com/jquery/cycle/pager5.html, I am using the #nav a {blah, ...

Call external json webservice from asp.net C#

I need to make a call to a json webservice from C# Asp.net. The service returns a json object and the json data that the webservice wants look like this: "data" : "my data" This is what I've come up with but I can't understand how I add the data to my request and send it and then parse the json data that I get back. string data = "te...

how to allow user comments editable for a few minutes,after which should be made readable.

Just want to know the logic behind , allowing user comments to be editable for a few minutes in the site ,after which should be made readable.I had seen this in linkedin site. My solution to use create session during the comments submission and refresh for every 3 minutes and check whether the session has timed out after 14 minutes thro...

how to avoid a new line with p tag?

How can I stay on the same line while working with <p> tag ? Thank ...

How to present geographical and other data on the web

I've got a table that I'd like to present. However, a lot the information in it is only useful in aggregated or visual form. For example, the country column it itself is boring, but a aggregating all the entries of a country would be really useful. Coordinates are in there as well, so any solution should be able to present stuff on a map...

WWW to non-WWW Redirect with PHP

I want to redirect all www.domain.com requests to domain.com with PHP, basically: if (substr($_SERVER['SERVER_NAME'], 0, 4) === 'www.') { header('Location: http://' . substr($_SERVER['SERVER_NAME'], 4)); exit(); } However I do want to maintain the requested URL like in SO, for e.g.: http://www.stackoverflow.com/questions/tagged/p...

Web mining -classification algorithms

Hi, my senior project is determining the dominant category of a web page.I crawled dmoz. now i am trying to build arff. After that i will use some feature extraction methods and classification algorithms. Do you know which feature extraction method performs good with any classification algorithm for web mining? ...

Page centering messes up

I'm making a website and it is here: http://animactions.ca/Animactions/accueil.php My problem is when I go from accueil to contact, I notice the page shifts a bit. I cant figure out why though, the body is supposed to be a fixed width.Thanks *Bear in mind my resolution is 1680x1050, it doesn't do this on 1280x800 ...

Running an .exe from a website

I've created an exe file that does some maintainance work on my server. I want to be able to launch it from the website that sits on the server. The exe has to be launched on the server itself and not on the client. My instincts tell me it's not possible but I've had to check with you guys. If I need to set certain permissions / securi...

Web scraping with Python

I'd like to grab daily sunrise/sunset times from here. Is it possible to scrape web content with Python? what are the modules used? Is there any tutorial available? Thanks ...

looking for open source tool for drawing charts in Java

I am looking for free java tool/library that provides drawing simple charts. Those chart supposed to be displayed as part of a web page (my application is running on Tomcat) and not thrugh swing (perhaps through Applet) I found JFreechart but: 1. I am not convinced it is the right tool for my requirement (run not through swing) 2. It l...

Strange bug while combining images in Python

I have a hundred 10x10 px images, and I want to combine them into a big 100x100 image. I'm using the Image library to first create a blank image and then paste in the smaller images: blank = Image.new('P',(100,100)) blank.paste(im,box) The smaller images are in color, but the resulting image turns out in all grayscale. Is there a fix ...

Finished building a web application, Now what? (how to reach the masses??)

If this question is totally off/misplaced, please let me know so I can close it. The question is, when you finish building a web application (like twitter, vimeo, stackoverflow, 43things... more apps than websites), how do you spread it virally across the web? What means are existent for a tight budgeted young entrepreneur who wants his...

Menus and sub Menus problem?

Using CSS Style Sheet In my web page, i have two class like menu and leftside. In menu i have the ul, li classes. i want to use a ul, li in left side also, but the problem is if i used the ul, li, it was matching with menu ul, li ul -underlist, li - list I tried to change the code of sheet, my css code. #leftside{ float: left; ...

Sinatra style web framework for Erlang

Hi, I programmed in Ruby and Rails for quite a long time, and then I fell in love with the simplicity of the Sinatra framework which allowed me to build one page web applications. Is there a web framework like Sinatra available for Erlang? I tried Erlyweb but it seems far too heavyweight ...

web audio stream player without Flash

hi, I'd like to build a web radio with functions play/pause/stop/change channels with my own GUI. How can I do it without Flash? thanks Jul ...