Ajax Poll Script
Address Book Script
Form2DB
PayPal IPN + eProduct Delivery Script
Lead Follow-Up Database Script
Ajax ContactUs Script
AdFreely -Ad Board Script-
Text Ad Script
Ajax Likes Script
Fade-In Slideshow
URL Shortening Script
Ajax Poll Admin
Fileup Addon
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 Bijay
1474610154

Tx For reply Tom
I saw in tbl_genlog

id=1037
date=2016-09-20 17:10:40
ip address=::1
sender=NotifyFollowUp
subject=Email Error:nitinktyagi@sparkeng.in
body=EMAIL ERROR : FALSE

CEmail v1.41
FALSE ... Read More
Posted by Tom
1474621870

So, it didn't return any error message other than FALSE. I think there is something fundamentally wrong about it. The cause should be outside of the script configuration. Maybe PHP or mail server is ... Read More
Posted by Bijay
1474432115

Hey Tom ,
Your script is osm , but i had prodlen to send email notification when i refresh /staff/notify_follow_up.php i got mail error , i have smtp server and i also edit smtp detail in program . ... Read More
Posted by Tom
1474521210

Hi,

>i had prodlen to send email notification when i refresh /staff/notify_follow_up.php i got mail error

You can find more information about the email error in the table tpl_genlog. Use ... Read More
Posted by Mohamad
2016-09-16

in a configuration that is useful transactions via paypal
whether the necessary configuration for config.sandbox.inc.php:

define ('SANDBOX_SELLER_EMAIL', '');
define ('SANDBOX_BUYER_EMAIL', ''); ... Read More
Posted by Tom
1474181649

>leave empty or needs to be set?

just leave it empty. It's for those who are testing it under PayPal sandbox.
Posted by Mohamad
2016-09-15

Thanks for the script, very helpful, we understand the instructions very easily and clearly.

but we were a little confused put string to synchronize with our website, through which the path when ... Read More
Posted by Tom
2016-09-15

Hi, You don't need to configure these
define ('SIM_BUYER_EMAIL', 'email@domain.com');
define ('SIM_BUYER_FIRST_NAME', 'John');
define ('SIM_BUYER_LAST_NAME', Last Jhon ');
They are for the ... Read More
Posted by Russ
2016-09-11

Hi Tom,

Thanks for the super-speedy response on my url question below. It works perfectly. The only problem with it is that a user can overtype the search value and then access records I don't want ... Read More
Posted by Tom
2016-09-12

>he only problem with it is that a user can overtype the search value

How about hiding it with "display:none" like this?
... Read More
Posted by Rick
2016-09-09

Hi, Is it possible to make the poll show results with differing content.

Example:
User A clicks on poll A, response X = results of poll A appear with additional content 1. User B clicks on poll A, ... Read More
Posted by Tom
2016-09-10

Hi,

>Is it possible to make the poll show results with differing content.

I'm still not sure about the details of your spec but it sounds possible. Since it's open source, feel free to modify it!
Posted by Russ
2016-09-07

Hi Tom,

Me again!

How do I make the search on some fields "exact"?

For instance I have a field called "District" and acceptable values are 1 - 25.

If I search on "2" I get 2, 20, 21, 22, 23, 24, ... Read More
Posted by Tom
2016-09-09

To make the search on a field "exact", first open web/codelib/asc/df.fl.(table-name).inc.php and find the field definition array. The example below is for the first_name field.
... Read More
Posted by Russ
2016-09-07

Hi Tom, This is the most amazing tool - and has enabled me to look much cleverer than I really am! :-)

I have created an address database of around 8,000 members. One of the fields in the database ... Read More
Posted by Tom
2016-09-09

>My problem would be solved if I could pass a MySQL *select* statement via the url to select a range of records based on District.

You can specify search criteria in url like this:
... Read More
Posted by Rick
2016-08-29

I notice in the Gradient CSS you have brown gradient and blue gradient. Why is their not a choice in the Admin Edit Poll section for brown or blue. Where would I change to brown if I wanted it ... Read More
Posted by Tom
2016-08-30

Yes, it's a good idea! Thank you for your feedback!
Posted by Ken Anklovitch
2016-08-25

Hi Tom
Is there any chance that I can make the email a clickable field to send emails and is there any way to convert to a responsive script for phones?

Thanks very much Tom
Posted by Tom
2016-08-26

Hi,

To make the email a clickable field, please see this article:
http://www.phpkobo.com/article--m2072

>convert to a responsive script
Well, it's possible but there isn't a quick way. You just ... Read More
Posted by Ken Anklovitch
2016-08-22

