almostbob 866 Retired: passive income ROCKS

Just as a point of interest, a ponderablesecurity concerns mean most browsers are configured to disallow pop-upthis is, at this time, a method of creating a system that will not work
A layer within the page would be

  • more compatible,
  • easier to implement and control,
  • still have the external files as its source,
  • not blocked by pop-up blockers.
almostbob 866 Retired: passive income ROCKS

I use php script to determine mobile browsers, and redirect to a mobile version of the site, very small icons instead of images, mostly containing directions to the properties, with links to the full pages as an option.

Hits to the mobile pages are up 500% since January
get email from the webmail links on those pages every day
so I think the use of mobile browsers is way up.
Not sure how to go about optimising for seo to mobile

Fragment

<?php $mobile = "http://mobile.mysite.com/";
if(preg_match('/Windows CE/i',$_SERVER['HTTP_USER_AGENT'])) { header("location: $mobile");}
elseif(preg_match('/Blackberry/i',$_SERVER['HTTP_USER_AGENT'])) { header("location: $mobile");}
elseif(preg_match('/PalmOS/i',$_SERVER['HTTP_USER_AGENT'])) { header("location: $mobile");}
elseif(preg_match('/PalmSource/i',$_SERVER['HTTP_USER_AGENT'])) { header("location: $mobile");}
elseif(preg_match('/SymbianOS/i',$_SERVER['HTTP_USER_AGENT'])) { header("location: $mobile");}
elseif(preg_match('/Opera Mini/i',$_SERVER['HTTP_USER_AGENT'])) { header("location: $mobile");}
elseif(preg_match('/Nokia/i',$_SERVER['HTTP_USER_AGENT'])) { header("location: $mobile");}
elseif(preg_match('/Samsung/i',$_SERVER['HTTP_USER_AGENT'])) { header("location: $mobile");}
elseif(preg_match('/vodaphone/i',$_SERVER['HTTP_USER_AGENT'])) { header("location: $mobile");}
elseif(preg_match('/Jphone/i',$_SERVER['HTTP_USER_AGENT'])) { header("location: $mobile");}
elseif(preg_match('/AvantGo/i',$_SERVER['HTTP_USER_AGENT'])) { header("location: $mobile");}
elseif(preg_match('/DoCoMo/i',$_SERVER['HTTP_USER_AGENT'])) { header("location: $mobile");}
elseif(preg_match('/DDIPOCKET/i',$_SERVER['HTTP_USER_AGENT'])) { header("location: $mobile");}
almostbob 866 Retired: passive income ROCKS

I would be extremely displeased at any site that attempted to manipulate my hardware.
My choice
That being said, there are a number of coupon sites that limit printing to 1, by a flash script, dont know how, didn't permit the script to run, have not returned to any of those sites
so What you ask, is possible

almostbob 866 Retired: passive income ROCKS

from http://gdymov.com/google-indexes-title-attribute-in-a-tag/

While searching I observed a strange phenomenon. For this search, look at the page codex.wordpress.org/Plugins/Statistics that appears 9th, the snippet says:

Backlinks (http://gdymov.com/inbound-links-backlinks-wordpress-plugin/): Draws a graph over how the number of incoming links (thus the name “Backlinks”) to …

but the text http://gdymov.com/inbound-links-backlinks-wordpress-plugin/ does not actually appear on the page. So, where did Google get this text? When I examined the source, I found that the ‘title’ attribute of the link contains this text. Thus, this proves that google indexes the content in the <a title='’ attribute

almostbob 866 Retired: passive income ROCKS

try changing the outermost script tags to

<script type='text/javascript'>
<!--
<![CDATA[
]]>
-->
</script>
almostbob 866 Retired: passive income ROCKS

It is possible, check the FAQ of the host,
It depends on whether the host permits it,
more than is it possible,
there may be a fee (everything has a fee)
My host ( in .ca not .uk ) allows unlimited domain names in one host, as long as the filespace and transfer is not exceeded.

almostbob 866 Retired: passive income ROCKS
select NAME from tablename order by name;
almostbob 866 Retired: passive income ROCKS

Hi.
You should ALWAYS store dates and times in the standard date/time format (YYYY-MM-DD HH:SS), and store them in date type fields, to avoid problems just like this one.

This advice is wrong, totally wrong, could not be more wrong

A database is a machine construct designed for the efficient handling of data by a logical machine
Best practice is to store a single 10 digit unix timestamp in the databasethere is no "standard date/time format (YYYY-MM-DD HH:SS)" every user/region has a different date time standard.the unix timestamp is easily selectable for date ranges, before after or any comparison because it is solely numeric

12/01/08 which could be 12 January 2008
1 December 2008
8 January 2012 depending on user location
a 10byte timestamp is smaller than a 50byte text representation which is important as the database grows (500million date strings)
The data is stored correctly, and should only be formatted on output, to the preference of the viewer depending on local custom.
This is important in database optimization
globalization and
localization

almostbob 866 Retired: passive income ROCKS

.xls is proprietary and contains more than just the data, not sure if your functions are accurate, but they appear to match what I have seen before

excel can read/write .csv comma separated values
php can read/write .csv comma separated values
which is great if the data is all you need, not sure if equations transfer

a bunch of tutorials on creating writing .xls with phphttp://www.google.com/search?php .xls tutorial have no idea how myself

(Good Luck)

almostbob 866 Retired: passive income ROCKS

excel file format is proprietary,
excel can read/write .csv comma separated values
php can read/write .csv comma separated values

a bunch of tutorials on creating the button to do so http://www.google.com/search?hl=en&q=php+export+mysql+table+as+.csv+tutorial&meta= have no idea how myself

almostbob 866 Retired: passive income ROCKS

set before you populate the select box put a value in it equal to the largest expected size, in the code below function populate is not defined, I figure you have yours already written, and my javascript isnt good enough

<select id='country' onchange='populate("nextselect");'>
<option> Select </option>
<option value='appleland'>appleland</option>
<option value='bananaland'>bananaland</option>
<option value='carrotland'>carrotland</option>
</select>
<select id='nextselect'>
<option value=""> --------------- </option></select>
almostbob 866 Retired: passive income ROCKS

and get rid of the graphic maps
they work wonderfully, as,
great way to keep yourself out of google

almostbob 866 Retired: passive income ROCKS

I have coded prince1.shtml based on almostbob's suggestion but am having a problem getting the bigimage to display. Suggestions please.

I wasnt happy with this document.getElementByID('bigimage').src=image;} but I couldnt see an error either my javascript is **expletive deleted**
there could be quotes in my javascripts, that I cant think of.
anyone who is good at javascript,
please help

I found at http://www.webdeveloper.com/forum/archive/index.php/t-64917.html a similar thread with answers
DosVdanye

almostbob 866 Retired: passive income ROCKS

loading the image onclick may not be as fast as you need for hi res images, but will speed page load because most people do not click images, so only the thumbs will be required

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
<head>
<script language="javascript" type="text/javascript">
<!--
(document.getElementById) ? dom = true : dom = false; //select ie mozilla
function hideIt() {
 if (dom) {document.getElementById("layer1").style.visibility='hidden';} //ie
 if (document.layers) {document.layers["layer1"].visibility='hide';} } //mozilla
function showIt(image) {
 if (dom) {document.getElementById("layer1").style.visibility='visible';document.getElementByID('bigimage').src=image;}
 if (document.layers) {document.layers["layer1"].visibility='show';document.getElementByID('bigimage').src=image;} }
onResize="window.location.href = window.location.href"
//--></script>
</head>
<body>
<img src='thumb1.jpg' onClick="showIt('/largeimage1.jpg');">
<img src='thumb2.jpg' onClick="showIt('/largeimage2.jpg');">
<img src='thumb3.jpg' onClick="showIt('/largeimage3.jpg');">
<img src='thumb4.jpg' onClick="showIt('/largeimage4.jpg');">
<div id="layer1" style="position:fixed; left:20px; width:65%; top:20px; visibility:hidden;">
<img id='bigimage' src='blank.jpg' onClick="hideIt();" alt='Click to close this image'>
</div>
</body></html>

