<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Thu, 23 May 2013 21:00:01 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Juozas Kaziukenas' Blog: How to use external libraries in PHP?]]></title>
      <guid>http://www.phpdeveloper.org/news/12553</guid>
      <link>http://www.phpdeveloper.org/news/12553</link>
      <description><![CDATA[<p>
As a part of his work for the WinPHP Challenge <i>Juozas Kaziukenas</i> looks at some of the external library types that you can use with your (Windows) PHP applications.
</p>
<blockquote>
External libraries are useful for performance demanding tasks where PHP is simply too slow. Also PHP can work as front-end system for various back-end systems (where server doesn't provide any PHP supported communication types). I have written some posts about using <a href="http://dev.juokaz.com/winphp-2009/using-php-with-c-written-libraries">.Net libraries in PHP</a> so far, but there are some other choices available too.
</blockquote>
<p>
He looks at the three types of library choices - <a href="http://pecl.php.net/">PHP extensions</a>, <a href="http://uk.php.net/manual/en/class.com.php>COM obejcts</a> and running commands through something like an <a href="http://php.net/exec">exec</a> call. For what he wants to do, though, the COM objects are the best fit for the job.
</p>]]></description>
      <pubDate>Sat, 23 May 2009 20:26:09 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[An Phillips' Blog: COM/.NET Interop in Zero PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/11840</guid>
      <link>http://www.phpdeveloper.org/news/11840</link>
      <description><![CDATA[<p>
<i>Ant Phillips</i> looks a bit at <a href="http://antblah.blogspot.com/2009/01/comnet-interop-in-zero-php.html">some interoperability</a> between the PHP and Project Zero when to comes to using the COM/.NET extension.
</p>
<blockquote>
Zero doesn't currently support the COM/.NET extension in PHP. No matter though, there is a handy open source project called <a href="http://sourceforge.net/projects/jacob-project/">JACOB</a> that bridges between Java and COM/.NET. In fact, there is an easier way to do this using a Groovy library called <a href="http://groovy.codehaus.org/COM+Scripting">Scriptom</a>. This is really just a friendly wrapper around JACOB to provide a better syntax for calling methods and accessing properties. 
</blockquote>
<p>
He also includes a quick introduction and howto on getting the functionality up and working in a Windows environment - download, add the JAR to your path, edit your php.ini and copy and paste some example code in to see it in action.
</p>]]></description>
      <pubDate>Thu, 29 Jan 2009 15:03:25 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Developer Tutorials Blog: Extracting text from Word Documents via PHP and COM]]></title>
      <guid>http://www.phpdeveloper.org/news/9861</guid>
      <link>http://www.phpdeveloper.org/news/9861</link>
      <description><![CDATA[<p>
In a <a href="http://www.developertutorials.com/blog/php/extracting-text-from-word-documents-via-php-and-com-81/">recent blog post</a> <i>Akash Mehta</i> showed how to reach into a Microsoft document (a Word file) and pull out the content inside via a PHP script.
</p>
<blockquote>
Communicating via COM in PHP is easy as ever; especially for people coming from a VB background where executing complex tasks in MS-applications is a piece of cake, you will feel right at home in PHP. In fact, VB COM calls can be converted to PHP COM calls in just a few simple search and replaces.
</blockquote>
<p>
He shows how to use the COM extension in a (Windows) PHP installation to access the text inside the document and manipulate the contents however you'd like (even writing them back out to another Word file).
</p>]]></description>
      <pubDate>Wed, 26 Mar 2008 12:02:06 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Job Posting: Assembleron Ltd Seeks Administration Guru (Reading, UK)]]></title>
      <guid>http://www.phpdeveloper.org/news/8923</guid>
      <link>http://www.phpdeveloper.org/news/8923</link>
      <description><![CDATA[<p>
As posted <a href="http://blog.assembleron.com/2007/10/29/recruit-a-guru/">on Nick Halstead's blog</a>:
</p>
<table cellpadding="3" cellspacing="2" border="0">
<tr>
	<td style="font-weight:bold;vertical-align:top;font-size:11px">Company</td>
	<td style="font-size:11px">fav.or.it</td>
</tr>
<tr>
	<td style="font-weight:bold;vertical-align:top;font-size:11px">Location</td>
	<td style="font-size:11px">Reading, UK</td>
</tr>
<tr>
	<td style="font-weight:bold;vertical-align:top;font-size:11px">Title</td>
	<td style="font-size:11px">Administration Guru</td>
</tr>
<tr>
	<td style="font-weight:bold;vertical-align:top;font-size:11px">Summary</td>
	<td style="font-size:11px">
	<p>
	 We are on the recruitment trail again! We are looking for an administration guru who hopefully has some good core programming skills as well. As fav.or.it expands we need someone who can look after all the server infrastructure and keep things running smoothly. This is a fantastic opportunity to get involved in a company that is using cutting edge web technologies and is expanding rapidly.
	 </p>
	 <p>Essential Skills</p>
	 <ul>
	<li>Linux Systems administration
	<li>Apache Administration
	<li>MySQL Administration
	</ul>
	<p>Desired skills</p>
	<ul>
	<li>Knowledge of VMware Server and other VMware technologies
	<li>Experience in any of the following MRTG, PRTG, Cacti
	<li>Perl/PHP/Ruby Scripting
	<li>Windows Server 2003 administration
	</ul>
	<p>Location: Reading</p>
	<p>Salary based upon experience.</p>
	<p>To apply for this role send your CV to jobs [at] <a href="assembleron.com">this domain</a>. Agencies need not apply unless they enjoy abuse.</p>
	</p>
	</td>
</tr>
<tr>
	<td style="font-weight:bold;vertical-align:top;font-size:11px">Link</td>
	<td style="font-size:11px"><a href="http://blog.assembleron.com/2007/10/29/recruit-a-guru/">More Information</a></td>
</tr>
</table>]]></description>
      <pubDate>Mon, 29 Oct 2007 10:21:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Milw0rm.com: Exploit - PHP5 COM Object Security Bypass (Windows)]]></title>
      <guid>http://www.phpdeveloper.org/news/8885</guid>
      <link>http://www.phpdeveloper.org/news/8885</link>
      <description><![CDATA[<p>
An exploit for PHP's COM objects on the 5.x series <a href="http://milw0rm.com/exploits/4553">has been reported</a> by <i>shinnai</i> - an issue that allows for a bypass of safe_mode and disable_function settings.
</p>
<p>
The <a href="http://milw0rm.com/exploits/4553">exploit</a> has been published as a PHP file for easy testing on your Windows/PHP installation (it was tested on WinXP Pro SP2 on both the CLI and Apache). No additional modules are needed for this exploit - only the COM functions and a Windows system.
</p>
<p>
The issue comes from an overflow in the str_repeat function allowing for the execution of whatever applications the developer wants on the remote Windows machine (including the ability to create and remove files and directories). There is no path for this issue currently (should be corrected in the next minor PHP release).
</p>]]></description>
      <pubDate>Tue, 23 Oct 2007 09:31:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[JSLabs Blog:  How to create Microsoft Office Documents with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/8163</guid>
      <link>http://www.phpdeveloper.org/news/8163</link>
      <description><![CDATA[<p>
From the JSLabs blog today, there's a <a href="http://www.whenpenguinsattack.com/2007/07/02/how-to-create-microsoft-office-documents-with-php/">quick illustration</a> of how to dynamically create three different types of Microsoft Office files - a Word document, Powerpoint and an Excel file.
</p>
<blockquote>
There are two main ways to build Excel, Word, and PowerPoint documents using PHP. The first is by using the COM library (only if you are using a Windows server) and the other is by using a more standardized approach such as HTML or CSV.
</blockquote>
<p>
All <a href="http://www.whenpenguinsattack.com/2007/07/02/how-to-create-microsoft-office-documents-with-php/">three examples</a> use the COM method and make basic structures to save out. They also include a screenshot (and description) showing where you can find the list of functions you can call to the COM object for each application.
</p>]]></description>
      <pubDate>Mon, 02 Jul 2007 12:02:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Adam Trachtenberg's Blog: PHP 5 + COM + Skype Help Wanted]]></title>
      <guid>http://www.phpdeveloper.org/news/6257</guid>
      <link>http://www.phpdeveloper.org/news/6257</link>
      <description><![CDATA[<p>
<i>Adam Trachtenberg</i> is looking for some help in the COM department, specficially in <a href="http://www.trachtenberg.com/blog/2006/09/12/php-5-com-skype-help-wanted/">using it with PHP5</a>.
</p>
<blockquote>
<p>
I'm trying to use PHP 5.2 to talk to Skype via the COM extension and Skype4COM interface.
</p>
<p>
I'm using this example from the Skype Forum, but I get a COM exception of "Skype client is not installed."
</p>
</blockquote>
<p>
He also points to <a href="http://forum.skype.com/index.php?s=&showtopic=59155&view=findpost&p=276292">someone else</a> with the problem, but still hasn't quite found a solution. Anyone <a href="http://www.trachtenberg.com/blog/2006/09/12/php-5-com-skype-help-wanted/">want to help</a>?
</p>]]></description>
      <pubDate>Wed, 13 Sep 2006 07:15:49 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[InformBank.com: How to create Microsoft Office documents on the fly using PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/5971</guid>
      <link>http://www.phpdeveloper.org/news/5971</link>
      <description><![CDATA[<p>
In <a href="http://web.informbank.com/articles/technology/php-office-documents.htm">this new tutorial</a> from InformBank posted today, they show how to use PHP (and a few handy tricks) to create Microsoft Office documents on the fly.
</p>
<blockquote>
<p>
Sometimes you have to generate some MS Office document for the users of your website using dynamic data. For example, few days ago, I had to generate some Excel reports using data from some tables in MySQL. I knew about the COM but it has a lot of disadvantages, including Windows-only platform and not very high speed. CSV is much easier and faster but you can't format the cells to make them better-looking. The method I've never thought about before was using HTML. 
</p>
<p>
So here came the inspiration and after some research and experiments I wrote this tutorial for all of you who are looking how to create Office documents on the fly using PHP. Of course, I included the COM methods and some methods to create other MS Office documents like DOC and PPT, to make this tutorial as full and as useful as possible.
</p>
</blockquote>
<p>
The <a href="http://web.informbank.com/articles/technology/php-office-documents.htm">tutorial starts with</a> the creation of documents (Word, Excel, Powerpoint) with the COM functionality (the standby method PHP has had for a while). Of course, it also requires the script to be running on Windows to work. So, what's the other option? As he goes on to explain, it's something as simple as HTML.
</p>
<p>
He includes two examples of alternate mathods, showing hhow to use HTML or a CSV file to create a custom Excel document. He also throws in some code to help you stream out the resulting document as a zip file to the browser.
</p>]]></description>
      <pubDate>Mon, 07 Aug 2006 11:57:37 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Justin Silverton's Blog:  Excel and php without COM]]></title>
      <guid>http://www.phpdeveloper.org/news/5057</guid>
      <link>http://www.phpdeveloper.org/news/5057</link>
      <description><![CDATA[At times, working within the confines of a Microsoft world can be frustrating, especially when it comes to making more advanced versions of files (i.e. a "real" Excel file versus a CSV). In <a href="http://blinduser.blogspot.com/2006/03/excel-and-php-without-com.html">this example</a>, <i>Justin Silverton</i> gives us an example of how to do just that - use PEAR to create an Excel 5 file.
<p>
He uses the <a href="http://pear.php.net/package/Spreadsheet_Excel_Writer">Spreadsheet_Excel_Writer</a> package to create the file without the need for getting COM in the mix. The package makes it simple to take in a dataset and write it out to a workbook - complete with column headers.
<p>
He <a href="http://blinduser.blogspot.com/2006/03/excel-and-php-without-com.html">shows</a> two ways to save the file as well - creating a local file (on the web server) and pushing it out to the browser.
<p>
It's a simple introduction, but it's a starting place - especially for those with a project plan that requires it.]]></description>
      <pubDate>Tue, 28 Mar 2006 07:01:46 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Marcus Whitney's Blog: Microsoft on PHP (podcast)]]></title>
      <guid>http://www.phpdeveloper.org/news/4959</guid>
      <link>http://www.phpdeveloper.org/news/4959</link>
      <description><![CDATA[In <a href="http://www.marcuswhitney.com/?p=72">this new blog entry</a>, <i>Marcus Whitney</i> talks about the <a href="http://www.phparch.com/shop_product.php?itemid=112">upcoming php|architect webcast</a> he'll be hosting interviewing two people from Microsoft - Brian Goldfarb and Joe Stagner.
<p>
<quote>
<i>
I'm pretty excited about this weeks webcast. I'll be speaking with Brian Goldfarb and Joe Stagner of Microsoft about how PHP can be used for enterprise development on the Windows platform.
<p>
I think that everyone should consider checking in and asking these guys some questions.
</i>
</quote>
<p>
He <a href="http://www.marcuswhitney.com/?p=72">also mentions</a> that Microsoft, for a long time, only saw PHP in the context of the LAMP "package" and not as a stand-alone language. Seems their outlook has changed a bit - check out <a href="http://www.phparch.com/shop_product.php?itemid=112">the webcast</a> to see just how much</a>...]]></description>
      <pubDate>Thu, 09 Mar 2006 07:02:23 -0600</pubDate>
    </item>
  </channel>
</rss>