Forget my previous question Tom, I found it.
Posted by Tom
2016-08-22

ok!
Posted by Ken Anklovitch
2016-08-22

I haven't updated my custom Address script in quite awhile so I am a bit rusty. Which file generates the Login page, I would like to customize the look if possible. I use the script everyday, all ... Read More
Posted by Robert Graham
2016-08-20

Thanks for your answer it was easy to do and works like a champ. thanks
Posted by Robert Graham
2016-08-18

I have 2 questions for you. First now can I have a default field answer? For example 95% of the people in my data base will share the same City, State and Zip. Having to a default answer will save ... Read More
Posted by Tom
2016-08-19

To set a default value, open web/codelib/df.fl.(table-name).inc.php and find the field definition array you want to edit. For example, this is the field definition of first_name :
... Read More
Posted by Laris
2016-08-10

Thx a lot for quick answer and your script !!!!
I have modify a severals files and the Log Info date don't work!
In fact, the date of "Last modified at" and "created at" returns a blank field (NULL). ... Read More
Posted by Tom
2016-08-11

>In fact, the date of "Last modified at" and "created at" returns a blank field (NULL). What are files(all) to be restored

OK, maybe it's late but my suggestion is take a backup of the script ... Read More
Posted by ashwinkumar
2016-08-10

Dear Tom,
I use your script to store several contacts from many companies. For example say I have 10 contacts from company AAA and 15 contacts from company BBB. currently when i open the address book ... Read More
Posted by Tom
2016-08-11

I think the closest solution is adding a selection box manually filled with company names. I know it's not exactly the same as your spec but it's something you can do without programming.
Posted by Laris
2016-08-09

Hi,
How to change the date format.
In fact, i wish to change "2010-11-02" to "02/11/2010"
Posted by Tom
2016-08-09

Hi,

>i wish to change "2010-11-02" to "02/11/2010"

Suppose you have the "birthday" field in the template, web/staff/tpl.(table-name).search.inc.php like shown below:
... Read More
Posted by Jeremy
2016-08-08

Hi Tom,
I wanted to know if it's possible to have linked dropboxes. For example, let's say we have a first dropbox named State (including i.e, Florida, California). The second dropbox, contains ... Read More
Posted by Tom
2016-08-08

>I wanted to know if it's possible to have linked dropboxes.

Yes, you can by adding javascript code. The code is not part of Address Book
Script so you have to write it yourself.
Posted by Chris
2016-08-07

Hello, is it possible to use another style sheet in template?
Posted by Tom
2016-08-08

>is it possible to use another style sheet in template?

Yes
Posted by Didi
2016-08-02

Hi Tom,

what file can i add new field 'Position'?
Thanks.
Posted by Tom
2016-08-03

To add a new field, please follow this instruction:
http://www.phpkobo.com/address_book.php#copy_a_field
Posted by Didi
2016-08-01

Hi Tom,

first i want to say Thanks for answer 'Dropdown/Combobox'.

And i have 1 question again, can we add new field? Let say 'Position' will be used?

Please advice and thank you.
Posted by Tom
2016-08-02

> can we add new field?

Yes.

>Let say 'Position' will be used?

You can use any name for a new field if that's what you meant.
Posted by ashwinkumar
2016-07-31

your codes are entirely in php format and not able to convert to boortstrap style, can you tell me any ways to do it.
Posted by Tom
2016-08-01

>your codes are entirely in php format and not able to convert to boortstrap style,

You can find lots of html code in web/staff/include, which are referenced from the templates. There are some php ... Read More
Posted by ashwinkumar
2016-07-30

can you specify the templates and their location in your script pls
Posted by Tom
2016-07-30

There are two templates per table. You can see the path here.
http://www.phpkobo.com/address_book.php#Article_3031
Posted by Allyn
2016-07-29

Thanks Tom,
The second part and important part of my question was, does the person sending the form also see the result of that hidden field if I configure the form to email the user the copy of ... Read More
Posted by Tom
2016-07-29

> does the person sending the form also see the result of that hidden field

Yes if the field is included in the email template. If you don't want to include in the email, then remove the field from ... Read More
Posted by Allyn
2016-07-29

Tom, I would like to add a hidden field containing an access code to be sent to the user of the form once the form is submitted. I understand I will need to change a part of the code so that the user ... Read More
Posted by Tom
2016-07-29

>I would like to add a hidden field containing an access code to be sent to the user of the form once the form is submitted

The first step to add a hidden field is the same as adding a regular text ... Read More
Posted by Ashwinkumar
2016-07-29