Code not guaranteed, but may be a jumping point

almostbob 866 Retired: passive income ROCKS

Does ASP work in unix ?

asp for windows hosting
php for *nix hosts

LiKe Macs & PCs (windows & ASP are the Mac of the server world)
about 2% think that .asp is the best thing since sliced bread
the other 98% just go on about the task at hand,

almostbob 866 Retired: passive income ROCKS

Google webmaster tools read and follow the instructions from the only place that matters

almostbob 866 Retired: passive income ROCKS

<a href="somepage#somemarker">

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>HTML Template</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
</head>
<body><a name='top'></a>
<a href='#top' style='background: transparent; color: #000000; text-align: right; font-size: 85%; top: auto; left: auto; bottom: 1px; right: 1px; position: fixed; '>Goto Top</a>
blah<br />blah<br />
blah<br />blah<br />
blah<br />blah<br />
blah<br />blah<br />
blah<br />blah<br />
blah<br />blah<br />
blah<br />blah<br />
blah<br />blah<br />
blah<br />blah<br />
blah<br />blah<br />
blah<br />blah<br />
blah<br />blah<br />
<img src='http://missmarcy.files.wordpress.com/2009/03/blah_blah_blah.jpg'><br />
blah<br />blah<br />
blah<br />blah<br />
blah<br />
</body>
</html>
almostbob 866 Retired: passive income ROCKS

http://www.google.com/search?hl=en&q=drag+drop+image+resize+javascript&meta=&aq=f&oq=
there are thousands of them pre-written

Image quality will not be preserved on resize unless the image is downloaded at the largest possible size and resized smaller by <img width height> controls
if the image is displayed at 320*320 and physically is 320*320 enlarging the image makes the browser create 'best fit' interpolated pixels so the resolution is reduced.
Hi-res images add to page load delay times which is undesirable so there is a juggling act between image quality of the resized image, image quality of the original image, how much %age of the users are likely to resize the image, how much page delay is acceptible, as to what size the image is.

almostbob 866 Retired: passive income ROCKS

when an image is used as a background, it can be,
repeat-x repeat-y or repeat-both
to tile the image in the direction of its repeat
a tiny image afew bytes in size,
two squares, become a checkerboard
a few leaves repeats to a forest
instead of a very large graphic to be downloaded
then the image looks 'right' at most resolutions and window sizes

almostbob 866 Retired: passive income ROCKS

as well as tutorials at php.net and a hundred other sites

there are thousands of premade php scripts for download from sourceforge hotscripts phpscripts and hundreds of other repository sites, that may be lready to do what you require in many cases

almostbob 866 Retired: passive income ROCKS

'framesets are bad ssi is better' - that tutorial is at least ten years old
current practice excludes ssi
php is far more developed, flexible, powerful than SSI,
ssi is redundant
nothing that ssi can do is not able to be done by php (asp for ms fans)
much that php can do is not able to be done by ssi
learn one use one (might as well be the one that does more)
ssi cannot compile itself a slideshow, php can
php reads and writes databases, sends mail.

This site is php
500 000+ users, millions of posts, millions of images, all a click away

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

yes that code creates a white board and inserts an image, in my case, every image on the site is postcardable, and writes text over it as defined by the form inputs
it would't be much different to locate the start points for the text lines, colors fonts etc from the clicked position
I apologise for not producing code with inline comments, when it was built, it was a personal thing that was never to see the light of day,
now everyone has seen the "some a'hole on a cell phone got creamed" highway advisory sign, and there are dozens of versions of sign writing script to play with

may want to look up one of the tutorials on image watermarking, essentially the same as what both of us want/did/trying to do
could then pulll the text watermark and location from the database

almostbob 866 Retired: passive income ROCKS

A thought

Anotherthought
to be dynamaiclly positioned at the bottom of the window the footer has to be rendered first, before the body test that may otherwise push it down
all proper html ignored

<div header>
<div footer>
<div the rest>

the prior code code posted works in ie7,8 ff2,3 opera

almostbob 866 Retired: passive income ROCKS

Trying to write this in plain english without jargon(damn its hard)

