Scripts.com - Get the best scripts NOW!
HotScripts.com - Over 10 web rings.
more links...
Ron Paul 2008 - Hope for America
    
Index    News    Downloads    E-Mail me    Forum  
user name  password 
Sign Up

Hello WorldFrancisco Charrua    Monday February 27, 2006 2:17 PM
Welcome to my little forum, a place where you can ask questions about my little scripts. Once you sign up and get your password, you may start posting. For now, you may only post once every hour. This is to avoid spamming.
PHPBhargava    Friday October 06, 2006 5:14 AM
Hii,
I am novice and wana have .php gallery on my site (my site accepts apaceh,phe,etc etc)and when I tryed ur gallery.zip (unzipped an duploaded to my site)in a newly created folder named gallery it doesnt work.
it shows some errors.
So my question is how shud i do this and how do i change the contents like looks,etc to match my site.
I normally work on dreamweaver for html but I ma unaware of php.
plz help
countdown-clock.jsclutchgp    Wednesday March 01, 2006 4:01 PM
Hello. I'm having a problem getting the countdown clock to appear on my page. I've pasted the contents of the "countdown-clock.js" file between script tags in the body of my html page and have used the following script to execute the function:

<script type="text/javascript">countdown_clock(06, 03, 14, 00, 00, 1);</script>

Nothing appears on my page. Am I doing something wrong? Thanks for your help.
sampleFrancisco Charrua    Thursday March 02, 2006 10:26 AM
<html>

<script type="text/javascript">
/*
Hi,

This is a sample HTML file that should work.
Just Place the 2 functions here. My guess is
that you had a syntax error in your HTML.
*/
</script>

<body>
<script type="text/javascript">countdown_clock(06, 03, 14, 00, 00, 1);</script>
</body>
</html>
agenda-calendar.phpclemant    Thursday March 16, 2006 4:36 AM
Hi


I'm actually a php-newbie, but i thought i'd be able to use this script. I managed to have it up on http://www.scoutshalle.be/jacht/agenda.php and I'm able to login & logout which means my settings are right. In phpmyadmin I can also see that the table is created. But there are a few things i wont get: when i click on i.e. tomorrow or a day next week, I get a 404. So my question is, how can you add events to the calendar and is there a way to disable the non-existing links?

Tnx

clemant
agenda.phpFrancisco Charrua    Thursday March 16, 2006 9:58 AM
Hi Clemant,

This is a problem that occurs when someone renames agenda-calendar.php to something else. All the <a href="agenda-calendar.php"> in the script would have to be replaced with <a href="agenda.php">.
Erok    Thursday March 30, 2006 6:40 PM
No, doesn't work for me, I supposed you speak Spanish --all about your name--, I come from Chile all Spanish Speakers, well, I try to integrate the Script, but doesn't create any DB or Table, and the login/logout worst!!!, don't talk about to set a reminder, doesn't work for me, something is bad I don't know...
Ah!!!, to what is for the .asp file who came include in a .zip????

Cont
databaseFrancisco Charrua    Wednesday April 05, 2006 1:49 PM
Hi Rodrigo,

The script does not create a database for you. You would have to do that yourself, and modify $User, $PassWord, and $DataBaseName at the beginning of the script, so it can log in properly. Then, the script will be able to create the necessary table(s).

I can write in English, French, and Portuguese (sorry, no Spanish).

Cheers
will    Saturday March 25, 2006 3:42 PM
On: http://scripts.franciscocharrua.com/jpg-resize.php
you write
"Include the script at the beginning of your php files <? include("jpg-resize.php"); ?> and call the function from wherever you want to place an image."

Please could you give me an example of what you mean by "call the function" that I should insert in the webpage.

What does this call consist of?

Thanks,

Will

function callFrancisco Charrua    Monday March 27, 2006 9:19 AM
<%
image_resize("images/picture.jpg", 50, 50, false);
%>

Hope this helps,

Fank
agenda-calendar.phpsimone    Saturday April 15, 2006 7:44 PM
Hey I found agenda-calendar.php a very simple but useful script how ever I am not an expert in PHP however I am working on that part.. any how here are the two problems I am running into:
1. when i insert data into the agenda via the login script I get te following error...
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in xxxxxxxxxx\agenda-calendar.php on line 62
btw the xxxx are in reference to the path fow where the php file is located. The thing is that the date gets saved fine and gets retrieved without any error conseguently the problem is only presente when the data is being entered

