Ajax Poll Script
php Infinite Scroll
Ajax Likes Script
Address Book Script
Form2DB
PayPal IPN + eProduct Delivery Script
Text Ad Script
Lead Follow-Up Database Script
AdFreely -Ad Board Script-
Fade-In Slideshow
Ajax Poll Admin
URL Shortening Script
This site offers mostly open source scripts that utilize PHP, Ajax, jQuery, and MySQL database. Feel free to look around, run online demo, and download scripts!
Posted by Nasko
1490223987

Hello!

I followed the instruction how to disable the edit, delete button. After the staff tries to edit, they can't edit or delete (that's good), they dont get an error message they just get a blank ... Read More
Posted by Tom
1490295235

Hi, it's better you remove the edit/add-new/delete buttons from
the template, web/staff/tpl.(table-name).search.inc.php
Or you can hide it from staff. To hide code in a template, enclose it with
... Read More
Posted by Silvio
1489826828

I was thinking that Sim Seller Email was intended only for simulation purposes.
Again thank you so much Tom, the issue is fixed! :)
Have a nice day!
Posted by Tom
1489905206

You are welcome!
Posted by Silvio
1489797073

I've made much more expensive tests and each time I found the same issue in IPN ERROR log:
result: ERROR : Invalid Seller Email: Ferry devant îlot [CProductInfoSub]
where "Ferry devant îlot" is the ... Read More
Posted by Tom
1489806598

>result: ERROR : Invalid Seller Email: Ferry devant îlot [CProductInfoSub]
>where "Ferry devant îlot" is the "item_name".

Maybe you changed the value of "bussiness"?
... Read More
Posted by Ashwinkumar
1489739853

'address' => array(
XA_CLASS=>'cls_fl_address',
XA_SPEC_FILE=>'df.fl.address.inc.php',
XA_TABLE_NAME=>TBL_ADDRESS,
XA_ID_NAME=>'address_id',
XA_INIT_ORDER_BY=>'address_id DESC',
XA_INIT_PAGE_SIZE=>50 ... Read More
Posted by Ashwinkumar
1489739681

I have already tried the solution you gave, it is not working
Posted by Michele
2017-03-15

Hello Tom, thanks for your info. Tom would like to ask how can I do to use logoff menu to link to other pages remaining in same browser tab.
Posted by Tom
2017-03-15

The links are created in web/staff/include/tpl.body.header.inc.php line 32
<a class="dmenu_item" href="<?php echo $hm->Url( '_sc=' . $sc . '&' ); ?>"
><?php echo $caption; ?></a>
Maybe you should ... Read More
Posted by Ashwinkumar
2017-03-15

how to increase / decrease the number of rows. currently there are 25 rows in display but the error is that the bottom message showing 1-50 instead of 1-25...can you tell me which files to edit
Posted by Tom
2017-03-15

>how to increase / decrease the number of rows

Open web/staff/app/df.fieldlist.inc.php and find array like this:
... Read More
Posted by Michele
2017-03-13

Tom excuse me, where I find the template file
Posted by Tom
2017-03-13

>where I find the template file

It's in staff folder. The template files are prefixed with tpl. like tpl.address.search.inc.php.
Posted by Aleksey
2017-03-11

Hi Tom.
Thanks for your answers.
Just one question: when i login as admin, in header i see four menus: Address, Staff, About and Log Off. When i login with a staff password, i dont see in header a ... Read More
Posted by Tom
2017-03-13

Hi,

>Which script do this check, what menu is going to be appear according to user type?

cls_auth_base function in web/staff/app/cls_auth_base.inc.php
Posted by Michele
2017-03-08

Thank you. If you can tell me when you do upgrade, for me is very important.
Posted by Tom
2017-03-08

Sorry, I can't say it. Whenever I get a chance!
Posted by Aleksey
2017-03-07

Hi.
First, thank you very much for this great script.
Second, I have some questions about Address Book Script:
1. Where i can translate all contents?
2. Its possible to convert this script to R-T-L ... Read More
Posted by Tom
2017-03-08

Hi,

1. Where i can translate all contents?

web/codelib/cfg/res.eng.app.inc.php
web/codelib/cfg/res.eng.sys.inc.php

2. Its possible to convert this script to R-T-L (Hebrew for example)? ... Read More
Posted by Michele
2017-03-06

Tom, I would look for the data also using logical operators eg. <> = 'Then all nr. > 44 the result will be 45, 46 etc ..., or> 44 & <50 the result will be 45 .... 48,49. Thanks Tom
Posted by Tom
2017-03-07

Hi, I know what you mean... but sorry there isn't an easy way to implement it in the current version. I'll put in my to-do-list. Thanks for your suggestion!
Posted by Michele
2017-03-06

Thanks Tom for your info. Now I would like to replace with a new logoff link. If I click logoff I would go on my other page, how can I do? Thank you.
Posted by Tom
2017-03-07

I think it's a good idea to remove the top menu entirely. And put any links you want in the template file.
Posted by samadhan
2017-03-05

Hello Friends,
I am getting stuck one stage. I am new here for the phpkobo scrpt. I downloaded all the from cpanel and trying to connect on my local machine. i had changed my database file database ... Read More
Posted by Tom
2017-03-07

Hi,

>its getting error after login like "could not connect"

Did you run the installation script? Your description sounds you configured the config file but skipped running the installation script ... Read More
Posted by Michele
2017-03-03

Ops...Tom, I click logoff this error:
Location : cls_ps_frame/CVPageSet::GetFieldListAttri
Message : Fieldset () does not exist in spec_fieldsets : PageSet Name = frame...
Whait.?...
Posted by Tom
2017-03-04

>Ops...Tom, I click logoff this error:

Please remove the logoff link. Since you've already removed the login feature, logoff just doesn't make sense. You no longer need it.
Posted by Nicole Taylor
2017-03-03

I think this a wonderful program and I use it faithfully for my clients when they call. I have learned how to remove the delete record from the page for guest view.. but I want to change the css ... Read More
Posted by Tom
2017-03-04

Hi,

The path to the style sheet is web/staff/css/page.css.
Probably, you need to make a lot of modifications on template files, also.
This was written in pre-responsive design area, so it's not ... Read More
Posted by Michele
2017-03-03

Thank you Tom, your info is very ok.
Posted by Tom
2017-03-03

You are welcome :)
Posted by Silvio
2017-03-02

