Ajax Poll Script
Address Book Script
Form2DB
PayPal IPN + eProduct Delivery Script
Lead Follow-Up Database Script
Ajax ContactUs Script
AdFreely -Ad Board Script-
Ajax Likes Script
Fade-In Slideshow
Text Ad Script
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 Adrian
1469486288

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

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
1469129606

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

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
1469044802

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.
Posted by Mark
2016-06-16

Thanks tom, im still learning PHP and AJAX ill let you know how it goes, thanks :)
Posted by Tom
2016-06-17

You are welcome :)
Posted by Geo
2016-06-12

Hi tom, thanks for your help. i'm almost done with customizing poll. i want to log votors ip address with $_SERVER['REMOTE_ADDR']. where should i put it in? there are just too many files there,,,,,,
Posted by Tom
2016-06-13

The best place is the doVote() function in web/lib/client/CAjaxLikes.class.php. Put your code at the bottom of the function like:
... Read More
Posted by Geo
2016-06-10

Thank you, Tom! in one of my polls thank you message gets cropped. any way to fix it? other polls work perfectly.
Posted by Tom
2016-06-11

Probably, the div that contains the poll has "overflow:hidden". There are three solutions.
(Solution 1) Use "overflow:visible" in the div that contains the poll.
(Solution 2) Move the poll out of ... Read More
Posted by Cristian Sosa
2016-06-10

Hi, thnxs 4 the script. Looks very, very good. I test the script now in my website.

Much, much thnxs 4 the free script :)

bless :)
Posted by Tom
2016-06-11

You are welcome!
Posted by Brian
2016-06-10

Tom -

Thanks for your comment below. As a follow-up question then, what port does the email sent out through? I can create a tunnel to my SMTP host, but, that doesn't seem to be working and i am ... Read More
Posted by Tom
2016-06-11

>what port does the email sent out through?

It uses the value specified by smtp_port in php.ini file. You can override it by adding the following line to config/config.email.noify_follow_up.php.
... Read More
Posted by Brian
2016-06-09

Hi - great program - excited to check it out. My SMTP host requires TLS so i am running into an error:

EMAIL ERROR : 530 Must issue a STARTTLS command first

How can i resolve this? Please let me ... Read More
Posted by Tom
2016-06-09

Sorry, TLS protocol is not implemented. It does basic authentication though. You have to use a protocol other than TLS.
Posted by Geo
2016-06-08

Thank you for the reply! another question. I want fixed poll width. Where can I set poll width?
Posted by Tom
2016-06-09

Hi,

>Where can I set poll width?

You can specify the width of the poll in the css file. The path to the css file is web/tpls/(template-name)/css/style.css. Alternatively, you can enclose the poll ... Read More
Posted by Geo
2016-06-07

I want to remove checkmarks. I deleted ld-tipbox-already-voted form ajax_likes.js but no change. why?
Posted by Tom
2016-06-08

Hi,

>I deleted ld-tipbox-already-voted form ajax_likes.js but no change.

Please don't delete it from the javascript file. To remove the check marks, remove the following HTML elements from the HTML ... Read More
Posted by johgats
2016-06-07

Thanks for the good work.

how can i make some fields on the form mandatory and also reduce the search fields.
Posted by Tom
2016-06-08

Open web/codelib/asc/df.fl.(table-name).inc.php and find the field definition array.
For example, the following is the field definition array of the "first_name"
... Read More
Posted by Ehab Magdy
2016-06-05

I need to edit the note field to be department field "rename"
how can i do that?

Thanks

Posted by Tom
2016-06-06

Hi,

>I need to edit the note field to be department field "rename"

If you just want to change the caption of the field, you can do it in
web/codelib/cfg/res.eng.app.inc.php
Posted by Beaster
2016-06-02

Your project is FANTASTIC!!! I was looking up for something like this a long time. I have only one question - for me as "greenhorn" in PHP is sometime very hard to read and understand PHP code this ... Read More
Posted by Tom
2016-06-03

Hi,

Thank you for your nice comment! You can say this is MVC structure though it's not really clear in academic sense. A unique point of the script is that it's designed in such a way that you can ... Read More
Posted by Rami
2016-06-01

how i can hide add and delete option for staff users
i wanna this options for admin user just

thank you
Posted by Tom
2016-06-02

Hi,

>how i can hide add and delete option for staff users

these articles will help you!
http://www.phpkobo.com/article--m2756
http://www.phpkobo.com/article--m3342
Posted by haritha mullapudi
2016-05-31

Good efforts helps a lot
Posted by Tom
2016-05-31

You are welcome!
Posted by Jake
2016-05-31

