almostbob 866 Retired: passive income ROCKS

ASAP (10) + a-hole factor (-100) = cup of coffee and a friendly kmayoyo


:)

dont know a css style to do it
have always used a transparent background with 2 horizontal lines for the span of text

almostbob 866 Retired: passive income ROCKS

frsh from the field strawberries and fresh from the cow cream
love canada in summer

almostbob 866 Retired: passive income ROCKS
almostbob 866 Retired: passive income ROCKS

it is the same as interacting with any other input,
password
light pen
touchscreen
the output of the device is compared with the stored sample on submit of the form

no more difficult than any other submitted form
the number of posts on this from 1 post wonders leads me to believe that this is a school exercise

this site is not a homework repository, you will learn nothing from having someone else do it for you

post some attempted code for remediation people
get off your butts and make an attempt

maxlipman commented: always picking on everyone if they use site the way he doesnt like it -1
almostbob 866 Retired: passive income ROCKS

I hate 'choose a language' pages,
so does everybody else,
so does google,
bad idea

almostbob 866 Retired: passive income ROCKS

If your web site was built by an 8 year old, it would be appropriate,
it does not approach the possibilities available,

this is a widescreen monitor 2600px wide, your single column fixed design looks ridiculous floating in the middle
on a phone/tablet, the content is pushed offscreen right,
in a partscreen window, or small display content is pushed offscreen right
users do not scroll sideways, mice do not have hscroll wheels, but they will follow a page down forever
properly laid out in em or % the logo issue would not arise, the page layout would auto adjust to window size

replace yoursite.com in the inactive links above with your uri, and follow the instructions to fix the site up, to current code standards
There are many 'professional' sites far worse than yours,
there are commercial sites that do not display in google chrome, firefox or safari, because they were built using IE specific code, there are other sites that refuse IE because the developers think they are superior to the 70% of users still using IE

your site, its actually pretty good, it displays in most browsers,
just that you might as well learn best practice, (its simpler to code) and produce a good site, instead of just a site

dunno if you get this, havent replied to a solved thread b4

almostbob 866 Retired: passive income ROCKS

you have worse problems than that
fixed column looks ridiculous on widescreen monitors, pushes content offscreen in small windows or displays

px are not layout tools px are used for images
current best practice for layout is em or % scalar dimensions that adjust to window size screen resolution and user preference
these standard test beds may assist you http://analyze.websiteoptimization.com/authenticate.php?url=http://www.yoursite.com&/ Speed tweaks

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.yoursite.com&charset=%28detect+automatically%29&doctype=Inline&group=0 html check

http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.yoursite.com&profile=css21&usermedium=all&warning=1&lang=en CSS check

http://demo.opera-mini.net/demo.html?www.yoursite.com handheld

http://www.browsershots.org other browsers
many problems (if present) will show
serious code errors in the w3c validator sites will produce blankscreens in browsershots

Valid code does not ensure the site will work ...
Invalid code ensures the site will not work ...
.. in all browser OS combinations

not all layouts work in handheld devices
strictly code based, you understand your content more than I would

site map: is a machine readable xml file for search engines, human readable html sitemap indicates you have a crappy menu system

Its by far NOT the worst, but you may as well begin at the top

iamthwee commented: Shame most newbie web developers can't appreciate the merit of this post +15
almostbob 866 Retired: passive income ROCKS

you cant guarantee the user will install a plugin other than the apple one
apple users, may be neo-luddites about other software
'the client(1*)' may have to go to a user friendly alternative, a html page, or other, to ensure the links are seen as links
for whatever reason those with authority decide, they have decided wrongly in this case
dependant on any third party addin, will probably fail

- properly written html travels well in email, works in page, in all devices

1* combine equal amounts of impossible, instantaneous, and angry, mix until 20 minutes before deadline, pour into mould, makes 1 client :)

almostbob 866 Retired: passive income ROCKS

We send email to the email contact address

echo 'Your contact details have been added to the display page for '.$local['town']
.' the contact details look like this'.$local['contact']
.' the page can be reviewed at <a href="mysite.com/'.$local['town'].'/">'.$local['town'].'</a>'
.' please contact us if you wish your details removed';

we have only yet had spelling corrections requested
many small businesses like the extra presence

almostbob 866 Retired: passive income ROCKS

it appers to be limitations in the iphone pdf reader, there are several replacements http://www.everythingicafe.com/forum/threads/new-pdf-reader-app-for-iphone.40575/ sample

