almostbob 866 Retired: passive income ROCKS

googled it, access field has overhead but its 1 byte, 64K-1 keyed -thats not it
is it text(ascii) text or word processor text, just an idea maybe there is some formatting code that carries in the paste
clutching straws, my first thought was totally off the field

almostbob 866 Retired: passive income ROCKS

the maximum size includes whatever management is required by the underlying software
64K may be realistically as little as 45K

almostbob 866 Retired: passive income ROCKS

Ego is not a Dirty word - Skyhooks

almostbob 866 Retired: passive income ROCKS

alteration to harrierdh's technically correct answer
put the preload script between </body> and </html>
preload in the head slows down the page load by a considerable amount
having the 'extra' images load last after the page is functioning makes the apparent page load faster
valid code requires type attribute

if javascript is turned offf in the browser javascript preload will not work and can be something like

<noscript>
<div style='display:none;'>
<img src="http://mydomain.com/image.gif" alt='' width='0' height='0'>
<img src="http://mydomain.com/image.gif2" alt='' width='0' height='0'>
<img src="http://mydomain.com/image.gif999" alt='' width='0' height='0'>
</div>
</noscript>
</body>
<script type='text/javascript'>
 preimage = new Image(); 
 preimage.src="http://mydomain.com/image.gif";
preimage2 = new Image(); 
 preimage2.src="http://mydomain.com/image2.gif";
//etc up to
preimage999 = new Image(); 
preimage999.src="http://mydomain.com/image999.gif";
</script>
</html>
almostbob 866 Retired: passive income ROCKS

NOT good
tables are not used for layout, too much code too little content, the table does not display in any part until the entire table is downloaded, CSS Positioning
No margins between elements, light blue text from one element sits on top of light blue text from the adjacent element rendering both illegible
The server date and time printed on the screen is wrong, for all users, and looks like a child's site, users have their own clock

almostbob 866 Retired: passive income ROCKS

Apple::
20 years with ~2% of the pc market, and then applaud themselves when they get 3%
apple ads slag windows for being in its seventh iteration, while releasing OSx(10) version 10.6 'snow leopard'
apple have other stuff, makes money,

yahoo are the apple of the search engine world
must be doing something right, they're still in business, even if not making a killing in this business (search)

almostbob 866 Retired: passive income ROCKS
<?php if($_POST) { // pisspoor validation but this a demo, 
$old = 25 +  $_POST['age'];
echo "Your name is ". $_POST['name']."<br />"
. "You are ".  $_POST['age'] . " years old in ".$_POST['location']."<br />"
. "In 25 years you will be " . $old . " years old";
} else {
echo "<form action='".$_SERVER['PHP_SELF']."' method='post'> "
."Your Name: <input type='text' name='name'><br> "
."age: <input type='text' name = 'age'><br> "
."Location: <input type='text' name = 'location'><br> "
."<input type='submit' value='Submit'> "
."</form>"; } ?>

php forms do not generally require external processing

almostbob 866 Retired: passive income ROCKS

real code is necessary to see what is wrong

almostbob 866 Retired: passive income ROCKS

01011001 01101111 01110101 00100000 01101011
01101110 01101111 01110111 00100000 01111001
01101111 01110101 00100000 01100001 01110010
01100101 00100000 01100001 00100000 01100111
01100101 01100101 01101011 00101100 00100000
01110111 01101000 01100101 01101110 00100000
01111001 01101111 01110101 00100000 01100010
01101111 01110100 01101000 01100101 01110010
00100000 01110100 01101111 00100000 01110010
01100101 01110000 01101100 01111001

almostbob 866 Retired: passive income ROCKS

code is helpful, screen shots arent

almostbob 866 Retired: passive income ROCKS

php code for forms
the form processor can be in the form
it can post to itself, on error output html even AT the precise point in the form that the invalid information is