Thank you so much Tom, this path works! :)
Posted by Tom
2017-03-03

Great!
Posted by Michele
2017-03-02

Wonder if you can go directly to the contact page, I want to rule out the authentication page. I don't need authentication. Thank you.
Posted by Tom
2017-03-02

To bypass login page, please see this article:
http://www.phpkobo.com/article---m3350
Posted by Silvio
2017-03-01

Hi Tom,

Your script "find-path.php" running from public_html confirms the path I see, from the beginning, with FTP but when I modify the config.products.inc.php to match it, the simulator returns: ... Read More
Posted by Tom
2017-03-02

Please remove dirname(dirname(__FILE__)) . The line will be
define( 'PATH_PRODUCTS_FOLDER', '/home/silvio/products/' );
By the way, dirname(__FILE__) returns the physical path to the folder where ... Read More
Posted by maxi
2017-03-01

thanx you have done something amazing.
can you help me out on how to import exel file with attributes First name, last name, company, fax, address1, address2, zip, state, and cell?
Posted by Tom
2017-03-02

Hi,

>can you help me out on how to import exel file with attributes First name, last name, company, fax, address1, address2, zip, state, and cell?

Sorry, it doesn't have the csv import feature.
Posted by Michele
2017-02-28

It is possible to bypass the control users, directly pointing to the page addresses?
Posted by Tom
2017-02-28

Hi,

> bypass the control users

I'm not really sure what you meant by "bypass the control users" Would you clarify it, please?
Posted by Silvio
2017-02-27

Sure Tom, I can't run with browser your script "find-path.php" outside public_html so, how can I discover the path of "products" folder since the moment it is below the public_html but not the ... Read More
Posted by Tom
2017-02-28

Suppose you put "find-path.php" in the pulbic_html folder and it reports
/var/www/silvio/public_html/find-path.php
Then the physical path of public_html is
/var/www/silvio/public_html/
Posted by Silvio
2017-02-26

Thank you Tom for your script, however I only can run it from the public_html, not below.
Posted by Tom
2017-02-27

Hi,

>however I only can run it from the public_html, not below.

To make files(php, html) accessible to browsers, you have to put them on public_html or above. However, you can put data files below ... Read More
Posted by Silvio
2017-02-25

Hello Tom,

In order to protect the content of "products" folder, I've placed it on the server's root but unfortunately I can't find a working path configuration (config.products.inc.php) and the ... Read More
Posted by Tom
2017-02-26

Hi,

>unfortunately I can't find a working path configuration

You can find the path using this simple php script. Open a text editor and paste the following line:
<?php echo __FILE__; ?>
Save it ... Read More
Posted by murat
2017-02-20

thank you very much tom , it works , now i can make a call from asterisk when i click on search result
you really should add a donate button to your site.
you are saving alot of people s time ... Read More
Posted by Tom
2017-02-21

You are welcome!
Posted by murat
2017-02-19

