almostbob 866 Retired: passive income ROCKS

You are really asking in public for helpo in stealing somebody else's content?
Why not ask at rapidshare?

because they dont want you stealing their property

The layout, design, files, images and all other contents of the Rapidshare-search-engine.com web site are owned by Rapidshare-search-engine.com and are protected by national and international intellectual property laws, conventions and treaties.
The information contained within the Rapidshare-search-engine.com databases belongs to the respective owners of Rapidshare-search-engine.com, and is also protected by national and international intellectual property laws, conventions and treaties.
The information contained in the Rapidshare-search-engine.com web site and databases may not otherwise be used, copied, distributed, performed, sublicensed, modified, rented, altered, reverse engineered or recompiled in any manner without the express written consent of its owner.

almostbob 866 Retired: passive income ROCKS
<meta name="keywords" lang="EN" content="for, rent, lease, dog friendly, apartment, apartments, rent, lease, rent to own">
<meta name="keywords" lang="EN" content="rental, for rent, Amherst, Truro, dog, friendly, lease to own">
<meta name="keywords" lang="EN" content="Nova Scotia, nova, scotia, FAQ, Insurance">
<meta name="keywords" lang="EN" content="Tenant Guide, fun, frequently asked questions">
<meta name="keywords" lang="FR" content="chien, appartement, appartements, loyer, bail">
<meta name="keywords" lang="FR" content="location, pour le loyer, Amherst, Truro">
<meta name="keywords" lang="FR" content="la Nouvelle-Ecosse, FAQ, assurance, guide de locataire">
<meta name="keywords" lang="FR" content="amusement,questions frequemment posees">

the webmaster blogs say the support for the language is 'not complete' but we are getting hits from Quebec and Saint-Pierre & Miquelon
that we did not get without the FR tags

almostbob 866 Retired: passive income ROCKS

It can be done, there are dozens of video scripts on the web that you can drop into a folder on your web host,
The script searches the folder for video files
displays a menu of them
and lets them click and play
If you name the files you upload in some order, the menu will be in the same order.
my cheap n nasty camera saves .wmv files so I wrote this one, its small(which is the only advantage it has)

<?php ob_start("ob_gzhandler"); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8"><meta name="distribution" content="global">
<meta http-equiv="content-Script-Type" content="text/javascript">
<meta name="author" content="Rob Dockrey 2004">
<LINK REL="stylesheet" TYPE="text/css" MEDIA="all" HREF="../style.css.php">
<script type="text/javascript">
<!--//
function shrink(){
 document.getElementById("MediaPlayer1").style.width=384;
 document.getElementById("MediaPlayer1").style.height=300;
}
function enLarge(){
 document.getElementById("MediaPlayer1").style.width=480;
 document.getElementById("MediaPlayer1").style.height=402;
}
 //-->
