Jump to content

webgyrl

Members
  • Posts

    894
  • Joined

  • Last visited

Everything posted by webgyrl

  1. Argh... yup the site is blank. I will have to delete that line to make the site show again. Why is adding that line making things go blank? OK i have to jet... let me get back online later today. This is so strange huh!
  2. Ok so strange... I went and added the line to the htaccess file and then saved it. I refreshed my site and it went blank again. Here is how the hataccess file looks in cPanel >.htaccess File Type: ASCII text # -FrontPage- IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti* order deny,allow deny from all allow from all order deny,allow deny from all AuthName www.natalie-brown.com AuthUserFile /home/natalie/public_html/_vti_pvt/service.pwd AuthGroupFile /home/natalie/public_html/_vti_pvt/service.grp AddType application/x-httpd-php .htm .html
  3. Strangely enough I just looked at the hataccess file again and whatever I changed is now gone? Why would it revert back to the old file? I used the "Edit File" function.
  4. Ok I had forgotten to delete the "l" to change the url to an htm file. I changed that, but it still doesn't seem to work. I am just headed out and will be back later to try to get to the bottom of this. Feel free to view source if that helps any. Sorry this is proving to be a bear! lol Nat
  5. OK I also removed the extra lines that were messing up the code, as you bolded in red.
  6. OK I will try it again. What I had done is downloaded to my desktop it using SmartFTP, i opened it up in WordPad, added the line and then overwrote the htaccess file. Is that the right way to do it? Nat
  7. Ok I did it but it just shows this: ?> Do I still need to change the htaccess file if I go with the original code and putting the rotating content pages in the public_html folder? I have no idea why my site freaked out when I added that line. Strange.
  8. OK I am going to put the files from the content folder in my public_html file. I deleted the body tags. Hang on and I'll let you know when I've uploaded them.
  9. Bruce, Just looking at my htaccess file and it says the following: I added the line you suggested: to the bottom line on the htaccess file but when I overwrote the old htaccess file, my web site went 'blank'. I deleted the line and changed the file back to what it was originally. Where do I put that line of code in the htaccess file? Thanks, Nat
  10. The page I want the links on is my index.htm page. That page is in the main folder. The public_html one. All the daily rotation pages are in /content. The /content folder is in the public_html one. So it looks like: >public_html folder -index.htm >content folder -all sun-mon.htm pages reside in the content folder Ah yes, they are all full HTML pages. So you are saying delete everything that is not within the <body> tags? Like this? ><body> Listen to Natalie's Music @</font></b></b> <a href="http://www.acidplanet.com/artist.asp?AID=160199&T=92430" target="_blank">Acidplanet</a> | <a href="http://www.amazon.com/exec/obidos/tg/stores/artist/-/digital-music/219777/103-4337476-5724600" target="_blank">Amazon Pop</a> | <a href="http://www.amazon.com/exec/obidos/tg/stores/artist/-/digital-music/215749/103-4337476-5724600" target="_blank">Amazon Urban</a> | <a href="http://www.amazon.com/exec/obidos/tg/stores/artist/-/digital-music/240906/103-4337476-5724600" target="_blank">Amazon General</a> | <a href="http://artistgigs.com/artist.pl?id=1052" target="_blank">Artist Gigs</a> |<br> | <a href="http://www.artistlaunch.com/artist4.asp?artistid=334" target="_blank">Artistlaunch</a> | <a href="http://www.artistnow.com/index.php?m=vp&a=1&id=15619" target="_blank">Artistnow</a> | <a href="http://www.audiostreet.net/artists/002/630/natalie_brown.html" target="_blank">Audiostreet</a> | <a href="http://www.beatmaka.com/natalie_brown" target="_blank">Beatmaka</a> | <a href="http://www.belgiummp3.be/mp3/Natalie_Brown/" target="_blank">Belgium Mp3</a> | <br> | <a href="http://www.bitchinentertainment.com/natbrownepk.html" target="_blank">Bitchin' Entertainment</a> | <a href="http://www.bigtalent.com/cgi-bin/bigtalent/browse?category=55&user=1428" target="_blank">Big Talent</a> | <a href="http://www.broadjam.com/artistprofile/artistindex.asp?artistID=773" target="_blank">Broadjam</a> | <a href="http://newmusic.clearchannel.com/artist/nataliebrown" target="_blank">New Music Network</a> | <a href="http://www.download.com/nataliebrown" target="_blank">CNET</a> </body> The CSS is not a global CSS page. It's all formated in Dreamweaver. I haven't yet changed my main site to a global CSS type format. The only content that should be in these day pages should be the the stuff between the <body> and </body> tags. Just the link information. Right now the code I have on the index.htm page for the include is: >include "$_SERVER['DOCUMENT_ROOT']."/content/fri.htm"; I should change that to take out the "["? Oh lord! I've never changed the .htaccess file. Do I do that through CPanel and where do I put that line? Not sure how to change that file. Thanks a million Bruce. I'm learning a ton
  11. Bruce, The pages are all in a /content folder on the site. I did change the links to remove the http://www.natalie-brown part, but the links still aren't showing. The whole content folder is uploaded. You can do a view source to see the entire code for the index page if that helps. Here is the ammended code: >$day1 = "Saturday"; $day2 = "Sunday"; $day3 = "Monday"; $day4 = "Tuesday"; $day5 = "Wednesday"; $day6 = "Thursday"; $day7 = "Friday"; $weekday = date("l"); if (($weekday == $day1) { include "$_SERVER['DOCUMENT_ROOT']."/content/sat.htm"; } if (($weekday == $day2) { include "$_SERVER['DOCUMENT_ROOT']."/content/sun.htm"; } if (($weekday == $day3) { include "$_SERVER['DOCUMENT_ROOT']."/content/mon.htm"; } if (($weekday == $day4) { include "$_SERVER['DOCUMENT_ROOT']."/content/tues.htm"; } if (($weekday == $day5) { include "$_SERVER['DOCUMENT_ROOT']."/content/wed.htm"; } if (($weekday == $day6) { include "$_SERVER['DOCUMENT_ROOT']."/content/thurs.htm"; } if (($weekday == $day7) { include "$_SERVER['DOCUMENT_ROOT']."/content/fri.htm"; } Not sure what I did wrong... I know it must be something simple. LOL it always is! Thanks for the help. Nat
  12. I'll check it out. Thanks.
  13. Bruce, OK just finished the htm pages and popped the PHP code into my page. For some reason the links aren't showing up. www.natalie-brown.com. All that you see are the Horizontal rules. Here is my code: >$day1 = "Saturday"; $day2 = "Sunday"; $day3 = "Monday"; $day4 = "Tuesday"; $day5 = "Wednesday"; $day6 = "Thursday"; $day7 = "Friday"; $weekday = date("l"); if (($weekday == $day1) { include "$_SERVER['DOCUMENT_ROOT']."http://www.natalie-brown.com/content/sat.htm"; } if (($weekday == $day2) { include "$_SERVER['DOCUMENT_ROOT']."http://www.natalie-brown.com/content/sun.htm"; } if (($weekday == $day3) { include "$_SERVER['DOCUMENT_ROOT']."http://www.natalie-brown.com/content/mon.htm"; } if (($weekday == $day4) { include "$_SERVER['DOCUMENT_ROOT']."http://www.natalie-brown.com/content/tues.htm"; } if (($weekday == $day5) { include "$_SERVER['DOCUMENT_ROOT']."http://www.natalie-brown.com/content/wed.htm"; } if (($weekday == $day6) { include "$_SERVER['DOCUMENT_ROOT']."http://www.natalie-brown.com/content/thurs.htm"; } if (($weekday == $day7) { include "$_SERVER['DOCUMENT_ROOT']."http://www.natalie-brown.com/content/fri.htm"; } Did I write the links to the seperate pages wrong? I put all those pages in a "content" folder on my site. I tested the page on Firefox and IE 6. Hmmmm what did I do wrong? Nat
  14. Bruce! You are my hero! That is exactly what I was looking for. Now I must go smack myself up the head for not being more diligent in learning PHP. So much to do... so little time. LOL Thanks a million, Nat
  15. I've been searching on DynamicDrive for a script that can rotate link content. Basically I'd like to feature 5-10 links on my website and have them change each day on a 7 day rotation. All I found was a DHTML scroller thing, but that really isn't what I want. I'd like something static that displays 5-10 text links but that changes to a different set based on the day of the week etc. Anyone have any ideas. Gonna go check out HotScripts, but thought I'd post this in case someone knows of a sctipt that might work. Thanks, Nat
  16. Haven't found what I need yet. Looks like I might need someone to write something specific for me. Just looking into the cost of that. How I wish I knew Perl.... LOL Nat
  17. Awesome! TCH deserves the accolades IMHO! Nat
  18. Lisa! I got it all set up! Thanks so much. See the Family Forum for a little Christmas prezzie. Nat
  19. Just one question: The top part says: Directory requires a password to access via the web (you must check this to activate password protection). Protected Resource Name (will display in browser's password mask): What is the Protected Resouce Name? I did add in the username and password for the username, but just wondered if I had to check the top box and add in the Protected resource name. Can you explain what that means? Thanks, Natalie
  20. Hiya Gang! Hope your T-day was fine and that you are looking forward to the Holiday Festivities of Christmas. I was wondering how I could go about password protecting a directory with a bunch of songs in it. I wanted to give friends and family access to all the tracks off my Christmas album so they can download and burn them, but I want to make sure that no one can get at it without a password. I thought there was a way to do this in cPanel, but for some reason I can't find where to do that. Anyone out there know how it can be done? Thanks, Nat
  21. Yeah I was checking out Hotscripts earlier. Will check the link you left. Thansk a million Jim. Nat
  22. Hey gang, I was wondering if someone could help me find a specific type of script. I am looking for a script that would allow a user to come to a site and add in their information (like a company listing) to an online database. Basically what I'd want the script to do is have a form where a person can put a listing with specific fields for information (ie, name, company name, contact info, and some other custom fields). Then I would want that user to be able to submit this form and the information to be categorized by alphabet and state. The info would ideally be updated dynamically and appear right away on the web site. I am assuming that this script would hook up to an SQL database. But I am not positive how it all works. It would also be nice if we could go in and edit listings if they were out of date or innapropreate and it would be nice if the user who submitted the listing got confirmation and the ability to edit their listing if needed. I know I have seen link type exchange scripts that do this, but I am not sure that exactly fits my needs. Any suggestions? Thanks, Nat
  23. Awesome Don!
  24. Ah OK, thanks again. How the furry family doing?
×
×
  • Create New...