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

Little Countdown ClockGeoffrey    Sunday January 03, 2010 1:10 AM
I am not good on code so your assistance required. I need to increase the size of the countdown clock. The code I am using for the clock is below but when I put it on a web page, it is too small to draw peoples attention to it. How do I increase the size? Say to 20px and Bold. Geoffrey

<script type="text/javascript"
src="http://scripts.franciscocharrua.com/services/countdown-clock/countdown-clock.php">
</script>
<script type="text/javascript"><!--
countdown_clock(11, 2, 11, 18, 00, 57856000, 3, '');
//--></script>
calendar codding in phptosif    Friday December 25, 2009 6:45 AM
calendar.phptosif    Friday December 25, 2009 6:44 AM
Webhost client Manager Warnings and configQuiet City    Sunday November 15, 2009 9:01 PM
Hello Francisco. Thanks for your generous script offerings! I'm trying to get the Webhosting Client manager working. I guessed at the install and configuration after a few failed attempts to login.

I've created a new and blank database, and can log in to the WCM using the name and password associated with it. However, once in I get three mysql errors on the page, and cannot do anything further...

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/quietcit/public_html/hosting/web-hosting-client-manager.php on line 174

Errors are also in line 178 and 404. I can't figure out what I have to do to get this to work, but I suspect it has to do with the script not passing data to the database. There's also no data in the dropdown menu's for "Name Vendor" and "Processor".

Can you provide some simple instructions for configuring the script and/or database, and help on those errors? I really want to try using this script with my new company. It looks great!

Thanks
Len
tablesFrancisco Charrua    Saturday November 21, 2009 8:32 AM
You would also have to create the tables:
http://scripts.franciscocharrua.com/web-hosting-client-manager.php
Webhost client managersagi    Wednesday October 21, 2009 9:05 AM
I have the same problem as emc2
mysql_error()Francisco Charrua    Thursday November 12, 2009 8:46 PM
you can try and see if mysql_connect($db_host, $db_user, $db_pass)
generates an error message with mysql_error().
Webhost client manageremc2    Sunday October 18, 2009 2:32 PM
I also have the same problem as jmpal32 with logging in on Webhost client manager

$db_name = "xxxxx_client";
$db_host = "localhost";

$db_user = $HTTP_COOKIE_VARS["xxxxx_user"];
$db_pass = $HTTP_COOKIE_VARS["pass"];

tried it differant ways. I created a blank DB. (no fields)

Please let me know what I've done wrong.

EMC2
sagi    Wednesday October 21, 2009 6:48 AM
I have the same problem
mysql_error()Francisco Charrua    Tuesday November 10, 2009 7:44 PM
you can try and see if mysql_connect($db_host, $db_user, $db_pass)
generates an error message with mysql_error().
Webhost client managerjmpal32    Monday October 05, 2009 3:32 PM
I cannot log in to the client manager.
Take a look is there something I am doing wrong.
I created the tables in the database.
But when you gho to the page it wont let you in.
How do you give the login and password that works.
See what I mean.
http://jvsafelist.com/web-hosting-client-manager.php
jmpal32    Monday October 05, 2009 4:36 PM
Yes I put the database name in between $db_name = "Database name here";
Francisco Charrua    Monday October 05, 2009 11:10 PM
The user name and password should be the same as the ones for your database.
Francisco Charrua    Monday October 05, 2009 4:02 PM
did you edit
$db_name = "";
at the beginning of the script?
not a spammerzycool88    Friday September 25, 2009 3:27 AM
Wow, your scripts are so awsome!!!!
Francisco Charrua    Friday September 25, 2009 11:40 PM
Thank you so much for the complement, and for not spamming my forum, Mr. zy85575441@163.com.
agenda calendarxyba    Friday September 25, 2009 2:46 AM
im using the agenda calendar and the log in button is not working for me. my host is currently using php5.2.10 so im wondering if its the version problem causing deprecation?
Francisco Charrua    Friday September 25, 2009 11:12 PM
It's most likely a database issue where the script is unable to log in.
agenda calendarantoni    Monday August 24, 2009 3:00 PM
Parece una excelente agenda.

He leido que se puede personalizar la presentación del calendario. Desearía saber de qué manera se pueden presentar cinco semanas, dos antes del dia actual y dos más después.

Un saludo.
Using functions in PHPjohnain    Tuesday August 18, 2009 9:52 AM
hi all. I am new ti this PHP lark. But it doesn't seem too daunting to me. And it's fun.

I want to include one of the calendars on my web site, It's delivered as a function called calendar() with an optional parameter of $date.

