almostbob 866 Retired: passive income ROCKS

It will if its your your address in the "RECIPIENT" variable
z could have written

<?php
  $recipient = 'abc@gmail.com'; // configurable
  $subject='Enquiry Form Records'; //configurable

you get used to it

almostbob 866 Retired: passive income ROCKS

No

Popups and popunders are universally despised, as are those who employ them
Browsers are configured by users who universally despise popups popunders and those who employ them, to avoid popups and popunders because they are so despised as are those who employ them.

You don't want it in your page,
what makes you think anybody else wants it on their screen

almostbob 866 Retired: passive income ROCKS

kiosk mode
at the machine, change the shortcuts to
Iexplore -k
Opera -k
unsure about firefox, but there is the 'public fox' plugin that is supposed to work in the same way

almostbob 866 Retired: passive income ROCKS

The link is created from an sql database, the database query creates the title attribute in the link as the first 'xx' characters of the Original post in the thread
without any idea of the database structure
or the sql needed to pull the thread and title from the database

You could browse the Vbulletin source
other bulletin board software source
use google
browse sql & php manuals,
there is 99% likely to be a tutorial on this, somewhere
You could avoid re-inventing the wheel, and use a forum, or part of one, already available

almostbob 866 Retired: passive income ROCKS

PopUps PopOpen PopUnder are blocked by most
Anything like this would get you downgraded in searches, and have a negative impact on your site traffic
Use layers within your code to give the effect of popups without the stigma of popups

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script type="text/javascript">
<!--
(document.getElementById) ? dom = true : dom = false; //check for IE or firefox DOM
function hideIt() {
 if (dom) {document.getElementById("layer1").style.visibility='hidden';} // IE
 if (document.layers) {document.layers["layer1"].visibility='hide';} }// ff
function showIt() {
 if (dom) {document.getElementById("layer1").style.visibility='visible';}
 if (document.layers) {document.layers["layer1"].visibility='show';} }
//-->
</script>
</head>
<body>
<button align="center" onClick="showIt();">Important Information</button>
<div id="layer1" style="position:fixed; left:20px; width:45%; top:20px; visibility:hidden;">
<table border="0" cellspacing="0" cellpadding="3">
<tr>
<td Align="right" onClick="hideIt()">
<font Color="#ffffff"><Strong>Close</strong></font>
</td>
</tr>
<tr>
<td>
<center><font size="+1"><b>Title</b>:</font></center>
bla bla bla bla bla bla bla bla bla bla bla bla
<UL compact>
<li>Green Green Green</li>
<li>Green Green Green</li>
<li>Green Green Green</li>
<li>Green Green Green</li>
<li>Green Green Green</li>
<li>Green Green Green</li>
<li>Green Green Green</li>
<li>Green Green Green</li>
<li>Green Green Green</li>
</ul>
</td>
</tr>
<tr>
<td Align="right" onClick="hideIt()">
<font Color="#ffffff"><Strong>Close</strong></font>
</td>
</tr>
</table>
</div>
</body></html>

didnt bother importing all the styles, but it runs as is, the styles just color code the buttons

almostbob 866 Retired: passive income ROCKS
<body onload='document.getElementById("loading").innerHTML="&nbsp;";'>
<div id="loading">Loading please wait</div>
</body>
almostbob 866 Retired: passive income ROCKS

Sorry, browsing two threads het reply in wrong one

**wrong answer removed**

almostbob 866 Retired: passive income ROCKS

I can see the results of this code
the google bot finds the site and you get 900 emails from yourself in 45 seconds,
your home ISP adds your commercial site to the blacklist as a spammer
and you never receive another email.
The blacklist gets propogated around the web, and you cant be located.
not perhaps a perfect solution to the issue of data tracking

Why not read your server logs with AwStats
or if you dont have server log access install bbclone or another php monitoring system, or
write something like this scrap "stats.php"

<?php //stats.php  user-file access stats.
$getdate = date( 'd-m-Y, H:i:s' );// Get the date & time
$user_ip = $_SERVER['REMOTE_ADDR'];// Get the users IP.
$user_browser = $_SERVER['HTTP_USER_AGENT'];// Get the browser type.
$referer = $_SERVER['HTTP_REFERER'];// Get the refering page.
$opened = $_SERVER['PHP_SELF']; //get the current filename
$file = "./logfiles/logfile.csv";// Look for the text file - define the text file.
$fp = fopen($file, "a+");//open the text file for writing.
fputs ($fp, "$user_ip, $getdate, $referer, $opened, $user_browser\n"); // Write the user stats into the text file.
fclose($fp);// Close the text file.
?>