apple, superficial whizz-bangs hide the failures

almostbob 866 Retired: passive income ROCKS

the search would be something like why not get off your lazy but and look

almostbob 866 Retired: passive income ROCKS

this type="text/css">@import url('menu/menu_style.css"');</style means load the css file inside the menu subfolder of the current folder
doesnt work when you are in a subfolder because the menu folder is no longer a subfolder

<style type="text/css">@import url('/menu/menu_style.css"');</style> 
<style type="text/css">@import url('http://www.yoursite.com/menu/menu_style.css');</style>
<style type="text/css">@import url("<?php echo $_server['document_root']; ?>/menu/menu_style.css");</style>
<link rel="stylesheet" type="text/css" href="http://www.yoursite.com/menu/menu_style.css">
<link rel="stylesheet" type="text/css" href="<?php echo $_server['document_root']; ?>/menu/menu_style.css">
<link rel="stylesheet" type="text/css" href="/menu/menu_style.css">

all work
take your pick

almostbob 866 Retired: passive income ROCKS

define sourcecode,
the part that makes it work, no,
the resultant html yes

almostbob 866 Retired: passive income ROCKS

do any of the database columns, if any used, or any other imported data include characters that when parsed could trick the parser into displaying this error
if an unsanitized data field included a ';' it may cause such an error

almostbob 866 Retired: passive income ROCKS

google do not have server delays
they have a large server system, scattered over most countries, with a very fast return time

almostbob 866 Retired: passive income ROCKS

a 380K bmp, its huge,
and at 2160 screen width, it pixellates 'remarkably'
looking at the image in the cache its about 150*125 repeat-x, if you cut just one tile of the background image and styled the div as
background:url('sliced-pig.jpg') repeat-x;
and wrote yellow times-roman 3em text over it

almostbob 866 Retired: passive income ROCKS

That must be the reason why everyone uses some kind of form mailer, to be able to easily html it

almostbob 866 Retired: passive income ROCKS

na its just an <a href='mailto ..... link, most people use a php mailer, even from one user to another, so they can keep a record of what is sent
great way to gather addresses for later mailouts

the standard for mailto allows the link to fill in certain defaults in the mail, add some text to the body
to include the tags in the link use the relevant html entity
< as &lt;
> as %gt;
there is bound to be a table of html entities somewhere easy to google and authored by &lt;i&gt;&quot;".$author."&quot;&lt;/i&gt;";}

diafol commented: gotcha AB. Couldn't work out what the hell he was getting at +13
almostbob 866 Retired: passive income ROCKS

all the instruction pages "css background properties" et al, use a tiney<--spelled wrong i think--< size hyphen dash, cant see it
ya couldnt see mine till it was bold red either

almostbob 866 Retired: passive income ROCKS

no-repeat

one word hyphenated

almostbob 866 Retired: passive income ROCKS

ul#top-nav li#home { background: url(../images/button-home.png) no repeat; width:44px; wrong

ul#top-nav li#home { background: url('../images/button-home.png') no-repeat; width:44px; }

don't use px, no fixed measurements, creates problems--makes the page push offscreen (creates horizontal scroll bars, users do not scroll sideways, mice do not have hscroll wheels, users leave), on small displays
--makes the page sit as a strange looking central column in the middle of a wasteland of empty screen on large displays, in any other resolution/window size/screen size than what it was originally laid out on
pixels are generally only used for images
current best practice, layout is em or %, relative dimensions that auto-adjust to user preference screen size window size
and wont become smaller each time a new monitor standard is reached and the pixel mask gets smaller

these standard test beds may assist you-- replace yoursite.com with your uri

http://analyze.websiteoptimization.com/authenticate.php?url=http://www.yoursite.com&/ Speed

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.yoursite.com&charset=%28detect+automatically%29&doctype=Inline&group=0 html

http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.yoursite.com&profile=css21&usermedium=all&warning=1&lang=en CSS

http://demo.opera-mini.net/demo.html?www.yoursite.com handheld

http://www.browsershots.org other browsers

many problems (if present) will show serious code errors in the w3c validator sites will produce blankscreens in browsershots
Valid code does not ensure the site will work ...
Invalid code ensures the site will not work ...
.. in all browser OS combinations

not all layouts work in handheld devices
strictly code based,