2. I wanted to know if there was a way to change the language? I am applying this script to a site where Italian is the primary language. As I said I do not know php very well so I don't know where I need to make the changes to make everything italian.

thanks for all the help

agenda-calendar.phpFrancisco Charrua    Thursday April 27, 2006 3:45 PM
Hi Simone,

Line 62 would be
$entry = mysql_fetch_array($entries);
you can change it to
$entry = @mysql_fetch_array($entries);
Doesn't really solve the problem, just tells PHP to stop complaining.
my bad ^_^

To change the Language to Italian, I think it's doable. May take a bit of work from your part. Save the original script as a backup and try to make changes incrementally.
server-side-countdown-clock (php)fireman    Sunday April 16, 2006 1:33 PM
Hi,
Could you please provide a complete sample page for use of the server-side-countdown-timer using php? It would help!

Thanks
server-side-countdown-timer.php sampleFrancisco Charrua    Thursday April 27, 2006 2:38 PM
<html>

<head>
<script src="server-side-countdown-clock.php"></script>
</head>

<body>
<script>
//June 1, 2010, 10pm.
countdown_clock(10, 6, 1, 22, 00, 1);
</script>
</body>

</html>
how get $time_sync in php ?yuanyuan    Friday April 21, 2006 2:41 PM
in My Little Countdown Clock ,

how to get the 1st time $time_sync in PHP ? thanks..
like this..
countdown_clock(7, 4, 21, 14, 40, 46790000, 3, '');

46790000 is $time_sync time...

3Q :)

parameterFrancisco Charrua    Thursday April 27, 2006 2:49 PM
Hi yuanyuan,

The parameter is generated for you here >> http://my-little-scripts.com/services/countdown-clock/
After you enter the date that you wish to count down to, and press either "create countdown clock(1)" or "create countdown clock(2)" buttons.
real-estate-listingsarts99    Saturday May 27, 2006 9:38 AM
Hi,
Can you please send me detailed instructions as to how to get it to running?
I have created the required mysql tables. Changed the db_username_password.php according to my sql database.

However when I try to open any of the pages I get error like this:

Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in D:\hshome\selfmana\house4let.com\home.php on line 65

Warning: mysql_select_db(): Can't connect to MySQL server on 'localhost' (10061) in D:\hshome\selfmana\house4let.com\home.php on line 66

I think its a authentication error, but can you help me with it. Is there a a default user name and password for admin section?

Kind regards
countdown-clock.jskalon1277    Saturday June 10, 2006 1:50 AM
Hi Francisco,
You have one of th best countdown scripts out there.
I tried to use it and it worked beautifully in Internet Explorer, but didnt work in Firefox.
The same script on your site works in Firefox. So I know it must be something wrong on my side but I think i did it exactly the same as you did.

Heres a link to check it out
version with seperate js file
http://www.kevincampbelldesign.com/clients/xworld/website/home.htm
version with script in the head
http://www.kevincampbelldesign.com/clients/xworld/website/home2.htm

Help!

doctype bluesFrancisco Charrua    Sunday June 11, 2006 9:25 AM
Getting rid of

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

will allow the timer to work in FireFox.
Countdown-clock.jsmaxr    Thursday June 15, 2006 3:46 AM
Hello. Was wondering if you could change the countdown clock format? i.e. font, font size, color - even maybe replace the words by graphics? is this possible?

Thank you for your help - love the script!
possiblitiesFrancisco Charrua    Monday July 24, 2006 12:31 PM
Hi Maxr,

Changing the font would be easy. As you can see from the line
html_code = '<div id="countdown"></div>';
all you would have to do is use css to set the font properties of "countdown".
Implimenting the use of images would be a little more complicated, but possible. Nothing that a bit of imagination and hard work could not accomplish.
server-side-clock.phpFox    Sunday July 23, 2006 8:26 AM
hello,
need some help getting this running.
calendar with european week FormatGuerrero    Friday July 28, 2006 11:22 AM
hi! Have you the calendar script with Euro Week Format?