with <?php include('stats.php'); ?> in files you want monitored
and just mysite.com/logfiles/logfile.csv when you want to see whats hitting where (opens by default as a spreadsheet comma separated values)

I have no access to server logs and get great results from the scrap on my private site, and bbclone on my "commercial" …

almostbob 866 Retired: passive income ROCKS

Google local business center
of course it will have effect, how muc or what effect I dunno,
but 3 of our locations get a lot of results from "what is near nscc" searches after we put them in google local business centers

almostbob 866 Retired: passive income ROCKS

Go with essential's answer
its better to separate style and content,
the css can be externalised (once) when you have the page design right
for the entire site and reduced file sizes - download times are always a good thing
else every element that has to be styled needs style=" bleep loads of style text margin border padding color background "

almostbob 866 Retired: passive income ROCKS

anything coded can be decoded, given time and incentive, made easier, the php interpreter has to be able to decipher the code
there is a prior thread
http://www.daniweb.com/forums/thread170346.html
that discusses remote updates
similar code can be used to turn off your script after a given date,
lock the script to particualr domain to prevent 'sharing'
unless the subscription is paid,
obfuscated code that turns off unless they comply with whatever terms seems to work
First run message " This product is running in demonstration mode \n Full functions are available for 90 days \n After 90 days reporting will be disabled "
Expiry message " The demonstration period has expired. \n Report generation has been disabled until the subscription is current \n Contact (me) at (email telephone) "
The installer updates a code in the distribution on first run, checks the codes on re-install, we don't, yet, get multiple re-installs of the 90 days free trial,
we give multiple re-issues of lost product keys, (quite often people just dont seem to write things down), the product key locks to a domain name, at our server on update check, the unregistered user sees either a " XX days of the trial period remain " or a lockout message " This product is registered to a different domain. \n Report generation has been disabled until the subscription is current \n Contact (me) at (email snail mail telephone) "
& …

almostbob 866 Retired: passive income ROCKS

css

// for a element titles
a[title] { font:bla; background:(url to image with round corners); color:bla;  padding: enough to bring the background out; }
// for all element titles
*[title] { font:bla; background:(url to image with round corners); color:bla; padding: enough to bring the background out; }
almostbob 866 Retired: passive income ROCKS

error

<img src="file:///C|/logo.gif'

this specifies a file on the local file system drive c: root
on your http server the file path is
'http://subdomain.domain/folder/file'
or a relative path
./file this folder
../file parent folder
../folder/file subfolder of parent folder
if the images are in the current folder the img src is " src='logo.gif' "

almostbob 866 Retired: passive income ROCKS

Hierarchical : tree structure each page is accessible from its parent(s) and child(ren), by link
webbed: multiple links and pathways exist from page to other pages regardlesss of the position in the site structure.
typically web sites are a combination of both, there are usually links to FAQ and RELATED PAGES from everywhere deep, there are more levels th the structure, more branches to the tree, than there are branches on a level
broad, there are more branches at a level, than there are levelsit is somewhat irrelevant, to even look for a difference at a semantic level
a web site structure is determined by the information the site designer is trying to convey,
depth and the complexity of the links reflect the data structure.
In complex sites the designer has small need to monitor site structure, typically the structure comes from urls & options stored in a database.
MS is broad deep hierarchical webbed site
my site.com is narrow deep webbed site, a lot of information on two main headings, where each links to the other.

almostbob 866 Retired: passive income ROCKS

Thankyou Cwarn23, straightens the kinks a little
Rob

only a little

Ancora Imparo

almostbob 866 Retired: passive income ROCKS

what are the concepts behind the cell addresses
which cells represent interest rate
term
borrowing amount
amortization period
payment period

almostbob 866 Retired: passive income ROCKS

The default download dialogs do just that
the page download indicator on the browser bar
or the file transfer dialog when downloading.
Do you want to force a download to disk?

almostbob 866 Retired: passive income ROCKS
<a href='yourhref'></a>
almostbob 866 Retired: passive income ROCKS