almostbob 866 Retired: passive income ROCKS
SELECT *,(((acos(sin((".$lat."*pi()/180)) * sin((`lat`*pi()/180))+cos((".$lat."*pi()/180)) * cos((`lat`*pi()/180))* cos(((".$lon."- `lon`)*pi()/180))))*180/pi())*60*1.1515) AS dist_x FROM `message` HAVING dist_x<=".$distance." AND dist_x<=$distance ORDER BY dist_x ASC limit 1"
almostbob 866 Retired: passive income ROCKS

apache mod_rewrite, applied in the .htaccess files can display mysite.com/page.php?id=310 as mysite.com/page310.php ,
or any other system you wish to set up
and the urls are 2way, so they can access page310.php as a typed url
the search for instructions would be something like THIS ,

(love that animation, not suggesting any lack of diligence on your part, such searches are easy if you already know what the rewrite module is called, just love that animation)

almostbob 866 Retired: passive income ROCKS

Matricol, typing slowly just for you,,
no mention of replacing end tags was made, you appear foolish

Svmr
browsers display differently some add a space where there is a carriage return in the source, some do not, better to ensure the space with a no-break space as written by vibhadevit above
the character string &nbsp; where you want a space to appear, after the first end anchor bla </a> &nbsp;

almostbob 866 Retired: passive income ROCKS

insert into table1 dataset1
insert into dable2 dataset2

reiterating what has been said before (shout) IT IS NOT POSSIBLE (/shout) to update a record that does not exist, update is not a synonym of insert

almostbob 866 Retired: passive income ROCKS

never underestimate stupidity

almostbob 866 Retired: passive income ROCKS

every view of your page copies the entire html into the browser cache, that is how html works

a) &copy; me b) you can't

almostbob 866 Retired: passive income ROCKS

echo " <font color='red'>Category exists, process halted...</font><br />
this one also has no semi-colon

perhaps you should read to the end of the line, 28 in the source
its not wrong, just badly formatted

almostbob 866 Retired: passive income ROCKS

yes,

edit, gday ardav, & 'scuse me hadnt seen the prior answer

almostbob 866 Retired: passive income ROCKS

php versioning error ??
the new host has a later version of php than the old host
there is nothing getting $email $name $tour_link from the $_post array
version>php5.20 shouldnt they be declared somewhere

$email=$_post['email'];
$name=$_post['name'];
$tour_link=$_post['tour-link'];

or refer directly to the _post array value

almostbob 866 Retired: passive income ROCKS

and the isnumeric() in the last one-liner should have been is_numeric(), is_int() is better

almostbob 866 Retired: passive income ROCKS

welcome to the 1990s ?? you have missed all the techniques of the last 20 years

DONT DO IT
STOP DOING IT

slicing the web page does not speed it up
slicing the web page slows it down
each chunk of the sliced image adds another http request to the page size, the overhead of another transfer

does not reduce the page size
this is not current practice
the way to speed the page is to reduce http requests, small images are stitched into a larger one, and the image is disdplayed as a css sprite
same size of content, smaller size of overhead
styles are placed in stylesheets, script are placed in script files, are only downloaded once for the entire site, no matter how many pages are loaded
some ideas that may assist you
http://analyze.websiteoptimization.com/authenticate.php?url=http://www.yoursite.com&/
change yoursite.com, to your site

almostbob 866 Retired: passive income ROCKS

finally buttoned down if() shorthand
marvelous

almostbob 866 Retired: passive income ROCKS
$euros = $_POST['euros'];
$cents = $_POST['cents'];
if(is_numeric($euros) && is_numeric($cents)) { $salary = $euros + ($cents / 100); }
else die('non-numeric inputs');

oneline code

isnumeric($_POST['euros']) && isnumeric($_POST['cents']) ? $salary=$_POST['euros']+($_POST['cents']/100):die('non-numeric inputs');

salaryfl;oat appears unneccessary

almostbob 866 Retired: passive income ROCKS

I dont think you are approching this from the right direction

the user is presented with a login form
the for requests a username and password
the password is hashed and the hash and username are $_post-ed to the server on submit

>> should mean that >> when the select is performed there is only a single user name returned, there are no rows to step through

<?php
$host=""; // Host name
$username=""; // Mysql username
$password=""; // Mysql password
$db_name=""; // Database name
$tbl_name="users"; // Table name

// Connect to server and select database.
mysql_connect("$host", "$username", "$password")or die("cannot connect");
mysql_select_db("$db_name")or die("cannot select DB");

