almostbob 866 Retired: passive income ROCKS

format the drive ?
maybe, dunno

almostbob 866 Retired: passive income ROCKS

Just read the news, "Iron pyrites boulder hits woman in head", but it did get her attention

<M/> commented: ROFL +0
almostbob 866 Retired: passive income ROCKS

I think there would have to be, given the interpreter's characteristics,
a prior step, to parse the password and change special characters
password.replace('?', '\?')
print uname
print password
print "calling program"
which would search the passwords for any qmark and hopefully render them printable
untested code scrap,

Blatant Plug portable python,
on my thumb drive
not affiliated with portable python in any way

almostbob 866 Retired: passive income ROCKS

it would be better not to use proscribed characters

The following printing ASCII characters are not used in Python. Their occurrence outside string literals and comments is an unconditional error:$ ?

$ is proscribed,
$0-$9 are used in python internal structure, if the executing program set $3, that value would be printed
As strings, they SHOULD be printing, is there anything elsewhere in the code that could cause the interpreter to assume the reference is to the internal variable
it could be as slates idea,
without the proper declaration in the first line the interpreter is throwing "spasms"

almostbob 866 Retired: passive income ROCKS

something like

body {margin:5%;padding:5%;border:1px;}
p {margin:1%;margin-left:4%;}
p:first-line {font-weight:bold;margin-left:3%;}
p:first-letter {font-size:160%;}

The phone I am writing on has a screen only 9cm wide, 10cm borders mean blank screen.
Fixed dimensions mean a large number of potential viewers wont see the site as intended, and will leave
translating the layout from fixed to scalar, em and % dimensions wont take much at design stage, but will make viewable to the limitation of the users hardware, not limited by the design. also will be disabled friendly and self adjusting

almostbob 866 Retired: passive income ROCKS

For heavens sake Gerbil, Dont tell the truth.
Everyone has been trying to avoid that thought; Marriage = Mother in law

I discovered,as well as the prior reply,

that Wife is software

wife 1.0 was supposed to be an inplace upgrade of girlfriend 3.0,
wife 1.0 has many un-documented features
wife 1.0 interacted detrimentally with wallet
wife 1.0 interacted detrimentally with bank account
wife 1.0 interacted detrimentally with friends, deleted all existing friends versions, and installed the incompatible "OurFriends"
wife 1.0 interacted detrimentally with fun, deleted fun and installed the incompatible "WeekendWork"
wife 1.0 interacted detrimentally with career

Wife 2.0 has none of the bugs of Wife 1.0
wallet, bank account, friends, football, career, travel, holiday, FUN, restored to prior settings

I love my wife (2.0)

Attempt Humour

almostbob 866 Retired: passive income ROCKS

the template creator requires his link to use the template
what you are attempting is considered theft,
the people you are asking to do it, are more likely to be authors, than other thieves.
Not good form

almostbob 866 Retired: passive income ROCKS

Just want to make sure
I am NOT don juan, or any kind of romance guru, the above is just the experience of 1 bloke

<M/> commented: lol +0
almostbob 866 Retired: passive income ROCKS

There are a few stages between best friend and proposal
why not go through the
talk,date,hold hands,kiss
before .
If you jump straight in, it may not resolve well, too many crazies on the news.
My wife ended up proposing, after we spent a lot of time talking.
\It seems talk is most important from my limited experience, she may have similar feelings, but you never know unless you talk
( Its scary as, but good as well ) I guess not much help, but good luck

almostbob 866 Retired: passive income ROCKS

0px 0em 0% 0pi 0cm 0in are equally incorrect and may cause some browser/OS combinations to display improperly
zero is dimensionless
0pt = 0px = 0em = 0% = 0pi = 0cm = 0in = 0
1pt <> 1px <> 1em <> 1% <>1pi <> 1cm <> 1in

almostbob 866 Retired: passive income ROCKS

If you do code, you get designs and layouts that you can use over and over, knowing they work, and making $ off them
Cordell sells its services to banks and insurers
this link differs from this link differs from this link
by a profile number mapping a good idea to a bunch of purchaser's color and layouts
cant do that if the code you produce is proprietary to someone else
(I do real estate services)