Hello , thank you for the great utilities which you share with people

i installed your addressbook onto an asterisk system based on centos
freepbx also uses mysql so easily i installed on pbx
now ... Read More
Posted by Tom
2017-02-20

Hi,

>only what i couldnt do is i need to get current username too

If you mean the username of a user who is currently loggin in
then you can get it with the following code:
... Read More
Posted by Silvio
2017-02-18

Working perfectly, thank you again Tom!
I should add your PayPal "Donate" button :)
Posted by Tom
2017-02-19

You are welcome :)
Posted by Silvio
2017-02-17

Hi Tom,

I'm trying to customize the e-mail message with my logo but I don't know where it must be located. It's now inside the products folder, so I've added into the <body> of config.txt this line: ... Read More
Posted by Tom
2017-02-18

>src="/products/logo1.gif"

The url should start with "http://"
And the image doesn't have to be in the script folder. You can put it anywhere.
Posted by Silvio
2017-02-16

Thank you so much Tom, it was the reason!
Posted by Tom
2017-02-18

Great!
Posted by Silvio
2017-02-15

Hi Tom,

I've created a working version without accents, saved in ANSI.
Now, seeing your reply, I've saved it in UTF-8 but the simulator doesn't recognize it anymore.
Posted by Tom
2017-02-16

>I've saved it in UTF-8 but the simulator doesn't recognize it anymore.

Maybe, you saved it in UTF-8 with bom? ... Read More
Posted by Silvio
2017-02-14

Hi Tom,

The issue is fixed, I found a solution to include your full script into my page.
However I experienced again an issue with your simulator sending the e-mail message, the reason is french ... Read More
Posted by Tom
2017-02-15

>the reason is french accents that can't be used, except inside item_name (product title), what can I do?

Mails are encoded in UTF-8, so it should be able to email in any languages. You need to save ... Read More
Posted by Silvio
2017-02-09

Hi Tom,

All right, I found a little syntax error in my config, now it's working perfectly, wonderful scrypt, thank you so much Tom!
I was wondering to separate the button code from the rest of your ... Read More
Posted by Tom
2017-02-10

Hi,

>Any suggestion to run your scrypt from the button (shortest code) placed into a separate directory?

I don't understand what you meant by "placed into a separate directory." You can place it ... Read More
Posted by Silvio
2017-02-02

Hi Tom,

I'm not sure to understand your instructions (config.email.inc.php):

// If your email server requires SMTP Authentication,
// enable the following three lines, "Auth", "Username", and
// ... Read More
Posted by Tom
2017-02-03

>My smtp server requires auth. so is this syntax right?
>Auth=LOGIN
>Username=sender@xyz.com
>Password=12345

The syntax is correct. (but of course, the value may be wrong)

>Also, concerning ... Read More
Posted by Silvio
2017-01-31

Hi Tom,

Thank you so much for your script, very useful!
I've carefully followed your installation instruction and uploaded your "web" folder, keeping his original name, to the root of my domain but ... Read More
Posted by Tom
2017-02-02

Hi Silvio,

>email error: 535 Incorrect authentication data

It means the mail server couldn't authenticate you.
Please make sure the username and password you entered for the mail server in the ... Read More
Posted by Jan Wiekens
2017-01-29

Hello, your script works perfectly!
I have one question.
is it possible to make some fields bigger? I have a field called "note" and that field is very short.
Is it possible to make this lager?
Posted by Tom
2017-01-30

Hi, you can format textarea (or any HTML elements) by surrounding with a div or span tag. In the following example, a textarea is surrounded by <span class="my-style"></span>
... Read More
Posted by Alex
2017-01-26

Hello Tom and Thanks for your script.

I need to edit multiple records same time .
For example i whant to edit the "home zip" field at the same time for 10 customers.

Howe can i do that ?


Thank ... Read More
Posted by Tom
2017-01-27

Hi,
>I need to edit multiple records same time
Sorry, the script does not have the feature.
Posted by Nikita
2017-01-21

Good Morning.

I have a little request:

It's possible to impliment Google reCAPTCHA into the login page?
Posted by Tom
2017-01-21

Hi, at this moment there isn't a plan to add a capture. If you are getting unfriendly accesses to the login page, you can rename the folder name "staff" to, say "staff2"
Posted by Maximo Ramos
2017-01-14

Hello! Great work by the way!!

I followed these instructions but I guess it is outdated or I am doing something wrong:

http://www.phpkobo.com/article--m2072

It sure does make the email address ... Read More
Posted by Tom
2017-01-15

Hi,

