Jump to content

Revlet

Members
  • Posts

    51
  • Joined

  • Last visited

    Never

Everything posted by Revlet

  1. I originally wanted to rewrite http://www.professionalteethcleaning.com/ to http://www.professionalteethcleaning.com/home but I decided it would be much easier to simply rewrite all that point to /home just to the / root. If anyone can help that would be appreciated because I tried and failed again. (I originally posted the first one to http://www.phpfreaks.com/forums/index.php/topic,280354.0.html and tried to basically switch it but the syntax doesn't work because I am bad with apache!)
  2. That was my .htaccess without the line of code (since it didn't work i took it out....i put the whole code there for reference in case something was conflicting with my amateur apache coding) Your code works beautifully by the way, thank you. I appreciate it
  3. Oh, and this is my current .htaccess file: DirectoryIndex index.php offline.html RewriteEngine on Options FollowSymLinks RewriteCond %{HTTP_HOST} !^www.professionalteethcleaning.com$ RewriteRule ^(.*)$ http://www.professionalteethcleaning.com/$1 [R=301] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^/]+)/?$ index.php?p=$1& [L,NC] # compress all text & html: AddOutputFilterByType DEFLATE text/html text/plain text/css text/xml <FilesMatch "\.(ico|jpg|jpeg|png|gif|js|css|gz|jgz)$"> Header set Expires "Thu, 15 Apr 2010 20:00:00 GMT" </FilesMatch> RewriteCond %{HTTP:Accept-Encoding} gzip RewriteCond %{REQUEST_FILENAME}.jgz -f RewriteRule (.*)\.js$ $1\.js.jgz [L] AddType "text/javascript" .js.jgz AddEncoding gzip .jgz FileETag none
  4. I searched, I went through rewrite guides, and yet I still could not make this work. I want my website, http://www.professionalteethcleaning.com/ to automatically amend ".com/home" to all incoming traffic that come in as just ".com/" I tried to make this work with "RewriteRule ^/$ http://www.professionalteethcleaning.com/home$ [R]" (rewrite engine is on earlier in htaccess) but I couldn't get it to work despite trying variations. I am not sure if I need a condition or if my rule is wrong, but if someone could help me out I would really appreciate it. I am a html/css/php guy so this is very foreign to me. Thanks!
  5. Thanks for the input but it is a client site, they choose the words and content of pages. I am looking more for design tips or perhaps, this word should be bolded, etc. I can't actually modify the words or paragraphs characters beyond styling. Should have specified that earlier, sorry.
  6. Hi, I would like some reviews from a broad variety of people for my website, http://professionalteethcleaning.com/. I was aiming for clean, simple, and very easy-to-use while designing it, and I think I have achieved that. But I have spent so much time staring at it over the last few months I stopped noticing the little things that some people perhaps might. So, post anything that you notice or think could use improvement in terms of size of something, the position, etc. Thanks, Revlet
  7. Thanks for the link. I was hoping for something involving code but if no one will help that way then I will have to look through that.
  8. Hi, First of all - I know very little about MySQL. My clients website: http://professionalteethcleaning.com/locations So the situation is that I don't like having to add new locations every time they send me a new list. (They are gaining locations at a ridiculous rate) I would like to basically setup a PHP code (the site is already written in PHP/HTML) that will pull the values from a 2 column table in a database and display them in the format already used in the site at the momment. (I did a 20 minute search using the terms I know how to explain and found nothing - if there is a post already with the same issue then please link and I will delete thread) That way I can just have them input their own locations into the database and it will automatically update the site. Hopefully someone can help, please keep in mind that I don't know MySQL so just tell me which way to setup table and then a code would be helpful. I don't normally request a written code but I am quite helpless in MySQL. Thanks for ANY help! - Revlet
  9. www.aiteampro.com forwards there and they give out aiteampro.com on the business cards and to contacts. they wanted the long company name spelled out as primary hosting domain. and I also SEO the url's so all is well now in terms of the ?p=wduiahdwuah which was unsightly and confusing
  10. And I can assure you both are installed, enabled and functional (listening to a youtube video atm). So whatever you're using to detect that is giving the wrong result for at least the combination of the operating system: openSUSE 11.1 (linux) And any of the following browsers Firefox 3.0.10 Konqueror 4.2.3 Opera 9.64 I made an SWFObject javascript change that caused a problem but its all fixed now - thanks
  11. The footer is that small at clients request. I appreciate the input but I am going to stick with the font since the client likes it. The sitename is long, but www.aiteampro.com forwards to it and that is the domain that they give out
  12. It didn't make a difference capitalizing the B. Still doesn't work Same error as before. Capitalize B for me. YES! everything now works perfectly the way it should. Thank you again VERY VERY much for your help! Sorry for being a pain and asking for the error div in addition... - Revlet
  13. Now the code simply doesn't validate... Just lets blank fields through
  14. See that at the bottom? Well it's CSS. What's wrong with the display? oh haha i didn't even notice that! the errors input sequencially, not all remaining in a list...
  15. 1.) there are no style tags at the bottom of page... 2.) i figured out the problem but I have been out of town for the weekend and will address it tomorrow. 3.) I just need the errors to display correctly and were done! Thanks again for all your help!
  16. Okay so I just noticed something odd about the way the script is handling things.... For some reason the script is conflicting with the form and from the input page to preview page it switches the Email into the Telephone field... I removed the telephone onkeypress code and it still had the problem and then when i removed your code it worked again. I am highly confused as to why this is...but perhaps there is an easy fix?
  17. I always knew it was a good idea but I didn't realize it made a direct impact! well the script works now, but now we just have to get the errors into one list....if thats not too much trouble
  18. It didn't make a difference capitalizing the B. Still doesn't work And firefox is throwing errors at frm_err.style.display = "block"; saying that frm_err is null in the error console
  19. well that code doesn't do anything - no errors and no validation... ???
  20. Yea it works except is there a way that in javascript I could set the div to display only when an error is given? if you look at site now you will see what I mean. For instance set a variable equal to "none" when no errors are given and "block" when they are and then just include them in a style tag in the page with the variable...(if thats possible?) note that the div is in a seperate php file so if javascript can pass variables to the php script i can use them also
  21. Yea I can make this div whichever id I want, form_errors would be best. and I know to color div is css I was just giving you an idea of what I was talking about... just tell me any requirements in css the javascript would have...ie: display:none As for the telephone script i'd say if anything a script that validates 7 characters minimum and 17 max (cause some people may have extentions) but it would be validate ONLY if user has inputed some numbers into field. NOT REQUIRED... Thanks again for the help!
  22. Oh yea, and the telephone doesn't even need to be included in script anymore since I have the script that won't let anyone type letters now and I don't care about how many numbers there are since email is given
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.