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 Arun
1492680430

After setup in web/install, when we try to access web/staff it shows unable to display pages
Posted by Tom
1492755464

Hi Arun,

It is likely that the problem resides outside of the script. If this is the first time you install any php script, chances are the website is not configured properly. You should install ... Read More
Posted by Aryan!
1492621770

Hello again
thanks for the reply, you are amazing!

**excuse me. I can't speak English well.

I have two questions:
1. How can display the user's date of create in the Search Results table?
2. How do ... Read More
Posted by Tom
1492748201

Hi,

>How can display the user's date of create in the Search Results table?

Please read the article below:
Adding a Field to Search Results table ... Read More
Posted by luyanda
1492525563

hi when i fill the form on a mobile phone i get an error saying "this form has already been submitted"
Posted by Tom
1492601863

> i get an error saying "this form has already been submitted"
I think cookies are disabled in your browser. It happens whether it's mobile or desktop if cookies are not available.
Posted by aryan
1492507031

Hi Tom!
The script is excellent.
How do I store dropdown list values in the table . I do not want to store the keys in the table.
Posted by Tom
1492601750

Hi, if you remove a key then it will use the value as a key. Open web/config/config.selection.inc.php. You will find something like
... Read More
Posted by Michael
2017-04-06

Hi Tom. I have been using your software for almost three years now. I'm totally happy with it. However the machine that i was running on crashed and i had to take my original re-programming and ... Read More
Posted by Tom
2017-04-07

Hi, You generally experience error 501 when the recipient email address has incorrect format. Try other recipients email address and see if it works.
Posted by Maximo Ramos
2017-03-26

Hi!!

I applied the the following instructions: http://www.phpkobo.com/article--m2072 in tpl.-mydatabase-.search.inc.php

But it doesn't work, in the search results the 'mailto:' html tag does not ... Read More
Posted by Tom
2017-03-27

>I applied the the following instructions: http://www.phpkobo.com/article--m2072

Hi, try this instead
http://www.phpkobo.com/article--m3721
Posted by Michele
2017-03-26

Hi Tom, how can I attach one or more files to a record
Posted by Tom
2017-03-27

>how can I attach one or more files to a record

Sorry this is no file upload features yet. You need to add it yourself.
Posted by Eliza
2017-03-24

Hello!

How to hide (delete) and (edit) for staff. I want to leave them only ADD NEW?

Thnx in advance!
Posted by Tom
2017-03-25

Hi, enclose the code you want to hide from staff like this
<?php if ( $sys->IsAdmin() ) {
//code to hide
} ?>
It works in template files (web/staff/tpl.(-----).inc.php)
Posted by Nasko
2017-03-22

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
2017-03-23

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
2017-03-18

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
2017-03-18

You are welcome!
Posted by Silvio
2017-03-17

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
2017-03-17

>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 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