Hi Tom,

how did Ben do this...i am interested in doing the same to my addressbook...refer his question http://phpkobo.com/Design-Question--m3483
Posted by Tom
2016-07-29

>how did Ben do this...

He just modified the HTML templates and css himself :)
Posted by Ashwinkumar
2016-07-29

i use your addressbook script with several modifications. Is there posibilites that the current script can be used as bootstrap for better look and use
Posted by Tom
2016-07-29

>Is there posibilites that the current script can be used as bootstrap for better look and use

Yes, it's possible but there is no turn key solution. You just have to modify the html templates and ... Read More
Posted by Sean
2016-07-28

Wondering if there is a way we can disable the login?

We'd like to use this as an intranet customer 'black book' per say, so we'd like staff to be able to edit / add people when ever needed without ... Read More
Posted by Tom
2016-07-28

Hi, if you want to remove the login feature, please read this article.
http://www.phpkobo.com/article---m3350
Posted by Didi
2016-07-27

Hi Tom,

can help how to change in search area, let say email textbox change to dropdown list / combo box with @abcd.com, @defg@com?

Need advice and thanks before.
Posted by Tom
2016-07-28

Hi, How about removing the text box and adding a new selection box instead of converting the text box to a selection box? It's much easier to replace a field with another than convertiong. Because ... Read More
Posted by Adrian
2016-07-25

Hello Tom,
I want to rearrange data in search page but I don't know what file needs to be edited. please help. thanks
Posted by Tom
2016-07-27

Hi,

>I want to rearrange data in search page

Please edit the php template of the search page. The path to the search page template is web/staff/tpl.(table-name).search.inc.php.
Posted by jan
2016-07-21

i have a question
is it maby posible to add pictures to a poll
when i make a poll from this site you can make a poll with name and a 1 2 3 answere but i wil have a poll name and the optie 1 a ... Read More
Posted by Tom
2016-07-21

>is it maby posible to add pictures to a poll

You can add pictures to poll templates but you can't add pictures to a poll as the poll options.
Posted by Sophy
2016-07-19

HI, I want to create one more field that allows me to upload file like picture into this system, but I couldn't find which php file show I edit.
Posted by Tom
2016-07-20

To add a field, please read "Copying a Field"
http://www.phpkobo.com/address_book.php#copy_a_field
Posted by Tahmidul
2016-07-16

Hello Tom,
I need to know, how can I change the default ID number ?
I want to use 1,2,3 instead of 1001,1002,1003 !

How can I do that ?
Posted by Tom
2016-07-17

Hi,

>I want to use 1,2,3 instead of 1001,1002,1003 !

Open web/install/sql/sql.txt in a text editor and find the following line:
) ENGINE=MyISAM AUTO_INCREMENT=1001 DEFAULT CHARSET=utf8;
1001 is ... Read More
Posted by John Kraus
2016-07-10

thx Tom

play around - and it works fine.

will alternate later

http://2-0-0-0.com/truepoll/

best, John
Posted by Tom
2016-07-10

You are welcome :)
Posted by RobD
2016-07-07

Tom, would it be feasible for you to update your poll script, for the sake of new users who would like the W3C validator be happy?

I think this is a great script and it deserves to be kept ... Read More
Posted by Tom
2016-07-09

Hi RobD,
Well, this is not really technical problem. From my past experences, I can tell this type of modifications will confuse the users greatly. Probably I shouldn't do it unless I had chance to ... Read More
Posted by nabavianpour
2016-07-06

Hello dear Tom.

Please help me. How can i make search that search a text in all fields.
Thank you.
Posted by Tom
2016-07-07

Hi,

>How can i make search that search a text in all fields.

Sorry this is not implemented yet, so you just have to dig into the code and modify it. It's requested now and then, so it's in my ... Read More
Posted by amit mishra
2016-07-05

Hi

i am use this. but any massage in unicode (hindi) email recived. but email is not redable

if unicode in not working .
Posted by Tom
2016-07-06

Hi, this is not a unicode script. Actually, this is the only one that is not a unicode. In this script, to keep it simple and easy to modify, the php email function is used to send emails. If you ... Read More
Posted by Andy
2016-07-03

I will contact my web hosting company to fix it. Thank you very much.
Posted by Tom
2016-07-05

You are welcome!
Posted by Andy
2016-07-02

Thank you for your reply. The hard coded value is working for the polls. Yes, I want to fix the server. Do you know how to fix my server which is returning a wrong domain in $_SERVER["SERVER_NAME"]? ... Read More
Posted by Tom
2016-07-03