AnyHoo, this is the new mod thread

<M/> commented: ;) +0
almostbob 866 Retired: passive income ROCKS

most wysiwyg editors produceepixel measured layout, looks great on your screen, looks ridiculous on all others
basic design on a wysiwyg, redone to display in em or % instead of pixels will get you by, but hand written code, is going to be prettier, faster, and more consistent overall.
Pretty much everything your co-workers tell you will be wrong, ignorance they learned about X, Y years ago and there is no other way to do it , , , else people would still be slicing up images to display with dreamweaver and doubling the time the page takes to display (oops, they are), or malice they dont want competent competition
ignorance and malice dont leave much room for honest answers

There was an anouncement from HappyGeek, just last week about JorgeM's elevation.

<M/> commented: Great point! +8
almostbob 866 Retired: passive income ROCKS

the op code line35, is functionally useless
the op code already examines the content of the $_post variables, and assigns a value to $info if they are not correct.
.If $info is not nul, do not continue to add the data to the table
, replace line 35 with the new line 35 (up to the final opening brace)

the seven lines of validation post6 in this thread, are to replace the op code line17 to line31, to issue all validation messages, if multiple fields are incorrect

almostbob 866 Retired: passive income ROCKS
if (empty($_POST['Fname'])){ $info= "The first name field cannot be blank!, Please fill all blanks";}
if (empty($_POST['Lname'])){ $info= ."The last name field cannot be blank!, Please fill all blanks";}
if (empty($_POST['Email'])){ $info= ."The email field cannot be blank!, Please fill all blanks";}
if (empty($_POST['Phone'])){ $info= ."The phone number field cannot be blank!, Please fill all blanks";}
if (!is_numeric($_POST['Phone'])){ $info= ."You've not entered a phone Number";}
if ($userPass != $repass){ $info= ."Password does not match";}
if(!filter_var($_POST['Email'], FILTER_VALIDATE_EMAIL)){ $info= ."Invalid Email Address";}

ensures that the user is given all errors in each input
I didnt bother putting the carriage return/newline in each error line.
(didnt think of it till late)

almostbob 866 Retired: passive income ROCKS

after all determinatins of error message
if(!filter_var($_POST['Email'], FILTER_VALIDATE_EMAIL)){$info= "Invalid Email Address";}
there is no exit point\
nothing tells the code to skip inserting the data into the database if there is an error that populates $info
35.if (!empty($_POST['Fname']) && !empty($_POST['Lname']) && !empty($_POST['Email']) && !empty($_POST['Phone'])){}
this is already accomplished above, the code checks the column data is not blank and does basic validation earlier, so
35.if (!$info){}

almostbob 866 Retired: passive income ROCKS

testing if fields are blank should come before manipulating those fields

almostbob 866 Retired: passive income ROCKS

third & last time, read the helpscreens, zoho crm contact form does support ip address collection

almostbob 866 Retired: passive income ROCKS

a no, the .htaccess filename is specific
bc The action of .htaccess continues to subfolders, If you put a .htaccess in the root, it covers subfolders, may require directives that you dont wish for the root, so you put another .htaccess in a subfolder specific to that subfolder. there can be as many .htaccess files as the site requires

your hosted form processor. DOES support automatic IP collection you do not need to make a form change, you need to make a configuaration change

almostbob 866 Retired: passive income ROCKS

As diafol above, the ip address is available to the form handler

the form processor scrpt supplied by ISP can be often configured to capture the IP address, and other common data, without an input in the html form
simple as reading the helpscreens for the particular script
more exact, can't be, without seeing the code of the form handler\ for a neat secure answer

but just like Karen, you can rename the form to .php and use
<input type='hidden' value='<?php echo $_SERVER["REMOTE_ADDRESS"]; ?>' name='IP'>

almostbob 866 Retired: passive income ROCKS
 #slidingDiv_2{ height:100px;padding:20px;margin-top:10px;display:none;}
#slidingDiv{ height:100px;padding:20px;margin-top:10px;display:none;z-index:10;}

now div 1 will slide over div 2, z:indexes can be used to change the relative depth in the page, your javascript could also set the active div z-index higher programmatically so the active on always scrolls over the inactive, toggling between 0 and 10 . 10 is in front of 0, -10 is behind 0, 1 is the default, my memory is not good

