I'd like to set up a task tracking system on a hosted PHP server to track small-scale development projects.
Something simple but reliable would be great.
A Google search pulls up a few names, but I wanted to get some opinions from people who have used a PHP-based system for this.
...
I am trying to write a function to format a date and time for me. I have an almost identical function which formats just a date. That function works fine. I just added some code to try and have it format the date with a time. It should return something like "May 18, 2009 9:50 PM" but I am getting this warning:
Warning: mktime() expects ...
Hi Guys,
I am making a new wordpress template and I want to just get, in text format, the list of tags associated with a post. I am using
get_the_tag_list($id)
But the problem is that it returns the URL as well as the text. Is there any way to just get the "text" of tags attached to a post seperated by a comma ?
i.e. "tag1, tag2, tag...
is it crucial to close mysql connections efficiency wise? or does it automatically close after php file is run?
...
Hi there !
I'm using certain webservices which give me a really big but simple WSDL listing all of the calls I can use, however each call needs it's very own XSD
Does anyone know can I specify the url to the XSD so the php extension can use any array as parameter to generate the proper XML ?
thanks in advance !
...
I have this PHP web application.
It has a link to an XML file to which I have no control.
How can I make the XML display nicely?
I just want it to line up in a table or it can even look like a data file.
Can I attach an XSLT file or style sheet to the XML file from the outside
i.e. I wish I could, but I can't put this in the XML:
<...
What I need done is simple... but its 3am and Im probably overlooking the obvious.
Im coding a simple forum. One table stores the forum titles, descriptions, etc, while the other stores the posts. In the forum listing, that shows the list of all forums, I want to grab the latest post in each forum, and display the post subject, poster a...
I have a program which reads an XML file using the DOM functions:
$doc = new DOMDocument('1.0');
$doc->load("myFile.xml");
As I traverse the nodes in this document, is there a way to tell which line of the input file the node was defined on?
For example:
1: <!-- myFile.xml -->
2: <foobar>
3: <foo>FOO</foo>
4: <bar>BAR</bar>
...
$serializer = new XML_Serializer($options); $serializer->serialize($some_array);
$output = $serializer->getSerializedData();
I want to surround an arbitrary element generating XML with an above cord in CDATA, but I can't do it.
Will not there be any good method?
XML_SERIALIZER_OPTION_CDATA_SECTIONS = true
When I used it with this opti...
I would like to go about creating a multi-page form that changes based on options that are selected on previous pages of the form.
I want to use Zend_Form, and I know JavaScript will be in charge of making the different form fields appear/disappear, but I don't know how the two will work together exactly.
My question is how to get star...
Hello,
I've tried asp.net and jsp...and the programming language was powerful enough to create both desktop and Windows apps.
Butwhat can I possibly do with php other than creating web applications? Does it have some kind of runtime or framework?
Thanks
...
any idea why fopen would timeout for a file if it is on my server and I know the url is correct?
update: sorry, i should have mentioned this is in php.
the code is:
fopen($url, 'r');
It works if i put in a relative path for the file, but not if $url is a url in my server (but it works for google.com). Thanks for the help.
Alaitnik's...
I am trying to use a variable to get a function in a extended class, this is what I want to do but I can't get it to work, Thanks for your help.
class topclass {
function mode() {
$mode = 'function()';
$class = new extendclass;
$class->$mode;
}
}
...
I have created a test xml whose content is in gujrati using php
$doc = new DomDocument('1.0','UTF-8');
$fieldvalue = mb_convert_encoding($question['questiontext'],'ISO-8859-1','UTF-8');
$value2 = $doc->createTextNode($fieldvalue);
XML file is created successfully but when i try to use simplexml_load_file function to render the XML ...
Hi again, guys.
I work on a LAPP environment (linux apache postgresql php), and i'm just triyn to find out how to use the prepared statement within the transaction (if is possible).
I hope code will explain better then words:
Example 1, simple transaction:
BEGIN;
INSERT INTO requests (user_id, description, date) VALUES ('4', 'This do...
I am parsing the public timeline xml from twitter and want to display images next to the statuses.
The problem is some image urls contain strange characters:
e.g.
http://s3.amazonaws.com/twitter_production/profile_images/68803670/Gryn_i_h%E4ngmattan_normal.jpg
Some of the characters can be replaced with urlencode, but I have no idea...
if transaction fails on paypal page or ccavenue page then how can i rollback all processing in php
...
We have 2 text fields ('post_text' & 'post_slug') in our database.
Let's say, post_text = "Hello World!", so its post_slug = "hello-world".
How to implement related posts feature without tagging each posts operating only existing fields? (PHP, MySQL)
p.s. the database contains a lot of posts.
...
I have some PHP code similar to the following:
foreach ($settingsarray as $settingsfile)
{
include ($settingsfile);
// do stuff here
}
$settingsarray is an array of file names from a particular folder.
The problem is, that each $settingsfile defines constants (with the same names), which of course, can not be redefined.
Wh...
I have a lightweight online shopping site based on JSP and XML, and I'm wondering what the particular weaknesses of this system are as opposed to, say, PHP and MySQL?
I know JSP can use Java APIs, but I feel PHP has a more "natural" relationship with HTML and also has the benefits of being dynamically typed, and is far more widespread a...