Subscribe: ptalus
http://ptalus.blogspot.com/feeds/posts/default?alt=rss
Added By: Feedage Forager Feedage Grade B rated
Language: English
Tags:
copy  easter egg  net  portable web  server  session vars  session  vars session  vars  web server  web  zen cart  zencart phpbb 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: ptalus

ptalus



PHP answers, questions, tips, tricks and useful freeware scripts almost everyday



Last Build Date: Tue, 07 Oct 2014 00:21:49 +0000

 



How to copy categories in Zen-Cart admin panel?

Fri, 26 Dec 2008 16:56:00 +0000

Unfortunately the original Zen-Cart doesn't allows to copy categories, it has move ability. Although it allows to copy products. The attached files add copying ability for categories. It allows to copy a whole directory tree with all children. The extension was tested with Zen-Cart 1.3.0.
Just install and use.
If you need some customization don't hesitate to ask.



how to integrate phpBB and Zen-cart?

Wed, 06 Feb 2008 09:40:00 +0000

The default integration is quit simple - you just install zencart and phpBB and use two different php applications. They are not integrated at all. It would be better if you could login into zencart and then use phpbb forum without another login.
Such task requires some fixes both in zencart and in phpBB: you have to alter login and session processing sections in both applications.
All files that should be modified are available by this link.
Feel free to use it on your projects.
If you don't like to digg in you e-commerce you can buy my services: 15$ for integration




Wed, 10 Oct 2007 07:50:00 +0000

Congratulations,

SugarCRM v4.5.1 could be successfuly installed on Godaddy's shared hosting.
There are many posts at both Sugar's and Godaddy's forums indictating the existing incompatibility between them. But now it is possible with following assumptions:
1) switch to PHP5 using .htaccess
2) make MySQL 5 database
3) Upload and install SugarCRM

PS: IMAP functions are still unavailble at godaddy so some SugarCRM functionality will not work.
PPS: Don't hesitate to ask if you need help to install Sugar or any other software.




Wed, 26 Sep 2007 09:27:00 +0000

Anyone who dealed with forms and php applications knows about emails. There a lot of questions about mail() function at http://www.php.net/mail
I got a class from sourceforge which makes my life mush easier.
You could make a piece of code which sends HTML email with attachment in a few minutes using it.
My script shows a form, where an user could enter his name and upload a file which will be sent to admin.



Portable Web Server

Wed, 19 Sep 2007 17:21:00 +0000

good portable web server - WOS portable

What is portable web server?
It is just full server environment fitted on flash-stick or CD(DVD)ROM.
WOS includes Apache web server, MySQL, PHP4&5 and a couple of PHP apps - such as OsCommerce, PHPMyAdmin and others.

It allows you to run your favorite site offline, on a client's desktop for example.



PHPAuction runs on PHP 5

Sun, 02 Sep 2007 16:56:00 +0000

I had to use PhpAuction v2.0 in order to create a website for my client. But this script is written in old fashiniod way and it requires register_globals to be set on. I prepared a little patches for it. Files that should be fixed:
includes/config.inc.php (Place the code below to the begining of the file)
$p = array_merge($_GET,$_POST,$_SERVER); foreach($p as $k=>$v){ $GLOBALS[$k] = $v; }
if (!isset($HTTP_POST_VARS)) $HTTP_POST_VARS = $_POST;
if (!isset($HTTP_SESSION_VARS)) $HTTP_SESSION_VARS = $_SESSION;

admin/loggedin.inc.php (Place the code below immediately after session_start();)
if (!isset($HTTP_SESSION_VARS)) $HTTP_SESSION_VARS = $_SESSION;

In this way PhpAuction v2.0 from https://sourceforge.net/projects/phpnggpl/ could be used on both PHP 4&5 with register_globals switched off



PHP 4 will be not supported after 31-12-2007

Tue, 21 Aug 2007 17:52:00 +0000

Nobody cry about it. Bye PHP4 - news from php.net



PHP form handler

Mon, 28 May 2007 08:45:00 +0000

This script :
1) creates HTML form to enter the data
2) has php handler which gets data and stores it to db
3) exectes setup.php script to create corresponding data table.

Link: here
License: absolutely free 



SilverLight from Microsoft

Fri, 25 May 2007 13:58:00 +0000

yes it is about new buzz word from Microsoft
They tried to divide programmer's work from designer's one.
XAML + JScript vs FLASH + FlashScript
get the Silverlight player



PHP easter egg problem

Wed, 23 May 2007 06:25:00 +0000

PHP easter egg is funny dog picture but it could be used by attacker to detect PHP version
using following url:
http://www.yoursite.com/?=PHPE9568F36-D428-11d2-A769-00AA001ACF42
Each version has its own picture.
If you would like to hide PHP version or even the fact that your site are using PHP you could use following solutions :

  1. .htaccess mod_rewrite:
    Change mod_rewrite
    setting so that web
    server removes 'easter egg' parameter string

  2. modifying php.ini
    set the "expose_php"
    directive to "off" in
    server's php.ini

Contact me if you interested to make your site a
little safer.






new open source project - GAdsViewer

Wed, 23 May 2007 04:49:00 +0000

New project is started at http://gadsviewer.sourceforge.net/
It will allow to store content of AdSense block published at your site.