Can someone explain what the 'e' flag does, or link me to somewhere that does? I couldn't find anything via google.
Example:
preg_replace("/a(b?)c/e", "search_foo_term('\$1')", $str);
hi
i have installed "phpmyvisitors" cms to get statistics of my sites visits.
it is written in php and is open source.
i gets many useful information like:
-total visits
-viewed pages
-visitor browser informations
-visitor distribution over the world
-how visitors access to site
-how much time they spend on sites
and ....
it is some think like Google Analytics.but fewer features.
my question is:
" how does it do all of them? "
Hi All,
I am creating a website and I want to know that user is coming from where, like from google, bing, asp.net, any other site. Is their any way to find out in asp.net ??
Thanks in advance.
While there are lots of questions about coding style, beautifying, and enforcement, I haven't found any example C++ files that are used as a quick reference for style. The file should be one or two pages long and exemplify a given coding standard/style.
For example, the Google C++ Style Guide is a great reference, but I think a one to two page piece of code written in their style pinned to a wall would be more useful in day-to-day use.
Do any of these already exist?
So after a few hours of workaround the limitation of Reflection being currently disabled on the Google App Engine, I was wondering if someone could help me understand why object reflection can be a threat. Is it because I can inspect the private variables of a class or are there any other deeper reasons?
This is depressing - I have installed XMLTools and can see it in the menu - It has one sub menu which is "How To Use"
If I select that it says something like no libxml / libxslt - Google returns nothing
How can I install this plugin properly
anyone know of a decent site where i can lookup where an ip address is?
e.g. if i have ip address x.x.x.x.x and i want to know if that ip is in london or scotland.
i've been going around google and what the sites i have found are saying is that ip x is located in location london when it shud be roughly 250 miles away from there.
thanks
p.s. must be free
How should I go about appending to the end of all urls in string of html that is about to be sent out as as email? I want to add the google analytics campaign tracking to it like this:
?utm_source=email&utm_medium=email&utm_campaign=product_notify
99% of the pages will not end in '.html' and some urls might already have things like ?sr=1 at the end of them.
i have a table named news with 3 fields i.e (id, news, time) and i have a setInterval after every 3mints to fetch news from google or any news site ....
now i want to fetch only new rows inserted after every 5 minutes...with jquery $.ajax()...how can i do that...
do i reload the whole table or there is a way to fetch only the new ones...
It´s a short question,
but i searched at google and here and didn´t find a answer for it.
is it possible to find the Process which changed the FileInfo.lastAccessTime or FileInfo.lastWriteTime of a File?
thanks alot!
I really wish that Google was better at searching for syntax:
decades :: (RealFrac a) => a -> a -> [a] -> Array Int Int
decades a b = hist (0,9) . map decade
where decade x = floor ((x - a) * s)
s = 10 / (b - a)
What's the simplest way, if any, to search Twitter for replies to any username that includes <string?
eg, how to search at the same time for replies to @google, @googletech, @firstgooglers, @nogoogle ?
I'm not a competent developer with any language but I can handle some easy JS or PHP or regex & Bash scripting...snippets welcome.
I have a contact page on my site that seems to have been latched on to by a spammer.
The error itself is:
System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
at System.IO.BinaryReader.ReadByte()
at System.Web.UI.ObjectStateFormatter.DeserializeIndexedString(SerializerBinaryReader reader, Byte token)
at System.Web.UI.ObjectStateFormatter.DeserializeValue(SerializerBinaryReader reader)
Google turns up little.
I assume they are submitting an invalid viewstate, but the exception has no line number so im stumped.
Following this tuto:
http://www.plaxo.com/api/openid_recipe
One of the steps is:
Need to look up whether the OpenID
entered already belongs to an existing
user on your site
My problem:
what's the OpenID like for a gmail account(I've no other OP account yet)? It seems to me that OpenID = https://www.google.com/accounts/o8/id for gmail, but how can I use that to look up since it's the same for all users?
I want to be able to map Google Docs' folder system to urls in my application and am just wondering how I can say "route, I want you to match an arbitrary set of nodes, and the last one is the file (or possibly a directory, I can check in the controller)".
So I could do things like:
www.mysite.com/documents/folder1/childfolderA/document
www.mysite.com/documents/root-level-doc
Can the routes.rb file do something like this?
I need to put a map in a webpage and I need that when the users clicks on certain area inside city limits on the map the user is redirected.
Wich is the best way without using Flash?
Define Hover polingons on a image.
SVG on the browser.
Some sort of Javascript, jQuery magical plugin out there?
Google Maps?
And example could be this but It's flash.
I really like how Things gives us ability to capture todos without switching to the app. How to do this? I can't find any relevant code with google. Any ideas, urls or maybe code snippets?
I am trying to create a blog using blogspot. It seems it is not possible to upload anything other than image files to blogspot. I want to upload a PHP file. I managed to upload the file to google sites, but it is coming as downloadable there instead of executing.
Is there a work-around here other than buying my own server space?
I am new to Perl and I want to write a Perl program that:
creates an HTTP request
sends it to any URL (e.g. http://www.google.com )
includes a cookie in the request
logs the http response codes in a file
(I am using Putty to connect with finesse server)
I want to perform a 'SELECT' statement with a byte array (binary) parameter as a condition.
I tried to google it, but didn't find anything useful.
In general, I keep information of files in the database. one of the properties is the file's hash (binary).
I want to give a hash to the SELECT statement, and get all rows with the same hash value.
Upon initialization, GDI+ (non .NET) creates a background thread, which can optionally be suppressed subject to calling some hook functions. MSDN, however, doesn't say what this thread actually does. Google doesn't seem to know either.
What is it for?
I have some contents inside div tag...
within that div tag content I have to search for img src tag value
based on that value i have to highlight some images and to show some div content
for example
if img src value contains "http://google.com/test/test.img" have to highlight and to show img is highlighted div content
if img src value contains some specific path "news/images/test1.jpg" have to highlight and to show img is highlighted div content
if img src value contains some specific path "news/articles/images/test1.gif" no need to highlight and to show img is not highlighted div content.