Quantcast
Browsing all 137 articles
Browse latest View live

PHP file_get_contents converting iso-8859-1 Spanish characters to "?"

I hope someone can help me with this. I am using file_get_contents to read a Spanish page encoded with iso-8859-1, for example,...

View Article


SQL server – How to find the highest number in ‘‘ in a text column?

Lets say I have the following data in the employee table: (nothing more) ID FirstName LastName x ------------------------------------------------------------------- 20 John Mackenzie...

View Article


elasticsearch compression and performance for front end

Sorry in advance if it sounds very naive. I started working with Elastic Search, I have about 10GB data coming in that i wanted to store in Elastic Search everyday, I read Elastic search does...

View Article

Running testng in a loop by modifying global variables

I have a TestNG program that takes certain parameters as arguments from command line. TestNG is invoked programmatically. One of these arguments is “locale” which indicates either US or DE or ES etc....

View Article

Getting DocumentStatus with Adobe Echo Sign API

I am using Adobe Echo Sign for sending documents to sign digitally. I want to get status of the document after signing it, this is how I am doing it static EchoSignDocumentService16 ES = new...

View Article


Connecting to MS SQL Server 2000 using PHP with Windows Credentials

I know this is not a new question because i found lots of similar questions but not the one which solves my issue. Well my question is how do i connect to a remote sql 2000 server using other domain...

View Article

WordPress 3.5 and memory exhausted error

i have a problem related to wordpress 3.5 and php 5.3 on apache2 with mysql version 5.5.24. blog is installed on a Virtual machine with 4gb of ram and 1vCPU. Php memory limit is 128M;but some times i...

View Article

iTunes Search API returning extra, incorrect results

I’ve been using the iTunes API in my app for a while now, but as of the last few days I’ve noticed that it is returning odd results. I currently use it to search for software however it’s now started...

View Article


Function unserialize offset error

I’m building a multilanguage website with Laravel4. In the database i have column named “content” that contains serialized values for multiple languages. For example: a:3:{s:2:"gb";s:15:"This is...

View Article


full text search with mongoosastic does not work

Using expressjs, mongoose and mongoosastic plugin to do “full text search” but it is not work. I am wrong in some where? Thanks!. By the way, please recommend to me some other tool to do “full text...

View Article

Exclude fields from being indexed by Elasticsearch via CouchDB-River

I am indexing ealsticsearch with the CouchDB-River plugin. At the moment I am trying to implement search for users, where a simplified document would look something like this: { username: "john",...

View Article

Ajax filter products whit checkboxs

I want to filter products mysql database. I have to do it like this: asos.com/es/Mujer-Zapatos/8oob/?cid=4172&via=top&xr=1&mk=VOID&r=3 I have no idea how. I’ve only managed to make...

View Article

Add style sheet for a specific browser language

I am trying to obtain a particular style for a input considering the browser language. <input type="text" runat="server" id="name" onchange="setNameValue" class="name" /> and the css file looks...

View Article


OpenGL ES Shaders and 64-bit iPhone 5S

I just started testing with the iPhone 5S and the 64bit architecture on an OpenGL ES app. The problem I’m seeing is that (CGFloat) values are way wrong when they get to the shaders. I pass in 0.8 and...

View Article

regex, different ending string

Im trying to match everything for the E) “column”. A1147/13 NOTAMN Q) ESAA/QRRCH/IV/BO /AW/000/023/5933N01746E002 A) ESSA B) 1311140900 C) 1311211500 D) 14 21 0900-1500 E) UPPER LIMIT ES R16C...

View Article


Summa C program crashing

Excuse me if this tread has already been published before, I have few time for getting this code right because I need to send it tomorrow to my programming teacher but I’m not able to see what’s wrong....

View Article

how to upload pdf files in php?

PHP, I have troubles uploading pdf files with special characters, like (à, ñ, %,), with files that are normalize i have no problem, but when people use espacial characters they have problems viewing...

View Article

Browsing all 137 articles
Browse latest View live