PHP Script for XML-RPC calls from outside Drupal
Here is a set of PHP functions I put together for calling Drupal's core XML-RPC methods without using the Services API:
<?php
function assemble_request($method, $args = array(), $dump_request = FALSE){
$request = xmlrpc_encode_request($method,$args);
$context = stream_context_create(array('http' => array(
'method' => "POST",
'header' => "Content-Type: text/xml",
'content' => $request
)));
if($dump_request){
echo '
<
pre>';
echo htmlentities($request);
Burlington, VT PHP Users Group Meeting - Thu 3/26/2009 6pm
What: Burlington, VT PHP Users Group Meeting
When: Thursday March 26th, 2008, 6:00 pm - 8:00 pm
Where: Vermont Center for Emerging Technologies (VCET)
Easy Problems are the Hard Problems
Special guest Paul Reinheimer takes an in-depth look at the easy/hard
parts of web applications.
Consider "Easy" problems in web applications, like login forms. On the
surface, terribly simple, slap some escaping functions on a query and
you're done! Well, not quite, what about brute force login attempts?
Locking accounts? Captachas!
RESUME: Drupal Developer
If your current search and/or recruiter isn’t generating worthy results, give us a shot. We can usually locate 1-3 rock star candidates within a few hours to a few days. Most of our clients are amazed at the caliber of candidates we are able to find and the speed in which we do it.
To get started, simply send an email with the job details and the salary and/or hourly range offered and we'll get to work.
Thank you,
Beau Gould
Executive Advisor
Capital Markets Placement
bg @ capitalmarketsp.com
Reunión Grupo PHP Perú - 7 Febrero - Miraflores
Dokeos Latinoamérica (bueno, principalmente Michela en realidad) organizamos la primera reunión del grupo PHP Perú (no han tenido reunión antes) el Sábado 7 de Febrero en Miraflores. Para los que están interesados en compartir ideas, encontrar gente o seguir las charlas de sus humildes servidores, sirva se seguir este enlace: http://www.dokeos.com/latino/eventos/php-peru-2009-02-07
Read morehttp://localhost/phpmyadmin
Drupal6 fungerar men efter att jag avaktivera FCK editor fungerar inte länken http://localhost/phpmyadmin/
http://lacalhost/ fungerar. Jag når WAMPservern och phpinfo.
Phpmyadmin och sqlitemanager fungerar inte men det är inget fel i Drupal.
RESUME: Drupal Developer - NYC/NJ
I am currently working with a couple of experienced Drupal Developers from the tri-state area who are seeking full time jobs. If anyone would like to see their resumes, let me know.
Thank you,
Beau Gould
Executive Advisor
Capital Markets Placement
www.cmp.jobs
bg@capitalmarketsp.com
Drupal in China
Why do programming and PHP/Drupal in particular lack popularity in China? Is it because of language barriers? lack of education? A cultural problem with Open Source?
Please give me your thoughts!
Read moreMultiple Refresh Crashes Site
We are running RHEL5.1, Apache2, MySql5, PHP5 and have run into an issue. Our site runs find with normal usage, but if you hold the refresh (F5) key, then the site will crash. We have gotten it to the point that it will not crash the server, but it will take a while before the page responds (for any user). I know that this does not happen on other sites, so we are most likely missing a configuration setting somewhere. Here is what we have:
Apache
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 2
StartServers 8
MinSpareServers 5
MaxSpareServers 20
using hook_theme to style module output
Hello everyone,
I am writing a module that requires quite a bit of theming and I want to be able to use a tpl to control the layout of the page callback on a menu item. I have tried using the theme() function like so but I am getting a blank screen in response:
in the menu code: 'page callback' => 'featured_page',
the callback function:
function featured_page () {
$hello = "Hello world";
return theme("main_page", $hello );
}
the theme function:
function bookeditions_theme() {
$path = drupal_get_path('module', 'bookeditions');
$theme['main_page'] = array(
Available: SENIOR OO PHP 5 / Drupal / MySQL 5 Developer
I have a senior-level PHP/Drupal/MySQL Developer actively seeking a full time opportunity in NYC in the 105-115k salary range. If you would like to see his resume, please contact me - It doesn't cost anything to look.
Thank you,
Beau Gould




