BuffaloHELP
Sep 30 2006, 10:33 AM
Original simple PHP calendar source hereI was looking for a simple PHP generated calendar. But I wanted to place detailed information to show on demand. And installing another database with separate management would have been too much of access codes and passwords to remember. And what if I want someone else to manage the calendar when I am not able? This is my version of using simple PHP calendar script to link to Yahoo! calendar. The twist is that figuring out how Yahoo! calendar selection worked. And then depending on which date was clicked it will bring up the appropriate date/week on Yahoo! calendar. First step was to understand the url. When checking the status bar I noticed //calendar.mail.yahoo.com/trap17.demo/?v=1&t=1157068800. The values of v as follows: v=0 : day view v=1 : week view v=2 : month view ...etc The values of t as follows: t values were assigned in total seconds in Unix Epoch time format starting from January 1, 1970. It took me about 8 hours to figure out how this worked. The logic I used was to figure out how to translate any given day number to unix seconds correctly. This will give an approximate time value for Yahoo! calendar to display correctly. CODE echo "<td bgcolor=#f2f2f2><a class='navigation' target='_blank' href='$yahoo/?v=0&t=$unixtime'> $day_num </a></td>\n"; This is the clickable link the script will generate using above values. CODE $clickdate = unixtojd(mktime(0,0,0,$month,$day_num,$year)) I found this code accidently that this will translate any $month, $day_num and $year set by the script. This was the hard part. Assign this to a variable. CODE $unixtime = jdtounix($clickdate); Once a desired date's unix time was located, it must be re-translated back to Unix Epoch time format. Note that when you just use unixtojd, it will return time value that does not match to the right number of digits. It's because Unix Epoch counts seconds from january 1, 1970. So let's say you want to find Unix Epoch of September 1, 2006, you have to figure out the total second difference between these two dates  Too much of work. But when unix time was found for julian date, you can then turn unix time to Unix Epoch value. CODE $yahoo = "http://calendar.mail.yahoo.com/trap17.demo"; To make my code user friendly, I have assigned the link to Yahoo! calendar as a variable. And the complete code goes like this. I modified from the original to insert a color CODE <?php //--my addition to Yahoo variables $yahoo = "http://calendar.mail.yahoo.com/trap17.demo";
//This gets today's date $date =time ();
//This puts the day, month, and year in seperate variables $day = date('d', $date); $month = date('m', $date); $year = date('Y', $date);
//Here we generate the first day of the month $first_day = mktime(0,0,0,$month, 1, $year);
//This gets us the month name $title = date('F', $first_day);
//Here we find out what day of the week the first day of the month falls on $day_of_week = date('D', $first_day);
//Once we know what day of the week it falls on, we know how many blank days occure before it. //If the first day of the week is a Sunday then it would be zero switch($day_of_week){ case "Sun": $blank = 0; break; case "Mon": $blank = 1; break; case "Tue": $blank = 2; break; case "Wed": $blank = 3; break; case "Thu": $blank = 4; break; case "Fri": $blank = 5; break; case "Sat": $blank = 6; break; }
//We then determine how many days are in the current month $days_in_month = cal_days_in_month(0, $month, $year);
//Here we start building the table heads echo "<table border=1 width=250>"; echo "<tr><th colspan=7> $title $year </th></tr>"; echo "<tr> <td width=35 align=center>S</td> <td width=35 align=center>M</td> <td width=35 align=center>T</td> <td width=35 align=center>W</td> <td width=35 align=center>T</td> <td width=35 align=center>F</td> <td width=35 align=center>S</td> </tr>";
//This counts the days in the week, up to 7 $day_count = 1;
echo "<tr>"; //first we take care of those blank days while ( $blank > 0 ) { echo "<td></td>\n"; $blank = $blank-1; $day_count++; }
//sets the first day of the month to 1 $day_num = 1;
//count up the days, untill we've done all of them in the month while ( $day_num <= $days_in_month ) {
//--my addition to Yahoo variables 2 $clickdate = unixtojd(mktime(0,0,0,$month,$day_num,$year)); $unixtime = jdtounix($clickdate);
echo "<td bgcolor=#f2f2f2><a class='navigation' target='_blank' href='$yahoo/?v=0&t=$unixtime'> $day_num </a></td>\n"; $day_num++; $day_count++;
//Make sure we start a new row every week if ($day_count > 7) { echo "</tr><tr>\n"; $day_count = 1; } }
//Finaly we finish out the table with some blank details if needed while ( $day_count >1 && $day_count <=7 ) { echo "<td> </td>"; $day_count++; }
echo "</tr></table>";
?> Since this is a simple table generating sequence, it will obey all your CSS template  Which is a very good thing. You can insert HREF class for the link. See the working model here calendarNext project modification idea - making hover effect to show different options, i.e. view in month/week/day. Give it a try...  **UPDATE** Looks like instead of translating and re-translating you can simply use CODE $unixtime = mktime(0,0,0,$month,$day_num,$year); now that I understand how mktime() works
Reply
jlhaslip
Sep 30 2006, 02:21 PM
BH, get out of my head... Been working on a calendar script all week wondering how to make it a web-based, accessible calendar for the schedule of the local Hockey association. Perfect timing for this Tutorial. I think I might have an idea or two to add some color to this thing. I will post them here when I come up with them.
Reply
BuffaloHELP
Sep 30 2006, 08:33 PM
Yes, the same unresulting searches lead me to develop this little trick myself. Looks like there aren't many sports related practical web scripts out there. Hummm... a possible opportunity to make on goods? And it wasn't that other PHP calendars weren't good enough. In fact EasyPHPCalendar was just super. But to use such over complexed script for few small sports leagues was not my intention. And to relate Yahoo! calendar (which what my teammates use anyway) already familiar with my team was the natural choice. Google calendar wasn't as easy as Yahoo! calendar to be utilized anyway. Yahoo! calendar also allows other Yahoo! users to add or modify one event calendar. This is useful when allowing multiple captains to have control over a season's league sessions. jlhaslip, how about highlighting days i.e., all Tuesdays, Tuesday thur Saturday or just the working days.**UPDATE** I have made few adjustments to highlight or make HREF link appear only for certain days of the week. The new addition to the code CODE $shadeday = date('D' , $unixtime);
if ($shadeday != "Sun" && $shadeday != "Mon" && $shadeday != "Sat") By adding this simple condition, I can let my CLASS to be used only Tuesday thru Friday. The modified code HTML <style type="text/css"> <!--@import url("css.css"); --> </style>
<body> Highlighting only certain days of the week<br /><br />
<?php //--my addition to Yahoo variables $yahoo = "http://calendar.mail.yahoo.com/trap17.demo";
//This gets today's date $date =time () ;
//This puts the day, month, and year in seperate variables $day = date('d', $date) ; $month = date('m', $date) ; $year = date('Y', $date) ;
//Here we generate the first day of the month $first_day = mktime(0,0,0,$month, 1, $year) ;
//This gets us the month name $title = date('F', $first_day) ;
//Here we find out what day of the week the first day of the month falls on $day_of_week = date('D', $first_day) ;
//Once we know what day of the week it falls on, we know how many blank days occure before it. //If the first day of the week is a Sunday then it would be zero switch($day_of_week){ case "Sun": $blank = 0; break; case "Mon": $blank = 1; break; case "Tue": $blank = 2; break; case "Wed": $blank = 3; break; case "Thu": $blank = 4; break; case "Fri": $blank = 5; break; case "Sat": $blank = 6; break; }
//We then determine how many days are in the current month $days_in_month = cal_days_in_month(0, $month, $year) ;
//Here we start building the table heads echo "<table border=1 width=250>"; echo "<tr><th colspan=7> $title $year </th></tr>"; echo "<tr> <td width=35 align=center>S</td> <td width=35 align=center>M</td> <td width=35 align=center>T</td> <td width=35 align=center>W</td> <td width=35 align=center>T</td> <td width=35 align=center>F</td> <td width=35 align=center>S</td> </tr>";
//This counts the days in the week, up to 7 $day_count = 1;
echo "<tr>"; //first we take care of those blank days while ( $blank > 0 ) { echo "<td></td>\n"; $blank = $blank-1; $day_count++; }
//sets the first day of the month to 1 $day_num = 1;
//count up the days, untill we've done all of them in the month while ( $day_num <= $days_in_month ) {
//--my addition to Yahoo variables 2 $unixtime = mktime(0,0,0,$month,$day_num,$year); $shadeday = date('D' , $unixtime);
if ($shadeday != "Sun" && $shadeday != "Mon" && $shadeday != "Sat") { echo "<td><a class='navigation' target='_blank' href='$yahoo/?v=0&t=$unixtime'> $day_num </a></td>\n"; } else { echo "<td> $day_num </td>\n"; } $day_num++; $day_count++;
//Make sure we start a new row every week if ($day_count > 7) { echo "</tr><tr>\n"; $day_count = 1; } }
//Finaly we finish out the table with some blank details if needed while ( $day_count >1 && $day_count <=7 ) { echo "<td> </td>"; $day_count++; }
echo "</tr></table>";
?>
</body> You can view the working script here
Reply
jlhaslip
Oct 1 2006, 12:29 AM
Oops. Just found one problem. Seems the date is tied to the server. It is 6:30 pm Mountain Daylight time on Sept 30th and when I clicked the calender demo link, it shows the October calender.
Reply
BuffaloHELP
Oct 1 2006, 12:41 AM
Hummm yes you're right. Is there a way to calculate viewer's time zone? Perhaps two options: 1) view in correct time zone according to a visitor 2) view in correct time zone according to event holder After making this post, a quick search revealed CODE bool date_default_timezone_set ( string timezone_identifier )
Lists of timezone_identifier http://www.php.net/manual/en/timezones.phpLet's see if I can use this. **UPDATE** Modifying the initial time value, I was able to offset the server time and my time zone difference. CODE //This gets today's date $date =time () + (60 * 60 * -4); This offsets -4 hours to reflect GMT-4. Since the value time() returns as Unix Epoch (in total seconds) I simply offset $date with 4 hours as units in seconds. The next step is to see if this can be done using viewer's individual time zone.
Reply
jlhaslip
Oct 1 2006, 04:35 AM
I have tested the time adjustment and it appears to work okay. It is set for gmt-4 right now. I added some css and an if/else to 'shade' the rows so each week is clearly defined. It still connects to your sample calendar. http://www.jlhaslip.trap17.com/cal_test/test_cal.php to run the demo. CODE <style type="text/css"> body { background-color: #dddddd; font: 0.85em Arial,Helvetica,Verdana, sans-serif, serif; min-height: 100%; margin-left:auto; margin-right:auto; text-align:center; } table, tr, td { margin-left:auto; margin-right:auto; text-align:center; }
a:link, a:visited { color: green; border-left: 5px solid #00ff00; font-weight: bold; display:block; } a:hover { background-color: #00dd66; color: #ffff00; border-left: 5px solid #ffff00; }
// use the classes odd and even for the colors of the shaded rows
.odd {background-color: #eeeeee; }
.even {background-color: #cccccc; }
</style>
<body> <h4>Highlighting only certain days of the week</br>And alternate shading of rows</h4>
<?php //--my addition to Yahoo variables $yahoo = "http://calendar.mail.yahoo.com/trap17.demo";
//This gets today's date $date =time () + (60 * 60 * -4);
//This puts the day, month, and year in seperate variables $day = date('d', $date) ; $month = date('m', $date) ; $year = date('Y', $date) ;
// use the row variable to switch shading on each line $row = 2;
//Here we generate the first day of the month $first_day = mktime(0,0,0,$month, 1, $year) ;
//This gets us the month name $title = date('F', $first_day) ;
//Here we find out what day of the week the first day of the month falls on $day_of_week = date('D', $first_day) ;
//Once we know what day of the week it falls on, we know how many blank days occure before it. //If the first day of the week is a Sunday then it would be zero switch($day_of_week){ case "Sun": $blank = 0; break; case "Mon": $blank = 1; break; case "Tue": $blank = 2; break; case "Wed": $blank = 3; break; case "Thu": $blank = 4; break; case "Fri": $blank = 5; break; case "Sat": $blank = 6; break; }
//We then determine how many days are in the current month $days_in_month = cal_days_in_month(0, $month, $year) ;
//Here we start building the table heads echo "<table border=1 width=250>"; echo "<tr class=\"even\"><th colspan=7> $title $year </th></tr>"; echo "<tr class=\"odd\"> <td width=35 align=center>S</td> <td width=35 align=center>M</td> <td width=35 align=center>T</td> <td width=35 align=center>W</td> <td width=35 align=center>T</td> <td width=35 align=center>F</td> <td width=35 align=center>S</td> </tr>";
//This counts the days in the week, up to 7 $day_count = 1;
echo "<tr class=\"even\">"; //first we take care of those blank days while ( $blank > 0 ) { echo "<td></td>\n"; $blank = $blank-1; $day_count++; }
//sets the first day of the month to 1 $day_num = 1;
//count up the days, untill we've done all of them in the month while ( $day_num <= $days_in_month ) {
//--my addition to Yahoo variables 2 $unixtime = mktime(0,0,0,$month,$day_num,$year); $shadeday = date('D' , $unixtime);
if ($shadeday != "Sun" && $shadeday != "Sat") { echo "<td><a class='$class' target='_blank' href='$yahoo/?v=0&t=$unixtime'> $day_num </a></td>\n"; } else { echo "<td> $day_num </td>\n"; } $day_num++; $day_count++;
//Make sure we start a new row every week if ($day_count > 7) { //check to see what css class is being used and switch classes if ( $row == 1 ) { echo "</tr><tr class=\"even\">\n"; $row = 2; } else { echo "</tr><tr class= \"odd\">\n"; $row = 1;
}
$day_count = 1; } }
//Finaly we finish out the table with some blank details if needed while ( $day_count >1 && $day_count <=7 ) { echo "<td> </td>"; $day_count++; }
echo "</tr></table>";
?>
</body>
Reply
jlhaslip
Oct 3 2006, 06:40 AM
Couple of changes on this demo here. http://www.jlhaslip.trap17.com/cal_test/test3.phpCSS was altered. Now links to my calendar. Adjusted to my time zone. Added "add an event" button for web based changes by others IF your yahoo calendar allows them to modify the calendar. Add an individual user to your approved modifier list through Yahoo! calendar set up screen via your Yahoo! account. Also, use the Yahoo! Calendar to make the calendar Public. CODE <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>Cal test 3</title> <meta http-equiv="content-type" content="text/html;charset=utf-8" > <meta http-equiv="Content-Style-Type" content="text/css" > <style type="text/css">
body { background-color: #eeeeee; font: 0.85em Arial,Helvetica,Verdana, sans-serif, serif; min-height: 100%; margin-left:auto; margin-right:auto; text-align:center;
}
table, tr, td { margin-left:auto; margin-right:auto; text-align:center;
}
a:link, a:visited { color: #ff6666; border-left: 3px solid #cc9966; border-bottom: 3px solid #cc9966; border-right: 3px solid #996633; border-top: 3px solid #996633; font-weight: bold; display:block; text-decoration:none; } a:hover { background-color: #eecc33; color: #996633; border-left: 3px solid #996633; border-bottom: 3px solid #996633; border-right: 3px solid #cc9966; border-top: 3px solid #cc9966; }
// use the classes odd and even for the colors of the shaded rows
.odd {background-color: #eeeeee; }
.even {background-color: #cccccc; } .highlight {background-color: #ddcccc; }
a.highlight {background-color: #dd9999; color:#666666; }
a:hover.highlight {background-color: #ee6666; color:#dddddd; }
</style> </head>
<body> <h4>Linking all days of the month<br />Shading alternate weeks<br />Highlight of the current date</h4>
<?php //--my addition to Yahoo variables
// var $yahoo defines the link which control is passed to
$yahoo = "http://calendar.mail.yahoo.com/jlhaslip"; // var $view defines the query string value to define the view used by $yahoo // uncomment the desired view // only one should be uncommented at a time
$view = 0; // daily view //$view = 1; // weekly view //$view = 2; // monthly view //$view = 3; // yearly view //$view = 4; // daily view //$view = 5; // add event view
//This gets today's date $date =time () + (60 * 60 * -7); //This puts the day, month, and year in seperate variables $day = date('d', $date) ; $month = date('m', $date) ; $year = date('Y', $date) ;
// use the row variable to switch shading on each line $row = 2;
//Here we generate the first day of the month $first_day = mktime(0,0,0,$month, 1, $year) ;
//This gets us the month name $title = date('F', $first_day) ;
//Here we find out what day of the week the first day of the month falls on $day_of_week = date('D', $first_day) ;
//Once we know what day of the week it falls on, we know how many blank days occur before it. //If the first day of the week is a Sunday then it would be zero switch($day_of_week){ case "Sun": $blank = 0; break; case "Mon": $blank = 1; break; case "Tue": $blank = 2; break; case "Wed": $blank = 3; break; case "Thu": $blank = 4; break; case "Fri": $blank = 5; break; case "Sat": $blank = 6; break; }
//We then determine how many days are in the current month $days_in_month = cal_days_in_month(0, $month, $year) ;
//Here we start building the table heads echo "<table border=1 width=200>"; echo "<tr class=\"even\"><th colspan=7> $title $year </th></tr>"; echo "<tr class=\"odd\"> <td width=25 align=center>S</td> <td width=25 align=center>M</td> <td width=25 align=center>T</td> <td width=25 align=center>W</td> <td width=25 align=center>T</td> <td width=25 align=center>F</td> <td width=25 align=center>S</td> </tr>";
//This counts the days in the week, up to 7 $day_count = 1;
echo "<tr class=\"even\">"; //first we take care of those blank days while ( $blank > 0 ){ echo "<td></td>\n"; $blank = $blank-1; $day_count++; }
//sets the first day of the month to 1 $day_num = 1;
//count up the days, untill we've done all of them in the month while ($day_num <= $days_in_month ) {
//--my addition to Yahoo variables 2 $unixtime = mktime(0,0,0,$month,$day_num,$year); $shadeday = date('D' , $unixtime);
//if ($shadeday != "Sun" && $shadeday != "Sat") { if ( $day_num == $day) { echo "<td><a class=\"highlight\" href='$yahoo/?v=$view&t=$unixtime'> $day_num </a></td>\n"; } else { echo "<td><a href='$yahoo/?v=$view&t=$unixtime'> $day_num </a></td>\n"; } // } // else { // echo "<td> $day_num </td>\n"; // } $day_num++; $day_count++;
//Make sure we start a new row every week if ($day_count > 7) {
//check var $row, switch classes / re-set $row as required if ( $row == 1 ) { echo "</tr><tr class=\"even\">\n"; $row = 0; } else { echo "</tr><tr class= \"odd\">\n"; $row = 1; }
$day_count = 1; }
}
//Finaly we finish out the table with some blank details if needed while ( $day_count >1 && $day_count <=7 ){ echo "<td> </td>"; $day_count++; }
echo "</tr></table><table><tr><td class='highlight'><a href='$yahoo/?v=5'>Click to add an event </a></td><tr>\n"; echo "</table>";
?>
</body>
Reply
jlhaslip
Oct 11 2006, 04:02 AM
Well, I hate double posting, but here goes... Still playing with this thing a little and here is what I have so far: Version #9 used for testing - loops back to the php_self address Header lists the filename, displays flag settings in footer Test 9Version #10 Full linking mode, no styling used Test 10Version #11 Full styling, Footer announcement, clickable Full Header, no flags displayed. Test 11Hope you like them.
Reply
Similar Topics
Keywords : simple, php, calendar, yahoo, calendar, connection, linking, date, yahoo, calendar
- Flash Tutorial Simple Motion Tween
Introduction to motion tween (0)
Create Dynamic Html/php Pages Using Simple Vb.net Code
Taking your application data, and creating a webpage for others to vie (1) This example will show you how use a string in VB to create PHP code. In order to do this, you need
a string to store your PHP page and a function that I will list at the bottom of the page for you to
put in a module. This code is written in VB.NET Public Sub CreatePage(ByVal HTMLTitle As
String, ByVal HTMLText As String, ByVal HTMLFileName As String) Dim strFile As String '
---------------------- ' -- Prepare String -- ' ---------------------- strFile = "" '
-------------------- ' -- Write Starter -- ' -------------------- strFile = " " ....
Php Linking
Ned help to do this through a internal portal page. (2) OK I'm trying to create an internal php page to link to my main sites index.html page.
Here's the code that's automatically generated when I click on the Create Php page link.
CODE <?php /* Write code inserting output inside variable $content as in following
example. You have DB connection, all global vars and all MKPortal and Forum functions at your
availability */ $nome = $mkportals->member['name'];
$content="Hi $nome"; So, how would I change this so it links to my sites
index.html page? PS I....
How To Implement A Date Picker On A Web Page
(0) Some pages may need users to input date values. It would be nice if the users just need to click and
pick and done. This way we may also eliminate the possible input errors. Below is the code I used to
implement this. You may want to save it as datepicker.js for other web pages to use. I also attached
3 files for you to download. All you need to do is unzip the 3 files to a directory under any web
server and start trying it. If you are using jsp, you can refer to the submited field by adding
something like request.getParameter("date1") to your page. If you're using....
Get Your Desktop Calendar On Your Ipod Using Gcal
free calendar that comes with your googlemail will help you sync to yo (1) If you have ever wanted to sync your personal calendar to your ipod, but either dont use/have
microsoft outlook, or just dont like either of them, (like me) then there is actually a way to sync
almost any desktop calendar to your ipod using google calendar as a "stepping stone". Basically
gcal has a built in feature that will sync your desktop calendar to google... this is normally
useful if you want to be able to view your calendar anywhere you have internet and want to make
changes and have them take place on your normal calendar. but for our purposes, you want to sy....
Finding Good Free Hosting Can Be Frustrating And Costly.
Simple free hosting is anything but. It could cost you dearly. (1) I have a home. After several weeks of searching, reviewing, and posting I have solid, free, feature
rich hosting. Thank God for Trap 17. The first question a reasonable person would ask is why bother?
Just get paid hosting. Well I have paid hosting and it is not so different from free hosting. Same
issues, same features. One big difference is when they go under your payment for services goes with
them. I needed a good free host for my clients. I wanted to be able to say hey try this host with
your new site from me and you can have great service at low or no cost. The b....
Yahoo Zimbra Desktop
it's pretty good what do you think (1) we'll last wekend i read this article on webware about yahoo zimbra, which i think is on beta 3,
since i always wanted to have yahoo mail on my computer so i decided to try it out. it gives access
to Yahoo (free version too) Gmail, AOL, but it has no access to Hotmail. to start with it was pretty
slow, it took it's time to download the mails and getting started, but once you get to it, it
works pretty well. also, you can import and export contacts( which worked great for) and calalender
(which did not work for since it had to be in .ical format or something). i....
A Simple Preg_replace Help Please.
(2) Hello.. Im looking for some help. I want to use preg_replace function to replace the following type
of code tags. CODE <code lang="php"></code> <code
lang="javascript"></code> <code lang="css"></code>
My question is that, in the above code tags, language (lang) is not always same, how can i use
preg_replace with the above code tags to place them with something. Any help will be very much
appreciated. thanks.....
How Would I Share An Internet Connection Over Wan?
or through phone wires (6) The title really explains it all. After setting up connection sharing through LAN and on one
computer, I had a thought "well could I use this to share an internet connection from a wide
distance?". Well could I? So say now that my brother who lives a mile down the road who has no
internet connection, but a phoneline, Could he set up a connection going to my IP? I could use a
service like DynamicIP where theres a domain "summoned" towards my dynamic IP (or i could change to
a broadband company that gives me a static IP) The software I'm using is called CCProxy It&....
Simple Javascript And Password System
How to protect your pages with password (9) The quickest way to get a password protection system up and running is to use a Prompt box in
JavaScript that has a title like "Enter your Email Address". Only you and the relevant users know
what the password should be, could even be one each, that can be sorted out at the next page then
pass the "input" directly through the url by changing the .href, like
http://www.iSource.net.nz/users/?leTmeIn= The page that then processes this should also check for
the referring page, and three fails from an IP if you like the php (the next page): CODE
<?php // processdo....
How Often Do You Use Css?
As opposed to using simple <font> and <div> tags (12) CSS is basically made to make your html coding a heck of a lot easier. However, sometimes I prefer
to use html instead of CSS since it sometimes gets frustrating to refer to the same old style sheet
and use an old font ID you made about a week ago. I find it a lot more efficient to just type out
the specified font color/style/size in the tag than to use an individual or for certain fonts
you'd like to use. Sure, it's very helpful a lot of the time to use CSS in most cases, since
it's kind of like a very simplified version of PHP but in a different case,....
Share Your Pics Of Your Pets.
Warning, may be many pics so if your on a slow connection it migth tak (4) I personally own MANY pets and my GF and I have a thing for taking pictures of them (They usually
either look cool, funny or cute so its a no brainer that a camera appears) here are a few shots of
my fish: I got rather excited the other day because my plecostomus (who is named Pelco) decided to
strike a pose on the side of the tank so I quickly grabbed my GF's camera and started taking
pictures. This is probably the best photo I have taken of him, he just sat there and allowed me to
take it so I got really lucky. Here are more angles: Also here are a few....
Internet Connection Sharing With Xbox 360 And A Laptop
For Windows XP (possibly Vista) (7) Alright, I just found out about this very recently on my quest to get a wireless adapter for my Xbox
360. You can use the wireless connection from your laptop as an internet connection for the 360.
I'm putting this up because I had a lot of trouble with the DNS portion of this and no one has
posted up the way that I found to do it, so here I go. Supplies: Laptop connected to internet Xbox
360 Ethernet Cable (comes with Xbox, can use any other though) 1. First, have your xbox turned on.
Also have your PC on, since this next part is all with the computer. This will....
Simple Php Login And Registration System
(15) Hello. This is my first web tutorial ever. This is basically a simple register and login script.
Yes, I know it’s a bit rubbish but I’m quite new to PHP/MySQL. Here’s the register form. This can
be any file extension you like. I’d recommend calling it register.html . CODE
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html
xmlns="http://www.w3.org/1999/xhtml"> <head> <meta
http-equiv="Content-Type" content="text/ht....
Are You Haveing Bad Experience With Yahoo Mail?
yahoo mail works lame ? (4) mm i wonder it is just me or happens to all user , from like 3 or 4 dayz the mail.yahoo.com isnt
working good ! its that right ? i mean from my instant messenger i hit the mail box picture and
" Problem " , cant find the server " the original " error . i have to go on yahoo main site ,
there chose mail , and in that tiny little box to log and there it goes .. its working idk why but
...still is working and never will change theri mail services. best of internet my opinion....
Very Simple Online Now Script
This is a very simple online now script. (4) Hi all, Its Aldo. anyways, I wont be using the method of pagination, i will just tell you how to
make a basic online now script. When someone logs in, now take into consideration that the name of
the username input is username ( First ,create a table in your database saying online now and add 2
fields to it. id and username CODE id type=integer(INT) , auto increment, length =255
and username = VARCHAR length=the limit a username should be in your site now from there we take
off : CODE <?php //logged.php //authentication script //connection scri....
Connection Problems And High Ping Playing Battlefield 2
(17) Anyone know of a solution to the connection problems, lag issues and high ping that I have only
recently started having while playing BF2? My system is only 2 weeks old... AMD 4000+, Asus A8N SLI
Deluxe, SoundBlaster Audigy 4, EVGA 7900GS and to be honest the game play sucks. Constant
disconnects, sound hanging up like a stuck record, just prior to entering a game online. The first
time I try to join my regular server I get "there's a problem with your connection" and kicks
me. I try again and get in this time, then my ping goes crazy, sometimes up to 900 and then I ....
Playing Flash Movies Without The One-click Activation: Simple Insertion Of Javascript
(4) In the past year or two iternet explorer and other browsers have updated their coding platforms.
The bad thing is that if you have any flash objects at all within your web page you have to hit the
space bar or click on the flash object to activate it. Once you activate it, you then can interact
with the object or the object will then play on the website. I dont like how you have to activate
the flash player first to interact with it. here is the code to prevent that. Believe me people
notice how much better the site is after you do this. put <script type="text/java....
How To Recover Data On A Failed Hard Drive
Using a simple house-hold freezer! (2) The information here is from http://geeksaresexy.blogspot.com/2006/01/f...cover-data.html , and I
take no responsibility for blah blah blah. Oh yeah, and this only works if your hard drive fails
in a certain way, of which I'm not certain, so give it a try and it may or may not work. So
anywho, oh snap!! Your hard drive just failed, and can't be booted off of any
more!! And you just finished typing up your doctorate thesis, which you have been working
on for four years! Take that hard drive out of the computer, put it in a ziplock bag (or....
My First Date With A Girl!
oh ! My God ! (25) Buddies , here i am just sharing my FIRST VERY BAD DATE WITH A GIRL ! Its so happened that i was
just a very new user for internet ! I was very fond of chatting. My one of friend just gave me a
email address of a girl ! I just add her email address ! one day i was just checking my
email , then the owner of that ID i mean she online and just send me message . I just start chatting
with her... so it was a way of very good spending my time.. SO start chatting daily , so it became a
part of my day... We were in the same city ... One day while just chatting sh....
Watermark Your Image With Simple Php Script
found it on the net (35) This script was found on the net http://tips-scripts.com/?tip=watermark#tip B&T's Tips &
Scripts site. Just in case the site may not show, I will include the code here: List of things
needed: 1. your image in any format 2. watermark image--in gif format with transparent background 3.
script below with name (i.e. watermark.php) CODE <?php // this script creates a watermarked
image from an image file - can be a .jpg .gif or .png file // where watermark.gif is a mostly
transparent gif image with the watermark - goes in the same directory as this script // ....
Muslims Not Allowed To Date
having sex not married - discussion (9) Hello, Me being a Muslim means certain rules apply. I am not allowed to date! You are all
probaly all shocked and so on! Infact it makes me laugh /laugh.gif"
style="vertical-align:middle" emoid=":lol:" border="0" alt="laugh.gif" /> . Anyway i suppose you
want to know why: It is mainly because of the sex thing. Having sex while not married is quite close
in the list of major sins to killing someone. Also Muslims are commanded to not look at the opposite
sex. So i am not allowed to look at a girl for example and check if she is 'hot'. Anyway
just wante....
Simple C File Handling In Action
Small code snipet which covers most of basic file handling and navigat (4) Yesterday I suddenly got a lot of work. The same work we try to push off, yes you are right all
formalities to get the code review incorporated and update all source code files with code review
headers. Imagine if you need to open 300 files one by one and append code review headers at the
end. Since most files are reviewed in groups of 20 to 30 files. We require one header to be placed
in say 20 to 30 files. To simplify I went back to my class assignment days and wrote this small c
utility to open all files passed on command line and open attach code review headers an....
Slow Connection With Linksys Wrt54g Router
working fine until few months ago (8) Hey there everybody! I need some help. Here's the problem. I have a Linksys Wireless WRT54G
v5 router, which, I think, is acting up. First of all, I can't get port forwarding to work!
About three month ago my port forwarding was working flawlessly, I could use download clients like
DC++, or BitComet, or have an ftp server running, etc... Now, whichever ports I use, nothing seems
to work. Plus, in clients like DC++ where you're connected to several hubs, the connection to
the hubs is constantly dropped. On top of that, the joke's on me actually....
Connection Error 800a0e7a On Win Server 2003 X64
(1) We have just set up a Windows Server 2003 x64 system for the purposes of being a dedicated web
server/media streaming server. Up to this point, we have been using Windows Server 2003 x86
environment and everything is running well. I have migrated the IIS settings over to the new server
and all appears to be going well when tested except that I have now lost all DB connectivity to the
3 small Access databases that I have in the server. All permissions and set ups are the same.
Based on past experience, I thought that it had to do with my Jet 4.0 drivers not being up t....
Verifying Email Addresses
Using a simple PHP script (9) This simple script will allow you to run some basic checks to make sure that any email address
entered is actually an email address. There is no guarantee offered that this will stop every single
fake email address, but it'll provide some protection. Now, the code! First we need to get
the email address to verify. Here, I get it using POST from an HTML form. CODE <?php //Load
email address from web form $email = $_POST['email']; Now, we move on
to our first check. Does the text that has been entered look like it could b....
How To: Change Your Website's Index File
a simple trick using .htaccess (24) How To: Change Your Website's Index File a simple trick using the .htaccess file A simple
tutorial which only involves editing one little file. Useful for those of us who have mime-typed
extensions or who are creating lots of test design files and want an easy way to make the design
they like best their default file. Create a file called .htaccess in the /public_html/ folder if
you don't have it. I think one should be there already when you get your site so if it isn't
you should create it anyway! In the file write the following: CODE Di....
Net Connection Taskbar Icon Disappeared
(9) hi For some unknown reason, when I connected to the internet today, the internet connection icon in
the taskbar didn't appear. I tried unchecking and re-checking the "Show icon in notification
area when connected" box under my connection's properties, and the Customize Notifications under
Taskbar Properties still lists the internet connection as "always show". I willing to go into my
Registry to fix this problem. Any help? Thanks ahead!....
Linking A Url To A Button
How to Link a URL using getURL() (4) Linking a URL to a Button in Flash This seems to be a problem for beginners to Flash, and I
thought I'd address it. When building a Flash-navigated site, you need to link one page to
another through the flash interface, just like you would a my link in HTML/XHTML. Once
you've created your button on the page, you can link the button very simply. Right-click it, and
select "Actions" from the menu. This will open the ActionScript editor, in which you can right
ActionScript code. Don't worry. It's not detailed to put this link in. Make sure you are i....
Php Calculator
Simple but cool. (17) Hello all, I was eally bored the other day. So I decided to make a php calculator just out of the
blue. I set it up and it works really good. You can see mine here . Ill give you guys the source
code too if you want it. Here it is... Name this calculate_forum.html CODE <html>
<head> <title>Calculation Form</title> </head> <body>
<form method="post" action="calculate.php"> <p>Value 1:
<input type="text" name="val1" size="10"></p> <p>....
Looking for simple, php, calendar, yahoo, calendar, connection, linking, date, yahoo, calendar
|
*RANDOM STUFF*
*SIMILAR VIDEOS*
Searching Video's for simple, php, calendar, yahoo, calendar, connection, linking, date, yahoo, calendar
*MORE FROM TRAP17.COM*
|
advertisement
|
|