>It sure does make the email address clickable but only in edit mode, not in search results mode.
No, the article is not for the search page. For the search page, you need to do the same on ... Read More
Posted by Sergey
2017-01-03

Hello dear Tom.
This time my question about this. Can i print random info for random users, like this? ... <?php If ($system-->$isAdmin) { ?>admin info<?php } else if ($system->$isPeter) {?>info for ... Read More
Posted by Tom
2017-01-04

Hi,

First of all, you need to identify the user logging in. This is how to obtain the user id of the user who accessed a page in the staff folder.
... Read More
Posted by Chris
2016-12-18

Regards from Switzerland! Thanks for your great application.
Is there a possibility, to display "Checkboxes" as Checkboxes in the search pane?
Currently these items are represented as "selects" ... Read More
Posted by Tom
2016-12-18

It's on purpose. As you know, a checkbox has two states:

(1) checked and (2) unchecked.

To search for records, you need three states:

(1) checked, (2) unchecked, and (3) Don't care.

That's why it ... Read More
Posted by Willem
2016-12-07

Hi Tom,
Greetings from Holland! Thanks for your script.
I thought I've seen a description how to add extra checkboxes to the frontend. Also how to add these to the Db and search on the checkbox ... Read More
Posted by Tom
2016-12-08

Hi, please read this section.
http://www.phpkobo.com/address_book.php#copy_a_field
It applies to checkbox too.
Posted by Linckon
2016-12-03

need to send email to selected users in addressbook
Posted by Tom
2016-12-04

Sorry, there is no built-in mailing feature. You have to add it yourself.
Posted by Lumen
2016-11-30

Hi Tom first off; great script, Thank you!

I was wondering if it would be possible to add characteristics to the button and if so how to go about this.

I'm selling vouchers for advantures that ... Read More
Posted by Tom
2016-12-01

Hi,

>I was wondering if it would be possible to add characteristics to the button and if so how to go about this.

It's possible. Please refer to PayPal's Buy-Now Button manual because basically it ... Read More
Posted by Alex
2016-11-28

What's up?
First, thanks for the system. He is really helping me!
I need to manage users access permissions. How can i create or change a group/user permission to make them with no write/alteration ... Read More
Posted by Tom
2016-11-28

Hi,

>I need to manage users access permissions. How can i create or change a group/user permission to make them with no write/alteration

Sorry, there aren't any built-in features for group ... Read More
Posted by Pär
2016-11-28

Worked like a charm. Thanks!
One small problem occurred. If I present a field as a text, it works fine, IF the the data is correct. If the database dont have any value on that field, the server ... Read More
Posted by Tom
2016-11-28

Then try this helper function instead.
<?php function getTextValue( $key, $val ){ return isset($val->attri['value']) ? $val->attri['value'] : ""; } ?>
It takes care of the case that there is no ... Read More
Posted by Pär
2016-11-25

style='display:none;' will remove the whole row, that's for sure.
What I would like to have is The filed name followed with its value, where the name and value should be visible, but not editable. ... Read More
Posted by Tom
2016-11-25

You can display the value of a field with this helper function
Open web/staff/common.inc.php in a text editor, and put the following line on the top, then the function will be available anywhere ... Read More
Posted by Pär
2016-11-23

Hi
Is it possible to make some of the fields locked and just presented as a plain text? There is some of the data I don't want to mess with. So when editing a client record, there should only be text ... Read More
Posted by Tom
2016-11-24

Hi, the easiest way is just hide the entire row with style='display:none;'.
For example,
... Read More
Posted by Jerry Higgins
2016-11-10

Tom... wonderful script and it works flawlessly. Thanks so much!

Was just wondering if IPN settings on PayPal's website should be turned on (enabled)?
Posted by Tom
2016-11-11

>if IPN settings on PayPal's website should be turned on (enabled)?

Yes, it should be enabled.
Posted by George
2016-11-07

Thanks for your prompt reply.
We want to make a registration form in a database with information not the user is typing and will not appear on the form.
The automatic information will be presented by ... Read More
Posted by Tom
2016-11-08

>The automatic information will be presented by different articles we have on our website example

OK then don't bother the form. You are making things more difficult.
You should write a script that ... Read More
Posted by George
2016-11-06

Hello Tom,
how to replace
<?php echo $hm->Zb('rs:def:f0008'); ?>
with:
<input type='text' name='f0008' value='<?php echo date("j/m/Y - G:i"); ?>' readonly/>

and

<?php echo $hm->Zb('rs:def:f0009'); ... Read More
Posted by Tom
2016-11-07

> <input type='text' name='f0008' value='<?php echo date("j/m/Y - G:i"); ?>' readonly/>

I think you want to display data in a different format?
If so, please read this article ... Read More