Member Avatar

I'm looking for the best way to build a simple scheduler that will be able to render a visual calendar of the last 90 days and events that occurred during that span of time. We will need to store the contents of the calendar in a database. I'm thinking a flat file database (plaintext file) is best since it's not that complex and I don't know MySQL at all and my PHP knowledge is limited. The visual part will be easy since I can use HTML and CSS. This is for a small business that needs to track employee attendance …

Member Avatar
+0 forum 4 31
Member Avatar

Hi. I have a noobish UNIX question. I have a password-protected section of my website for testing (named 'sandbox') and I'm trying to write output to a plain text file in that directory. But I'm getting the following error due to permissions settings. `Warning: file_put_contents(testdb.txt) [function.file-put-contents]: failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/sandbox/dbtest1.php on line 5` I'm sure it's something simple, but what could I be overlooking?

Member Avatar
+0 forum 5 21
Member Avatar

Hello. I'm trying to set up a private section of my website for testing and I'm having a problem where my .htaccess / .htpasswd protection always rejects my password. I've set permissions to 604 on both files as recommended by my web host and both files reside in the same subfolder. At first I tried setting the password in the .htpasswd file from OS X's Terminal using the htaccess command. When that didn't work I hashed it using an online tool to generate the hash. It hashed differently but still doesn't work. I'm uploading via Fetch (FTP). If anyone has …

Member Avatar
+0 forum 8 47
Member Avatar

Hi, I can't figure out what I'm doing wrong here. It must be the simplest thing, but the script is meant to add asterisks only after the numbers 1, 2, or 3. Instead it is appending one to each number. Please help. <SCRIPT LANGUAGE="JavaScript"> var number=1; var is1or2or3; function checkIf1or2or3(n){ if (n==1||n==2||n==3){is1or2or3=true;} else {is1or2or3=false;} } while (number<=10) { document.write(number); checkIf1or2or3(number); if (is1or2or3=true){document.write("*");} document.write("</br>"); number++; } </script>

Member Avatar
+0 forum 2 3

The End.