almostbob 866 Retired: passive income ROCKS

if you think it is the code, post the code, there might just be an even simpler fix

almostbob 866 Retired: passive income ROCKS

playing with the USBWebserver, .htaccess works if dropped in F:\USBWebserver v8.5\8.5\root

liking it, very few things WORK straight out of the box, this does

almostbob 866 Retired: passive income ROCKS

create a .htaccess file in the html_root (exact location depends on your config, wherever your index.php site root is) folder on the thumb drive,
may be all thats required,
(sometimes -not very often- things work easy),
there is minimal documentation on the site, but it appears that ANYTHING, can go in the thumbserver's html root . My AMP test stack is on my server, but I can see myself grabbing a copy of this thing, just to nhave it

almostbob 866 Retired: passive income ROCKS

then contact them, they may be up for someone else to hold their software,

almostbob 866 Retired: passive income ROCKS

That response is part of a system put in place by the site owner to stop bandwidth theft. The owner pays for the service, and others using it without permission is considered theft.
By your method of accessing the file, from outside the site, you have been identified as a thief
If you feel you have a valid reason to access the file contact the site owner and arrange proper access, without the block.
If you are a thief, stop, create, host and use your own content.
If, as many who hit hotlink blocks, you did/do not intend theft, and are simply ignorant of copyright, create, host and use your own content. eg; link to the site in a manner acceptible to the site owner,

almostbob 866 Retired: passive income ROCKS

<a style="background:url('image');" href='url'>select</a>

almostbob 866 Retired: passive income ROCKS

I set timeouts in .htaccess to 5secs for anything that needs it, is the usb server a wamp/lamp system?

<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text/html "access plus 5 seconds" 
ExpiresByType image/gif "access plus 5 seconds" 
ExpiresByType image/jpg "access plus 5 seconds" 
ExpiresByType image/png "access plus 5 seconds"  
ExpiresByType application/x-javascript "access plus 5 seconds" 
ExpiresByType text/css "access plus 5 seconds" 
ExpiresByType text/javascript "access plus 5 seconds" 
ExpiresByType image/x-icon "access plus 5 seconds" 
</IfModule>
almostbob 866 Retired: passive income ROCKS

syntax

<?php $handler = fopen('index.txt','r');
while ($line = fgets($handler)){ echo '<br>'.htmlentities($line);}
fclose($handler); ?>

the original works, without the substring and exit, to generate functional html,
this version generates displayable html

almostbob 866 Retired: passive income ROCKS

for html/php
If you use the same name for input fields, only the last one of each name will be sent,
data input fields must have unique names
those elements, such as radio buttons, with common names, act as a single input with preset values
redesign the forms

for pdf
the processing of the form for submission is defined in the pdf, acrobat javascript,
redesign the pdf

almostbob 866 Retired: passive income ROCKS

At the bottom of every page, terms of service, states the rules.
you dont post to a public forum if you want privacy.
facebook owns every update, twitter owns every tweet, Daniweb owns every reply.
the 'decoration' is there as a reminder to those who did not actually read the terms and conditions BEFORE they agreed to the terms and conditions at signup.

trying not to write anything that may be construed as an attack, but whooo its hard

almostbob 866 Retired: passive income ROCKS

Agree with the above users' posts,
my site logs, a general commerce site, show 76% IE users
block IE, not supported, lose 76% of visitorss, not a plan.
tell anybody what to do, for any reason, get only negative publicity, not a plan

almostbob 866 Retired: passive income ROCKS

the process is not as you expect
when you navigate from page to page, the whole page is redrawn, any background image or color is blanked out and redisplayed
new content is not simply drawn over the top of the old background
could not see any fault in it

almostbob 866 Retired: passive income ROCKS

site.com, is somebody else's url, Do Not post faked urls they always turn out to belong to somebody, and DaniWeb will get blamed for your being ignorant of the social niceties.
Use your url, and/or post the code that the screwup applies to, then help will be more likely to work, since those who care enough to try and unravel the screwup will view source to find your css

those who care, usually does not include me :)

diafol commented: I didn't know about site.com either -thanks for the heads up +14
almostbob 866 Retired: passive income ROCKS

