Tag Archives: PHP

Thoughts on Netsuite PHPToolkit v2013_1

Netsuite has released their 2013_1 version of their PHPToolkit (php library for accessing Netsuite Backend API). Since I had last looked into their toolkit, the Netsuite developers have completely rewritten their toolkit, so I thought I should mention some of … Continue reading

Posted in Netsuite PHPToolkit | Tagged , , , | 2 Comments

Installing Simple LDAP in WordPress “undefined function ladp_connect()”

When trying to install a wordpress site with the LDAP simple plugin (on Ubuntu Server), I got a blank page for the login page and found the following error in my /var/log/apache2/error.log: PHP Fatal error: Call to undefined function ldap_connect() … Continue reading

Posted in Linux, System Administration | Tagged , , , , , | Leave a comment

New Version of the PHP_ToolKit 2012.2

Netsuite has recently released a new version of their php toolkit (version 2012.2). It looks like they did a pretty big rewrite of a lot of the code. For those of you familiar with the old version of the toolkit, … Continue reading

Posted in Netsuite PHPToolkit | Tagged , , , , , | 5 Comments

Netsuite API Raw XML Request

Recently someone asked me if I could send them a copy of the XML that gets sent back and forth when you make a Netsuite API call. This could be useful if you want to implement the Netsuite API in … Continue reading

Posted in Beginning with the PHPToolkit, Netsuite PHPToolkit | Tagged , , , , , | 1 Comment

Netsuite API Testing Script

Although I have posted many code samples on this site, I have rarely included a fully functional script. Often login information or execution code was not included since it wasn’t relevant to the particular post. However, here is a complete … Continue reading

Posted in Beginning with the PHPToolkit | Tagged , , , , , , | 1 Comment

Netbeans PHPUnit Code Completion

By default, Netbeans dosen’t do code completion for PHPUnit classes even though it includes support for PHPUnit. Thankfully, adding in the code completion support is very easy. Simply go to Tools>Options>PHP>General and then click “Add Folder” under the Global Include … Continue reading

Posted in PHP | Tagged , , , , | 1 Comment

PHPUnit require_once(PHP/CodeCoverage… Error on Ubuntu

When trying to install PHPUnit on Ubuntu 11.10, I received the following error: PHP Warning: require_once(PHP/CodeCoverage/Filter.php): failed to open stream: No such file or directory in /usr/bin/phpunit on line 38 PHP Fatal error: require_once(): Failed opening required ‘PHP/CodeCoverage/Filter.php’ (include_path=’.:/usr/share/php:/usr/share/pear’) in … Continue reading

Posted in PHP | Tagged , , , , , | Leave a comment

Retrieving and Displaying Netsuite Address Information

Adam Haeder requested to see some sample code for accessing address information via the Netsuite Webservices API. So here it is:

Posted in Netsuite PHPToolkit, PHP | Tagged , , , , , , | 1 Comment

PHP Output Buffering (with HTML)

Over the past year I have made heavy use of PHP output buffering. Although it serves no function purpose, it can make for much more readable code; I have found it particlarly useful for outputting HTML from methods. Consider the … Continue reading

Posted in Html, PHP, Uncategorized | Tagged , , , , | Leave a comment

Symfony including extra libraries or classes

I had a need lately to include an external library of php classes in a Symfony project. On option was dumping them into the lib folder, but I didn’t want to do that. At first I tried placing a script … Continue reading

Posted in 1.4, PHP, Symfony | Tagged , , , , | 1 Comment