almostbob 866 Retired: passive income ROCKS

in the code that displays the iframe, what class is the iframe, how is the iframe define

almostbob 866 Retired: passive income ROCKS

perhaps an em or fractional em(.9em) could/would/should self adjust to browser metrics, user preference, something like

#container {top: 0.7em;}
almostbob 866 Retired: passive income ROCKS

lets get the obvious out of the way, to make sure it isnt a doh head-slap moment
\what doctype declaration it the file

almostbob 866 Retired: passive income ROCKS
<form name="daftar" method="post" action="daftar.php" onsubmit="return tq()">

<input type="submit" name="Daftar" value="Daftar" id="submit" onClick="return checkscript()"/>

perhaps

almostbob 866 Retired: passive income ROCKS

@dorco, read the prior posts, you will learn as well, there is no smtp server on a wamp localhost
no mail server to send mail, => there are no server logs
you cannot the same answer applies
ignorance is not bliss
wrong answers dont help
whatever dont make wrong, right.

almostbob 866 Retired: passive income ROCKS

localhost does not have an smtp server, mail() does not work without an smtp server
html filoes do not process php commands, unless you have modified the configuration "addhandler serverparsed"
the php helpscreens at php.net are very good, and include
EDIT: Correct
code samples, would be probably a good idea to view the mail() help page

almostbob 866 Retired: passive income ROCKS

Canada, Silver 4wd, snow proof travel

Australia, White, Red 4wd convertible, green 4wd wagon, yellow 6w atv, red atv quad, yellow atv quad, blue dirtbike, yellow tractor, yellow grader,
In the bush, if it isnt dust, its mud, everything is awd except the highway car
older, not more mature, just older

almostbob 866 Retired: passive income ROCKS

overflow:auto; and height:auto; i can see
but after midnight I can't see the reason for position:relative; on a outer container element,
after midnight I cant see the reason I am still awake, going to bed while I can still find it, sleepy
try without

almostbob 866 Retired: passive income ROCKS

how have you specified the page layout in css,

almostbob 866 Retired: passive income ROCKS

look for, as previously noted, position:fixed;,
and
overflow: anything other than 'visible'
in the css

some browsers
(guess which, hint starts with I ends with nternet explorer)
handle overflow badly,
others less badly,
some (few) follow the spec

almostbob 866 Retired: passive income ROCKS

as does line 54
find a code highlighting editor, notepad++ there are dozens, having the colors change as the posted code does on DaniWeb, makes it very easy to find headslap moment errorors

( errorors, headslap moment :) )

almostbob 866 Retired: passive income ROCKS

usually you do not delete data from a table,
usually the data is marked deleted, in a table column(type =date or timestamp) for that purpose, and the "deleted" item is excluded from other reports
this is to ensure trace-ability,
deleted items can screw up later work

almostbob 866 Retired: passive income ROCKS

check out google webfonts for the solution, they have implemented a pretty good system that works,
you can do it yourself,
BUT, big but,,
do you want to add between 15 and 90 seconds to download page times,
If you use google, there is a pretty good chance that the font you want will be DL by another google user/designer, like all the javascript library, and you wont get apparant downlodelays, as the font will be in TIF

http://www.google.com/webfonts/

almostbob 866 Retired: passive income ROCKS

margin-left:auto; margin-right:auto;

margin:auto 0; // fill left and right zero top and bottom

almostbob 866 Retired: passive income ROCKS

I use similar
I dont think p will ever equal 3

<?php if(isset($second)){ $third == $second; } 
  if($first - $third) <= 5){$p='1';} 
 elseif($first - $third > 5){$p='2';} 
 else $p='3'; 
echo "<img src='images/img$p.png' />";  ?> 
almostbob 866 Retired: passive income ROCKS

start tv episode voiceover..
* Does insane paranoia automatically decrease once you get more than a month in or ten posts?
* will it always stay an unhelpful peanut,
* stay tuned for the next episode in "life of a scared mind"
..end voiceover

