PHPRiot.com: Monitoring File Uploads using Ajax and PHP
473512
On the PHPRiot.com site today there's a new tutorial posted covering an alternate method for uploading files - using Ajax to help monitor the progress of the file upload.   In this article we will develop a solution that will allow users to upload a file from their computer using HTML forms. We will then determine the progress of the upload while it is in progress using Ajax, and display the status to the user.   They chose the prototype library and the APC extension for PHP to make their code work. The basic idea is, through a feature of APC, the script can receive a progress measurement back from the server. This is handed off to the Javascript (Ajax) functionality that then updates the progress meter to reflect the change.
350929
As Ed Finkler points out there's a new article posted (written by him) on the C7Y site (from php|architect) talking about his Inspekt library - an introduction to the filtering library showing how to help make your applications safer.   Inspekt is a library for PHP4 and PHP5 that aims to make safe input handing easier, and unsafe actions more difficult. Inspekt establishes a new development approach by wrapping input within "cage" objects, and requiring the developer to use validation and filtering methods to test and manipulate the input data. This article provides a brief introduction to Inspekt and its capabilities.   The article covers all of the basics - what the library can do for you, how it integrates into your application and how it helps to protect you from potential problems with the data in your superglobals ($_GET, $_POST, $_REQUEST, etc).
394439
Popular posts from PHPDeveloper.org for the past week:PHPBuilder.com: AJAX and PHP Part 2 - XML Communication/ProcessingCommunity News: Zend Framework 1.0.0 ReleasedMike Potter's Blog: Slides for today's e-seminar on Flex and PHPBlogSecurity.net: Interview with Stefan Esser on WordPressCommunity News: India's First PHP UnconferencePro::PHP Podcast: Newscast for 2007.06.28JSLabs Blog:  How to create Microsoft Office Documents with PHPPEAR Blog: Request for ideas: New developer FAQPHP-Coding-Practices.com: Composing Methods: Split Temporary VariableRob Allen's Blog: Spanish versions too!
242013
Popular posts from PHPDeveloper.org for the past week:ProDevTips.com: Writing a CMS/Community with Smarty and the Zend Framework: Part 6Nessa's Blog: Using an .htaccess with PHP Compiled as CGIArnold Daniels' Blog: How I PHP: The Output Handler - ContinuedMartynas Jusevicius' Blog: PHP 5 features: Class autoloadingSean Coates' Blog: Actually Solving a Problem (believe it or not)The Northclick Blog: Message Queue Project: First working versionStefan Mischook's Blog: A Question about object properties in PHP ClassesJob Posting: G2 Technology Seeks PHP Developer (Memphis, TN)Rob Allen's Blog: Zend_View: Access the view from a view helperDavid Walsh's Blog: Using PHP Generic Objects To Organize Your Code
153871
Latest PHPClasses.org Releases:PHP HTML Graph ClassForm Data CleanerimagebmpWMSServerSharedMem Session HandlingFTP Writer ClassDatabase Connection Classesfile2menuRequestDirectory MatchEasy CronSQL Handling FunctionsPHP JavaScript Tooltip Generator ClassUnit testing classDAOSQL2CSVmabp::request
472325
Latest PHPClasses.org Releases:XmlArraygoogleSiteMapMultiAjaxXMLTreeXMLPHPLoggerImage Uploaderpop3-streamUserAction
641738
In a new post to his blog, Robert Swarthout about a PHP frontend he's been developing for working with Subversion repositories:   The frontend needed to be designed in such a way that each developer could access their working copies and make the full range of actions against them. I decided to also use an AJAX setup so that pages would be quickly loaded and updated by a single toggle of a folder.   A few issues popped up, including tracking edits correctly through the interface. His solution revolved around an Apache MPM that could serve different pages to different users and groups. With this solution in place, the functionality could be built up, a list of which he provides including:  create working copy from repository (svn checkout) svn blame svn delete search files (via a grep/find combination, omitting .svn folders) svn rename
194115
On the PHP Security Blog, there's three new posts that Stefan Esser has written up that demonstrate some of the more destructive uses of Javascript that he's found:  JavaScript/HTML Portscanning and HTTP Auth Bruteforcing HTTP Auth in Firefox with JavaScript JavaScript Scanning and expose_php=On    While the first two are interesting, it's the last of these that most directly applies to PHP. He gives a simple "proof of concept" that checks to see if the embedded image is the correct "size" to be related to a webserver running PHP with the expose_php setting set to "on".
365469
Ajax Magazine has posted a new interview with Joshua Eichorn, the author of the PEAR HTML_AJAX package about who he is, details on the package, and what's to come.    I have contacted Joshua Eichorn, author of HTML_AJAX for an interview and as promised here is the interview. I asked Joshua about AJAX, HTML_AJAX, his experience, projects, current status,future projects and much more.    The interviewer starts off with general questions - who is he, how did he get started in PHP - that sort of thing. There's a mention of the time that Joshua has worked on phpDocumentor as well as his involvement in a local user group. They move on to the harder questions, talking about "why PEAR?" and what's next for the package's development...
75713
Chris Chabot has posted a PHP package he's worked up that functions as a daemon sitting and listening on a socket.   To deal with 1000's of concurrent, always on (comet aka hanging iframe) http (server) connections, and an equal amount of IRC client connections, plus being able to interpret and parse and delegate all the messages and events, i needed a very fast, stable, flexible and easy to use 'daemon' library for PHP.   He links to the tarball of the release and to the project page as well as including an example of its usage - creating a simple HTTP server with various hooks built in (like on_connect, on_read, and on_timer).
762479
Here's what was popular in the PHP community one year ago today:PHP-GTK Community Site: Add icons to GtkMenuphp|architect: php|tek 2007 schedule now onlineRyan Malesevich's Blog: Comments Closed After 21 DaysCodeSnipers.com: Book review: Beginning Ajax with PHP by Lee BabinCommunity News: TorrentVolve (PHP-driven Web-based BitTorrent)Stefan Mischook's Blog: Book Review: PHP 5 in PracticeJSLabs Blog:  How to create a php upload progress meterAlexander Netkachev's Blog: PHP IDE with debugger 0.1.6 is outDeveloper.com: Forms Validation with Symfony and PrototypeMarco Tabini's Blog: 5 PHP Performance Tips You Probably Don't Want To HearThe Codist Blog: I Will Never Understand the Appeal Of PHPArnold's Blog: Without a framework: (M)VCPHPBuilder.com: Reading RSS feeds in PHP: Part 1Mike Potter's Blog: AMFPHP 1.9 Examples from Renaun EricksonPHP 10.0 Blog: php -T (variable tainting)
664550
Sebastian Bergmann has posted an official call for help for a PHPUnit-related project that seems to be a more and more requested feature for the popular unit testing package - an Ajax-based test runner.   It would be great if the frontend for the browser-based test runner would make use of AJAX. Since I am clueless when it comes to both web design in general and AJAX in particular, I would appreciate if someone else could help me with implementing this test runner.   He's looking for the XHTML, CSS, and Javascript to put it all together as well as the Javascript that makes the magic happen. If you're interested in helping out, you can either contact him on the mailing list or in #phpunit on the Freenode IRC network.
340731
Uber-Uploader is a web based file upload mechanism that uses AJAX to display a progress bar.   This release makes significant improvement to the PHP finished page. Notable improvements are an XML formatted param file and an advanced debugging tool. If you are not redirecting to the PHP finished page there is no need to upgrade to this release. Anyone currently running a 5.x release can overwrite the 'uu_upload.pl', 'uu_finished.php' and 'uu_finished_lib.php' files.
187716
This month's edition of PHP Magazine has been released!
632338
Here's what was popular in the PHP community one year ago today:PHPBuilder.com: Using Ajax with PHP to Create an Interactive Web PageJSLabs Blog:  Top 5 PHP ToolsLorenzo Alberton's Blog: Navigation Through Paragraphs in an ArticleChristopher Jones' Blog: Review: Easy Oracle PHPStoyan Stefanov's Blog: The PEAR bookScott Mattocks' Blog: Crisscott OnForce Client DesktopDevShed: Developing a Form Director ClassDevShed: Creating a Simple Threaded Discussion ForumLeendert Brouwer's Blog: Writing Secure Web Applications with PHPPower Creative Seeks Interactive Developer/Analyst (Louisville, KY)PHP Security Consortium: New Product Launch - PHPSecInfoMarket Day: At A Glance: ASP.net vs. PHPJob Posting: LAMP Developer (PHP/MySQL) (Nashville, TN)Community News: Symfony Turns OneBard Farstad's Blog: Optimizing PHP for Intel based Mac
636915
Popular posts from PHPDeveloper.org for the past week:RefreshinglyBlue Blog: PHP vs Ruby - Practical Language DifferencesAndreas Gohr's Blog: Determine StumbleUpon RankingsPHP.net: PHP 5.2.4 ReleasedThe Bakery: Five New Posts - Custom Views, CSS, ViewInFile, ActsAs and Email ValidationPHPBuilder.com: File uploads made easyStefan Mischook's Blog: Turning on display_errors in WAMP - Video Tutorialphp|architect: Pro::PHP Podcast - Newscast for August 2007MT-Soft Blog: Creating a secure PHP production environment from Source CodeCommunity News: Andi Gutmans to Present at AjaxWorld 2007HowTo Forge: How To Set Up A Facebook RSS Feed Reader
557628
Joshua Eichorn, being the generous soul that he is, is offering in his latest post to answer any Ajax questions his readers might want to know about.    Have you wondered whats the easiest way to submit a form using AJAX, what the status of HTML_AJAX development is, or what is covered in Understanding AJAX?   Well nows your chance.    To get your question(s) in, just submit them as a comment on this post and he'll come back in a few days with the answers.