>Do you know how to fix my server which is returning a wrong domain in $_SERVER["SERVER_NAME"]?

I don't know. You just have to look around in the server with the root privilege. Most likely it's a ... Read More
Posted by Susan
2016-07-02

Please provide me with my purchased product. No download link in my inbox or spam.

Description: Text Ad Script v1.08
, Item#: TAGAX-108
Unit price: $9.95 USD
Qty: 1
Amount: $9.95 USD

Receipt: ... Read More
Posted by Tom
2016-07-02

Hi Susan, the emails sent to you were all bounced back. Would you send me another email address of yours?
You can use this form to send me your email address.
http://www.phpkobo.com/contact-us
Posted by Andy
2016-07-01

Hi Tom,

Even I changed both of the codes:
<script type="text/javascript" src="http://www.uswebcity.com/polls2/jquery.js"></script>
<script type="text/javascript" ... Read More
Posted by Tom
2016-07-02

The domain name is reported by $_SERVER["SERVER_NAME"] at
web/app.code/CTClassSys.inc.php, line 62.

I believe your server is returning a wrong domain in $_SERVER["SERVER_NAME"]. If you don't want ... Read More
Posted by Didi
2016-06-29

Hi Tom,

in search criteria, i just want to show field Firstname, Lastname, Extention, and Company.

Please advice and thank you.
Posted by Tom
2016-07-01

>in search criteria, i just want to show field Firstname, Lastname, Extention, and Company.

Please remove other search criteria from the template web/staff/tpl.(table-name).search.inc.php. You can ... Read More
Posted by Andy
2016-06-29

Hi Tom,

Thank you so much for the speedy reply. My hosting company said they could not changed my default domain name to www.uswebcity.com. So can you tell me how to change the poll scripts (PHP) to ... Read More
Posted by Tom
2016-07-01

OK, this may solve the problem. In the step1, use this line
<script type="text/javascript" src="http://www.uswebcity.com/polls2/ajax-poll.php"></script>
instead of
... Read More
Posted by Andy
2016-06-28

I don't see the polls (all three poll-simple, poll-background-image, and poll-multi-choice) show up on the pages. Can you check it out? Thanks.
Posted by Tom
2016-06-29

Hi Andy,

just remove "www." from "www.uswebcity.com" like
http://uswebcity.com/polls2/poll-simple/index.php

It looks like "uswebcity.com" is the default domain name in your website ( instead of ... Read More
Posted by Andy
2016-06-28

Hi Tom,

I installed the poll on my website. But it isn't working. The PHP version is PHP 5.6. Here is the URL: http://www.uswebcity.com/polls2/poll-simple/index.php Thanks.
Posted by zec
2016-06-25

Hello, I have a list of contacts with multiple users to each one got a nickname and some data more, what I want is that they update only some form fields and can not modify the other, how can I make ... Read More
Posted by Tom
2016-06-26

Sorry, there aren't any turn key solutions for that in the script.
But it's definitly possible. You just have to read the code and come up with some modification!
Posted by Dima
2016-06-23

Hello dear Tom.

Please help me. How can i do search button as text button not image.
Thank you.
Posted by Tom
2016-06-23

Hi Dima, this article will help you.
http://www.phpkobo.com/article--m3484
Posted by zec
2016-06-21

very good job, my question as I create a user with another feature
1. registration (administrator )
2. Reading (staff)
3. Amendment (new )

Thank you...
Posted by Tom
2016-06-22

Yes, I think the roll-based security feature is important. It's in our to-do list. Thanks for your suggestion!
Posted by Gregor
2016-06-20

Hi! Where can i rename the Buttons "Next", "Back",...? Would be great to use the Form in other languages.
Posted by Tom
2016-06-21

Hi, you can edit it in the templates. The template path is web/form/tpl.(table-name).reg_page1.inc.php and web/form/tpl.(table-name).reg_page2.inc.php.
Posted by kazi
2016-06-19

Hello. Is it possible to use php include to load data? I tried it to no avail :(
Posted by Tom
2016-06-21

>Is it possible to use php include to load data?

Theoretically, yes but many hosting companies disallow you to use the include function to load data through HTTP. Please use file_get_contents ... Read More
Posted by Dima
2016-06-19

Hello dear Tom. This time a have a problem like this.

How can i preview only last 3 record in address book. For example.
I have a little window in about.detail.php file, and i need to preview in it ... Read More
Posted by Tom
2016-06-21

Hi, there are no utilties you can use in the script to get the last 3 ids. You need to open the database and run a query, which requires a basic knowledge about PHP and mysql.