-
Posts
20,156 -
Joined
-
Last visited
Everything posted by TCH-Bruce
-
Germantown, OH Next: Q
-
Virginia Next: H
-
LOL Seriously, I hope you feel better soon.
-
Andy, I editied my post above. I tried your "if" statements and they also worked.
-
Andy, that would probably work too. I edited her page as a test and posted how I did it above yours and it works. Andy, I tested your "if" statements and they also work except for the page names. The are .htm and not .html Thanks for the edit!
-
Nat, the following will work. I have downloaded you index file and edited to test. Replace yourcpanelname with your cpanel name. Also, in your mon-fri.htm pages you will have to add your font size tags otherwise they will appear larger than the other links. Let me know if you still have problems.
-
Ian, glad you got it solved! Welcome to the family!
-
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 Save a copy to your machine and then edit the file on the server using File Manager in cPanel. That's how I do it and it always works.
-
Nat you have this in your index page. Remove the parts that I have bolded in red.
-
Yes, since your pages end in .html or .htm you need this line in your .htaccess file. AddType application/x-httpd-php .htm .html
-
You do not have the proper permissions set up to access that page. The 404 is just letting you know that there is no 404 error page defined. Have a look at this help page for information on permissions.
-
I can't for the life of me figure out why it's not working. The update to your .htaccess file should work anywhere in there. I added mine to the top on one site and bottom on another. Both work. I assume you had a backup of your .htaccess file before you changed it. As for your mon-fri.htm pages, there should be no tags either. If the include path isn't working try this: include "/home/yourcpanelname/public_html/content/mon-fri.htm" ; It should work. Or you can go with the original links I gave if you put the mon-fri-htm files in your public_html folder.
-
Samantha, what happened to your avatar?
-
Yeah, I'll never catch him now!
-
Yes, exactly as Lisa wrote it
-
Linear puts the first post ahead of the buttons that appear above the first post. Other than that not much difference.
-
Sorry, thought you meant the page I posted.
-
Refugee Not Wanting To Live In A Tent Any More.
TCH-Bruce replied to chrisdaines's topic in Pre-Sales Questions
That is correct. -
That's exactly what Ultimate Form Mailer does. It processes a form that you create and emails you the contents. I don't know what your flash remoting is.
-
Uploading Files Via Http Using A Php Script
TCH-Bruce replied to mangarevolution's topic in Scripting Talk
$_COOKIE is correct. -
You could use Ultimate Form Mailer
-
And if the page you are using this on is not a PHP page you will need to be sure that the following is in your .htaccess file. AddType application/x-httpd-php .htm .html
-
Nat, I looked at your thurs.htm page.... It's a full HTML page... The only content that should be in these day pages should be the the stuff between the and tags. Just the link information. The style will come from the CSS of the page it appears on. And the links should work if coded like this... include "$_SERVER 'DOCUMENT_ROOT']."/content/????.htm";
-
Where in your directory tree is the page you want it on and where in the directory tree are the mon-fri.htm files? Is everything in /content? Is /content in your public_html folder? Sorry, need to know these things to answer properly.
-
Nat, you didn't need to change any of the links unless you changed the HTML doc names or the pages are not in the same folder as the page they are being displayed on. The "$_SERVER['DOCUMENT_ROOT']." is the path to the page. Remove the http://www.natalie-brown.com and it should work. If you have the pages in a "content" folder then make the link part "/content/mon.htm" and it should work. If the pages are in the same folder as the page they are to be viewd on then remove the "/content" as well.