SQL in every version has many data constructs, the most efficient data constructs ignore human readability.
timestamp is more efficient than any text date representation becausedate/time compare functions always work,
select range of dates/times always works,
date and time are stored as a smallint 10bytes instead of a text 50bytes (a big deal in v.large databases) eg.
1234567890 vs
February 13, 2009, 11:31:30 pm greenwich mean time
globalisation or localisation of time is simple the timestamp is stored at utc, so localisation is known to the server
localisation of output format is simple by the date format strings already familiar
regardless of the date format used for input or output the stored data is always correct in any os version.
the user interface remains the same

select from database where timestamp >1234567890 and timestamp < 1234568890

is very much faster
text date time representations of the timestamp are the reason for sql date functions having declaratives to output day month year hour minute second, from a numeric string
correcting the database design to store the date and time as a timestamp is a relatively simple task, as is recoding the asp to operate on timestamps instead of text date
it is more efficient to input in human readable form
convert to timestamp on validation
store the timestamp
select/process/report on basis of timestamp

almostbob 866 Retired: passive income ROCKS

thanx almostbob
but the problem is not related to saing and retrieving data from the databse.
The problem is in asp.net script.
let me explain you further about the scenario.
on clicking one button this if condition is there

if date1>date2 then do something

now on new server even if i pass date like this to date1 (JUL/01/09) and date2(may/13/09) system is saying date2 is greater because it is reading this as 07-01(Jan)-09 and other as 13-05(may)-09.

this is happening becuase the indows has been installed for the UK region with all default settings of UK, which makes date reading as DD/MMM/YYYY bydefault.

REPEAT
Dates are not stored as text
Dates are correctly stored as a timestamp, 10 digit number representing the number of seconds from 1/1/1970
Date/time comparisons are then simply numeric
repair the database design so that there are no text representations of dates
recode your .asp to operate properly
Problem solved

almostbob 866 Retired: passive income ROCKS
<!--snipped for brevity -->
</head>
<body>
<div id="nav" style='top:0; position:absolute; z-index:100;'>
<ul>
<li><a href="">Home</a> | </li>
<li><a href="">Home</a> | </li>
<li><a href="">Home</a> | </li>
<li><a href="">Home</a> | </li>
<li><a href="">Home</a> | </li>
<li><a href="">Home</a> | </li>
<li><a href="">Home</a></li>
</ul>
</div>
<object style='top:0; z-index:0; position:absolute;' 
<!--snipped for brevity -->

both the menu.div and the flash.object start at window top
the menu is 100 layers on top of the flash, 1 or 10 would do equally well

almostbob 866 Retired: passive income ROCKS

towards part 3
code not confirmed for this use, but the source of the data can be from the dbase instead of input