also, here is some demos of your scripts as the layer ones?
js editorGuerrero    Friday July 28, 2006 11:43 AM
I'm looking a js editor.
Do you know the perfect one?
I've seen the websites:

http://yaldex.com/JSFactory_Pro.htm
http://www.c-point.com/javascript_editor.php#licensing
http://www.scryptik.com/
http://www.interaktonline.com/Products/Eclipse/JSEclipse/Overview/?gclid=CM7_n83stIYCFSljEAodNmQoQA

but don't sure about the election, and if any other available.
Mac and scriptsold_mac    Wednesday August 09, 2006 6:27 PM
Server-side-countdown-timer.php will not run on the Mac except for Firefox. It does not work on Safari, Daybreak, Opera, Shiira etc, all based on the same engine. I don't know where it goes off the rails but I think it may be the recursive call it doesn't like.

Just thought you should know Francisco

Chris, Kingston
Mac innerHTMLold_mac    Wednesday August 09, 2006 10:14 PM
Safari and other browsers built on the same engine do not handle innerHTML correctly or at all. To bad cause it looks like a great script

Chris
re: Mac inner HTMLkevin    Monday November 27, 2006 9:18 AM
so is there a way this script will work in safari? I have it running in IE, FF on both Mac and Windows, but not Safari (for the reasosn mentioned by Chris i am assuming). Any work arounds for Safari?

Thanks,
Kevin
user.login.phpMetallica1991    Wednesday August 23, 2006 10:44 PM
Ok... i wanna use this user login.php on my own sonic website.... and well i put it into the html. and i click preview. and i actually do see the user name and password login box.. but how do i set it to my own password and login name? and it will take my only to angelfire. how do i make it ake me to me website?
fonec    Thursday August 31, 2006 9:10 PM
thanks for u

www.upload2all.com
undo    Friday October 06, 2006 9:45 AM
Hi!
I am new to PHP&MySQL. I used to wite my scripts using Dreamweaver.
The point is that i find your script "Database file Upload/Download" very usefull but i don't know how to use it.
Is it possible to write a small tutorial of how to make it work?
This will help other people too.
Thank you in advance.
Upload / Download ScriptFrancisco Charrua    Thursday November 09, 2006 9:40 AM
<?
//Uploads and stores a file in a database.
function db_upload_file($input_name, $database_name, $table_name, $file_bytes_col, $file_name_col)

//Makes a stored file available for download.
function db_download_file($file_name, $database_name, $table_name, $file_bytes_col, $file_name_col)

$input_name is the name of the <input type="file" /> used to upload.

$file_name is the name of the file you want to get from your database. It will be stored in $file_name_col. $file_name_col is the column in $table_name that will contain the names of the uploaded files.
ASP Login Scriptclickit    Saturday October 07, 2006 4:30 PM
Hi. I'm new to ASP and was searching for a way to password protect a particular page on my site which contains access to my db. I'd like the try the script but I don't know where to put the ASP code....does this go in the login page or the destination page (where they are taken after login?) and what changes do I have to make to the code to put my username/password info in and direct it to the correct page?
Regarding my ASP Login ScriptFrancisco Charrua    Thursday November 09, 2006 9:24 AM
The script goes on the page that you wish to password protect. The way you implement it is up to your imagination. You do need some experience in ASP to properly work with my scripts. If you dont't have experience, I would suggest experimenting.
webhosting calc costumjune    Monday October 16, 2006 9:42 PM
I am using the webhosing calculator , its really great and helping me.
i need to costumise it for my needs and am not succeding much speacily with my small knowlege in writing php .

how to make : if plane professional hosting package taked then domain is for free.
as well how do i creat for each TLD other price (for example the .com 9.9).

thanks in advanced!
^_^Francisco Charrua    Thursday November 09, 2006 9:44 AM
I think this can be a good oportunity for you to get experience in PHP scripting. Unlike my other scripts, this one may be a little tough to edit. I would suggest making a backup and try making changes to it incrementally.
Serverside Countdowngamer13    Sunday December 10, 2006 9:55 AM
I have a question about the serverside countdown clock.
When it is finished it says:
0days 0hours 0minutes 0seconds, but how do I input my own message; e.g. Finished! Click <a href="link.html">here</a> to continue

Plz help.
Answer: Serverside Countdowngamer13    Tuesday December 12, 2006 10:05 AM
I found out how to do that ^^