happens often when a laid out on screen in pixels
you will get the same effect on your pc, if you open the site in a partscreen window content will push offscreen right
the solution is a different dimension em or % are scalars that adjust to window size device resolution user preference
in px
ann old crt 15inch had 800px (53px/inch)
a newer 17inch lcd has 2400 px (141px/inch)
an ipad 7inch screen has 2760px (394px/inch)

12px text is different appearance in each from 1/4inch on an old crt, to 3/100inch on an ipad
1em texxt looks the same on all of them
laid out in % the site autoadjusts to window size device ability and user font preferences (makes the page disability friendly instantly) text will reflow around non-text items flash pics vid and the site will appear very similar on all devices from phones to widescreen monitors, eactly the same, isnt possible

these standard test beds may assist you
replace yoursite.com with your uri in the links below and paste to your browser bar

speed
http://analyze.websiteoptimization.com/authenticate.php?url=http%3A%2F%2Fwww.yoursite.com&/
examine sprites for small images icons logos speed,

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

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

handheld
http://demo.opera-mini.net/demo.html?www.yoursite.com
http://iphonetester.com/?url=http%3A%2F%2Fwww.yoursite.com
http://www.ipadpeek.com/?url=www.yoursite.com

other browsers http://www.browsershots.org

many problems (if present) will show
serious code errors in the w3c validator sites will produce …

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

d'ya think any of the ops are going to read this crap after 7 years

almostbob 866 Retired: passive income ROCKS

There is no difference between static urls and dynamic urls for SE purposes
dynamic urls are rewritten as static urls by mod_rewrite before the search engine is involved, user bot alike see only the static url
the bot knows it, the user knows it, everybody knows it except certain deficient persons who suggest one may be better than the other.
SE very obviously accept dynamic urls, why not look at a url returned from a google search, quite a few dynamic properties
craft the site enable mod_rewrite, and just do it.

dumb as a stump

almostbob 866 Retired: passive income ROCKS

printing is at the control of the user, taking control of remote hardware is frowned upon,

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

Change the links - not generally the thing to do. preserving indexed files is a godsend, update them for sure, but dont kill them

almostbob 866 Retired: passive income ROCKS

MagicInvisibleFriendsWhoLiveInTheSkyAndGrantWishesToThosWhoBelieveInThem, did not think it was possible to find something sillier, but there it is, expanding the limitations.
on a strictly engineering level. magic science gadgets that do anything you imagine, as soon as you imagine it, after the fact, dont exist, the limits you notie, are logical limits, the device/software only does what it is supposed to.
though you do have an imagination,
Much of the inherent belief system can be cured with logic and anti-psychotics

almostbob 866 Retired: passive income ROCKS

doesnt work that way
code and questions and interested persons will assist
SO post a link to the site, the code to it, or something to enable interested persons to help
and good luck, starting is hard, continuing gets easier

almostbob 866 Retired: passive income ROCKS

No, they never were

Content is King
clean code
signup for google webmaster tools, and follow the instructions.
then submit an xml sitemap to google

Anything you do deliberately offsite to increase your search ranking, will breach TOS and be appropriately punished
no linkfarms
no link exchanges
no paid services
no directory services

almostbob 866 Retired: passive income ROCKS

its called a self processing form
the processing is done by php so is not output to the browser, here is a code sample

