Search results

  1. D

    .htaccess redirect loop

    I have been working on the following code for quite some time and I cant seem to find what is causing the loop. domain.com/category - works correctly domcin.com/category/?id=12 - redirect loop. RewriteEngine On RewriteBase / #Redirect For get variables. RewriteCond %{REQUEST_FILENAME} !-f...
  2. D

    Google Search API Unique Links

    I have been using Google search API to find how many links there are to a site entered in a form. The issue I am now running into is that my clients want to find how many unique websites are linking to them. I have had thoughts of logging all urls retrieved but Google now restricts you to 48...
  3. D

    .htaccess issue

    I am new to .htaccess programming and Im looking for some assistance. I have a large site im working on and I cant seem to figure out the https/http redirects correctly Everything in the home directory needs to be http except contact.php and login.php which should be https I also have 3...
  4. D

    PHP noob - How do you put latest forum news on homepage ?

    Ok to answer this properly you I would need a little more information. If both sites are on the same same hosting account I suggest creating 2 forums and link both to the same database this way you can setup each index page they way you want. I am not the best with forums but that should...
  5. D

    PHP textarea problems

    Ok here are some code snippets This is the php page that I am editing $completed_message_content='Dear $first_name $last_name,\n\n We thank you for your purchase. Please allow 7-10 days for delivery. If you have any questions please feel free to email us at info@yourwebsite.com.'...
  6. D

    create a domain like about.mysite.x10hosting.com

    This is quite easy to do. Simply login to your cPannel account and click on Subdomains. It is self explanatory from there. If you have any other questions about it feel free to ask.
  7. D

    PHP textarea problems

    Ok let me add some more information. I have tried what you just sent me it does not work. I want the text box to show exactly this. Dear $first_name $last_name, We thank you for...... $first_name and $last_names are used by a php code on another page. Like i said this is for a config...
  8. D

    PHP textarea problems

    I am working on an edit page to change variables in a config file. My issue is that I am loading a variable that contains an email message into a textarea. $message = Dear $first_name $last_name,\n\n We thank you for your purchase. Please allow 7-10 days for delivery. If you have any questions...
  9. D

    ajax?

    That is exactly what im trying to do.
  10. D

    ajax?

    I have the following 2 arrays in a Javascript i use var coupons = new Array ( "abc", "def", "ghi" ); var coupdc = new Array ( 20, 21, 25 ); I no longer want the data visible. I also have a database that contains the fields with this data. Is there a way i can load the data into...
  11. D

    Internet Speed

    I am working with a client that is debating on opening a paid service with x10 or installing their own server. I am trying to talk them into going with x10 because of the ease of hosting and the great service I have had here. I also want it hosted here since it makes my life of editing with...
  12. D

    MySQL Question

    Everything works Great thanks for all the help
  13. D

    MySQL Question

    I think you misunderstood me. I already have the database set up. My issue is I need to retrieve the ID once it is created.
  14. D

    JS: referring page?

    Try using page = request.getHeader("referer"); location.href = page;
  15. D

    MySQL Question

    I am still learning MySQL. I am using the code below to submit to a database. The form at the bottom submits to a comment page where where a page id which is linked to the ID of each entry. How would I go about getting the ID of the data entered during submission. Keep in mind multiple...
  16. D

    CSS Errors

    I am going crazy trying to get a new layout to work properly but for some reason I cant get it to work. I good at visuals and content but I can never rap my hand around css. I have been having 3 issues if anyone can help I would greatly appreciate it. 1. There is suppose to be a gap between...
  17. D

    redirect

    I have a file that sends information for forms. How would I go about redirecting someone if the go directly to the file.
Top