In the function: switch(format) you see:

//The simplest way to display the time left.
document.all.countdown.innerHTML = Time_Left + ' seconds';

after that you type:

if (Time_Left == 0) { // if on screen: "0 seconds" then "Finished!"
document.write('Finished!');
window.stop() // Will stop the window from reloading and getting in a loop
}

And for the second method; you see:

//ps is short for plural suffix.
if(days == 1) dps ='';
if(hours == 1) hps ='';
if(minutes == 1) mps ='';
if(seconds == 1) sps ='';

after that you type:

if(days == 0 && hours == 0 && minutes == 0 && seconds == 0){
document.write('Finished!');
window.stop()
}

That's it!
another wayFrancisco Charrua    Monday December 18, 2006 12:19 PM
//No need to perform calculations if the countdown is over.
if(Time_Left != 0)

switch(format)
{
case 0:
//The simplest way to display the time left.
document.all.countdown.innerHTML = Time_Left + ' seconds';
break;
case 1:
//More datailed.
days = Math.floor(Time_Left / (60 * 60 * 24));
Time_Left %= (60 * 60 * 24);
hours = Math.floor(Time_Left / (60 * 60));
Time_Left %= (60 * 60);
minutes = Math.floor(Time_Left / 60);
Time_Left %= 60;
seconds = Time_Left;

dps = 's'; hps = 's'; mps = 's'; sps = 's';
//ps is short for plural suffix.
if(days == 1) dps ='';
if(hours == 1) hps ='';
if(minutes == 1) mps ='';
if(seconds == 1) sps ='';

document.all.countdown.innerHTML = days + ' day' + dps + ' ';
document.all.countdown.innerHTML += hours + ' hour' + hps + ' ';
document.all.countdown.innerHTML += minutes + ' minute' + mps + ' and ';
document.all.countdown.innerHTML += seconds + ' second' + sps;
break;
default:
document.all.countdown.innerHTML = Time_Left + ' seconds';
}

else
//Your message:
document.all.countdown.innerHTML = 'Finished!';
formfaeez    Wednesday January 10, 2007 12:54 AM
Hi I've used the code you supplied to build a email.php, where to I enter the mail address I want the content to me email to? I sued the code below:

<html>
<head>
<title>email</title>
</head>

<body>
<form name="email" method="post">
<table align="center">
<tr>
<td>from</td>
<td align="right"><input type="text" size="60" name="from" /></td>
</tr>

<tr>
<td>to</td>
<td align="right"><input type="text" size="60" name="to" /></td>
</tr>

<tr>
<td>cc</td>
<td align="right"><input type="text" size="60" name="cc" /></td>
</tr>

<tr>
<td>bcc</td>
<td align="right"><input type="text" size="60" name="bcc" /></td>
</tr>

<tr>
<td>subject</td>
<td align="right"><input type="text" size="60" name="subject" /></td>
</tr>

<tr>
<td colspan="2">
<textarea name="body" cols="60" rows="10">
</textarea>
</td>
</tr>

<tr>
<td colspan="2" align="right">
<input type="submit" value="send" />
</td>
</tr>
</table>
</form>

<?
function param($Name)
{
global $HTTP_POST_VARS;

if(isset($HTTP_POST_VARS[$Name]))
return($HTTP_POST_VARS[$Name]);

return("");
}

$from = param("from");
$to = param("to");
$cc = param("cc");
$bcc = param("bcc");
$subject = param("subject");
$body = param("body");

if($from != "" && $to != "" && $subject != "")
{
$headers = "From: " . $from . "\n" .
"To: " . $to . "\n" .
"CC: " . $cc . "\n" .
"BCC: " . $bcc;

mail("", $subject, $body, $headers);
}
?>
</body>
</html>
0_oFrancisco Charrua    Tuesday January 16, 2007 3:21 PM
<tr>
<td>to</td>
<td align="right"><input type="text" size="60" name="to" /></td>
</tr>

???
real-estate-listingshbsnam    Thursday February 01, 2007 12:58 PM
Hi there

Trying to install your script, but when trying to create tables using the import text file function under php myadmin, getting an error for for_rent and for_sale file, something about missing syntax.

