Does anyone know how to do this? I know how to display a single feed as a simple list, but it gets more complicated. I want to display a list but have multiple sources, with each source having the list-style-image be specific.
Example:
(img1) This is data from rss feed 1
(img2) This is data from rss feed 2
Thanks so much for the hel...
It need not be meaningful words - more like random password generation, but the catch is - they should be unique. I will be using this for some kind of package / product code. Which is the best method available? :)
...
After installing Joomla 1.5.x on an IIS 7, instead of seeing the expected sample data I see an un-styled (sample data) page and this message at the very top of the page:
Joomla: Warning: strpos() [function.strpos]: Empty delimiter in [installdir]\libraries\joomla\environment\uri.php on line 162
How can I fix that?
...
Hi,
This is something that I just cooked up with Joomla and CodeIgniter(CI). I Wrote my database intensive application in CodeIgniter and frontend is Joomla. I'm using Jumi(Joomla Extention) so I can include the CI files inside joomla to basically insert the content generated by CI into Joomla articles.
Problem is, you can't include CI...
I'm trying to make a very basic php ORM as for a school project. I have got almost everything working, but I'm trying to map results to an array. Here's a snippet of code to hopefully assist my explanation.
$results = array();
foreach($this->columns as $column){
$current = array();
while($row = mysql_fetch_array($this->result...
Possible Duplicate:
Turn database result into array
Hi guys, can you please help me. How to get an hierarchical php structure from a db table, in php array, or JSON, but with the following format:
[{ "attributes" : {"id" : "111"}, "data" : "Some node title", "children" : [ { "attributes" : { "id" : "555"}, "data" : "A sub nod...
It looks like there are some great libraries out there to do DomainKeys signing of emails on C#/.NET, but I'm having a really hard time finding the same kind of support for PHP. Maybe I'm not looking in the right place?
The only one I found is http://php-dkim.sourceforge.net/; it looks incredibly hacky and supports PHP4 only. Consideri...
Hi,
My Apache/PHP installation is making me use <?php ... ?> instead of <? ... ?>. Where is this found in the configuration file so that I don't need to do the former? I'm assuming it's in php.ini, but not sure what it would be called.
...
Alright, I have two files. They are the EXACT SAME.
The first file is:
http://iadsonline.com/servconfig.php
And the second file is:
http://xzerox.info/servconfig.php
However, when I use md5_file() to get their MD5, They return two different MD5's.
The first returns cc7819055cde3194bb3b136bad5cf58d, which is incorrect, and the second ...
I need a simple script that reads a number from POST (we'll call the value 'number'). It will be a three digit number that must range from the following:
301-340
401-440
501-540
601-640
701-740
801-840
If it doesn't fall in these ranges, I need to echo a message. How would one do this?
...
Let's say I want to grab the first paragraph in this wikipedia page. How do I get the principal text between the title and contents box using XPath or DOM & PHP or something similar?
Is there any php library for that? I don't want to use the api because it's a bit complex.
Note: i just need that to add a widget under my pages that disp...
as follow:
<?php
/*
* @I'm data
*/
function demo() {}
how to get "I'm data"?
thx
...
What is the max time do you think is acceptable for a web script (PHP for example) to execute before it starts to become an annoyance for the user (on average)? I always thought that if the user has to wait more than 1 second for the page to load (this of course after images and css have been cached..this rule really only applies for sub...
I have a message class that I use like so:
RedirectMsg::go('somepage.php', MessageType::ERROR, 'Your message here.');
Would it be better to use a regular function? Or is this a personal preference issue?
redirectMsg('somepage.php', MessageType::ERROR, 'Your message here.');
...
I'm using a PHP script to read an RSS feed in my Flex 4 app. The script works when I put the URL of the feed in the actual script, but I can't get it to work when I try to send the URL as a parameter from a HTTPService in Flex. Can anyone tell me what I'm doing wrong?
Here is the HTTPService from Flex 4 that I'm using:
<mx:HTTPService ...
I built a rad slider module. Then I built a template that I am going to use as a base for more projects, and I know I will use my slider module most of the time. Is there a way, other than tearing apart the modules and re-coding it all into the template, to "package" the module with a template?
Like the HTML overrides do, but adding the ...
Hi all,
I dont know how to enable exec in server.Please help me
...
I have a live site that includes different php files depending on what page the user is trying to access. The header and footer are the same, but in the file, if the user requests filename1.php vs filename2.php, a different php is loaded into the content of the page. Basic CMS stuff.
On the live site, it works fine. I just set up a loca...
Hello.
I have Ajax file in which code has written to accept values form user and then these values are taken in a Ajax function as follows:
$(document).ready(function(){
$("#newsletterform").validate();
$('#Submit').click(function(){
var name = $('#newsletter_name').val();
...
I am using TCPDF to generate PDF file using following command
$pdf->writeHTML($htmlcontent, true, 0, true, 0);
TCPDF also provides a way to create barcode with following commands
$pdf->Cell(0, 0, 'C39+', 0, 1);
$pdf->write1DBarcode('Code 39', 'C39+', '', '', 80, 15, 0.4, $style, 'N');
$pdf->Ln();
I want to be able to write barcode as p...