<?php //form processing
?> 
<!doctype><html><head><body><form action='<?php echo $_SERVER['php_self']; ?>' method='post'>
<input value='<?php echo $_post['$fieldname']; ?>' name='fieldname'><?php if isset($fieldnameerror) {echo "html error correct instructions';} ?>

crappy code but my mind works best with examples

almostbob 866 Retired: passive income ROCKS

BUNG search engine increases its share from 7.8% -> 8.23% =5%
Bung CEO "we are giving Google a run for it's money"
Google CEO "Who ?"
78.72 - > 78.48% = -0.3% rounded to 1 sgnificant figure = 0,

big news for Bung, big deal for google

BING is an acronym

But
Its
Not
Google

which is what the development team heard every time they asked opinions

almostbob 866 Retired: passive income ROCKS

These ongoing validation problems can be solved using a code highlighting editor
missing braces etc show error colors on the singleton
the learning curve for a new editor is more than balanced by not having to make this type of call for assistance **edit** so often( there are always other bugs :) ) **/edit **

Notepad2
notepad++
codepad
all include code highlighting

not a solution to THIS particular problem, but intended to assist

almostbob 866 Retired: passive income ROCKS

they told us how it works, in Men In Black
aliens play marbles with galaxies

almostbob 866 Retired: passive income ROCKS

Barman says' Sorry we don't serve strings here'
string goes outside
bends himself
twists
loops
pulls himself through the hole
then shakes his head till all kids of fibres come loose
goes back in the bar
"I'll have a beer"
barman said "Didn't I tell you we dont serve string here?"

string said -"I'm a frayed knot"

almostbob 866 Retired: passive income ROCKS

I still have 3 paper tapes
ascii art (if you squint a bit) ladies scantily attired
just need somebody with an ibm 360 or 370 to load them on
hours Queing at Uni for punch card reader

incidentally the world's third (or fourth I dont remember) computer CSIRAC is (tourism mostly) still in use very occasionally it is bootstrapped by panel switches
Its a pig to operate, but it does teach you to write small tight code, you cant fit much in

The Last of the First: CSIRAC, Australia’s First Computer, by Doug McCann and Peter Thorne, documents the history of this important artifact. The specifications of CSIRAC are both entertaining and amazing. It had 256 twenty-bit “words” of memory,
each storing four 5-bit letters or digits, implemented using mercury delay lines (later expanded to 512 words, and then, finally, 768 words, in both cases by improving the mercury lines rather than by adding more of them). It had a magnetic drum backing store with another 1,024 words of storage. It had 2,000 valves, and using them could compute around 1,000 operations per second. And it required 30 kW of power and weighed approximately two tonnes. It...

the ibm74 that replaced it, seemed so fast 500K operations /second

my ibm pc in 1981 could perform(at 4.77Mhz) 22K operations /sec had 512KB of fully addressible ram, cost only $5000 and fit on my desk