php returns static html pages
nothing else is seen on the user browser, unless part of the html is a javascript, then the javascript is dynamic (from the user perspective)
Trying to get my head round how what you want could not be solved with a mod_rewrite rule, with lower overheadI might (grimace(probably)) be missing somethingbut I guess my learning curve isnt helping your problem, sorry

almostbob 866 Retired: passive income ROCKS

Just one
you seem to misunderstand what you are doing
the site will no longer function.
processing of the order
inventory control etc
must react to user input so cannot be static html.

almostbob 866 Retired: passive income ROCKS

Dont have a safari browser installed,
apple wont 'play nice' with the other 5 browsers,
even MS 'plays nice'r than apple
push your site through http://www.browsershots.org (blatant plug) and see what it looks like on 99% of possible browser OS combinations, it may be a **expletive deleted** on the version of safari you could access

almostbob 866 Retired: passive income ROCKS

I know what I did to learn that single point
but its embarrassing to relate just how long it took

almostbob 866 Retired: passive income ROCKS

reread the css tutorial

Your css has element COMMA elementthe tutorial has element SPACE element
css descendants are separated by spaces, css lists are separated by commas
You can also group descendants,
element space element comma element space element

almostbob 866 Retired: passive income ROCKS

ignoring proper html that validates, just to show the necessary code

<table>
<tr>
<td align='right'>label :</td>
<td> content</td>
</tr>
<tr>
<td align='right'>long label :</td>
<td> content</td>
</tr>
</table>

table ( tacky)
or

<style type='text/css'>
.left { width:35%; text-align:right; float:left;}
.right {width:60%: text-alight:left; float:right;}
</style>
<div>
<span class='left'>label</span>
<span class='right'>content</span>
</div>
<div>
<span class='left'>long label</span>
<span class='right'>content</span>
</div>

css

almostbob 866 Retired: passive income ROCKS

What website, of the billion/trillion or so on the web, which one is yours,
what code isnt working, in what language,
psychic assistance is much more difficult.

almostbob 866 Retired: passive income ROCKS

screen shots in IE FF opera maxthon avant

look pretty close to me, problem is, exactly? I might be missing it?

Lose the autoplay video,
it'll kill you in search engines

almostbob 866 Retired: passive income ROCKS
<a href='thispageatthere.com' style='display:none'>goto thispage</a>

another method

<style type='text/css'>
.hidden { display:none }
</style>
<a class='hidden'>bla,</a>

hidden links make search bots think of Malware
hidden links make users think of malware

If BOTH clients want the link, to the other, put it in in clear visible text,
If the other site is not relevant, put it on a links page
put it on a 'related sites page'
put it on a 'paid referrall page'
recovering from negative searchbot responses- is very much more difficult than getting into google the first time

almostbob 866 Retired: passive income ROCKS

Why does everyone want these things? They are NOT accessible technology. You are losing disabled viewers by using them.

target audience
video sharing library, has little regard for visually disabled
mp3 site, for hearing impaired
My preference, a visually restricted person, is to have the menu fully expanded by default, with the option to collapse the menu, great for "save on screen space"
and as a cautionary tale fo US webmasters
target (I think, apologies to target if it were another large company) just got $6milliion ordered against them for the web site being not accessible. This order opens a floodgate of litigious opportunism

almostbob 866 Retired: passive income ROCKS
<a href='member_index.asp ' target = "_top">link</a>
almostbob 866 Retired: passive income ROCKS

javascript Back Button

<a href='JAVASCRIPT:history.go(-1);'>Back button 1</a>
<a href="JAVASCRIPT:history.back(1)">Back Button 2</a>

php Back button

<a href="<?php echo $_SERVER['php_referer']; ?>">Back</a>
almostbob 866 Retired: passive income ROCKS
.textfield_effect { background:url('searchtheweb.jpg'); }
.textfield_effect:focus { background:none; }
almostbob 866 Retired: passive income ROCKS

If you want a consistent appearance % em work px pt dont
for example : web page 3 images, top left, middle right, bottom left

make yourself anx example page