I tried inserting a line that says <?php $getcal = calendar() ?> where I want it in the script and I inserted the function just below <body> in the same script. But nothing happens.

Any ideas will be welcome.

RE:Using functions in PHPBRUL    Sunday August 23, 2009 2:00 PM
<?php $getcal = calendar(); ?>
<?= calendar() ?>Francisco Charrua    Tuesday August 18, 2009 11:19 AM
<?= calendar() ?>
Using functions in PHPjohnain    Tuesday August 18, 2009 9:52 AM
hi all. I am new ti this PHP lark. But it doesn't seem too daunting to me. And it's fun.

I want to include one of the calendars on my web site, It's delivered as a function called calendar() with an optional parameter of $date.

I tried inserting a line that says <?php $getcal = calendar() ?> where I want it in the script and I inserted the function just below <body> in the same script. But nothing happens.

Any ideas will be welcome.

Using functions in PHPjohnain    Tuesday August 18, 2009 9:52 AM
hi all. I am new ti this PHP lark. But it doesn't seem too daunting to me. And it's fun.

I want to include one of the calendars on my web site, It's delivered as a function called calendar() with an optional parameter of $date.

I tried inserting a line that says <?php $getcal = calendar() ?> where I want it in the script and I inserted the function just below <body> in the same script. But nothing happens.

Any ideas will be welcome.

testaalokjain    Wednesday August 12, 2009 3:16 PM
test
aalokjain    Wednesday August 12, 2009 3:16 PM
i am looking for something in an QnA format. Is that possible. The QnA does not need to have a topic but just a thread. Question can be posted by the user and reply can be given only by the Admin. Anyone can view the question and replies. Is this possible.
yesFrancisco Charrua    Tuesday August 18, 2009 1:30 PM
Yes, it's possible.
agenda-calendar.php WarningKim    Tuesday June 30, 2009 2:15 PM

Hi ^^ When I press the save button

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in D:\Mis Documentos\AppServ\www\agenda\agenda-calendar.php on line 61


Please let me know what I am doing wrong, thx for the help !
agenda-calendar.php WarningFrancisco Charrua    Thursday July 02, 2009 10:25 AM
Looks like a MySQL error. Did you modify the variables at the beginning of the script?
You can try putting
print(mysql_error());
after
$entry = mysql_fetch_array($entries);
Help Me with the Item Shopping Cart Script Pleaseemichele20    Thursday June 18, 2009 11:12 AM
I am getting the following error message on the item-shopping-cart-edit.php page when I installed the shopping cart script on the :

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/domains/sophiasnaturals.com/www_root/item-shopping-cart-edit.php on line 83


Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/domains/sophiasnaturals.com/www_root/item-shopping-cart-edit.php on line 239

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/domains/sophiasnaturals.com/www_root/item-shopping-cart-edit.php on line 302

Please let me know what I am doing wrong. I have chomded all of the pages and still to same responses. Thanks
MySQL issueFrancisco Charrua    Thursday June 18, 2009 12:57 PM
You can replace include("db.php"); with

$db_host = "127.0.0.1"; or $db_host = "localhost";
and
$db_name = "your database name";

also don't forget to assign values to $UserName and $PassWord.

I hope this helps.
Forum fixedFrancisco Charrua    Tuesday June 16, 2009 1:08 PM
Good afternoon,

It finally came to my attention that members could not post messages on the forum. Thanks for the heads up ^^
server-side-countdown-clock.phpstefan7981    Sunday July 13, 2008 12:31 PM
How can I get a formation with a stylesheet for the text from the script. Can you give me a sample? Thanks!
a little fixFrancisco Charrua    Monday July 14, 2008 10:09 PM
Hi Stefan,

You can change the line
html_code = '<div id="countdown"></div>';
to
html_code = '<div id="countdown" class="countdown_style"></div>';

and create some css for countdown_style:

<style>
.countdown_style {color:0000ff; font-weight:bold;}
</style>

for example
PHP Photo Gallerykanchan    Thursday May 15, 2008 2:42 PM
Hi Francisco,

Can you please make us more clear about the photo gallery? i was actually looking for this type of script....
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.
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.
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.
onyblonx    Wednesday March 07, 2007 1:12 PM
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.
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.
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?
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>

???
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!';
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.
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.
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.
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
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
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
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
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.
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?
server-side-clock.phpFox    Sunday July 23, 2006 8:26 AM
hello,
need some help getting this running.
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.
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.
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
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.
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>
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.
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.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
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
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">.
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>
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