(all benchmarking at this point was the same paper …

almostbob 866 Retired: passive income ROCKS

all you need is this query...

should be

<?php $sql = mysql_query( "UPDATE price SET prod_price = (prod_price * 1.10)" ); ?>

+ 10% = 1.1 otherwise yeah

almostbob 866 Retired: passive income ROCKS

http://www.ehow.com/how_2050575_add-rss-feed-blogger.html

your blgger outputs an rss feed, use feed2html, feed2js feed2php, or any other plugin feed reader script to read the external feed and put it on your web page
google has all these plugins that you can put your rss source in

the blogger helpscreens say this is the url http://blogname.blogspot.com/feeds/posts/default?alt=rss
to plug into a feed reader script

its only hard if you havent done it once already, after the first time you know what to google for
pretty much any rss feed reader can take the rss feed off any site and display it on any other site, in your choice of window/popup/widget rollover

long winded answer,
I get like that when I have only done it once, makes me nervous

almostbob 866 Retired: passive income ROCKS

May be, I need to work on contents and quality link building.

As much as you can,
buona fortuna

almostbob 866 Retired: passive income ROCKS
<iframe src="test.html" id="myframe" width="582" height="397" align="top" scrolling="no" frameborder="1"></iframe><br>
<input type="button" value="VIP1" onclick="myframe.location.href='test1.html';">
<input type="button" value="VIP2" onclick="myframe.location.href='test2.html';">
<input type="button" value="VIP3" onclick="myframe.location.href='test3.html';">

Is the width height supposed to change the iframe dimesnion?

almostbob 866 Retired: passive income ROCKS

Vogons

almostbob 866 Retired: passive income ROCKS

we hope there is intelligent life somewhere out in space
coz theres bugger all down here on earth

Monty Python

Salem commented: LOL +0
almostbob 866 Retired: passive income ROCKS

if statement is redundant
str_pad does nothing if the string is equal to or longer than the pad_length

$day = str_pad($day, 2, '0', STR_PAD_LEFT);
almostbob 866 Retired: passive income ROCKS

How about if you remember your country's pm going all the way with LBJ

almostbob 866 Retired: passive income ROCKS

google UTube Clone script

almostbob 866 Retired: passive income ROCKS

no doubt, earn another -1,
but I want to understand
the original code is syntactically correct,
but without concatenation,
it was correctly doing something different to what was expected,

my head hurts

almostbob 866 Retired: passive income ROCKS

google gadgets have a bunch of calendar inserts
hotscripts etc may have a lot of calendars
google search for 'datepicker script' if you want a calendar to fill in forms from
if you just want todays date

<?php echo date('l jS F'); ?>
almostbob 866 Retired: passive income ROCKS

just come from the republicOfBacon.com where the contest is
1 month
1 year
10 years
supply of Bacon

breakfast : bacon and eggs coffee toast blueberry jam

almostbob 866 Retired: passive income ROCKS

marquee behaves that way, the blank space is equal to the marquee size, it is a microsoft extension so its limited
perhaps a prewritten javascript slideshow from hotscripts or any of the other script repositories may provide a better hint on how to accomplish this without the marquee delay
I like dynamic Drive's stuff http://www.dynamicdrive.com/dynamicindex2/

almostbob 866 Retired: passive income ROCKS

This type of site background is a vertical -narrow*LONG- image repeat-x
create the gradient fill you want or download it from a webmaster tools website
take a narrow (even 1pixel works) slice vertically

body {background:url('thispic.href') repeat-x; }

If you take a horizontal slice wider than screen size and repeat-y you get Horizontal scrollbars everybody will notice
If you take a vertical slice longer than screen size and repeat-x, you get vertical scrollbars, nobody will notice

If you have a small image of a repeating cell (like windows default wallpapers) you can repeat-x and y (repeat) and create a fullscreen

almostbob 866 Retired: passive income ROCKS
while($row = mysql_fetch_array($query)) { /*php */ }

Not sure but is there usually a $row++ at the ned of this section to get the next row

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

i cant open a link--example--i click on a email from jobs.com-it list jobs as a manager-says view discp-i click it and it dont open.-any one know why?

Dont hijack other peoples threads
start your own

try turn off your pop up blocker(or hold whatever key combination) if the links are configured to open in new windows

almostbob 866 Retired: passive income ROCKS

popup windows are a security risk
are blocked in browsers
using them relegates the site to minimal traffic,
most users will not clickover their security software warning

everything can be coded on the page without any external files or windows by changing the visibility of a container element

example only: fairly ancient crossbrowser compatible code

<button id="frorm" align="center" onClick="showIt();">Important</button>
<script type="text/javascript">
<!--
(document.getElementById) ? dom = true : dom = false;
function hideIt() {
if (dom) {document.getElementById("layerm1").style.visibility='hidden';}
if (document.layers) {document.layers["layerm1"].visibility='hide';} }
function showIt() {
if (dom) {document.getElementById("layerm1").style.visibility='visible';}
if (document.layers) {document.layers["layerm1"].visibility='show';} }
--></script>
<div id="layerm1" class='bottom' style="position:fixed; left:10px; top:30px; width:80%; visibility:hidden; padding:10px; margin:10px; background:#ececec; border: 1px solid;">
<!--assortedhtmlanything-->
<iframe id='iframe1' src='blank.html' width='100%' height='800'>blank.html is a blank page, that the browser can load to speed initial page time without multiple external files</iframe>
<!--assortedhtmlanything-->
<button id="form" onClick="hideIt();">Close</button></div>

links can be something like <a href='#' onclilck='showit();document.getelementbyid("iframe1").src="href";'>Show href</a>

almostbob 866 Retired: passive income ROCKS

try
styling the menu, set the z-index of the UL LI whatever to a very high number, it should then sit on top of everything else
or set the slideshow to a negative number and it should slide under

default z-index 1, higher numbers sit on top lower numbers sit below

example only ignoring gross colors:)

