Hello,
I have the following code as my index.php for my multi-language website. Each available language has a subdirectory.
<?php
if (isset($_POST['URL']) && strlen($_POST['URL']) == 3) {
header("location: ".$_POST[URL]);
}
else {
function lixlpixel_get_env_var($Var)
{
if(empty($GLOBALS[$Var]))
{
...
I am using Request.Browser.IsMobileDevice in conjunction with the MDBF file that goes in the App_Browsers/Devices folder (http://mdbf.codeplex.com/)
Now using Sea Monkey browser (latest version 2.0.7) IsMobileDevice returns true. Why might this be the case as clearly Sea Monkey is not a mobile browser. In fact, I had the understanding...
Hello,
I need to detect change in NSArray object - that is if some object was added/removed to/from NSArray or was just edited in-place. Are there some integrated NSArray hash functions for this task - or I need to write my own hashing function for NSArray ? Maybe someone has different solution ? Any ideas ?
Thanks.
...
Hi,
how can i detect from the client that jsch session has beed disconnected by the server?
...
After certain survey, I come to discover that there are a few encoding detection project in java world, if the getEncoding in InputStreamReader does not work:
juniversalchardet
jchardet
cpdetector
ICU4J
However, I really do not know which is the best among the all. Can anyone with hand-on experience tell me which one is the best in J...
Hello,
During my years at the university I had a personal project of making a simple chat program in Java, using TCP sockets. The project was only for educational purposes.
One thing I wasn't very happy with was that a client had to know the IP of the server in order to connect to it. So I got to thinking it would be nice if the client...
Hi,
I have a rotating wheel in my iPhone application and I would like to find out which button image (from the rotating wheel) is on top. I was thinking of doing this by using fixed coordinates and seeing which button is at his location. I'm not sure how to implement this.
Any help is appreciated.
...
The winner of a recent Wikipedia vandalism detection competition suggests that detection could be improved by "detecting random keyboard hits considering QWERTY
keyboard layout".
Example: woijf qoeoifwjf oiiwjf oiwj pfowjfoiwjfo oiwjfoewoh
Is there any software that does this already (preferably free and open source) ?
If not, is ther...
hi friends,
Is it possible on uiwebview autodetection phone number is stored with my json value on contact page automatically(without manual data entering in it).
Regards,
sathish
...
Hey all,
I'm in need of a way to detect mobile browsers server-side. I've heard of various ways to do this, but i'd like a way that requires me to do little to set up and little to maintain, yet still provide me with accurate detection of (at the VERY least) android, iphone/ipod, and blackberry browsers, along with alternatives like ...
Hi friends,
I am working on webview. I am loading a html page on my webview. the thing is when i clicked phone number in my page, it should automatically add into the contact of my json data. The issue it is working finely in simulator on device it is not working
Any suggestion is highly appreciated
Thanks in advance
Regards,
sathish
...
I'm looking for the best way to detect more than one finger on the screen at time. I'm not detecting taps or pinching, just the fact that more than one touch is happening. There don't seem to be any gesture recognizers for that. What's the best way?
...
Im trying to build a page that will allow a user to select a maximum of 8 out of 20 checkboxes, in a specific order, on a single form.
Im trying to make a page that will only be viewable if the right sequence of checkboxes are clicked, a neat way to let only those who have the checkbox sequence in on a certain part of my website.
What ...
Is it possible to detect these for visitors or registered users on my website without using any plugins? I am creating the security features so scouting around for things i can detect for added security alerts. Security is very important with this service due to storage of confidential information so I am trying to use different security...
Hi i need further assistance. I followed the tutorial on shape detection however when i execute the program,
i get the above. For the detected cicrles i have no idea why it look like that may i know what is wrong over here?
...
I'm a newb when it comes to JNI2OpenCV. It has errors regarding java.library.path. I've read this thread http://stackoverflow.com/questions/2441198/opencv-to-jni-how-to-make-it-work but it seems that this is a different case from mine. Here's the errors I get:
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\JNI2OpenCV.d...
In the code below, pathToNonDatabase is the path to a simple text file, not a real sqlite database. I was hoping for sqlite3_open to detect that, but it doesn't (db is not NULL, and result is SQLITE_OK). So, how to detect that a file is not a valid sqlite database?
sqlite3 *db = NULL;
int result = sqlite3_open(pathToNonDatabase, &db);...
What is the most efficient way to detect modification to a file in Java?
I've read about file polling however, the polling approach has a number of drawbacks that become apparent as the number of watched files increases. I rather not use polling but a number of solutions online appear to point to file polling as the recommended method. ...
I'm writing a program to detect which ".exe" file is generated by "Visual Basic6". I found that at the "entry point" of each vb file, there is an address at offset 1 from "entry point" which points to a location that contains the string: "vb5!", is that a certain signature? Can I be sure that in every vb files this string is exist?
Then,...
I don't like Microsoft's font rendering.
I've created a site for a client and the last unticked box on my debugging list is the biggest. (it's not 'live' yet btw so please ignore any other bugs - http://baked-beans.tv/bb)
I'm using font-family to import a non standard web font. It renders fine on Mac, but it looks like sick old man on ...