<?php
/* configurable script 
All options can be input from the command line in the form 
<img src='make.jpg.php?h=l1=v1=l2=v2=l3=v3=l4=v4=l5=v5=size=max=r=imagename=color='>
order is not important to create multiple signs from a single script unused lines 
can be ignored will default to blank 

imagename
max, max1-5 maximum characters per line
trucase makes case sensitive signs, otherwise uppercase
h, h1-5 horizontal offset
v, v1-5 vertical offset
r, r1-5 rotation
s, s1-5 text size in points
c, c1-5 text color
f, f1-5 font face:: server installed fonts only
/* CONFIGURATION */
if(!$imagename)
{
$im = imagecreate(400, 200);
/* white background and blue text */
$bg = imagecolorallocate($im, 225, 255, 255);
$textcolor = imagecolorallocate($im, 0, 0, 255);
imagestring($im, 5, 10, 10, "No Image name!", $textcolor);
imagestring($im, 5, 10, 40, "This script requires parameters!", $textcolor);
imagestring($im, 5, 10, 70, "Check the format of 'billboard.php'!", $textcolor);
imagestring($im, 5, 10, 100, "for the necessary strings!", $textcolor);
imagestring($im, 5, 10, 130, "Read the comments in this file", $textcolor);
// output the image
header('Content-type : image/jpeg');
header('Content-Disposition: inline; filename="made.jpg"');
imagejpeg($im);
imagedestroy($im);
}
else 
{
$im = @imagecreatefromjpeg($imagename); /* Do NOT alter */
/* autoconfigure if not stated set default */

if(!$h or $h=='') {$h = 0;}
if(!$h1 or $h1=='') {$h1 = $h;}
if(!$h2 or $h2=='') {$h2 = $h;}
if(!$h3 or $h3=='') {$h3 = $h;}
if(!$h4 or $h4=='') {$h4 = $h;}
if(!$h5 or $h5=='') {$h5 = $h;}

if(!$v1 or …
almostbob 866 Retired: passive income ROCKS
almostbob 866 Retired: passive income ROCKS

repair the database design
dates and times are correctly stored as a timestamp, 10 digit number of seconds from 1/1970, not as a text date field, the data is supposed to be machine readable, the output human readable
a cron job or script update to fix your design fault is quick and easy
update table add column timestampselect id date
convert date to timestamp
update id timestamp with calculated valueupdate table delete column date
date functions are simply numeric
output formatting is done on output, output can adjust to user settings
you have a smaller faster database that the information can be put to the user in the form they expect without altering the data
win win

almostbob 866 Retired: passive income ROCKS

post the 'wrong' menu code, its easier to edit than compose new
and one of the gurus will be able to fix it

almostbob 866 Retired: passive income ROCKS

A thought
you have your footer wrapped in <p> and <div>
by default <p> has a margin
try(code snipped)

<style type='text/css'>
<!--
#footer { position:absolute; bottom:0; text-align:center; font-size:85%; width: 100%; }
-->
</style>
<div id="footer">&copy;2009 xsoldier2006.com | Site design and development by Henry Li | Graphic Design by Wendy Wong</div>
almostbob 866 Retired: passive income ROCKS

Dont let this person use Frontpage on your files
Frontpage produces the most convoluted complicated code and alters things it has no business altering

almostbob 866 Retired: passive income ROCKS

when you get the database contents assuming the row is array $row
$row is assumed to have a value inserted into the html textareaif you create a javascript variable of $row you could compare textarea.value with that javascript variable onblur and enable the button
code as thought process only,

<script type='text/javascript'>
<!--
function checktext()
if document.textarea.value() != "<?php echo $row['textarea']; ?>" { enable_submit_button_of_some_kind  };
--></script>
<textarea rows='6' cols='60' onblur=checktext();><?php echo $row['textarea']; ?></textarea>
almostbob 866 Retired: passive income ROCKS

http://javascript.about.com/library/blfollow1.htm

get an object to follow the mouse

almostbob 866 Retired: passive income ROCKS

Wordpress preview lugins at wordpress.com
Wordpress latest posts plugins at wordpress.com
a bunch of other plugins from various other providers
hav no experience as which ones work best,

almostbob 866 Retired: passive income ROCKS

Read the instructions by Google, in the prior link,
Google explain the use and submission of sitemaps
Nothing any one else has to say really matters, does it

almostbob 866 Retired: passive income ROCKS

I thanked and agreed with you, didnt need further proof

The second answer is a different approach without sessions there are always multiple methods that accomplish a desired result if (!$_post[] ( on page load display html form1 if (!$post['specific'] on submit with complete form1 post data display form 2 retain form 1 data else display form one with incomplete fields highlighted if (!$post['specific'] on submit with complete form 2 post data display form 3 retain form 1 2 esle display form 2 with incomplete fields highlighted if (!$post['specific'] on submit with complete form 3 update database, send confirmatory emails else display form 3 with incomplete fields highlighted

almostbob 866 Retired: passive income ROCKS

any one have a code or any advice for a php illiterate????

google is your friend

almostbob 866 Retired: passive income ROCKS

The only problem with using referer page is that some browsers don't send that information to php making $_SERVER empty. This would mean that some users would find it impossible to browse the website. An example is the option in Opera where the user can choose if the browser should submit the referer information. So I find that it is best at all costs to avoid the $_SERVER variable unless you mix some javascript with it which in this case wouldn't be very secure.

All my forms submit to themselves, even those that take multiple submits to complete, the url does not change, you cant mess up referer, dont need sessions, cant be bypassed, now I know why my son suggested that.
I have added your post to my references, to make sure I dont again. - Thanks

I have residential rentals
my booking form, appl.php
outputs a different html page, dependant on the prior page's $_POST array. and the entire dataset is posted to the database and email notice sent at the end of the third form
m-hrt, you could use a single php page with multiple forms the url of the page never changes

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

another method without sessions
in each page, the 'refering page' of course is different

if ($_SERVER['HTTP_REFERER'] != 'referring page') {header("location: ./booking.php");}
almostbob 866 Retired: passive income ROCKS

or just

bottom:0;
almostbob 866 Retired: passive income ROCKS
<img id='largeimg' src='largeimg0.jpg' style='float:right'>
<img src='smallimage1.jpg' onclick='document.getelementbyid('largeimg').src="largeimg1.jpg";'><br>
<img src='smallimage2.jpg' onclick='document.getelementbyid('largeimg').src="largeimg2.jpg";'><br>
<img src='smallimage3.jpg' onclick='document.getelementbyid('largeimg').src="largeimg3.jpg";'><br>
<img src='smallimage4.jpg' onclick='document.getelementbyid('largeimg').src="largeimg4.jpg";'>

witdh height statements omitted for brevity
together with an image preload script between the </body></html>(after page load) tags to make the large images appear to be instant

</body>
<script language="javascript" type="text/javascript">
//<![CDATA[
<!-- 
largeimage1 = new Image();
largeimage1.src = "http://pics.mysite.com/largeimage1.jpg";
largeimage2 = new Image();
largeimage2.src = "http://pics.mysite.com/largeimage2.jpg";
largeimage3 = new Image();
largeimage3.src = "http://pics.mysite.com/largeimage3.jpg";
largeimage4 = new Image();
largeimage4.src = "http://pics.mysite.com/largeimage4.jpg";
//-->
//]]>
</script></html>
almostbob 866 Retired: passive income ROCKS

Shalomalom is that your .index.html

This site is currently under construction. Please return within 37 hours to view www.montgomerytransmissionspecialist-al.com home on the web!

if yes, the nameservers are updated, and x-fingers everything should work from now

almostbob 866 Retired: passive income ROCKS

form mail requires some processing on the server
the form target can be a php file
a perl script
python script
asp script
or other cgi script
the html <a href="mailto:YourName@YourSite.com? cc=someone@YourSite.com&bcc=someoneElse@YourSite.com &subject=some%20subject&body=some%20default%20text"> link works if the browser and mail program are configured to do so, the mail addresses are exposed to spambots
for simple purposes the mailto link should be sufficient if you obfuscate your email addresses

almostbob 866 Retired: passive income ROCKS

a single file drop in php script with captions, blends, thumbnails, slideshows, save .zip of all images, totally configurable, stylable, Piece of cake,
Blatant Plug, not my product but I use it
Johannes Knabe's php slideshow

instruction 5 for captioning, the xml is easy, the script can generate it for you on prompt

I ususally rename the file slideshow.php to index.php to make the folder just run

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

pauses to avoid being sarcastic. . . . .

  • name servers map canonical names to ip

I bought the site through GoDaddy like I always have...
I am using HostGator as the space provided.
I pointed the domain to hostgator and began making the website.

the canonical name for your site is registered at godaddy
mapping the name to the host is propogated from godaddy
usual delay is 24-72 hours
for some reason at the moment godaddy help screens suggest 5-7 days (worst case) in propgating name server changes, hosting changes, et al, before the site will be accessible from http: //canonical name

if that is not significant in not being able to access more than the default 'parking' address,
WTF is

almostbob 866 Retired: passive income ROCKS

I use netfirms hosting
mysite is accessible as mysite.netfirms.com as well as mysite.com

all netfirms hosting is php enabled(*nix) or asp enabled(eeww MS hosting)
use php to include your menu
change filename.html to filename.php and add <?php include('menu.php') ?> where you want the menu to appear

read all about it at your control panel
devphp is a freeware local php development IDE
the standalone templates arent worth crap
the cms packages available for install from the control panel are better
but you have to read the instructions