ul.menu { background:pink; color: green; display:inline-block; z-index:100; }
ul.menu ul { background:pink; color: green; display:none; z-index:100; }
.slideshow {z-index: -100; }
almostbob 866 Retired: passive income ROCKS

google analytics Google adwords servers appear in the MSMVP Hosts file Spybot , adaware, and just about every other antimalware software files as malware
THird party script; installed without user permission; reporting browser habits to a third party; Classic definition of spyware
Most users have spybot adaware MBAM or something installed with default settings, especially if they don't know how it works or what it does
The google trackers are not much use
either server logs on your own host, or if your host package does not give access to the server logs install a local version of tracking software, a php script like bbclone or similar
There will be hundreds more hits than you know about if you compare google tracker and local server tracking

almostbob 866 Retired: passive income ROCKS

the _get method keeps the variables in the url
so the foldername is passed in plain text, this way may lessen direct linking to the files
if all the files are in the same folder then the folder does not have to be passed to the download file
folder can be an index to an array
folder can be simple IF else if($_get['folder']='1') {$folder="/pool/files";} elseif($_get['folder']='2') {$folder="/other/files";} else {$folder='/blankfiles';} index.php

<?php
$fileArray = array("me.doc", "you.doc");
foreach($fileArray as $key => $value){
    echo "<a href='download.php?file=$value' title='Download'>$value</a><br />";
}
?>

download.php

<?php
$directory = "pool/files/";
if(isset($_GET["file"])){
 $file = $_GET["file"];
 function forceDownload($directory, $file){
 header("Content-Type: application/force-download");
 header("Content-Disposition: attachment; filename=\"$file\"");
 echo file_get_contents($directory.$file);
 }
forceDownload($directory, $file);
 }
?>

security(?) through obscurity ??

almostbob 866 Retired: passive income ROCKS

you cant specify a foldername in the download filename
naming conventions convert the backslash to underscore, and the file will be placed in the current folder selected on the users disk

file not found error, the source is not specified fully to get the file from the specified folder, Try

<?php $folder="myfolder/files";
$file="1.doc";
header("Content-type: application/msword");
header("Content-Disposition: attachment; filename=$file"); // note difference
readfile($folder."/".$file); // note difference
?>
almostbob 866 Retired: passive income ROCKS

google toolbar is a frameset
put a framebreaker in your menu include, no more toolbar

<script type='text/javascript'>
if (window != top) {top.location.replace(self.location.href);}
</script>
almostbob 866 Retired: passive income ROCKS

^ is right
< has delusions of grandeur
V also likes cheese pizza

almostbob 866 Retired: passive income ROCKS
Win = window.open( page[ page_index ], 'Win', 'resize=yes,toolbar=yes, status=yes,scrollbars=yes, screenX=0,screenY=0, width=1000, height=666' );

says new window,
fix the javascript window.location() to keep the history
or window.location.replace() to void the history

is the current window

almostbob 866 Retired: passive income ROCKS

show what code you have for the input, so that the javascript demons can see what requirement of validation there is
else could write you 10000s of if() statements and none of them are appropriate

