Possible Duplicate:
What bug tracking software do you use?
Better than BugZilla open-source based bugs tracking system?
I need a platform that supports a rich API (especially for PHP), unlike what BugZilla provides. :S
...
if you haven't guessed by my other questions I'm building a soccer based apps and using data from different websites/feeds/api's but different websites carry team names either full names, abbreviated or slang names.
examples would be-
Manchester united- Man united- Man utd
Tottenham Hotspurs- Spurs, Tottenham Hotspurs FC
The main app...
I have a problem with my query. Its giving me the correct result for some cases and for some it does not, so if anyone could tell me what to change it'd be amazing cause I'm stuck with it for some time now. Here is my table data:
Table reservation_logs:
log_id int(15) auto_increment Primary Unique
room_log int(10)
dt_...
Currently on a very large project that I plan to never re-ue for another site, I have the sites name hardcoded into the files everywhere, now if I were ever to change the sitename it would take a lot of effort to change the name everywhere. I know the obvious solution is to just store the name as avariable or a constant but I guess you ...
If I have an object as such:
class Person {
var $age;
function __construct($age) {
$this->age = $age;
}
}
and I have any array of Person's
$person1 = new Person(14);
$person2 = new Person(5);
$people = array($person1, $person2);
Is there an easy way to sort the $people array by the Person->age property?
...
I am looking over the php installation on my local PC via Xampp and I notice in the php.ini file for the include directoy, it has includes for unix but PEAR for Windows
include_path = ".:/php/includes"
but for windows it has
include_path = ".;C:\webserver\php\pear\"
So I am wanting to know, is PEAR included in a default version...
I'm looking for a good mass mailing library for PHP. Everything seems to point to Pear's mail_queue, but I was wondering if there are any alternatives? I need something that can:
Manage multiple smtp servers, each with their own per hour limit
Send HTML emails
Do all of this as fast as possible?
Any suggestions?
...
echo ("<div style=\"text-align:center\">" . include ('file.php') . "</div>\n");
I'm not sure why, but whenever I put that line in my script I get blank screen :(
...
Ok, the idea here is to have code that will append SF_ to all key names in an array.
I took my array (which is part of an object), flipped it, added the SF_, and flipped it back.
Somewhere in the process I lost some fields...
here's what I started with:
object(stdClass)[12]
public 'Affiliate_Code__c' => string 'XX-TXUJC3' (length=9...
I currently run several Wordpress MU installations.
My users are asking for the ability to post video (not just Youtube, but from our own Flash Media Server).
By default, Wordpress strips out <embed> tags.
Now, I would never allow users to include PHP or JavaScript in their posts, do I have to worry about Flash vulnerabilities?
How d...
I want to use the query that someone used to find my page, these are in the URL of the referring page $GET_['q'] (and for yahoo $GET_['p']). How can I use these? I want something like $query = REFERRING PAGE ($GET_['q']), but I just can't figure out the way to say it.
...
I have a form that allows the user to either upload a text file or copy/paste the contents of the file into a textarea. I can easily differentiate between the two and put whichever one they entered into a string variable, but where do I go from there?
I need to iterate over each line of the string (preferably not worrying about newlines...
I am having some issues trying to install plugins from symfony into my project:
OS X 10.6 Snow Leopard
MAMP 1.8.2 (PHP 5.2.10)
Symfony 1.2 (standalone symfony framework + project as recommended by the Symfony Getting Started tutorial. e.g. I save the symfony framework in a lib/vendor folder inside my project).
I run the following com...
I have a web page with a form. When the user submits the form, I want the server to make the browser redirect to a different page from the form action. Right now, I am doing this by using PHP's header function to send a 302 status code. It works fine.
I am trying to make the page on the server redirect the browser in the same way, regar...
I'm trying to figure out why the mail function in PHP fails when called via web browser (i.e. apache), but I can run the same script from the command line using
php -f mailtest.php
This is one of my client's Fedora servers, so I don't grok it completely, but I do have root access should I need to change anything.
from php.ini:
...
I found this script which parses a CSV file to XML. Problem is it seems to only be getting the first line of data after the column headers.
function csv2xml($file, $container = 'data', $rows = 'row')
{
$r = "<{$container}>\n";
$row = 0;
$cols = 0;
$titles = array();
$handle = @fopen($file, 'r');
...
I'm building a web control that will let our junior IT staff manage firmware on our LifeSize phones. Currently we do this by uploading the new firmware onto a central server, then running this command for each phone we want to upgrade
cat new_firmware.cramfs | ssh -T [email protected] "upgrade all"
This asks me for the password, then uploa...
Hello,
If I use PHP's extract() function to import a variable from an array, will a variable with the same name be overwritten? The reason I ask is because I'm trying to initialize all of my variables.
Thank you for your time.
...
hellom,
When I try to open a .log file created by a game in PHP I get a bunch of this.
ÿþ*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*�*� �
K�2� �E�n�g�i�n�e� �s�t�a�r�t� �u�p�.�.�.� �
[�2�0�0�9�/�2�2�/�0�9�]� �
[�1�6�:�0�7�:�3�3�]� �
[�0�.�1�.�4�6�.�0�]� �
[�0�]� ...
Hello
I have the following code to retrieve all hyper links in an HTML document
and my question is how to retrieve the text nodes inside every anchor tag
(even if the text node is a child of a child like if the anchor node has a span node which has a text node)?
<?PHP
$content = "
<html>
...