Specific node match of xpath via PHP parser [closed]

Is it possible to grab only specific nodes in a Xpath query with PHP?

This is what I am trying right now.
$agents = $agent_xml->xpath(‘row/calls | row/user | row/status | row/full_name’);

As you can see I am attempting to grab only nodes that are under row and have the name of calls, user, status, full_name. Am I [...]

PHP zip does not work

I made a drupal module, one of function of the module is to compress some files to be a zip package. It works fine in my local environment(xampp), but fails on server. My server does has php zip extension enabled, since I can see zip information on php info and I can unzip file with [...]

Spanish characters not saving in database correctly

I’m going through some feeds of spanish blogs and saving them in a database. For example, the word: Diseño! , I can see it correctly in the script that gets the feeds but when it saves in the database it saves like Diseñó! . I have my database set to utf8 . I think i’ve [...]

JAXL 3. Shutting down

I’m tryinig to use jaxl 3.0 for notifications over xmpp. The only thing, i can’t undersdand – how i can shutdown JAXL server, after job is done?. A can`t see any callbacks for stopping jaxl-server
Here is part of my code
public function __construct(JAXL $jaxl){

PHP converting WIM date format

I am writing a wrapper library for WIM files (long story), but I have been having difficulty with the dates encoded in it. The format is:
[creationtime] => Array

Android PHP connection through Java

I am a beginner in android.I have built an application for login for leave module.For connecting it with mySql through PHP..I tried this code from a website.
package com.example.axdroid;
import java.util.ArrayList;
import java.util.List;

import org.apache.http.HttpResponse;
import org.apache.http.NameValuePair;
import org.apache.http.client.HttpClient;
import org.apache.http.client.ResponseHandler;
import org.apache.http.client.entity.UrlEncodedFormEntity;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.impl.client.BasicResponseHandler;
import org.apache.http.impl.client.DefaultHttpClient;
import org.apache.http.message.BasicNameValuePair;

import android.app.Activity;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import android.widget.Toast;

public class Axdroid extends Activity [...]

Web site Hosting Issue: Redirecting to localhost

I have created my website to work inside the Server Machine as http:// localhost: 9005 or http:// 9005. Now i am having a site mysite.com. I am using IIS7. I have added created a new Website and modified the binding such that there are two bindings now
They are
IP Address : Unassigned Port:9005 HostName: -
IP [...]

ldap_add error `unknown attribute in the data`

I am able to connect to the ldap server, the id has credentials to add users. I am able to bind to the user id without any issues. When I attempt to add an entry in ldap, I get the error message : ldap_add(): Unknown attribute in the data
$info["dn"] = “cn=jack,o=ldapdb”;
$info["o"] = “ldapdb”;
$info["cn"] = “John [...]

What software can I use to auto generate class diagrams in PHP?

I have some source code and I would like to auto generate class diagrams in PHP.
What software can I use to do this?


How to create this JSON structure in PHP from my data? [closed]

I have a multiple time series in a MySQL database that I am fetching with PHP
(fetch_assoc) .
Each series has the same X axis but different Y axes.
X axis: datetime (POSIX values).
Y axes:

I need to output this data in a specific JSON structure.
Here is an example of the proper end result:
{ “firstRow” : { [...]

Hire Me
Follow Me!
Most Popular Articles & Pages
Because your vote is Important
Sorry, there are no polls available at the moment.