sometext( [key] = value which content number and alphabates )
from above,i want only value part by using explode function for only one time.Is it possible.
or any other function is present in php.
We are using JCaptcha for a captcha tool in a small app that my team is writing. However, just during development time (on a small team - 4 of us), we've run across a number of curse words and other potentially offensive words for the actual captchas. Is there a way to filter out potentially offensive words so that they are not presented to the user?
What is the recommended way to zerofill a value in JavaScript? I imagine I could build a custom function to pad zeros on to a typecasted value, but I'm wondering if there is a more direct way to do this?
Note: By "zerofilled" I mean it in the database sense of the word (where a 6-digit zerofilled representation of the number 5 would be "000005").
Hi All,
I want to implement the load balancing in tomcat 6.0 so that we can create more than one instance of a tomcat and when any of the instance is down then other instance will run our application. so that our application will never be down even when the large number of concurrent request comes.
But i have no idea to implement it. Please give your precious suggestions.
I am using SQL Server 2000. I have a database with n number of tables in it. I have configured a maintenance plan. If I enable integrity check and run the plan, I am not able to enter any data through VC++/ADO.
Is there anything I have to check?
Sometimes R stops displaying output. I type the number 1, followed by the return key, and nothing appears.
This situation occurred after I pressed the "STOP" icon in the window, which is for stopping long calculations. I'm using R 2.11.0 on a Mac.
Does pressing "STOP" cause R to stop displaying output? How do I get R to display output again?
I am looking to get a random record from a huge (100 million record) mongodb. What is the fastest and most efficient way to do so? The data is already there and there are no field in which I can generate a random number and obtain a random row. Any suggestions?
In a multicore processor, there are ways to tell the particular application to run in either single core or 2 cores or 3 cores. During such scenarios, how will a scheduler be able to determine the load(number of threads) on a particular core in a multicore processor and accordingly distribute(balance) the load(allocate threads) across the various cores ?
I'm trying to make a program in C# that monitors the processor time of an application. I'd like to have a feature in this program where the task-bar icon is actually a number representing the processor time (like what coretemp has). How would I go about doing something like this?
I need to insert same data to my MySQL table without having PHP loop. The reason why I'm doing this is that because I have a column with Auto_Increment feature and that column associates with other table.
So, I just need to insert some exactly same data and it's multiple rows (dynamic) but by using single INSERT syntax below :
INSERT INTO outbox_multipart (TextDecoded) VALUES ('$SMSMessage')
how to have this single INSERT syntax, but produce n number of rows?
I realise that WCF and services in general are meant to be loosely coupled.
But I have a requirement that my client app can check whether an given WCF endpoint contains a service that matches its generated client code. In other words I need to check for a compatible service.
Obviously I could have a method that returns a manually maintained version number, but I would prefer not to have to write my own meta data system if WCF can do something out of the box.
I have a database in Access with my movie collection and a very "professional" look. I would like to have a way to inform the IMDB's number of a movie and grab the information from the internet. Is there a way to read a page or download a page to read in automaticaly with the Access ? If not, what language I should learn to have a database with this property?
We are using the standard aspnet security features, we have need to set the order of the roles, purely for display purposes.
We could just have a sequence number onto the end of the aspnet_roles table, but that feels kinds of hacky to me. Also if in future versions of asp the security get changed we will be in trouble.
Is there a better way to do this that won't make me loose sleep each time a new version is pushed out?
I read about NSLocaleCurrencySymbol, but where would I find the variable used to determine the "number of decimal places" used in a country's currency?
I.E. In the USA, it's common to see dollar amounts written with 2 decimal places: $1.23
What about many other countries?
Thanks.
What is the minimum number of bits needed to represent a single character of encrypted text.
eg, if I wanted to encrypt the letter 'a', how many bits would I require. (assume there are many singly encrypted characters using the same key.)
Am I right in thinking that it would be the size of the key. eg 256 bits?
Now that i have learned the theory of OOPS in good number of books , and practised a little.
Still i am not comfortable when i look into OOPS being applied in some of the Open Source projs.
Can someone suggest any problem / solution kind of book , or any resources , that covers OOPS end - end. (C# , Java preferably)
How can I get status on a printer from a Cocoa app.
I would like to get the number of queued jobs and the current status of the printer (running, paused, error, etc).
Thanks
I need to create a user scripts in xcode where I can sort a selection of multiple lines, by their length (number of characters)
I know of this macro variable PBXTextLength, but not sure how to write the script.
this is the sort selection script in Xcode:
echo -n "%%%{PBXSelection}%%%"
sort <&0
echo -n "%%%{PBXSelection}%%%"
how can i modify that script to sort the selection by the length of the line (PBXTextLength)?
thanks
Code from http://www.monstersgotmy.net/post/Enumerations-and-Strings-Stop-the-Madness!.aspx
is mentioned in a number of questions about parsing Enums in C#.
Has anyone got a copy of this code? The original site seems to have disappeared.
Hello everyone,
I am using MacBook Pro Mac OS 10.5 with related version of XCode. I am new to this development environment. I am developing C++ console/terminal applications (File-New project, then from the list on the left "Command line utility", and on the right "C++ tool".).
For C++ source code file, I want to print source file content with line number. Any ideas how to do this?
thanks in advance,
George
Can you enlarge a feature so that rather than take up a certain number of pixels it actually takes up one or two times that many to make it easier to analyze? Would there be a way to generalize that in MATLAB?
I using this code to connect to facebook chat. When I try to retrieve list of online users instead of user name I get negative number for example: [email protected]
How can I get the original (Letters) user name?
I have created a number of forms using various Joomla components which have more or less worked successfully.
Recently I have attempted to create mult-page forms - the forms work...but they are slow as molasses. Having spent a couple of weeks trying to resolve this and not seeing any signs of improvement ......
I wonder if anyone has experience of using hosted forms services in Joomla either using a wrapper or as a static page within a Joomla site.
Any pointers or recommendations would be appreciated.
Hello my Dear friends!
Firstly sorry to my English I am not an expert:)
I am using freeradius 2.1.7 and MySQL instaled on Ubuntu server 9.04.
Now, the perl script called: "auth.pl" is verifying usersnames, passwords, and updating information.
The problem is that on a certain number of connections simply "NAS" - Mikrotik
until the next reboot users can not connect.
If you need i cann show you auth.pl script