classification & display options in Magento – tags, categories, etc

In a Magento Shop, I would like to be able to classify products by some Classification mechanism (example: Tag, Category, Related products or somthing else?)
Then I could build a block that will show all classification titles. User can then click and get a page of all products in this classification.

We already use Categories, so [...]

Cannot modify header information – wp-config.php:1

I am stuck with this error when trying to login to the admin panel. I can’t get my head around it.
*Warning: Cannot modify header information – headers already sent by (output started at /home/xxxxxx/public_html/wordpress/wp-config.php:1) in /home/xxxxxx/public_html/wordpress/wp-includes/pluggable.php on line 881*
pluggable.php 881:
function wp_redirect($location, $status = 302) {
global $is_IIS;

$location = apply_filters(‘wp_redirect’, $location, $status);
$status = apply_filters(‘wp_redirect_status’, $status, $location);

if ( [...]

Get data from a website to iPhone app

I have a couple of questions I hope people can give me a good view because I am stuck ATM.
Its a year since I started developing so bear with me…
1) how can I get data from an website that I don’t own to my app ?
I have done some database parsing etc but [...]

Magento adding a bundled product to cart with ‘bundle_option’?

I can’t seem to find anywhere documentation of the ‘bundle_option’ field in the product options array, when adding a bundled product to the cart programatically in Magento. So I can’t be sure how to do this correctly.
But this is my attempt:
$json_obj = json_decode($json_string, true);

//define cart
$cart = Mage::getSingleton(‘checkout/cart’);
$bundle = array();
$bundle_qty = array();

for ($i=0; $i<count($json_obj['basket']['products']); $i++) {

Fast Small Linux DB for simple but ultra rapid queries

I’m writting the script on PHP for handling Squid3′s external ACL requests.
So I need ultra fast DB (file? postgres? mysql? – please explain which is better) with frequent requests from (> 1000 per second)
As for additional info, I use 10000 rpm HDD with 16M cache.
Could I probably use MySQL (main part of my code is [...]

500 Internal Server Error in Zend

I am using Zend and encounter this error [500 Internal Server Error] when submitting a page that uploading files.
The error log file says as below.Does the email has to do with the Internal Server Error?
[23-Sep-2012 18:15:12] PHP Fatal error: Uncaught exception ‘Zend_Mail_Transport_Exception’ with message ‘Unable to send mail. mail() [<a href='function.mail'>function.mail</a>]: Failed to connect [...]

Best solution to protect PHP code without encryption

First of all, I’m not looking for miracle… I know how PHP works and that there’s not really way to hide my code from the clients without using encryption. But that comes with the cost of an extension to be installed on the running server.
I’m looking for something different though… I’m not looking to encrypt [...]

move_uploaded_file and relative path to destination in public_html in home directory?

I’m using OpenSuse 12.2 now. To learn and test PHP code I use public_html directory in my home folder: /home/wojtek/public_html/ I access project files in the following way:

But I have not clue how to make move_uploaded_file to work. The server root is /srv/www. I set upload_tmp_dir to /srv/www/tmp (I have really no idea where it [...]

How to extract frames of an animated GIF with PHP

I search for a long time how to extract frames from an animated GIF with PHP… unfortunaly I just found how to get their duration…
I really need to extract the GIF frames and their duration to apply some resize, rotate, etc, on each and then to regenerate the GIF with edited frames !
I don’t want [...]

data insert and retrieve in mysql using php and ajax

I have a very simple form, containing a textbox and a submit button. When the user enters something into the form, then clicks submit, I would like to use php and ajax (with jquery) to insert the result of the form into a mysql database. this result should be displayed on the same page in [...]

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