Posts tagged .html
Q&A: WHAT IS THE HTML CODE OR ASP CODE TO WRITE A SEARCH ENGINE OR A SEARCH IN YOUR OWN WEBSITE?
Nov 9th
Question by abrahamlim2005:
What is the html code or asp code to write a search engine or a search in your own website?
Read More >>
HTML: CREATE SEARCH ENGINE INSIDE DOMAIN?
Oct 16th
Question by Nathan:
HTML: create search engine inside domain?
I am looking to create a website that lets you use keywords to search within the www.noaa.org domain, and even though I know Google does that, could you please tell me how to go about creating that inside my webpage?
Read More >>
LEARNING HTML, PERL, FOR BUILDING WEB SITES FROM SCRATCH, HOW DO I BUILD A SEARCH ENGINE WITHOUT PLAIGARISM?
Apr 14th
Question by John C:
learning html, perl, for building web sites from scratch, how do I build a search engine without plaigarism?
Read More >>
IS HTML OR PHP OR ASP IS SEARCH ENGINE FRIENDLY?
Apr 11th
Question by Suria:
is HTML or PHP or ASp is Search engine friendly?
hi there.. which code/scripts is search engine friendly? which would help yahoo/google to find the contents of the page easily? thanks 4ur help
Read More >>
HOW DO I ADD SEARCH ENGINE (HTML) TO MY WEBSITE THAT SEARCHES WITHIN MY WEBSITE?
Sep 25th
I need to have a search box in my webpage that search tags and related items inside my own website (all webpages and specifically in one page). I know how to add a search box, just need to figure out how to make it work so my website is connected?
Thanks
I am using dreamweaver
Read More >>
WHAT IS THE BEST WAY TO BUILD A WEBSITE WITHOUT KNOWING HTML?
Sep 10th
do i have to know html to use a program like front page. does front page automatically turn regular text into html? some web hosts offer building a site by just typing in the content without having to know html. will that content be able to be found by search engines even though it is not in html, even though i would submit it to search engines and directories. If i want to generate free traffic wouldnt any content that i submit have to be in html for search engines to find?
Read More >>
HOW DO I SETUP THE HTML INSIDE EMAILS SENT THROUGH PHP?
Sep 4th
I am currently working on a script that sends a new user an email requiring them to click an activation link to become fully registered. The script seems to work fine, but I am trying to perfect how the email itself works. I currently have the link inside the email that sends them to the activation.php?id=$lastid&code=$random …. When I click the link in the email, it just gives me the Page Load Error (firefox) and states “Firefox cannot find the server at (sitename)”.
I noticed if I stay on that page, and click up in the Address bar, and just push enter on the keyboard, it will send me to the activation and everything works perfectly.
In my code I had it set to something like Activate Now!
So I decided to just try adding in the www after ‘http://’
After I did, I tried the whole process again, but this time it redirects me to my default search engine, saying that this url does not exist.
I will post my code. Any help would be appreciated:
The following is is a portion of register.php:
$lastid = mysql_insert_id();
$to = $email;
$subject = “Activate your account!”;
$headers = “From: Me
$headers .= “Content-type: text/html\r\n”;
$server = “###.###########.net”;
ini_set(“SMTP”,$server);
$body = ”
Hello $fullname,
You need to activate your account with the link below:
http://www.mysite/testing/activate.php?id=$lastid&code=$random
Thanks,
-My Site
“;
// Function to send mail
mail($to, $subject, $body, $headers);
The following is the complete code for activate.php:
require(‘connect.php’);
$id = $_GET['id'];
$code = $_GET['code'];
if ($id&&$code)
{
$check = mysql_query(“SELECT * FROM users WHERE id=’$id’ AND random=’$code’”);
$checknum = mysql_num_rows($check);
if ($checknum==1)
{
// Run a query to activate the account
$acti = mysql_query(“UPDATE users SET activated=’1′ WHERE id=’$id’”);
die(“Your account is activated. You might now log in.”);
}
else
die(“Invalid id or activation code.”);
}
else
die(“Data missing!”);
Read More >>