<div style='wdith:49% float:left;> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent sed erat purus. Morbi ante risus, fermentum id auctor in, faucibus ac lorem. Sed faucibus imperdiet hendrerit. Praesent eros arcu, aliquam at pretium et, faucibus sed velit. Vestibulum luctus, magna sit amet faucibus aliquet, quam nunc dapibus diam, dictum porta libero nunc a mi. Integer nec felis vitae nunc pharetra accumsan. Lorem ipsum dolor sit amet</div>
<div style='wdith:49% float:right;> <img src='something etc'>bla bla bla</div>
<hr>
<div style='wdith:500px float:left;> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent sed erat purus. Morbi ante risus, fermentum id auctor in, faucibus ac lorem. Sed faucibus imperdiet hendrerit. Praesent eros arcu, aliquam at pretium et, faucibus sed velit. Vestibulum luctus, magna sit amet faucibus aliquet, quam nunc dapibus diam, dictum porta libero nunc a mi. Integer nec felis vitae nunc pharetra accumsan. Lorem ipsum dolor sit amet</div>
<div style='wdith:500px float:right;> <img src='something etc'>bla bla bla</div>

then resize the window a few times and see which ones look right

almostbob 866 Retired: passive income ROCKS

there is a related thread,
about version updating that may be good for you
if the script is in development there could be bug fixes
http://www.daniweb.com/forums/thread170346.html

almostbob 866 Retired: passive income ROCKS

winzip
freezip
easyzip

or any other of the zip/ra/gzip/tar creation utilities
to compress for distribution is done locally on your development machine not on your server, although the files are .php .inc .sql they are just text files, nothing special,

tiger86 commented: thanks. I was hoping it was that simple but I always ask the experts when I'm not sure :) +2
almostbob 866 Retired: passive income ROCKS

I assume from the site, you mean rollover dropdown menu

a good google search would be Coogle css rollover drop down menu tutorial
as for frames table etc, makes no difference to the css involved, css works with just about any html element,
the W3schools tutorial is pretty "old school"
<UL> are used more than tables, faster to render

almostbob 866 Retired: passive income ROCKS

hope it works for you
I use the script to load large images of the inpage thumbnails so the fullsize image changes instalntly on mouseclick
+ have some instructional .pdfs load so they open onclick

almostbob 866 Retired: passive income ROCKS

its working and showing picture but when I click picture does not disappear.

onfocus='style="background:none;";

my javascript is not perfect, sorry
try

onfocus='this.style.background="none";'

not perfect = not good at all

almostbob 866 Retired: passive income ROCKS

install a good Hosts file and there are no ads
http://mvps.org/winhelp2002/hosts.htm

almostbob 866 Retired: passive income ROCKS

the page designer used px sizes in the css, pixels are for images - all other elements should be measured in relative sizes.
if the window is smaller than the sum of the pixel sizeseither on a small screen or the window open to less than fullscreen, the divs overlapthe div with the higher z-index sits on top, the div with a lower index is obscured
one of the many reasons why W3C standards exclude pixel sizes
% and em scale to the window
px and pt are fixed
not high on the scale of 'hard to fix'
not on the 'head slap' scale either
just get a current 'how to' guide from w3schools.com

almostbob 866 Retired: passive income ROCKS
<form action="blabla google blabla get the url from webmnaster tools blabla" method='get'>
<input type='text' style="background:url('searchtheweb.jpg');" onfocus='style="background:none;";'>
<input type='submit' value='Search' >
</form>

see the attached image

google MSN(bing) and yahoo have a bunch of html buttons to do just that on their webmaster gadgets pages

almostbob 866 Retired: passive income ROCKS
<style type="text/css">
  .Box { display:none;  }
  .Box1 { display:none; }
</style>
<s:form action="Register" method="POST"  enctype="multipart/form-data">
 <s:select label="Occupation Type" id="Workselect" name="background.workType" headerKey="1"  headerValue="--Please Select--" list="#{'S':'Pursuing Education','W':'Working Professional'}" />
 <s:textfield   class="Box" label="Organization Name" id="ON" name="background.orgName" />
 <s:textfield   class="Box1" id="IN" label="Institute Name" id="Iname" name="background.instName" />
 </s:form>

?? the code supplied is not html, check elsewhere than your inline code for other styles defining
<s:
elements,
try the sample code

almostbob 866 Retired: passive income ROCKS

500 visitors who look
or 1 who buys ??

almostbob 866 Retired: passive income ROCKS

It is possible, preferable?, to actually preload the .pdf file so that the impression of instant loading is given.
in the page prior to the pdf linked page add a preload script