<?php ob_start("ob_gzhandler"); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><title>Tell A friend </title><?php 
if(isset($_POST['to_name'])){$to_name =$_POST['to_name'];}
if(isset($_POST['to_email'])){$to_email =$_POST['to_email'];}
if(isset($_POST['from_name'])){$from_name =$_POST['from_name'];}
if(isset($_POST['from_email'])){$from_email =$_POST['from_email'];}
if(isset($_POST['message'])){$message =$_POST['message'];}
If ($to_email && $message1 && $from_email && $subject) {
$to = "\"$to_name\" <$to_email>";
$from = "\"$from_name\" <$from_email>";
$to = str_replace("\\'", "'", $to);
$from = str_replace("\\'", "'", $from);
$subject = 'Email_tell_a_friend';
$message = str_replace("\\'", "'", $message);
$essage1 = "This is the site, I thought you might be interested. Information, and some interesting things Link: http://www.yoursites.com";
mail($to, $subject, "Hi $to_name $message1 $message", "From: $from " . "\r\n" . "Cc: $from " . "\r\n" . "Bcc: sneakyemailharvester@yoursites.com");
echo "<div style='width:100%; float:left;'>Mail message sent  To : $to <BR> From : $from";
echo "\r\n Subject : $subject \r\n Message:'Hi' $to_name \r\n $message1 \r\n $message </div>";
$sent_token='true'; }
include ("./menu.php"); ?>
<p>Tell a friend about our site!</p>
<form action=<?php echo $_SERVER['PHP_SELF']; /* $_server['php_self'] is replaced by the script name on execution */?> METHOD='POST'> 
<table class='bkb'>
<tr>
<td class='required lt'>To (Friend's name) :</td>
<td class='required rt'><input class='infor' type='text' size='40' value='<?php echo $to_name; ?>' name='to_name'></td></tr>
<tr>
<td class='required lt'>To (Friend's email) :</div>
<td class='required rt'><input class='infor' type='text' size='40' value='<?php echo $to_email; ?>' name='to_email'></td></tr>
<tr>
<td class='required lt'>From (Your name) :</div>
<td class='required rt'><input class='infor' type='text' size='40' value='<?php echo $from_name; ?>' name='from_name'></td></tr>
<tr>
<td class='required lt'>From (Your email) :</div>
<td class='required rt'><input class='infor' type='text' …
almostbob 866 Retired: passive income ROCKS

% as layout dimensions, current best practice,
scalar units that auto adjust to window size resolution user preference and device ability
there are 800 px in a 15 inch crt
2670 in a 7 inch iphone
3020 in this 19 inch led monitor
px will never look the same, and never work in any device except the one the screen was laid out on

body {width:98%;}
.menu { width:19% }

produce 5 autosizing menu items
(rough as guts, this is an airport lounge)
all the pixel hacks ever described, do NOT work in every device
look stupid as a narrow central column in a widescreen device
push content offscreen in small devices or partscreen windows

almostbob 866 Retired: passive income ROCKS

the google search would be something like Search
I usually go straight to stu nicholls site for menus http://www.cssplay.co.uk/menus/drop_examples.html

almostbob 866 Retired: passive income ROCKS

I have an infinite number of email addresses, all validate and can be found here, here , and here

I hate loathe and detest spammers, they look up to see whale shit (-pretty low, whale shit sits on the bottom of the ocean) first against the wall when the revolution comes

almostbob 866 Retired: passive income ROCKS

id is unique may only contain 1 item, duplicating id may cause problems in compliant browsers
class contains one or more items
positioning is done easiest by css styling the classes

<div id='singular'> this div has an id, the id can only be used by this div and no other</div>
<div class='appendix'> This div is one of many, that class is multiple </div>
<div class='appendix'> This div is one of many, that class is multiple </div>
<div class='appendix'> This div is one of many, that class is multiple </div>

in the head or external style sheet class appendix can be styled for position exactly how has drawn a blank, major messup apologies

just thoughts, try one of the online tutorial sites for better answer (sorry no link)

Dos Vdanye

almostbob 866 Retired: passive income ROCKS

try one of the online scans, panda activescan, and Computer Associates scanners, less footprint
disable most of the installed autoruns while you do it to lessen the processor load

almostbob 866 Retired: passive income ROCKS

further to pritaeas accurate answer,

you appear to be resizing large images in the browser, (resized thumbs typically get a prefix or suffix when created) a large image is downloaded then displayed 130x130px,
resize the image at the server then serve the thumbnail image, 130x130 is 4 times smaller than 260x260 4 times faster
(typically a large image is uploaded, a thumbnail is created and also stored, the thumbnail is served, and the full size image ling by (in this case zoom.php)

almostbob 866 Retired: passive income ROCKS

nothing prevents the anything speaking regions of the world, inventing the hardware and software needed, except not wanting to invest 30 years.
or improve the translation, except the requirement for effort.
English, because the inventors spoke english

almostbob 866 Retired: passive income ROCKS

Yep, put it at the top, before any other directives
it disallows all outside access, the server itself has access, but cannot be written to
you can edit by ftp still
this is my .htaccess
the long part is a spambot trap

<Files .htaccess>
order deny,allow
deny from all
</Files>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text/html "access plus 1800 seconds" 
ExpiresByType image/gif "access plus 60 days"
ExpiresByType image/jpg "access plus 60 days"
ExpiresByType image/png "access plus 60 days" 
ExpiresByType application/x-javascript "access plus 60 days"
ExpiresByType text/css "access plus 60 days"
ExpiresByType text/javascript "access plus 60 days"
ExpiresByType image/x-icon "access plus 360 days"
</IfModule>
RewriteEngine on
order Deny,Allow
#spambot trap
RewriteCond %{HTTP_REFERER} biotenkozmetik\.com [NC,OR]
RewriteCond %{HTTP_REFERER} viagrabuyonline\.com [NC]
RewriteCond %{HTTP_REFERER} ufukart\.com [NC]
RewriteCond %{HTTP_REFERER} hitsaati\.com [NC]
RewriteCond %{HTTP_USER_AGENT} Novell [NC]
RewriteCond %{HTTP_USER_AGENT} ^BlackWidow [OR] 
RewriteCond %{HTTP_USER_AGENT} ^Bot\ mailto:craftbot@yahoo.com [OR] 
RewriteCond %{HTTP_USER_AGENT} ^ChinaClaw [OR] 
RewriteCond %{HTTP_USER_AGENT} ^Custo [OR] 
RewriteCond %{HTTP_USER_AGENT} ^DISCo [OR] 
RewriteCond %{HTTP_USER_AGENT} ^Download\ Demon [OR] 
RewriteCond %{HTTP_USER_AGENT} ^eCatch [OR] 
RewriteCond %{HTTP_USER_AGENT} ^EirGrabber [OR] 
RewriteCond %{HTTP_USER_AGENT} ^EmailSiphon [OR] 
RewriteCond %{HTTP_USER_AGENT} ^EmailWolf [OR] 
RewriteCond %{HTTP_USER_AGENT} ^Express\ WebPictures [OR] 
RewriteCond %{HTTP_USER_AGENT} ^ExtractorPro [OR] 
RewriteCond %{HTTP_USER_AGENT} ^EyeNetIE [OR] 
RewriteCond %{HTTP_USER_AGENT} ^FlashGet [OR] 
RewriteCond %{HTTP_USER_AGENT} ^GetRight [OR] 
RewriteCond %{HTTP_USER_AGENT} ^GetWeb! [OR] 
RewriteCond %{HTTP_USER_AGENT} ^Go!Zilla [OR] 
RewriteCond %{HTTP_USER_AGENT} ^Go-Ahead-Got-It [OR] 
RewriteCond %{HTTP_USER_AGENT} ^GrabNet [OR] 
RewriteCond %{HTTP_USER_AGENT} ^Grafula [OR] 
RewriteCond %{HTTP_USER_AGENT} ^HMView [OR] 
RewriteCond %{HTTP_USER_AGENT} HTTrack [NC,OR] 
RewriteCond %{HTTP_USER_AGENT} HTTPClient [NC,OR] 
RewriteCond %{HTTP_USER_AGENT} ^Image\ Stripper [OR] 
RewriteCond %{HTTP_USER_AGENT} ^Image\ Sucker [OR] 
RewriteCond %{HTTP_USER_AGENT} Indy\ Library [NC,OR] 
RewriteCond %{HTTP_USER_AGENT} ^InterGET [OR] 
RewriteCond %{HTTP_USER_AGENT} …
almostbob 866 Retired: passive income ROCKS

Communicate with the client, there will be a hundred changes in requirements during the development
test run every aspect you can imagine, and those you can't, before it goes live,

I, middle aged, old fashioned,
typify the small company C-levels who will sign your cheques
websites for them and there clients is not the same as websites for them and their clients
and will be the difference between referrals and no referrals,

proof read like a high school English teacher
almostbob 866 Retired: passive income ROCKS

is it htaccess or .htaccesss

almostbob 866 Retired: passive income ROCKS

XML sitemap is for bots, and is important
HTML sitemap is your acknowlegement that your navigation system is not working, Better is to fdix the nav.
Intuitive menu systems, and logical link structures negate any need for a user to have to look for where they are or need to be

almostbob 866 Retired: passive income ROCKS

The site is hacked, from that .access file
check the contents of /pictures/protect.php
nothing google should redirect, redirecting to such a file is not any form of standard image protection

almostbob 866 Retired: passive income ROCKS

Is your .htaccess file, named htaccess or . htaccess (dot htaccess)

because you say you are new at this, are you putting up and editing htaccess, when the file doing the work, and possibly being corrupted is .htaccess sort of a blank name with an extension

I have the first lines in .htaccess protecting .htaccess

<Files .htaccess>
order deny,allow
deny from all
</Files>

apologies if this is stating the obvious, don't know how new is new

almostbob 866 Retired: passive income ROCKS

well it it may help to know what brand and chipset, if you know,
the hardware gurus (I'm not one I cant remember exactly what I was told just a few months ago to get my laptop booting again) may be able to tell you what keys to hit to enter bios even when fastboot without display is selected,

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

Book title Ping google for every change, or how to get blacklisted

its a Hindenburg, great idea, right up to the crash n burn
Google TOS are remarkable in their specificity

almostbob 866 Retired: passive income ROCKS

IE8 released 2009
CSS3 released 2011, not complete at 5 June 2012

dunno wy ma tigermoth dont have no jet engine neither

almostbob 866 Retired: passive income ROCKS

this is a read the printer control language manual problem
page size and printable area are not the same thing
there is no code sample, and not even a mention of what printer, so the only advice is go back and RTFM,

almostbob 866 Retired: passive income ROCKS

one way
<a href="pathto/savefile.php?file=pathtosomefile.txt">download somefile.txt</a>
savefile.php is below

<?php $file=$_GET['file'];
if(!$file) return false;
header("Content-disposition: attachment; filename=$file");
header('Content-type: text/plain;');
readfile("$file");
?>
almostbob 866 Retired: passive income ROCKS
<?php header ('content-type:text/css');
ob_start("ob_gzhandler"); ?>
/* <style type=text/css> */ 
@media all {.dontall {display:none;}}
@media handheld { img { display:none; } }
@media print {
 body {font-size:10pt; font-family:verdana, arial, sans-serif;}
 .dontprint {display:none;}
 .lt {float:left;text-align:right;width:30%;}
 .rt {float:right;text-align:left;width:65%;}
 .bk {clear:both;width:97%;border:#778899 solid 0;margin:4pt 1% 4pt 1%;padding:4pt;}
 .bkb {width:95%;border:#778899 solid 1pt;margin:4pt 1% 4pt 1%;padding:4pt;}
 .block {float:left;border:#778899 solid 1pt;margin:5pt;padding:2pt;}
 .blockr {float:right;text-align:left;border:#778899 solid 1px;margin:5pxpadding:5px;}
 fieldset {border:none;}
 p {padding:1px;margin:0;list-style-type:square;}
 p:first-line {font-weight:bold;}
 p:first-letter {font-size:100%;}
}
@media screen {
 .dontshow{ display:none;} 
 .doshow{ display:inline;}
}
a {text-decoration:none;padding:0 3px;}
a:hover {background-color:#66cdaa;text-decoration:none;}
a:focus {background-color:#66cdaa;text-decoration:none;}
<?php ob_flush();?>

the first 2 and last 1 lines, style.css as style.css.php

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

assuming the DB is designed with a colum for the submitted date/time
When submitting the upload to th db populate it with the sql keyword 'now'
when executing the query populate the date-time with the returned value of that column

|-|x commented: unclear response, inacurate, incorrect and incomplete information -1
almostbob 866 Retired: passive income ROCKS

the form as well as the handler please

almostbob 866 Retired: passive income ROCKS

You can learn php, and have millions of potential clients, develop with free software, make use of millions of other developer's input and work
You can learn coldfusion, but there are limited clients, limited hosts with cf support, and expense in purchasing the software, and the licenses for distribution
You can learn asp, and attempt to break into a closed shop of MS contracts, and expense in purchasing the software, and the licenses for distribution
You can learn jsp but there are limited clients, and expense in purchasing the software, and the licenses for distribution

almostbob 866 Retired: passive income ROCKS

you do realise that unstyled divs, are 100% width of the containing element and display as block
in otherwords, all you need is

<div></div>
<div></div>
<div></div>
<div></div>
almostbob 866 Retired: passive income ROCKS

If BS were music, this would be a Symphony orchestra.