Tinabina, post what you need to get the help you need, css files will identify your class names, about the most unscary thing there could be, someone may discover you like blue hover states.
your css file is DL to every user who accesses your site, so there are no issues of security to answer, its already out there.
some people like to push their agenda, some people like to help, some manage to do both at the same time.
looks like everybody except one, is trying to help, doesnt take a roll of the dice to determine which one. generally post count and 'attaboys' go together, you can see the attaboys list by clicking the username
Ezzeral got the honorific 'most valued' and is a moderator (bit like the 'Thats god, he likes to pretend he's bill Gates' jokes) sits in the top10
Iamtwee is in the top20 on every list, problems solved, people who get attaboys, most posts,

the number of users- couple hundred thousands, you got 7 & 13 on your side

Corazon, not forgettin him(/her no sexism intended) is in the same logical progression, ex table - divs are positioned in css, need …

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

It is not a seo issue, but it may cause many, if not most, browsers to fail to display the page, and ruin visitor retention
run the generated page through the css validators
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

replace yoursite.com with a uri to the generated page, and see how bad/good the result is

almostbob 866 Retired: passive income ROCKS
<li><a id="facebook" rel="_blank" href="https://www.facebook.com">&nbsp;</a></li>

ie is quirky it was a big nothing, should now be a big space character & should be clickable

Walahh commented: yeap, that was also the reason. however, when i was adding that "&nbsp;" it was messing with the icon's height (plz see the link i posted at the bottom) but thank you so much for your time :) +0
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

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
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

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

liekey there was a delay in google's system, getting the key from generation to validation servers

almostbob 866 Retired: passive income ROCKS

just confirming that you replaced the words my_key with the actual key given

almostbob 866 Retired: passive income ROCKS

pixels are not a layout tool,
the size of a pixel is dependent on screen resolution, and gets smaller with every new development of monitor.
previously a 15inch monitor was 800px wide, 53px/inch
this laptop has 160px/inch,
Ipad Retina display 9.7-inch (diagonal)(7.7*5.82)2048-by-1536-pixel 264px/inch
the next gen(in 3months??) will doubtless be higher
any page laid out in fixed dimensions will only look 'right' on the screen it was laid out on, even if the user is using the same browser, and will fail on any other resolution or in part-screen windows
Current best practice is em (for typeface) and % (for elements) as layout dimensions. These scalar quantities adjust to window size, screen resolution user preference and basefont settings, on all devices from telephones(200px screen) to this thing plugged into a projector, as it is at the moment (3200px 8 feet wide) playing wolfenstein.
fonts in em, adjust to user preference instead of overriding them, making the site instantly disability friendly
a site css coded to add to 100% will work in all ( fingersX :) ) devices.
together with examining css @media handheld{} to iconify images for smaller devices, and other tweaks
example only

body{background:white;} 
h1{text-align:center;}
input{font-size:2em; color:white;background:green;} 
#leftcol{color:white;background:green;position:absolute;border:0.1em solid gray;top:2%;left:2%;width:10%;height:30%;padding:.1em;padding-top:.2em;}

still won't be perfect but closer

incidentally, white text on dark ground is very user unfriendly, the eye does not function well that way

almostbob 866 Retired: passive income ROCKS

check the script files <script type="text/javascript" src="jui/js/jquery-1.7.1.min.js"></script> <script type="text/javascript" src="jui/js/jquery-ui-1.8.18.custom.min.js"></script

one of them may include a definition var accept="y";
accept is a common variable name
to continue to use the jquery libraries, try changing your accept variable to another variable name
cant be sure
just thought

almostbob 866 Retired: passive income ROCKS

pebkac error: failure to proof read <a href='#' sorry

ideally the link should be, <a name='thisname' href='#thisname' onclick="JAVASCRIPT:window.location.href='list_upload.php?reqid=<?php echo $row['reqid']; ?>';" title="View" >View</a>

  • a link with a href of # is not properly defined and defaults in most browsers to the top of the current page, (its bad html, my bad)
  • a link with a href of #name goes to the location of the element named 'name' on the current page
  • a link with a href of url#name goes to the location of the element named 'name' at the url

in the ideal case above, if javascript fails, the page stays put, and there will be no coded errors to throw browser/OS combinations into a tailspin