Really nice... my only gripe is the tclass in <div class='ajax-poll' tclass='poll-simple'></div>
breaks W3C validation. :(
Posted by Tom
2016-05-31

Hi,

>Really nice... my only gripe is the tclass in <div class='ajax-poll' tclass='poll-simple'></div>
breaks W3C validation

You are right. The first version of Ajax Poll Script was written long ... Read More
Posted by Carlos Rivas
2016-05-30

I need the script but voting with image for each vote the user must choose two images and add it to individual statistics live ... I have ???
Posted by Tom
2016-05-31

Hi,

>I need the script but voting with image for each vote the user must choose two images and add it to individual statistics live

You can modify Ajax Script to fit it to your needs but probably ... Read More
Posted by Poul
2016-05-28

Hi, Tom

I'm implementing Address Book Script to do something you probably don't expect :) I'm try to use it for CDR viewer. I'm almost done but I have problem witch search.

I need to do search for ... Read More
Posted by Tom
2016-05-30

>I need to do search for date grader than (>) and lower than (<).

Hi, the following example is for the 'rlog_edit_date_time' field.
In web/codelib/asc/dl.fl.address.inc.php, find ... Read More
Posted by Kenneth Agee
2016-05-27

Hello, looking for script I can run on our servers, for security reason we can not have any code that links to our side servers.
Posted by Tom
2016-05-28

> for security reason we can not have any code that links to our side servers.

How about installing the script on a website which is not your main site like www.my-dummy.com?
Posted by Oscar
2016-05-26

Dear: Tom you are the best I did it. Thank you.
Posted by Tom
2016-05-28

You are welcome :)
Posted by Oscar
2016-05-25

But where I have to put this code

$this->sys->AuthSession->GetV( "username" );

to get the Picture for every User is login, I can get name but I wan to add the picture with name, if I used other ... Read More
Posted by Tom
2016-05-26

>But where I have to put this code

Use it when you need to get the username of the user currently logging in.
For example, the following code will display the username in a template file.
... Read More
Posted by Oscar
2016-05-23

Dear: Tom
I will like to ad the picture in the file as a user name. I have this code:

<td><div align="center"><img src="images/Ospath/<?php echo ... Read More
Posted by Tom
2016-05-24

To get the usernmae, please use this code:
$this->sys->AuthSession->GetV( "username" );
You can find an example at web/staff/include/tpl.body.header.inc.php, LINE 3.
Posted by Ronak Patel
2016-05-23

Sir i am little weak in php. In which file i should go and edit to add a text and button, linked to info page in admin and staff panel?
Posted by Tom
2016-05-23

You can modify templates. The template files are prefixed with tpl. and you can find it in the web/staff/ folder.
Posted by Ronak Patel
2016-05-22

Sir, is there any form available with radio button and checkboxes together in Form2DB??
Posted by Tom
2016-05-23

Hi,

>is there any form available with radio button and checkboxes together in Form2DB??

If you mean combining radio buttons and checkboxes in a field, no there is no such built-in feature. But of ... Read More
Posted by Abd
2016-05-22

Pls!!..how do I change the default username and password?
Posted by Tom
2016-05-23

Hi,

>how do I change the default username and password?

(1) Log in to the admin panel
(2) Click Staff
(3) Click the edit icon of the admin record
(4) Enter a new username and password
(5) Click OK
Posted by Brian
2016-05-19

how can I add: <a href="tel:5555555555">555-555-5555</a>
to the tel and cell engine. So when I add a tel/cell this will auto generate the click to call tag.

thanks
Posted by Tom
2016-05-20

Hi, this article will help you. Check it out!
http://www.phpkobo.com/article--m2072
Posted by Abd
2016-05-19

Pls sir...aside the admin panel, is there a page that is conected to the database where an ordinary user can fill there information and submit? thanks
Posted by Tom
2016-05-20

Hi, I think Form2DB is close to what you are looking for. Check it out!
http://www.phpkobo.com/form2db.php
Posted by Ronak Patel
2016-05-19

Thank you very much Mr.Tom. Now form is working awesome.
Posted by Tom
2016-05-20

Great!
Posted by Ronak Patel
2016-05-17

Thank you Mr.Tom for your reply and I respect your help and support to me. Actually ya i didnt got any error message. Form was successfully send. But didnt reached up to my mail box. I even tried it ... Read More
Posted by Tom
2016-05-18

>I even tried it with my gmail, yahoo and hotmail mail-Ids.

OK then most likely your webserver is not sending out. Please ask your server administrator to check the mail server log. It could be ... Read More
Posted by Ronak Patel
2016-05-11

Thank you very much for such wonderful support. Your website is truely amzaing. I had customized and downloaded forms from here. Form is getting feeded in DB but it is not getting mailed. Email is ... Read More
Posted by Tom
2016-05-12

Did you get any error message when you submited the form? Since you didn't write it, I'll assume there were no error messages. Then most likely the form was successfully passed to your mail server ... Read More
Posted by Ben
2016-05-08

Hey Tom, thanks for all of your hard work :) I love the address book script.

I am doing some design changes to the files eg:
http://goo.gl/EqGIh5 & http://goo.gl/kJx07Z

and I just cant seem to ... Read More
Posted by Tom
2016-05-09

Hi,

>how to remove the image from the buttons and change them to pure css.

First, open web/codelib/sys/CHtmlMacro.inc.php in a text editor. Find the following line:
... Read More