cross

Preventing spam bots on site?

We're having an issue on one of our fairly large websites with spam bots. It appears the bots are creating user accounts and then posting journal entries which lead to various spam links. It appears they are bypassing our captcha somehow -- either it's been cracked or they're using another method to create accounts. We're looking ...

Cross tabulation using C#

Hi All, I need to create a cross tab using datatable in C#. Something like this fucntionname(Array datarows,Array datacolumns) The function should return the cross tabed table, more parameters for missing values would be great The source datatable can have multiple columns ranging from 1 - N. following are the tables http://spreads...

Links in rounded boxes? In ALL browsers (yep included IE8)

I tried maaaany script but every time I get stuck in something bad. My goal is to create rounded boxes for links. You can see an example of I'm talking about here in the read more link (effects not necessary). Very common I know, but I want to make it work in eeeevery browsers at least safari, FF, chrome and most important IE7+ (IE6 not ...

Should we give overflow:hidden to those div for which we are not giving height?

Should we give overflow:hidden to those div for which we are not giving height? #Container {width:900px;margin:0 auto} for #header which has other elements inside then should i give overflow:hidden to #header or i should give fixed height to #header. What is the difference between both? #header {} #footer {} ...

body { font-size: 100.01%; } vs body { font-size: 100%; }?

What should i keep for body, {font-size: 100.01%; } or { font-size: 100%; }? what is {font-size: 100.01%; }? and is it really good to mention font-size in html{} even If I'm using body {font-size: 62.5%;} Edit : 3 May 2010 Today i found info about 100.01% at here - http://www.communitymx.com/content/article.cfm?cid=FAF76&print=t...

How do I compile on linux to share with all distributions?

I compiled a PHP extension on Fedora Core 12, but when I send it to someone using CentOS they get the error: "ELF file OS ABI invalid" I'm not sure what causes this running file provides the following info: ELF 64-bit LSB shared object, AMD x86-64, version 1 (GNU/Linux), not stripped An extension that loads fine provides the following ...

Possible Ways to Communicate Between iFrame and Parent Page across domains

Please suggest possible techniques to trigger events in parent page from an iFrame. I tried out url Hashing and using window.postMessage techniques but without any success. ...

Calling a webservice through jquery cross domain

hi there, i am new to jquery so please bare with me, I am trying to connect to a .asmx webservice (cross domain) by means of client-side script now actually i am having problems to use POST since it is being blocked and in firebug is giving me: OPTIONS Add(method name) 500 internal server error. I bypassed this problem by using GET i...

CrossPost access to data

Hi, I have a search form on a page that posts back to itself and shows the results, all works fine. I now have a requirement to put the same search form on the site home page. This needs to post back to the search form and run the findResults code. Using the PostBackURL parameter on the home page form's submit button I can hit the sear...

Whats up with cross site Scripting (getJSON) and flickr example

In past i had read the documentation about getJSON and there is an example with a flickr photo api. (the example with the [pussy]cats :-)). No I ask myself why is it possible, to access flickr directly with this example. Ive tried this by store this code on my local machine - it works but if I use a local copy of jquery i just get an er...

CrossDomain error

Hi, I have hosted my Silverlight application in IIS, now when I try to access the application I get the following error System.ServiceModel.CommunicationException: an error occured while trying to make request to URI This could be due to attempting to access a service in a cross-domain way without proper cross-domain policy in place, ...

Updating DataGridView from another Form using BackGroundWorker

Hi! I Have one Form (LoginForm) which has a Background Worker Monitoring a database for new entries. Then I have another Form (AdminForm) which I need to signal to update its datagrids whenever new data is available. I could poll the database in the AdminForm too, but considering that LoginForm is already doing some polling, which can...

C# COM Cross Thread problem

Hi, we're developing a software to control a scientific measuring device. it provides a COM-Interface defines serveral functions to set measurement parameters and fires an event when it measured data. in order to test our software, i'm implementing a simulation of that device. the com-object runs a loop which periodically fires the e...

Different positioning in Firefox, Internet Explorer and Safari?

Hello, I believe this question has been asked a lot of times, and I have managed to overcome this problem before whenever it occurred. Just now, I feel stuck with it and can't find a proper solution to make it work in all browsers: it does work properly only in Firefox, while in IE and Safari its elements are somehow apart from each oth...

Jquery getJSON Not Working Cross Site

I have a piece of javascript that grabs JSON data. When executed locally everything seems to work fine. However, when I try accessing it from a different site, it doesn't work. Here's the script. $(function(){ var aT = new AjaxTest(); aT.getJson(); }); var AjaxTest = function() { this.ajaxUrl = "http://mydeveloperpage.com...

AS3 Loading XML from a different domain

Hi I am trying to load an xml file from wikipedia into my flash movie. loader = new URLLoader(); loader.addEventListener(Event.COMPLETE, tweetLoaded); loader.load(new URLRequest("http://en.wikipedia.org/w/api.php?action=query&rvprop=content&format=xml&pageids="+subNum)); loader.addEventListener(IOErrorEvent.IO_ERROR, onIOEr...

Qt cross compilation

I want Qt software to be cross compiled for powerpc architecture on windows machine.on,linux machine i am able to do this task by giving the exact qmake specification for xplatform option. but i am not able to this from windows machine. i had powerpc tool chain installed on my windows machine. please tell me in detail how i can cross ...

Android Porting in Mini 2440

Dear all, I am working with Android Porting in mini2440 arm9 board...I have successfully compiled the Android Gitorious and Kernel and obtained uImage and zImage...i am using cutecom to flash the image from SDCard into mini2440..While connecting the usb to serial convertor, could not create ttyUSB0...Resolved it and i can open th...

How would you design & implement a Cross Platform synchronization mechanism ?

How would you design, architect and implement a Cross Platform synchronization mechanism ? Targeted Platforms : Windows, Windows Mobile 6.5 & 7, Iphone, MacOs X, Android It's for synchronizing a very simple desktop CRUD app. Please note that I've got nothing running in a cloud, that's why I'm wondering if I can't capitalize on an exis...

Horizontal scroll bar moves to its initial position when user clicks on vertical scroll bar

Hi, I am using dojo frame work grid and it so happens that horizontal scroll bar moves back to initial location when the user tries to pull down the vertical scroll bar. this is happening only in firefox and it works fine in ie7 please help. Thanks in advance. ...