What to do, pls?
agenda-calendar.phpRedondo    Sunday February 25, 2007 11:22 AM
Hey
I am having some problems understanding it, I am a first class noob when it comes to php and mysql, but I really want a calendar/agenda function (or more correctly my girlfriend).

1. How much of the script below goes into the mysql database I gather it is
from //This below will create your table for you if it does not
exist.............but for how long down the script, and the part that i put
into the database do I then delete it from the php script or leave it as it
was?.

2. Not sure on how to work the login function so that you can add or delete
things you are doing on the calendar for different days, what I am wondering
about is where in the script do I write the user and password that I want to use when logg-in to make some changes to the agenda for the week and soon, there are so many places that ask for password, username and I am not sure if it is for the logg-inn function for the calendar or for the mysql database?

is the agenda-calendar.php file the only thing i need to load up to my account or do i need to load up the other files mentioned on the page of the agenda-calendar.php?

cheers
Thor
agenda-calendarFrancisco Charrua    Wednesday February 28, 2007 11:01 AM
1) the line
mysql_query($create);
creates the table using the variable, $create. It ends there.

2) at the beginning of the script you will find:

$Host = "localhost";
$User = "";
$PassWord = "";
$DataBaseName = "";
$TableName = "agenda";

The script needs these things to be able to log on to your database.

And finally, you just need agenda-calendar.php, and an existing MySQL database who's name you assign to the variable $DataBaseName.
LOLonyblonx    Wednesday March 07, 2007 1:09 PM
"0_o Francisco Charrua Tuesday January 16, 2007 3:21 PM
<tr>
<td>to</td>
<td align="right"><input type="text" size="60" name="to" /></td>
</tr>

???"

Francisco, I almost fell off my chair laughing when I got to this reply post. Your scripts are great, Im an advanced user and the instruction your giving people to experament and stuff is awsome. Thats how I got started and it is the best way to learn. Your scripts lend themselves especially well to that. Thank you for your time and work and espcially your support on this site. You are one of the people who loves to teach. Its a great quality. Thanks again!
thank youFrancisco Charrua    Thursday March 15, 2007 2:02 PM
Yes, sometimes I just don't know how to answer some of the questions on my forum.
I like to think that website programmers can debug and modify what they find here. Scripts written by your hand are usually easier to maintain than those downloaded and installed. They can be integrated into the design of a website, and they are safer, because hackers will usually target popular premade scripts.

Thank you for ^_^ for the thumbs up.
onyblonx    Wednesday March 07, 2007 1:12 PM
Countdown Clockraytown    Monday May 14, 2007 6:22 PM
Hi

I am trying to set up a php countdown clock. I got everything going perfectly. I made my CSS page to change the size and font of the countdown clock and it worked, the only problem is the clock didnt change to the correct color and it is still underlined. I thought I took care of this in the CSS. stumpped on this one.

Also another important thing is the clock is linked to one of your web pages. I need it to link to one of mine. How can I do this? Thanks for your help! :)

Hosted CountdownFrancisco Charrua    Monday May 14, 2007 7:55 PM
Hi Ray, since I can't see your html, I'll take a guess and assume you have a css syntax error. As for the link, since I am hosting the countdown clock, it is a way of giving myself credit.
Logincoza1    Thursday June 21, 2007 3:02 PM
Hi Francisco,
I need to create a registration and login system on my website that works exactly like yours on this forum. I have reasonable knowledge of HTML, having built the site myself, but cannot get an automated login system going. The site is question is at http:www.tracernet.co.za
Please help.
Johan Smal
Login explanationFrancisco Charrua    Friday June 29, 2007 2:17 PM
Hi Johan,

This forum works in conjuction with a one table MySQL database. That table is a list of user names, email addresses, and encrypted passwords. When you submit your user name and password, there is PHP code written into this forum that reads them in as form data, and looks for a match in the table.
Wheel of FortuneJJ    Friday February 22, 2008 2:03 PM
Was admiring your Wheel of Fortune script on your site. I tried to download the .zip, but for some reason it won’t open in winzip (message: Not a valid archive). I would like to see what you have done, if it’s alright with you. Is there any other way to get the .zip file?

Thanks
zip fileFrancisco Charrua    Monday March 24, 2008 2:48 PM
You should be able to download the zip file right now.

Google
  Web scripts.franciscocharrua.com