<script language="javascript" type="text/javascript">
//<![CDATA[
<!-- 
image1 = new Image();
image1.src = "http://mysite.com/mypdf.pdf";
//-->
//]]>
</script>

The code above placed between </body> and </html> in the page containing the link to the .pdf file (or html file with the .pdf in it) instructs the browser to download the pdf file to the browser cache, but just leave it there.
(filetype is irelevant image() is convenient, use the same script for any filetype as it is not ever going to be rendered)
the download happens after the page is fully rendered so does not delay the current page.
on clicking the link to the .pdf file (or html page) the browser finds the .pdf in the browser cache and does not download it, but displays from the cache, at apparently blinding download speeds.In browsers with javascript disabled, the function degrades gracefully

almostbob 866 Retired: passive income ROCKS

A guaranteed way to get blacklisted
popups are offensive
popups are a security risk
popups are blocked by default, by almost everyone
popups that follow the mouse are more offensive

learn about layers

almostbob 866 Retired: passive income ROCKS

php and mysql adds to the picture
mediocre becomes the minimum
php is html plus the ability to have the server process instructions before the page is served, to alter the output html page.
mysql is a database, in which information, links to other information, images, names, just about anything can be stored, for php to manipulate and output to the browser as html
this site, is php to process the data, mysql to store it, and is output as html when you want to see something
half a million members
millions of threads
tens of millions of posts, images,
all linked together so that my wife's picture ends up in the corner of my post
and I can change my signature at the bottom of my post

or as simple as making sure the same menu is included in every page without coding it into every page, or have the welcome text say good morning/afternoon/evening

Not as difficult as it could be,
much of the functionality that could ever be required, is available from sourceforge, hotscripts, phpscripts or hundreds of other script sites for download, with instructions, mysql setup, maintainence et al, in the package.
love php slideshow scripts that do it all themselves

almostbob 866 Retired: passive income ROCKS

mediocre is sufficient for me.
the buttons inside the template are just links, (usually)
so you save a copy of the template with the new name
and change the button text where the button says something like <a href="target">page 1</a> to <a href="page1.html">My page 1</a> Post part of the template between [code]

[/code] tags to preserve the code structure, and one of the gurus will likely give you the exact info on where the edits go.

to get up to mediocre, I found this tutorial at W3C helpful

almostbob 866 Retired: passive income ROCKS

tiger & ardav
have discovered ftl travel, this has placed them outside of the relativistic universe and allows them to post retroactively in advance,
in 1981, they are going to make a fortune for their later, younger selves purchasing MicroSoft stock

almostbob 866 Retired: passive income ROCKS

If you can make the images used for buttons scaleable, the image will be viewable at all screen resolutions, it will take a little manual editing of the frontpage code.
Frontpage code is very overweight anyway, but that isnt an issue yet
frontpage assigne pixel measurements to all elements, that is usually a good thing for images, but when the image is a text used as a button it fails, on a different resolution than the one the layout was developed on the image becoimes either too small to adequately read the image text, or so large to become intrusive.
a small adjustment. image buttons have to behave like text buttons to be really workable

example only
developed on a 1024*768 screen
frontpage code <img src='weddings.gif' width='100' height='38'> scaleable

<img ssrc='weddings.gif' width='10%' height='5%'> [/code]

sort the preload img script urls so that the first image displayed by default is the first image loaded, will give the appearance of a faster page[icode]
<img ssrc='weddings.gif' width='10%' height='5%'>
[/code]

sort the preload img script urls so that the first image displayed by default is the first image loaded, will give the appearance of a faster page

almostbob 866 Retired: passive income ROCKS

mode_rewrite in your server configuration .htaccess file
http://www.easymodrewrite.com/ <<how to

almostbob 866 Retired: passive income ROCKS

It is better to validate the form on submission, as well
character strings can equal representations of the character you dont want, &quot;

<script type='text/javascript'>
function isAlphabet(elem, helperMsg){
 var alphaExp = /^["']+$/;
 if(elem.value.match(alphaExp)){
  alert(helperMsg);
  elem.focus();
 return true;
}else{ return false; }
}
</script>
<form>
Letters Only: <input type='text' id='letters' onkeyup="isAlphabet(document.getElementById('letters'), 'Cannot contain quote characters')" />
</form>

Fragment only, not checked for long strings