// Retrieve data from database
$sql="SELECT FROM $tblname WHERE name='$_POST[\"name\"]'" ;
$result=mysql_query($sql);
if(!$result['password']==$_submit['hash']) die('incorrect login details'); // yeah its crap code
?>
<table width="100%" border="0">
<tr><td colspan="2"><strong>This is your profile -</strong></td></tr>
<tr><td><? echo $result['name']; 
mysql_close();
?>

not verified code, its after midnight & drinkin

almostbob 866 Retired: passive income ROCKS

any of an unlimited number of $session variables set in the page you wish to link from, search for in the page you wish to land on

almostbob 866 Retired: passive income ROCKS

perhaps dumb, but what is the root setting on the wamp install?

almostbob 866 Retired: passive income ROCKS
almostbob 866 Retired: passive income ROCKS

href=\"./admin/login.php\">Login </a>\n"; ??

almostbob 866 Retired: passive income ROCKS

your current code, show it,
it is easy to add a column to the user table & use the same script that is used to verify the user at login, to get the random number
or create another table for the id and number

the same table for a single extra column

id, autoincremenmt int
name varchar
password_hash varchar
number int

select from table where id = $_Session number

almostbob 866 Retired: passive income ROCKS

Content, is the greatest factor, but there has to be someone linking to it, the most important idea is not much good unless its knkown about
goto the google webmaster tools page
read & follow the instructions
Google appear to have a pretty good idea, about what search engines expect,, :P
avoid all promises of instant results, doesnt work
takes time

almostbob 866 Retired: passive income ROCKS
document.write('this is a basic Javascript');

<--staggers off, giggling drunkly

almostbob 866 Retired: passive income ROCKS

an iframe is simple html let me google that for you

it is considered to be extremely bad form, theft of bandwidth, theft of information, to embed someone else's content in your site without consent, ask first
most sites have a framebreaker embedded to stop theft such as this

if(window != top){if(top.location.href.indexOf("translate")<0){top.location.replace(self.location.href);}}

if this file is not the parent.
if this file is not being translated by google etc
replace the top file with my site

almostbob 866 Retired: passive income ROCKS

another reason to avoid dreamweaver

almostbob 866 Retired: passive income ROCKS

the error is not in the code suplied
php runs on the server, this code must be ok as it works

show the code of the upload form page, likely one of IE's document quirks has been triggered by that form

almostbob 866 Retired: passive income ROCKS

ok without name callingfor making this post,

there is NO possibility that the request from 2 different machines even if they are in the same room on the same router, took the same path to the server,
the absolute impossibility that any person pushed the send key at the same time on two pcs within the millisecond tolerance of time()
of course they arrived at the server at different times,
of course the server had a different work load during the execution of the two requests
of course the returned html took different paths to the remote pc, took different times to render on different browsers and different times to displaytime() is the timestamp of that moment,
time() is not a timer
it is a snapshot of the unix clock WHATEVER you were trying to time,
the famous "It", of the op
which of course the thread does not state, will take a different time to execute every time it is run

now what are you trying to accomplish and show the code you are using to try and accomplish it with, between [code] and [/code] tags

PS, thanks for a giggle, seriously what are you trying to accomplish ?

almostbob 866 Retired: passive income ROCKS

just css
absolute positioning of the div that contains the menu, and >0 z-index to allow other content to slide under
a background set with the little triangle for the active choice
all in css

its a pisspoor implentation using javascript addons that are not neccessary, parts of the menu slide offscreen when the page pans

the google search should be css menu

almostbob 866 Retired: passive income ROCKS

'I am very new at web development"; yeah, guessed that,
with more experience you wouldnt ask the question
unless you built another google, big fat hairy deal
site isnt unique, the information is available from a hundred(at least) other sources
google maps provide routes to them all as well

every part of your site is in the user browser cache,
anyone who wants to can read it,
anyone who wants the code knows more than you do about how to get it

almostbob 866 Retired: passive income ROCKS

I tend to use lockouts on correctly set items

if isset($_post['day']) { echo "<input type='text' name='day'  disabled='disabled' value='$_POST['day']'>"; }
else {
 echo '<select name="day" id="day">';
 for ($day_nam = 1; $day_nam <= 31; $day_nam++)   { echo "<option value='$day_nam'>$day_nam</option>";  }
 echo '</select>';
}

havent tested the code, just an option

almostbob 866 Retired: passive income ROCKS

dunno what i did to make that red, cute