the answer probably won't come from me,
javascript -hopeless,
but somebody has the signature "half the solution is defining the problem"

almostbob 866 Retired: passive income ROCKS

3*50% = 150% = vanishing elements
tables really arent used as a layout tool,
they are for displaying tabular data
pixels are not recommended as a dimension the W3C recommendation is ems or %, dimensions that scale with different screen sizes or window sizes

<!-- doctype etc -->
<style type='text/css'>
.bottombar { width:50%; bottom:0; left:auto; top:auto; right:0; position:absolute;}
.bottombar span {width:33%; margin-left:5%;}
</style>
</head>
<body>
<div class='bottombar'>
<span>Site map</span>
<span>Copyright</span>
<span>Disclaimer</span>
</div></body></html>

one method of many

properly designed nav.
should not require a html sitemap, xml sitemaps for search engine spiders are a different thing entirely

almostbob 866 Retired: passive income ROCKS

secured files are stored outside the html_root
where for example a file for download is accessed by <a href='download.php?filename=thisfile.doc&type=doc'>download thisfile</a>

<?php /* download.php */
if(!session_id) { $hiddenfile="../absolutepath/polkamusic.mp3";  $type='file/mp3'} // I'm too lazy to look up (audio/mpeg)? my site already runs
else {$hiddenfile="../absolutepath/$user/$filename";
/* $type=matching mime type and I'm too lazy to set a look up table in this example ?*/ }
header("Content-type: $type");
header('Content-Disposition: attachment; filename="$filename"');
readfile("$hiddenfile");
?>

displayed url download.php?filename&type
not logged in users get polka music

almostbob 866 Retired: passive income ROCKS

google translate widget embedded in the page
http://translate.google.com/translate_tools
syntax is not always preserved in machine translation

almostbob 866 Retired: passive income ROCKS
<form method="GET">
Total: <input type="text" name="a" <?php if (!empty($_GET['a']) echo "value='$_get['a']'"; ?>><br>
Add: <input type="text" name="b" <?php if (!empty($_GET['b']) echo "value='$_get['b']'"; ?>><br>
Minus: <input type="text" name="c" <?php if (!empty($_GET['c']) echo "value='$_get['c']'"; ?>><br>
<input type="submit" value="Calculate">
</form>
<?php if (!empty($_GET['a']) echo $_get['a']; && !empty($_GET['b']) && !empty($_GET['c'])) {
    $result=(int) $_GET['a']+ (int) $_GET['b'] - (int) $_GET['c'];
    echo 'Answer: '.$result;
} ?>
almostbob 866 Retired: passive income ROCKS

urlencode();

the edited line is 108

$page .= "<div class='rss-title'><a target='_blank' href=\"$link\">$title</a></div>";
$page .= "<div class='rss-title'><a target='_blank' href=\"".urlencode($link)."\">$title</a></div>";
almostbob 866 Retired: passive income ROCKS

have not verified syntax this is a thought exercise

You can find how to solve the syntax problem in the php manual
I pulled that code out of my **expletive deleted**

almostbob 866 Retired: passive income ROCKS
<?php $file = fopen('clients.txt',r);
$fp = fopen('client.txt','a');
$ip = $_SERVER['REMOTE_ADDR']; 
for ($i=0; $i<count($file); $i++) {
$list=fgetcsv( $file,1000,'|');	
if ($list[0]!=$ip) { fputcsv($fp,$list,'|'); } }
fclose($fp);
fclose($file);  ?>

have not verified syntax this is a thought exercise

almostbob 866 Retired: passive income ROCKS

transparent blue|red|green
is transparent
its a fault in IE handling of transparent in reset.css file discussed in other forums too

http://dgibson.net/blog/article.cfm/articleid=11/CSS-Overcoming-background-transparent-In-IE

dunno if the fix works,
I ha already edited reset.css and changed transparent to inherit for my sites, Thats how my layout works