[PHP] Time release type question
Hello, I'm probably not using the right terminology for what I want to know, but I'll explain it as best I can. I am in the planning stage of building an online course room. Each week I need to upload pages for that weeks lesson and assignments. What I want to know is if there is a way for me to have all 8 weeks of the course pages created and upload them all at one time, but only have certain pages 'visible' based on the current date. This is an example of what I'm talking about. Week 1 pages would be visible starting June 3rd Week 2 pages would be visible starting June 10th Week 3 pages would be visible starting June 17th and so on. This would save an incredible amount of time. Thanks Indera -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Login determines content on page
Hello, I'd to know how difficult it is to achieve the following: Create login page, when the submit button is clicked, the user info is checked against a database as to whether is login info is valid. if it is valid, a page is displayed that lists all of the classes that the user has registered for, meaning each user will see a different list of classes. Thanks Indera -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Login determines content on page
Hello, I'd to know how difficult it is to achieve the following: Create login page, when the submit button is clicked, the user info is checked against a database as to whether is login info is valid. if it is valid, a page is displayed that lists all of the classes that the user has registered for, meaning each user will see a different list of classes. Thanks Indera -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Time release type question
hi jule, thank you for the script and don't worry about the # of posts. i admire your dedication. indera Jule wrote: I really should be more clear on my scripts I'm sorry $assignment[1][date] = date(); // date in mktime format see www.php.net $assignment[2][date] = date(); $assignment[3][date] = date(); $assignment[4][date] = date(); $assignment[5][date] = date(); $assignment[1][assignment] = pg. 1-5; $assignment[2][assignment] = ; $assignment[3][assignment] = ; $assignment[4][assignment] = ; $assignment[5][assignment] = ; $number_of _assignments = count($assignment); for ($n = 1; $n = $number_of_assignments; $n++) { if (mktime($current) = mktime($assignment[$n][date]) { echo $assignment[$n][assignment]br\n; } } that should do it. sorry for the many posts, Jule On Wednesday 29 May 2002 00:45, Jule wrote: actually that should be for ($n = 1; $n = $number_of_assignments; $n++) { if (mktime($current) = mktime($assignment[$n]) { echo assignment[$n]br\n; } } Jule On Wednesday 29 May 2002 00:31, Jule wrote: I think that is right Jay, you can use mktime() to change the date into unix time and then create the if statement if ((mktime([current])) == (mktime([date of assignment])) { echo link to assignment } something along those lines.. you can easily check it by setting the system clock forward Jule On Wednesday 29 May 2002 00:14, you wrote: On Wednesday 29 May 2002 11:52, Dr. Indera wrote: I am in the planning stage of building an online course room. Each week I need to upload pages for that weeks lesson and assignments. What I want to know is if there is a way for me to have all 8 weeks of the course pages created and upload them all at one time, but only have certain pages 'visible' based on the current date. This is an example of what I'm talking about. Week 1 pages would be visible starting June 3rd Week 2 pages would be visible starting June 10th Week 3 pages would be visible starting June 17th Am I missing something? It's just a simple matter of checking the current date and if it exceeds defined threshold (say June 3rd) then display the page otherwise display an error message or redirect or whatever. -- |\/\__/\/| | Jule Slootbeek | | [EMAIL PROTECTED]| | http://blindtheory.cjb.net | | __ | |/\/ \/\| -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Quiz script
Hello, I have been looking for a script that I can use to create online quizzes. I also need to be able to score them online, save the results to a database, as well as, email the results to the student and teacher. The ideal option would use php and a mysql database. Any suggestions would be greatly appreciated. Thanks Indera -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] phpbb and ikonboard forum scripts
Hello, I am trying to decide between these two scripts and was wondering if anyone has either of them installed. The one thing I need that I can't figure out if either of them have is whether or not, I can hide categories (that contain the forums and topics) on the category page and based on a users log-in have them enabled. If that is not possible is it possible to create 2 category pages and store them in one database, (hosting company only allows one instance of a forum script to be installed) one for the forums that everyone that comes to my site can see and another category page that will actually only be available in the restricted members only page. If it helps, here are the links http://www.phpbb.com and http://www.ikonboard.com I think I prefer the phpbb forum because ikonboard uses cgi scripts, or it least that's what it looks like. Any help would be greatly appreciated. Thanks Indera -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Hosting advise
Hello, I need to find a new host that is relatively in-expensive and found these three. I was wondering if anyone here has used them or thinks that they are a good company. http://www.aletiahosting.com/ http://www.cobaltconnection.com/ http://www.primemaster.com/index2.html Thanks Indera -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] phpbb and ikonboard forum scripts
Hi Jeff, Thank you for the link to another script. I had never heard of that one and will definitely check it out. Indera Jeff Lewis wrote: Never thought I'd see this pop on here :) As mentined before, Ikonboard is in fact Perl and up until recently was only flatfile. Another you may want to try is http://www.yabb.info (PHP/mySQL combo) Jeff - Original Message - From: Indera [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 25, 2001 4:49 PM Subject: [PHP] phpbb and ikonboard forum scripts Hello, I am trying to decide between these two scripts and was wondering if anyone has either of them installed. The one thing I need that I can't figure out if either of them have is whether or not, I can hide categories (that contain the forums and topics) on the category page and based on a users log-in have them enabled. If that is not possible is it possible to create 2 category pages and store them in one database, (hosting company only allows one instance of a forum script to be installed) one for the forums that everyone that comes to my site can see and another category page that will actually only be available in the restricted members only page. If it helps, here are the links http://www.phpbb.com and http://www.ikonboard.com I think I prefer the phpbb forum because ikonboard uses cgi scripts, or it least that's what it looks like. Any help would be greatly appreciated. Thanks Indera -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Re: phpbb and ikonboard forum scripts
Hello, Thank you. I think I want to stick with the php/mysql combo, so will take ikonboard off the list. Indera Laserjetter wrote: Ikonboard has a very nice interface and I know that its very popular but, as you thought, it is CGI based. I've never managed to get it working - maybe because I couldnt get Active Perl working properly (well, it was a 25MHz 486 with 8Mb RAM!!). If you're more into PHP I'd go with phpbb as you'd find it easier to tinker around with to get it looking how you wanted. Indera [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello, I am trying to decide between these two scripts and was wondering if anyone has either of them installed. The one thing I need that I can't figure out if either of them have is whether or not, I can hide categories (that contain the forums and topics) on the category page and based on a users log-in have them enabled. If that is not possible is it possible to create 2 category pages and store them in one database, (hosting company only allows one instance of a forum script to be installed) one for the forums that everyone that comes to my site can see and another category page that will actually only be available in the restricted members only page. If it helps, here are the links http://www.phpbb.com and http://www.ikonboard.com I think I prefer the phpbb forum because ikonboard uses cgi scripts, or it least that's what it looks like. Any help would be greatly appreciated. Thanks Indera -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Searching for a new provider
Ah, I thought that I may have missed something when I was reviewing the features. Thank you. Indera R'Twick Niceorgaw wrote: Just name of one of Aletia's servers --- R'twick Niceorgaw 98C Cedar Lane Highland Park, NJ 08904 USA 732-246-1434 (R) 732-801-3826 (M) -- Original Message -- From: Indera [EMAIL PROTECTED] Date: Sat, 15 Dec 2001 23:33:39 -0500 Hello, This may sound like a weird question, but since I've seen two posts on it, I have to ask, what is a stingray server? Indera R'Twick Niceorgaw wrote: cool.. I'm also on stingray:) - Original Message - From: Nuitari [EMAIL PROTECTED] To: PHP LIST [EMAIL PROTECTED] Sent: Thursday, December 13, 2001 2:19 PM Subject: RE: [PHP] Searching for a new provider I switched to Aletia in April I believe, and have been pleased. I asked for pdflib to be compiled on the server my site is on (stingray), and they did. It took about 3 days. My server has been up for 52 days 15 minutes, so that is good...however, 2 times in the last 6 months I have been denied access because the server had run out of harddrive space...It seemed like the matter was taken care of relatively promptly though. All in all, Aletia is good bang for the buck. I'm going to stick with them. -Jamison. -Original Message- From: R'twick Niceorgaw [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 13, 2001 12:35 AM To: 'Indera'; [EMAIL PROTECTED] Subject: RE: [PHP] Searching for a new provider Welcome abroad Indrea. But, their support is not the very best in industry. Lately I have seen some detoriation but usually my emails are answered in 1-2 days. Earlier I used to find them almost 24x7 on ICQ and AIM but haven't seen them on line for almost a month now. But all my emails are answered in a day or two. One more thing, I'm very happy with their server up time though. My server has been up for more than 51 days now :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Re: Script like this for PHP
Hello, I know less Flash than I do javascript, which is pretty bad. But thanks Indera Dasmeet Singh Arora wrote: You may also try using flash. It looks good and files are small too Peter wrote: The pop outs are done using JavaScript. Its something to do with setting the STYLE=visibility: hidden property of the HTML element. I'm not sure exactly how its done though. If you can get your hands on a copy of IE 4 (or maybe it was IE 3!), this kind of thing was done on the 'friendly error messages'. The code was very simple there and easy to follow through. Indera [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello, I came across this FAQ and I really would like to create my FAQ like this one. I was wondering if someone would take a look at this link and let me know how it's created. I looked at the code, but can't figure out how it's done. http://www.installshield.com/ds/info/generalqa.asp Thanks Indera -- http://www.fedoXpress.com Looking for a new email address? http://www.fedoXpress.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Searching for a new provider
Hello, This may sound like a weird question, but since I've seen two posts on it, I have to ask, what is a stingray server? Indera R'Twick Niceorgaw wrote: cool.. I'm also on stingray:) - Original Message - From: Nuitari [EMAIL PROTECTED] To: PHP LIST [EMAIL PROTECTED] Sent: Thursday, December 13, 2001 2:19 PM Subject: RE: [PHP] Searching for a new provider I switched to Aletia in April I believe, and have been pleased. I asked for pdflib to be compiled on the server my site is on (stingray), and they did. It took about 3 days. My server has been up for 52 days 15 minutes, so that is good...however, 2 times in the last 6 months I have been denied access because the server had run out of harddrive space...It seemed like the matter was taken care of relatively promptly though. All in all, Aletia is good bang for the buck. I'm going to stick with them. -Jamison. -Original Message- From: R'twick Niceorgaw [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 13, 2001 12:35 AM To: 'Indera'; [EMAIL PROTECTED] Subject: RE: [PHP] Searching for a new provider Welcome abroad Indrea. But, their support is not the very best in industry. Lately I have seen some detoriation but usually my emails are answered in 1-2 days. Earlier I used to find them almost 24x7 on ICQ and AIM but haven't seen them on line for almost a month now. But all my emails are answered in a day or two. One more thing, I'm very happy with their server up time though. My server has been up for more than 51 days now :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Script like this for PHP
Hello, I came across this FAQ and I really would like to create my FAQ like this one. I was wondering if someone would take a look at this link and let me know how it's created. I looked at the code, but can't figure out how it's done. http://www.installshield.com/ds/info/generalqa.asp Thanks Indera -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Searching for a new provider
Hello R'Twick, I am glad to hear that you like aletiahosting. I found out about them maybe 2 months ago and am seriously considering switching to them. I am especially happy to hear that their support is good. Thanks Indera R'Twick Niceorgaw wrote: take a look at aletia hosting (www.aletiahosting.com). Their low end is just $9.95 ( $7.95 if paid anually + free domain registration) and is feature rich ( 200Mb space, PHP 4.0.6 moving to 4.1 soon, My SQL (10 databases) 10GB bandwidth etc). I have moved to them few months back and their speed and support looks good to me. Regards R'twick - Original Message - From: Andy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 12, 2001 4:06 PM Subject: [PHP] Searching for a new provider Hi there, I am searching for a provider who fullfills those criterias and does not cost a fortune: - PHP = 4.06 bzw. PHP 4.x mit GDLibrary ab 2.0 - GDLibrary = 2.0 - PHP installed as module - mind 5 Subdomains - mind 100 MB Speicherplatz - evtl. Java VM - MySQL Thanx andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Re: Script like this for PHP
Hello, I am using IE. I took your advise and checked it under netscape 4.7 (or something like that) and the page opened with the answers showing. That is very interesting. Thanks for the tip. Indera Chris Boget wrote: The pop outs are done using JavaScript. Its something to do with setting the STYLE=visibility: hidden property of the HTML element. I'm not sure exactly how its done though. Yeah, and it only works on IE (and maybe NN6+). It won't work (the same way) on NN 6. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Re: Script like this for PHP
Hi Dan, I will try your script. Thank you so much. Indera Dan McCullough wrote: Heres a function I wrote some time back for an ecommerce site, works on the same principle. SCRIPT LANGUAGE=javascript !-- function ghShow(){ if (document.all){ // IE browser detected document.all.gh.style.visibility = visible; } else if (document.layers) { // Netscape browser detected document.gh.visibility = visible; } } //-- /SCRIPT then on the link. A HREF=#ghSpot onClick=ghShow() hope this helps dan --- Boget, Chris [EMAIL PROTECTED] wrote: The pop outs are done using JavaScript. Its something to do with setting the STYLE=visibility: hidden property of the HTML element. I'm not sure exactly how its done though. Yeah, and it only works on IE (and maybe NN6+). It won't work (the same way) on NN 6. Chris = dan mccullough Theres no such thing as a problem unless the servers are on fire! __ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Getting started - what do I need?
Hello, I have never used php or mysql before and want to know what tools I should use so that I can start learning php and mysql. I would like to build basic things like a login page and forms that append the data to a database. I went to the bookstore and think the book PHP fast and easy web development is something that I could handle. I've read through some of the posts on this news group and realized that there are tools that I can use as front ends for these packages. I went to mysql.com and php.net and it seems that i can download both of these packages to my computer for free. Any help would be greatly appreciated. Thanks Indera -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]