SimpleTest for Wordpress plugins
Does anyone has any insight on unit-testing wordpress plugins with Simpletest, or other testing packages? ...
Does anyone has any insight on unit-testing wordpress plugins with Simpletest, or other testing packages? ...
Hi, Do you know of a good method/script for finding the text 'diff'? ...
Seems simple enough I just need to remove userlist as a header in the default punbb template which is proving harder than it needs to be. ...
I'm a freshly graduated (read: inexperienced) developer who's been tasked with determining the feasibility of integrating Magento with an SAP-based backend. No developer at our company has any experience working with either SAP or Magento, so I was hoping that the Stack Overflow community may be able to point me in the right direction wi...
I have a String field where I store two-word area names. Ex: New York Thing is, whenever I try to query that field (area:New York) no results come up, even though it is stored exactly as New York. Why is this? The results DO come up if I search like this: area:"New York" but they wont come up if searching like this: area:New. Any id...
I'm working on a project that has multiple theme/skin and is extensible via plugins. As it stands right now my folder is structured as such. vc/ controller/ home/ view/ classic/ home/ spring/ home/ plugin/ feedReader/ view/ locale/ template/ header.ht...
I am sending this to a function, and I want double-quotes around the value of the variable below, example $var = "New York" (note the quotes) $fq.=" + area:$state"; So when I echo $state I want double quotes around it, how can I do this? Thanks ...
Hope here are some with more knowledge about Zend Framework than me, I've been trying to search for the answer but I'm not able to fin anything anywhere. Problem: When adding the content of a Zend_Form to the database with the use of Zend_Db the characters æ ø å is replaced by øæå System WampServer 2.0i Apache 2.2.11 MySQL 5.1....
Hi, i have a simple database tree with parentid and i want to read the db and get an array like above Array ( Title: Category 1 Children => Array ( => Title: Category 1.1 => Title: Category 1.2 Children => Array ( ...
Hello, I am writing a PHP script (which also uses linux bash commands) which will run through test cases by doing the following: I am using a PostgreSQL database (8.4.2)... 1.) Create a DB 2.) Modify the DB 3.) Store a database dump of the DB (pg_dump) 4.) Do regression testing by doing steps 1.) and 2.), and then take another databa...
Hello all, Ambiguous question, I know. But anyway, I'm developing a client's site that will enable users to donate to people doing charity work abroad. I need the users of the site who create their profiles to be able to input their PayPal email address (for example) and as such any users who click the big 'Donate' button on their profi...
Hello all, I'm working with a PHP site that needs to log errors to a database. As such, I've set up a .htaccess file as follows: ErrorDocument 404 /404.php 404.php contains all of the logging functions necessary to insert the log into the database. What I'm having problems with is retrieving the URL of the file that triggered the 40...
Maby the title is confusing , but i try to explain here what i'm trying to do. I'm working on the oscommerce 3 project inside another cms. Above my expectations i succeed verry well. But there's one problem left for me , i cant get the generated dynamic titles from oscommerce into the cms. Oscommerce uses a template class and combine ...
I have some PHP code, listed below. I have a trap that tells me if the data input does not match any of the tests in the code ("There is no spoon", it says. Clever, eh?). The trouble comes when data - that isn't unusual in any way that I can see, and for that matter, is completely similar to other data that survives this trap - that do...
how i can do it? but i want it number with out any exrta and i tried getimagesize but its not get me the number only ...
In the past I have created a php file that generates the XML and then referenced it in place of the xml file and it has worked. I am trying this with a precompiled flash app and it is not working. Any ideas why? It works if I run the script, save it and then reference that file to the swf. I would rather not generate a file to the file...
ok heres my problem, im creating a site where people sign up first then pay straight after, my problem is what if the customer who signs up uses a different card to pay so for example, his wife. im trying to work out how to match the sign up info and the payment info without having to store the card details and get an ssl cert.. i need t...
My knowledge of php is not good and I need help. I have this php form but I don't know how to add a CAPTCHA mechanism. How do I achieve this? ...
Hi all, I'm doing a bit of coursework for university and I'm completely baffled. Basically I've made a basic web server (which uses sockets) in C. I've now got to make it so that any .php file, is run through the php compiler and output. The problem I'm having is that I've tried using system() and execlp() (the latter was recommended b...
I have been simply writing 2 cookies, 1 containing the user ID, and the 2nd containing 1/2 the SH1 hash of the password (salted). The way it works is self-evident. I realized that I wasnt doing this in the most secure way. Whats a better way of doing this? Preferably using a single authentication cookie. Also, is there a point to usin...