</script>
<title>video - Entertainment - Dockrey Apartments</title>
</head>
<body><H3><center>Videos</center></h3>
<p class='logo'>
<button onclick="enLarge()">large</button>
<button onclick="shrink()">small</button>
<a href='..'>Main Menu</a>
<A HREF="http://www.microsoft.com/windows/windowsmedia/player/download/"><IMG ALT="Get Windows Media Player" SRC="http://www.microsoft.com/windows/windowsmedia/images/logos/getwm/mp11_88x31_static.gif" WIDTH="88" HEIGHT="31" BORDER="0"></A><br>
<OBJECT ID="MediaPlayer1" width=384 height=300 classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,02,902" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">
<PARAM NAME="fileName" VALUE="">
<PARAM NAME="showControls" VALUE="true">
<PARAM NAME="PlayCount" VALUE="0">
<PARAM NAME="animationatStart" VALUE="true">
<PARAM NAME="transparentatStart" VALUE="true">
<PARAM NAME="autoStart" VALUE="true">
<EMBED type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" SRC="" name="MediaPlayer1" width=360 height=260 AutoStart=true></EMBED></object></p>
<div style='float:left; text-align:left;'>
<?php $p = split('/', $_SERVER['SCRIPT_FILENAME']);
	$script_name = $p[count($p)-1];
	$path = str_replace($script_name, '', $_SERVER['SCRIPT_FILENAME']);
	$dir_handle = @opendir($path) or die("Unable to open $path");
	Function get_Extension($m_FileName){
 	$path_parts = pathinfo($m_FileName);
 	if ($path_parts["extension"]) {
 		$m_Extension = strtolower($path_parts["extension"]);
 		return(strtoupper($m_Extension));
 		} …
almostbob 866 Retired: passive income ROCKS

In Google Webmaster tools
that you have subscribed to? havent you
has a bunch of helpscreens including one on localization strings to tell the bots where what to look at
Yahoo bots use the same strings

almostbob 866 Retired: passive income ROCKS

Before you even attempt to alter anything
read the terms of service,
it would be really pisspoor to be bounced for something as trivial as this,
can you just walk to an active host during the time its needed

almostbob 866 Retired: passive income ROCKS

been there, did that, was really surprised how well DLG works, didnt lose anything, didnt need to re-activate

almostbob 866 Retired: passive income ROCKS

I should have added that this is for a College project.

I have got to create the web site in Dremweaver, my design work has been completed in Fireworks. How easy is it to attach a Mals E-commerce back end into a dreamweaver website?

Mals just needs 'buy now' buttons, that link to the mals site you create when you sign up for them to host your shopping cart.
http://www.mals-e.com/how-it-works.php

almostbob 866 Retired: passive income ROCKS

i am new to PHP, i typed in a hello world php program and opened it using the web browser, but the end tag "?>" is also getting displayed, could any one correct my code ...

<html>
<head>
<title>My First PHP Page</title>
</head>
<body>
<?php
echo '<b>Hello World! </b>';
?>
</body>
</html>

text has to be enclosed
php statements end in ;

almostbob 866 Retired: passive income ROCKS
the same thing, bold <b> this text</b> in a string</p>
the same thing, bold {\b this text} in a string \par

to accomplish the same thing, bold this text in a string
to display rtf codes in html you have to use something to parse the rtf escape codes to html tags
you already use nl2br which creates <br> tags for (#0d;#0a; pairs) or (\n) in the file
there is a class rtf2html, have no idea how good it is or how $.
or you could google search or search sourceforge

write a parser to search each line and replace each {\code{space} with <code> and each } with </lastcode>
and \code{space} with <code>
but, the opening of each enhanced block could be on a preceeding $line so you have to drop the 'open' codes in a temp array until they are closed. I experimented with simple search replace and got bogged, way better if someone has already done it

almostbob 866 Retired: passive income ROCKS
select * from table group by Column1 column2 order by column1
almostbob 866 Retired: passive income ROCKS

Hi i'm used to working with Visual studio IDE and C#.NET and have just started studying PHP.
These are my queries:

1. Is there any IDE like the visual studio for PHP, i mean it was a lot easier dargging and dropping controls in VS. Suggest me one.

google php ide I use a sourceforge app DevPHP

2. Is there any concept of master pages, like in ASP .NET, so that i can skip the task of writing the left navigation(which i'm currently making using tables) again and agin for every page.

Please reply. Questions may be silly but please keep in mind i'm a newbie in PHP.

Sure are, php templates, entire blocks of code, menus, video players, can all be imported using simple include(filename); statements. and php being what it is an very enhanced html, html templates from any other source are php templates in about 5 minutes of tweaking

<?php 
/* this would be code to read page_text from a file, database, list, or post/get in the url, or anywhere else */
include('./header.php');
include('./menu.php');
if(condition that $page_text is a file the logic escapes me) {include($page_text);}
else {sprintf($page_text);}
include('./footer.php');
?>
almostbob 866 Retired: passive income ROCKS

without coding the sql this is a thought process only
create a table in the database temp_bans.
with colums for username logintimestamp failurecount banned

on login {
if temp_bans.username AND banned AND timestamp+20minutes > timenow die( you are banned until ($timestamp+20minutes))
if login fail {
if not temp_bans.username { create temp_bans.username }
update temp_bans.username increment falurecount timestamp
if failurecount=5 {update temp_bans.username (banned=yes failurecount=0)}
}
if login succeeds {delete temp_bans.username}
}
with a little thought this is only a single sql query, not up to thought at the moment

almostbob 866 Retired: passive income ROCKS

development =>determine need
determine solution(s)
code best solution
implement solution
satisfy needyou have a web page
developed before you worked out what you needed.
benefit ~ 0.000 (return / effort ratio)
work out what you want from a web page, then
work out how to implement it, then
you may receive benefit from the page

almostbob 866 Retired: passive income ROCKS

form handling in the browser is predefiend
the submit button on a form
sends
text, textarea : name & contents pair
select, checkbox,radio button : name & value pair of selected item

the post array will include
post
($email_address)
with the value of the selected item with no further coding needed,

<form action='./emailhandler.php' method='post'>
<select name='email_address'>
<option value='bob@myplace.com'>Email Bob</option>
<option value='bill@myplace.com'>Email Bill</option>
<option value='ben@myplace.com'>Email Ben</option>
<option value='burt@myplace.com'>Email Burt</option>
</select>
<br>From <input type='text' name='from'><br>
from email <input type='text' name='from_email'><br>
message <textarea cols='50' rows='8' name='message'></textarea>
<br>
<input type='submit' value='send email'></form>
almostbob 866 Retired: passive income ROCKS
<select name='email_address'>
<option value='bob@myplace.com'>Email Bob</option>
<option value='bill@myplace.com'>Email Bill</option>
<option value='ben@myplace.com'>Email Ben</option>
<option value='burt@myplace.com'>Email Burt</option>
</select>

duh thats more than three
but you get the idea

almostbob 866 Retired: passive income ROCKS

<input type="textbox" disabled='disabled' style='text-align:right;' name="txtNUMBER" id="txtNUMBER"> to make the numbers pushin from the right like a standard calc. and numbers can only be entered by keypad, not directly in the box

almostbob 866 Retired: passive income ROCKS

view source of 'professionally' designed scripts
bloat's the least of the problems
bad practice is about the only reason for a retrograde step.
I noted a use, not my use, personal attacks are unnecessary

almostbob 866 Retired: passive income ROCKS

goto
The goto operator can be used to jump to other instruction in the program. The target place is specified by the label and a colon and goto is followed by that label.

Example #1 goto example
<?php
goto a;
echo 'Foo';
a:
echo 'Bar';
?>
The above example will output:
Bar

where goto goes to a label would be useful for conditional branching in a switch statement, where the code blocks are large enough that

switch (test) {
case foo:
  { /* 1000 lines of code */ }
break
case bar:
  { /* 1000 lines of code */ }
break
case cant: 
 { /* 1000 lines of code */ }
break
case find: 
 { /* 1000 lines of code */ }
break
case the: 
 { /* 1000 lines of code */ }
break
case nexxt: 
 { /* 1000 lines of code */ }
break
case casse:: 
 { /* 1000 lines of code */ }
break
}

becomes a more closely nested switch stament without 1000 lines of code between each case,
just

case foo:  { goto foocase; }
break
case bar:  { goto barcase; }
break
//rest of switch statement
foocase: /* 1000 lines of code */
barcase: /* 1000 lines of code */
cant: //etc
find: //etc
the: //etc
nexxt: //etc
casse: //etc
almostbob 866 Retired: passive income ROCKS

change the separator to :
strtotime functions think that x.y is a fraction x:y is a time
$a = 9.43 = 9:25
$b = 8.20 = 8:12
= 17.63 = 17:37

You want
$a = 9:43
$b = 8:20
= 18:03
then you can just add the hours with mktime(strtotime($a + $b))

almostbob 866 Retired: passive income ROCKS

show the code you are using, and the file structure of the text file

almostbob 866 Retired: passive income ROCKS

Would a Mals E-Commerce package replace any database that I need?

Yes,
mals is externally hosted
which may be a negative to the employer

there are similar (also free) scripts to install on your servers
that are also easy to setup
read this - do this
read that - do that
may come with live support for the first xx days that a (pimply 17 year old techno kid) help person can configure if needec

almostbob 866 Retired: passive income ROCKS

This advertisement is completely unfriendly.
however if you must,
if the top of the interstitial advertising page includes one of those progress bars stating 'Processing your form please wait' (even a fake), you can pretty much put whatever you want on the lower 90% of the page, for ~10 seconds before people get offended

almostbob 866 Retired: passive income ROCKS

This works
Drop the file as index.php in a folder of mp3 or wma files and it produces a sorted list of filenames that click toplay

<?php ob_start("ob_gzhandler"); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/TR/REC-html40">
<head>
<LINK REL="stylesheet" TYPE="text/css" MEDIA="all" HREF="../style.css.php">
<script LANGUAGE="javascript" TYPE="text/javascript" SRC="../script.js.php"></script>
<script type="text/javascript">
<!--//
function shrink(){
 document.getElementById("MediaPlayer1").style.width=384;
 document.getElementById("MediaPlayer1").style.height=300;
}
function enLarge(){
 document.getElementById("MediaPlayer1").style.width=480;
 document.getElementById("MediaPlayer1").style.height=402;
}
 //-->
</script>
<title></title>
</head><body><a name='top'></a><H3><center>Videos</center></h3>
<p class='logo'>
<button onclick="enLarge()">large</button>
<button onclick="shrink()">small</button>
<a href='..'>Main Menu</a>
<A HREF="http://www.microsoft.com/windows/windowsmedia/player/download/"><IMG ALT="Get Windows Media Player" SRC="http://www.microsoft.com/windows/windowsmedia/images/logos/getwm/mp11_88x31_static.gif" WIDTH="88" HEIGHT="31" BORDER="0"></A><br>
<OBJECT ID="MediaPlayer1" width=384 height=300 classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,02,902" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">
<PARAM NAME="fileName" VALUE="">
<PARAM NAME="showControls" VALUE="true">
<PARAM NAME="PlayCount" VALUE="0">
<PARAM NAME="animationatStart" VALUE="true">
<PARAM NAME="transparentatStart" VALUE="true">
<PARAM NAME="autoStart" VALUE="true">
<EMBED type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" SRC="" name="MediaPlayer1" width=360 height=260 AutoStart=true></EMBED></object></p>
<div style='float:left; text-align:left;'>
<?php $p = split('/', $_SERVER['SCRIPT_FILENAME']);
	$script_name = $p[count($p)-1];
	$path = str_replace($script_name, '', $_SERVER['SCRIPT_FILENAME']);
	$dir_handle = @opendir($path) or die("Unable to open $path");
	Function get_Extension($m_FileName){
 	$path_parts = pathinfo($m_FileName);
 	if ($path_parts["extension"]) {
 		$m_Extension = strtolower($path_parts["extension"]);
 		return(strtoupper($m_Extension));
 		}
 	else { return "unknown"; }
 }
 function check_image($filename){
 $temp=strtoupper(get_Extension($filename));
 if(($temp=="MP3")||($temp=="WMA")||($temp=="WMV")||($temp=="ASF"))  return (true);
 else return (false);
 }
 Function get_Files($path) {
 	if ($handle = opendir($path)) {	
 		while (false !== ($file = readdir($handle))) { 
 		if(!is_dir($file) && substr($file,O,1) != "."){				
				$m_Files[]=$file;
 			}
 		}
 closedir($handle); 
 	}
 if(sizeof($m_Files)>1)
 asort($m_Files);
 return $m_Files;
 }
 $files=get_Files($path); 
 $filter_files=array_filter($files,"check_image");
 $maxnr=sizeof($filter_files)-1;
 sort($filter_files);
for ($i=0;$i<sizeof($filter_files);$i++){
	echo "<a class='button' onclick=\"MediaPlayer1.SRC='$filter_files[$i]';MediaPlayer1.fileName='$filter_files[$i]';\">";
	echo substr($filter_files[$i], 0, strlen($filter_files[$i])-4);
	echo "</a><br>";
 }
closedir($dir_handle); ?></table>

</body></html>
<?php ob_flush(); ?>

It only understands wmv wma asf …

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

notepad++ and
DevEditPHP, likewise for control-click of functions and classes, Horrible Learning curve

almostbob 866 Retired: passive income ROCKS

Dont reinvent the wheel
the Ecommerce functions you are looking for have been made before, in your choice of programming languages,
for free, for pay,
supported, unsupported
hosted elsewhere, self hosted
paypal
credit cards
delivery
et al
Google online store script search
then its just a relatively simple thing to stylesheet & match the appearance of the rest of the site

the time consuming part is data entry for items

almostbob 866 Retired: passive income ROCKS

Hope something like this will work perfectly!! any more ideas or suggestions, really appreciate folks:

The wright brothers airplane still flies,
but they dont keep bolting new bits on it to make it useable
they mothballed it in a museum and build jumbo jets
bigger
faster
able to move hundreds of people
thousands of times further and
hundred times faster than the original planethis is a hint
ditch the biplane
build a jumbo
There would be less work in redoing the code, than always repairing it.

What about the next time you wish to add a feature.
it is real easy in timestamps to add StUfF,
"who's online"
"popular pages"
"most recently viewed'
without doing much programming work.

almostbob 866 Retired: passive income ROCKS
$query = sprintf("UPDATE TABLE SET birthday = %s",
   strtotime($birthday));

that makes more sense

almostbob 866 Retired: passive income ROCKS

fix the databse
then you dont have to
READ EVERY RECORD IN THE DATABASE
EXPLODE EVERY RECORD
MKTIME
Compare the generated timesatmp and then throw away all records that are not correct

WHAT IF:
you get bigger and there are 2-3 MILLION users at 1/1000 second for each record to make a happy birthday list, plus whatever other user tracking is going on, what are you going to do for the 33minutes - 45minutes your users are waiting for the page to display

$stamp = idate(z,Strtotime($birthday));
if ($stamp >= idate(z) and $stamp < (idate(z)+6)) {echo $nickname;}

for every record in the database

just for the hell of it I put 10000 random records in a database containing nickname and birthday
the sql based query prior took less than 1 second to execute 500 times and extract 500 sets of this weeks birthday

the php query took six seconds to run once and did extract the same three names

on my develpment box which is slower than a server

Fix The Database

in your input processigng you can still input the date as 1985-1-14, but if you explode it above and
or can input birthday as three datebits from drop down selects year month day

$birthday= mktime (0,0,0,$datebits[1],$datebits[2],$datebits[0],0);

and you can fix the table by

update table set birthday = %s , strtotime(birthday);

I havent checked what I just typed as the sql, its probably way wrong, …

almostbob 866 Retired: passive income ROCKS

Security through obscurity
you cant be totally secure but you can be obscure
can use a password in the form that isnt called 'password' to stall sniffers
encrypt the password entered and only send the encryption to be compared with the encryption stored on the server. thats ideal use for javascript onSubmit(some md5/crypt script)
Ya do the same on your newuser script so when the user creates themselves the password is never sent, only its encryption.
many sites say 'we cant recover your password, but we can reset it', and make you reset your password again when they send you a string
but you cant validate in the browser, else you would have to download a large amount of secure information to every user, some of whom may be malicious

almostbob 866 Retired: passive income ROCKS

The database is not meant to be human readable, it is machine readable and efficient (we hope),
correct your database design to store dates as a timestamp, it is less overhead to rewrite the adduser script and do a tablewide update of existing records once than it is to constantly
read a record
explode it at '-'
convert it to a timestamp with mktime or strtotoime
compare the timestamp to the current timestamp
store the nickname
read the next record
print the stored names for a text stored date,
every record must be read and manipulated to collect a date range
TIMESTAMP is hugely faster, (uses less storage space smallint will hold it)
is easier to compare dates, extract a date range
its easier sql to select from tha database
set up the query

select nickname from table where birthday  BETWEEN CURDATE( )  AND  DATE_ADD(CURDATE(), INTERVAL +7 DAY);

to get a list of nicknames/loginnames of users with birthdays in the next seven days

almostbob 866 Retired: passive income ROCKS

Why are conditional comments bad practice?

because the browser that requires the conditional comments is also changing, your site becomes invisible.

WYSIWYG editors, any of them, use so many kludges to adjust positioning, that they never work right.
Its usually easier faster and more standards compliant, to use a text editor to type what you want, and the view mode only to make sure its what you meant to type.

<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<style>
<!--
-->
</style>
<meta http-equiv="Page-Enter" content="blendTrans(Duration=1.0)">
<meta http-equiv="Site-Exit" content="blendTrans(Duration=1.0)">

<link rel="File-List" href="index_files/filelist.xml">


<script type="text/javascript" language="JavaScript1.2" src="_pgtres/stmenu.js"></script>
<!--[if !mso]>
<style>
v\:*         { behavior: url(#default#VML) }
o\:*         { behavior: url(#default#VML) }
.shape       { behavior: url(#default#VML) }
</style>
<![endif]--><!--[if gte mso 9]>
<xml><o:shapedefaults v:ext="edit" spidmax="1027"/>
</xml><![endif]-->
</head>

<body background="GOD1.jpg" marginwidth="1199" marginheight="965">
<script type="text/javascript" language="JavaScript1.2" src="stmenu.js"></script>
</body>

</html>
<p align="center">&nbsp;</p>
<p align="center">&nbsp;</p>
<p align="center">&nbsp;</p>
<p align="left">&nbsp;</p>
<table border="0" width="1041" height="532">
    <tr>
        <td height="75" width="279">
        <div style="position: absolute; width: 873px; height: 5px; z-index: 1; left: 170px; top: 194px" id="layer1">
&nbsp;<script type="text/javascript" language="JavaScript1.2">
<!--
stm_bm(["menu57e9",700,"","blank.gif",0,"","",1,0,250,0,1000,1,0,0,"","100%",67108897,0,1,2,"hand","hand",""],this);
stm_bp("p0",[0,4,0,0,0,1,16,0,100,"",-2,"",-2,50,0,0,"#999999","#000000","",3,0,0,"#000000"]);
stm_ai("p0i0",[0,"   Home","","",-1,-1,0,"index.htm","_self","","","towgreen-r.gif","towgreen-r.gif",16,9,0,"","",0,0,0,0,1,"#FFFFF7",1,"#B5BED6",1,"1ab2.jpg","text_top_bckg.jpg",3,0,1,5,"#000000","#000000","#FFFFFF","#FFFFFF","bold 10pt Verdana","bold 10pt Verdana",0,0],121,41);
stm_aix("p0i1","p0i0",[0," About Us!","","",-1,-1,0,"aboutus.htm"],121,41);
stm_aix("p0i2","p0i0",[0,"Contact Us!","","",-1,-1,0,"contactus.htm"],121,41);
stm_aix("p0i3","p0i0",[0,"Services","","",-1,-1,0,"services.htm","_self","","","towgreen-r.gif","towgreen-r.gif",-1,-1,0,"","",0,0,0,0,1,"#FFFFF7",1,"#B5BED6",1,"1ab2.jpg","text_top_bckg.jpg",3,0,1,5,"#000000","#000000","#FFFFFF","#FFFFFF","bold 9pt Verdana","bold 9pt Verdana"],121,41);
stm_aix("p0i4","p0i3",[0,"Eco-Friendly","","",-1,-1,0,"ecofriendlytech.htm"],121,41);
stm_aix("p0i5","p0i3",[0,"Products","","",-1,-1,0,"products.htm","_self","","","towgreen-r.gif","towgreen-r.gif",16,9,0,"","",0,0,0,0,1,"#FFFFF7",1,"#B5BED6",1,"1ab2.jpg","text_top_bckg.jpg",3,0,1,6],121,41);
stm_ep();
stm_em();
//-->
</script>
</div>
&nbsp;</td>
        <td height="77" width="697">&nbsp;</td>
        <td height="77" width="50">&nbsp;</td>
    </tr>
    <tr>
        <td height="447" width="279">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <img border="0" src="matrix-05.gif" width="8" height="363"><p>&nbsp;</p>
        <p>&nbsp;</td>
        <td height="447" width="697">
        <!--[if gte vml 1]><v:shapetype id="_x0000_t136"
 coordsize="21600,21600" o:spt="136" adj="10800" path="m@7,l@8,m@5,21600l@6,21600e">
 <v:formulas>
  <v:f eqn="sum #0 0 10800"/>
  <v:f eqn="prod #0 2 1"/>
  <v:f eqn="sum 21600 0 @1"/>
  <v:f eqn="sum …
almostbob 866 Retired: passive income ROCKS

the code produced by frontpage looks hideous in IE too,
at any screen resolution other than the one it was developed at, or in a part screen window at the same resolution (try it).
all the fixed pixel divs and tables do not scale, do not adjust,
not the sort of thing to put out on the web as a first contact point.
would be better to use another page layout program.
even notepad and use browsers to preview the page,
If you must use frontpage don't wysiwyg.
use html view and change all the pixel measurements to something that will scale ems or %

Frontpage is MS,
it will do the job, but not well or fast, and not without a lot of tweaking,
the only benefit, it comes 'free' in Office

almostbob 866 Retired: passive income ROCKS

yes, the javascript filename is referenced in the html in clear <script language="javascript" type="text/javascript" src="http://www.-mysite-.com/script.js"></script> anyone typing that src into a browser can read the javascript
validation is done securely on the server. php or Ajax -javascript+php- are possible approaches.
google ajax validation
javascript is good for confirming the form of the password, before it is validated, a javascript searching for blank saves ajax calls to the server
google javascript validation
but unless you are https: connected the password and files are in clear between user and server anyway.
md5 hash the password in the browser and compare the hash value with the a stored hash on the server, harder, but not impossible to crack.
but, unless your are making a
Mad
Industrial
Scientists
Taking
A
Killing
Edge,
secret site,
how secure does the password need to be

almostbob 866 Retired: passive income ROCKS

Rethink the logic,
servers dont behave like that

almostbob 866 Retired: passive income ROCKS

5he date variable $var is undefined, not stored
is $var your variable, or a variable in an instructional tutorial or app you are porting from somewhere else

if $var is null date(datestring, $var) is equal to date(datestring); ie: the current date

almostbob 866 Retired: passive income ROCKS

so you've met my ex-wife
hate em, all that probing

steam trains

almostbob 866 Retired: passive income ROCKS

<a class="partdiv" href="{param}">{option}</a>

almostbob 866 Retired: passive income ROCKS
$search_query = "SELECT clientid, additionalownerid, additionalpropertyid, officeref, title, firstname, lastname, email1, email2, tel, mobile, identification1, identification2 from clients WHERE clientid = clientid "; 
if($clientid != ''){ $search_query .= " and clients.clientid = '$clientid' "; }
if($officeref != ''){ $search_query .= " and clients.officeref like '%$officeref%' "; } 
if($title != ''){ $search_query .= " and clients.title like '%$title%' "; } 
if($firstname != '' ){ $search_query .= " and clients.firstname like '%$firstname%' "; }
/* 
etcetera 
*/
$search_query .= " order by lastname";

the conditional where clauses (if statemenst) were not in WHERE , they were part of ORDER BY by the order they were processed

almostbob 866 Retired: passive income ROCKS

I have a site under development that's going to use a JS-based drop down menu which will open when the visitor hovers over a single element called "menu" at the top of each page.

Naturally the folks who have JS disabled are not going to be able to use this menu -- and for these folks I've implemented a special CSS-based 'tooltip notice' that appears next to the menu element when they hover over it:

"Please turn JavaScript on and you'll find this menu a pleasure to use!"

This takes care of my non-JS visitors, so now I have to deal with my JS-enabled visitors. I want this tooltip to be disabled for my JS-enabled visitors because it would be an irritation for them to see it every time they mouseover the menu element in order to see the drop down menus.

So basically I'm seeking a way to use JS to disable the CSS-based tooltip whenever JS is enabled. Can anyone suggest a way I might accomplish this? I presume it's going to take an 'onLoad' function of some kind, but I'm not a Javascript programmer so I could use some help from an expert here.

Thanks in advance for any help you can provide ... :)

those with javascript off to block script attacks will not turn javascript on, for a prompt in a random web site, they will leave, and eventually your page will have a large number of negative reports, Search bots dont like javascript.

almostbob 866 Retired: passive income ROCKS
AND b.date  BETWEEN CURdate( )  AND  DATE_ADD(CURDATE(), INTERVAL +9 DAY)
almostbob 866 Retired: passive income ROCKS

Thank you all for your help. The addition of a field in each record I called "active" solved the problem. On the insert new record page, I added a hidden field that sets "active" to the value of "0" (zero). Then, on both the front-end (public) and back-end (edit) pages, which are dynamically created, I added to the database query a bit of code like this:

$query_rsTableName = "SELECT * FROM TableName WHERE active = '0' ;

I created another page on the back end where a logged in user can retrieve the archived records with a "SELECT * FROM TableName WHERE active = '1';

Of course, instead of deleting records along the way, that process is now an "update" that merely changes the value of active from "0" to "1." And, also of course, the user can change the value of an archived record back to "0" to make it active again.

Thanks again.

Hidden form fields are not hidden securely, and can be viewed and messed with
instead use php to set the variable on the create new record page,
or set the default value of the field in phpmydadmin

almostbob 866 Retired: passive income ROCKS

Google (asp slideshow) is your friend
the actual getting off your proverbial to find the one that is appropriate of the 1.5 million responses I leave to you.
Nothing, ever, has to be manually updated, thats why server languages exist

almostbob 866 Retired: passive income ROCKS

-please what does setting the field blank if it is blank on mouseover mouseout accomplish

my teenager just told me
the script is probably using the onblur onfocus to validate the inputs, but you clipped them before displaying here
he said I should know that
:icon_redface:

almostbob 866 Retired: passive income ROCKS

-onFocus onBlur
onfocus onblur are lower case keywords in xhtml

At least now I am certain, my javascript is terrible,

please what does setting the field blank if it is blank on mouseover mouseout accomplish

almostbob 866 Retired: passive income ROCKS

javascript statements end in ' ; '
strict means you have to complete your javascripts,

<input type="text" name="keyword" class="text" size="12" maxlength="30" value="" onFocus=" if (value == '') {value='';}" onBlur="if (value == '') {value='';}" /></td>

not sure if it isnt supposed to be

<input type="text" name="keyword" class="text" size="12" maxlength="30" value="" onFocus=" if (self.value== '') {self.value='';}" onBlur="if (self.value == '') {self.value='';}" /></td>

coz I dont write strict, still in html 4.01 trans,
or is it

<input type="text" name="keyword" class="text" size="12" maxlength="30" value="" onFocus="JAVASCRIPT:if (self.value== '') {self.value='';}" onBlur="JAVASCRIPT:if (self.value == '') {self.value='';}" /></td>

I have no idea
my javascript sux, incidentally so must yours,
else why 'If this field is blank set this field to blank' (twice)

target='_self' forms take action='self' w3.org-forms
self is redundant,
can be written as action='<?php echo $_SERVER['PHP_SELF']; ?>' (in php) and is equally redundant <form action=""> will get it back here

almostbob 866 Retired: passive income ROCKS

browser quirks modes
IE assumes you made a mistake and makes what it can work work, but only in IE only mode
Firefox throws away styles it doesnt understand
everything after that {, got dumped
firebug - debugging addin for firefox, reccommended in another thread here, not by me, not trying to steal the real guru's attaboys, Im grateful, just can't remember to whomI plugged it in, its gold.
I have a mozilla parser and an IE parser in my development app, but some just slip thru

almostbob 866 Retired: passive income ROCKS

it is already embrasing to ask and thank you for being polite. if i would understand the bleep manual i would not ask but thanks for the advise. i will try to work on it.

The manual is in languages other than english, may make it easier to follow, I think in the upper left of the page,
follow the date() page down to where it demonstrates setLocale()
You will not be able to change the displayed time, that is read from the variable $val
as your skills develop, consider changing the stored text dates to a timestamp <= google unix timestamp=, its is smaller faster less overhead to use numeric only dates. might not mean much now, but plan on growth.

still practising polite conversation
still didnt work
read the bleep manual

almostbob 866 Retired: passive income ROCKS

the time is stored in the variable $val
the time is diplayed by date("l, m.j.y @ H:ia", timestring); the contents of date(format, timestring) are explained at the php.net link already given

This is the ideal opportuinity for you to develop your limited php skills.
If you dont correct the database, then you need to alter the format string in the foriginal function date("l, m.j.y @ H:ia", mktime($hour, $minute, $second, $month, $day, $year)) l=monday
m=month-1-12
j=day
y=year as explained at the php.net link already given

I am taking this opportunity to develop my polite conversational skills

nope didn't work
read the bleep manual

almostbob 866 Retired: passive income ROCKS

dynamic drive.com chained menu
will get what you need I think,
I dont feel the urge to reinvent the wheel,
see also
dynamic drive.com chained selects