almostbob 866 Retired: passive income ROCKS

<button name="name" value="submit" type="submit"><img src="image" alt="alt"></button> creates a form submit that does not care about its own xy loaction

almostbob 866 Retired: passive income ROCKS

"<script type="text/javascript" src="http://www.forumistan.net/analiz/analiz.php?site=http://www.forumistan.net"></script>"

that's not the right way to do it.. the code above does not call an external javascript

Dont believe it
this is a php script that monitors page access for sites that arent given access to server logs,
internally it is javascript
php is a flexible language,
's why the header is able to send anycontent-type information
<img src=servpic.php?=9999> is also valid
depending on circumstance

almostbob 866 Retired: passive income ROCKS
<table rules='all' border='0'>
<tr><td>X<td>&nbsp;<td>&nbsp;
<tr><td>&nbsp;<td>X<td>&nbsp;
<tr><td>O<td>O<td>X
</table>

theres no need for anything fancy, table has a rules property that does what you ask

almostbob 866 Retired: passive income ROCKS

this is a short script file in php that works
file:: script.js.php

<?php header ('content-type: text/javascript');
ob_start("ob_gzhandler"); ?>
function newuntill(date) { 
 var newimg = "./images/new.gif";
 var expdate = new Date(date);
 var curdate = new Date();
 if (expdate.getTime() > curdate.getTime())  { 
 document.write('<img align="left" src=' + newimg + '>'); 
 } 
 else {
 document.write('');
 }
}
function movein(which,html) {
 which.style.background='turquoise'
window.status=html
 }
function moveout(which) { 
which.style.background='#d4d0c8' 
window.status=''
 }
<?php ob_flush(); ?>

header ('content-type: application-x, .........
looks for an external handler,
javascript is supposed to run in the browser

gzhandler, compresses the files before sending

almostbob 866 Retired: passive income ROCKS

hiiz i think u guyz are not following what im trying to say. im using dolphin cms. i made a form which i posted above which inserts a new page entry in the database. and to view that page we automatically get this kind of url

www.blastingart.com/viewPage.php?ID=Page Name

and to make it search engine friendly i have to rewrite it in the .htaccess so it looks like this www.blastingart.com/page Name.html

ok now what i want is to make a system that when i generate a new page through that form it will automatically add the rewrite entry in the .ht access file . is it possible? if yes please help !!!

thx in advance :)
regards

Yes the rewrite rule I left earlier will make the id value appear to be the html file. So if you typed
www.blastingart.com/New Features.html into the url, it would be parsed by the server as www.blastingart.com/viewPage.php?ID=New Features

Thats what everyone is trying to explain
1 system for creating filenames
1 rule to translate the url between ?=something
and domain/something.html

a rule for every file does not work

almostbob 866 Retired: passive income ROCKS

keep dropdpwn names written in the target language.
Francais
Espanol
deutsch
suomi
with the greves & cedillas carets etc
They are not words in the source of the language pair so are skipped in translation, the labels dont change.

If you examine the sample link title text and innerHtml both are written in the the target language, so the labels do not alter.
a user looking for a german translation of your site for readability, expects to see 'deutsch', not allemande german njemački německy

google translate Babelfish, already offer their sites localized, so all language pairs are available to all persons pretty much in their own language.

$_SERVER is the url requesting the page, if the translator is working it is the translator.
the original was PHP_SELF which works
If you change something and it ceases to work, then the change is the fault

almostbob 866 Retired: passive income ROCKS

I want to translate whole page..text ...not redirect page to translator...

You dont already have a frame breaker in your <head> ?

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

This is a difficult question
the value/effect of layers depend entirely on what you want of your web page, and what you have to display
so you decide the best way
the w3 z-index tutorial is a start
layers work only of fixed objects
its one way of fitting more than a screen full of information without scrolling.
a top layer of 1pxtransparent.gif makes it harder to right click copy your images, they can copy but they get the upper layer
layers of images can be used to highlight important sections onclick or onmouseover.
with transparency, show/hide, move to front, send to
back.
its a tool
Flash-like effects without the overhead

I know not much use on the nuts n bolts of it
:{

almostbob 866 Retired: passive income ROCKS
<img src='thumb001.jpg' onmouseover='bigimage.src="001.jpg";dsl.innerHtml="watercolor";'>
<img src='thumb002.jpg' onmouseover='bigimage.src="002.jpg";dsl.innerHtml="oil on canvas";'>
<img src='thumb003.jpg' onmouseover='bigimage.src="003.jpg";dsl.innerHtml="lithograph";'>
<div style="your chosen style:location"><img src='blank.jpg' id="bigimage"><span id='dsl'>&nbsp;</span></div></body>
<!--right down the bottom of the page after everything is displayed-->
<script language="javascript" type="text/javascript">
//<![CDATA[
<!-- 
image1 = new Image();
image1.src = "001.jpg";
image2 = new Image();
image2.src = "002.jpg";
image3 = new Image();
image3.src = "003.jpg";
//repeat as necessary for the number of pics you want to have on the page-->
//]]>
</script>
</html>

Dirty unchecked code

will load the page with thumbnails, Fast
then after the page is onscreen will background load the images so they are ready to display on mouseover without delay.
loading on mouseover as written in the original script is not a good idea, just makes the user think the page is broken.

almostbob 866 Retired: passive income ROCKS

many advertising sites have had malware issues before
If you have embedded advertising scripts those sites that host the script could be the only source.

If the google email were correct, and not a phishing run,
the detail will be available at the google webmaster tools page, instructions on site
Take ownership of the sites at Google, instructions on site
then you can access logs and error reports. instructions on site
When you do take ownership of the sites, remove the prior access key, -you guessed- instructions on site

almostbob 866 Retired: passive income ROCKS

you set up a numbering structure so that the thumbnail and full picture share a common filename,
the database only needs one picture name

the thumbnail is thumb100004.jpg
and the fullsize picture is 100004.jpg
the only thing needed is 100004.jpg
the thumbnail is
<img src='thumb<php echo'/*sql to get $number.jpg*/'; ?>' onclick='bigimage.src=<?php echo $number.jpg ?>'>

down the bottom of the page is
<img id='bigimage' src='blank.jpg'>
waiting to be filled with the contents of the clicked thumbnail

the thumbnail can be generated on the fly by php so only one file need be stored

dirty unchecked code, thought process only

almostbob 866 Retired: passive income ROCKS

All page names should generate from the database
for example

/mysite/generatepage.php?id=somename

/mysite/somename.html

it is a waste of time and effort to not have all the page name generate automatically
the rewrite rule

RewriteEngine on
RewriteRule ([^/\.]+)/?.html$ viewPage.php?ID=$1 [L]

, and taken directly from the manual, does just that.
google how to apache mod_rewrite for other examples
if you have not already set up a standardised naming system for your site,
stop now, set up a system, then write a rewrite rule to match the system

you get

  • sensible sitemap
  • logical urls
  • a tree structure
  • user friendly
  • Search engine friendly

1000s of individual rules will just give you a site you cannot even maintain

If it is beyond your skills to generate that rule,
rt_m, there is an example there that shows full tree structure from a single rewrite rule

ask,
ask again,
until one of the answers makes sense,

once the rules for database creation, and mod_rewrite are set, there will be no need to create more rules

almostbob 866 Retired: passive income ROCKS

dont get a rewrite rule for every page
get a PAGE rule for the php/mysql form
that generates a set of page names that match each other and the the rewrite tule
all the generated page names should match the existing rule

almostbob 866 Retired: passive income ROCKS

When you place your web page online, EVERYONE has access to your source code.

sematic error (pedantic error :) )
everyone has access to the output
perl and php means that they dont see the source code, I get paid for that

almostbob 866 Retired: passive income ROCKS
<a href='http://babelfish.yahoo.com/translate_url?doit=done&tt=url&intl=1&fr=bf-home[B]&lp=en_fr[/B]&btnTrUrl=Translate&trurl=<?php echo urlencode('$_SERVER['SERVER_NAME'].$_SERVER['PHP_SELF']); ?>' title='La traduction est automatique, confirment svp les details essentiels dans la version Anglaise originale'><font size='-2'>Fran&ccedil;ais</font></a>

<a href='http://babelfish.yahoo.com/translate_url?doit=done&tt=url&intl=1&fr=bf-home[B]&lp=en_es[/B]&btnTrUrl=Translate&trurl=<?php echo urlencode('$_SERVER['SERVER_NAME'].$_SERVER['PHP_SELF']); ?>' title='La traduccion es automatica, confirma por favor los detalles esenciales en la version Inglesa original'><font size='-2'>Espa&ntilde;ol</font></a>

for a html select
each <option> would be coded the same as <A> above, changing the language pair &lp= and of course altering the title prompt

most people use a translator

almostbob 866 Retired: passive income ROCKS

examine the data
validate it to your requirements
if a file or url check whether it exists
if a file upload to temporary space on the server
if a file check whether it is an appropriate file type, not just an appropriate filename
if a url ensure that it is a media file, on a server that permits off site linking
then create a query and validate the query
then update the database
anything else is asking for attack

almostbob 866 Retired: passive income ROCKS

javascript operates "without PHP or something of the equivalent."
used in many scripts to display prompts in the status bar
here is a bunch of them
http://www.javascriptkit.com/script/cutindex19.shtml

almostbob 866 Retired: passive income ROCKS

IE uses the DOM document object model so getelementbyid() only works in IE
mozilla opera safari use a diferent model
so we can

(document.getElementById) ? dom = true : dom = false; //check for IE dom model (once)
 if (dom) {	document.getElementById('damagediv').innerHTML=req.responseText; } //IE
 else {document.getElementById('damagediv').value=req.responseText;} } //mozilla opera
/* but
document.layers['damagediv'].value=req.responseText; 
also works in mozilla implementations */

// everywhere through the code
if(dom) {response ie}
else {response mozilla}

works most of the time
mozilla.org for a mozilla dom reference

almostbob 866 Retired: passive income ROCKS

you could put it in the status bar

not familiar with flash
but
<iframe id='name' src='file1.html'>iframe</iframe>
<a onclick="document.name.src='file2.html';window.status='file2.html';">Next page</a>

the flash equivalent should work

almostbob 866 Retired: passive income ROCKS

design your layout, in em and %
no pixel layouts, no pixel font sizes,
set your image sizes, in px,
and float text around them dont try to rigidly structure it
dont expect the site to look the same,
if it looks the same 2048*1520 as it does 640*480,
it will look stupid on both
just make how it does look, look good

Mozilla, Opera, IE, Avant, text readers,
what happens if the next user is on a Mac, Safari looks different on a Mac to what it does on windows

just for self confidence, go here BrowserShots and put the url of a site you think is pretty good, into the system.
over the next few minutes it will load screen dumps of the site in dozens of different browsers and resolutions
Every site looks like **expletive deleted** in some combination of res and browser

almostbob 866 Retired: passive income ROCKS

Send them email, "My distribution is missing datagrid.php"
then you will get an answer
from the only people who know for certain where they stuck the file

almostbob 866 Retired: passive income ROCKS

datagrid appears to be a file that contains the processing for the sql to output the selected information in a meaningful fashion onscreen
it contains a function,
datagrid
with a method creategrid,
that likely displays a table from the sql parameters passed
The file datagrid.php should be included in the source zip for the system you are implementing.
The only source for datagrid.php(that will work) is the download site from which the script was obtained.
It may be as simple as
"we give you this essential file when you register"

almostbob 866 Retired: passive income ROCKS

Its whatever the author wrote it to be
the name tells nothing
post the code or a zip of the file so that the intent can be determined

almostbob 866 Retired: passive income ROCKS

and/or update the table with a last_visit column and do the same exist check to post the current timestamp to last_visit

query = mysql_query(sprintf("select id from visitordetails where ip='%s';", $_SERVER["REMOTE_ADDR"])); 
list($id) = mysql_fetch_row($query); 
if (strlen($id))  { 
if (!mysql_query(sprintf("UPDATE visitordetails SET visitcount = visitcount + 1, lastvisit='%s' WHERE ip ='%s';" ,$timestamp, $_SERVER["REMOTE_ADDR"])));
{ return false; } 
return true;
almostbob 866 Retired: passive income ROCKS

ajax isnt that hard
its pretty much javascript and php at the same time
and very [edit='left out the expletive deleted word']easy[/edit] to implement


ps I know this board does not support smartass psuedo tags but I am having a little fun

almostbob 866 Retired: passive income ROCKS

There are ajax scripts that dynamically create form rows for 'another item' and populate the array as the form is created
then the array is posted and price fields populated from the database
something like
http://www.agoracart.com/ freeware
http://www.myezshop.com/ payware
and there are tutorials on creating the script in php to do your own
http://www.developer.com/services/article.php/3656001
http://nettuts.com/javascript-ajax/build-an-ajax-powered-shopping-cart/
it may be quicker and more accurate to integrate the tutorial into your software, than to completely code from scratch

almostbob 866 Retired: passive income ROCKS
<?php if isset() //validate data entered howver you require
 { { define ('MYSQL_SERVER', 'MYSQLHOST');
 define ('MYSQL_PASSWORD', 'MYSQLPASS' );
 define ('MYSQL_USERNAME', 'MYSQLUSER');
 define ('MYSQL_DB', 'MYSQLDB');
 if (!(@mysql_pconnect(MYSQL_SERVER, MYSQL_USERNAME, MYSQL_PASSWORD) and @mysql_select_db(MYSQL_DB)))
 die(sprintf("Cannot connect to database, error: %s", mysql_error()));
}
if (!mysql_query(sprintf("insert into MYSQLDB_table
		(data1, data2, data3, data4, data5, ) values ('%s', '%s', '%s', '%s', '%s', '%s');", $data1, $data2,
$data3, $data4, $data5,)))
	{ echo "error adding your geoip entry to database!<br>";
	echo mysql_errno().": ".mysql_error()."<BR>";
	return false;
	}
return true; }
?>
<form action='<?php echo $_server['PHP_SELF']; ?>'>
<!-- input form -->
almostbob 866 Retired: passive income ROCKS

or install the geoip library
and map the locations from the ip and crate a googlemap mashup of the ip locations

almostbob 866 Retired: passive income ROCKS

Dont format the date until you pull the data out of the database
its much quicker to update the table or perform compares when later reporting if the data is timestamp

and

<?php
$timestamp = time();
$timeout = $timestamp - 1500;
//Insert User
$insert = mysql_query("INSERT INTO TG_whos_online (timestamp, ip, file) VALUES('$timestamp','".$_SERVER['REMOTE_ADDR']."','".$_SERVER['PHP_SELF']."')") or die("Error in who's online insert query!");
//Delete Users
$delete = mysql_query("DELETE FROM TG_whos_online WHERE timestamp<$timeout") or die("Error in who's online delete query!");
//Fetch Users Online
$result = mysql_query("SELECT DISTINCT ip FROM TG_whos_online") or die("Error in who's online result query!");
$users = mysql_num_rows($result);
//Show Who's Online
if($users == 1) {
print("<span>$users Person Online. &nbsp;</span>\n");
} else {
print("<span>$users People Online. &nbsp;</span>\n");
}
?>
/*
This is the database creation SQL. You will need to create this table in your MySQL database.
*/ 
 
 CREATE TABLE `TG_whos_online` (
  `id` bigint(20) NOT NULL auto_increment,
  `timestamp` int(15) NOT NULL default '0',
  `ip` varchar(40) NOT NULL default '',
  `file` varchar(100) NOT NULL default '',
  PRIMARY KEY  (`id`),
  KEY `ip` (`ip`),
  KEY `file` (`file`),
  KEY `timestamp` (`timestamp`)
) TYPE=MyISAM;

add a visitcount column to the database

$query = mysql_query(sprintf("select id from visitordetails where ip='%s';", $_SERVER["REMOTE_ADDR"]));
	list($id) = mysql_fetch_row($query);
	if (strlen($id)) 
		{
		if (!mysql_query(sprintf("UPDATE visitordetails SET visitcount = visitcount + 1 WHERE ip ='%s';", $_SERVER["REMOTE_ADDR"])));
		{	
		return false;
		}
		return true; 
		}

and/or update the table with a last_visit column and do the same exist check to post the current timestamp to last_visit

almostbob 866 Retired: passive income ROCKS

mysql_query(sprintf("insert into article_fields
(new_text, fields_type) values
('%s', '%s');",
$new_text, $field_type))

almostbob 866 Retired: passive income ROCKS

a template

<html>
<head>
<style>
.left {width:50% text-align:right; float:left;}
.right{width:50% text-align:left; float:right;}
</style>
</head>
</body>
<div class=left><?php include('left.php'); ?></div>
<div class=right><?php include('right.php'); ?></div>
</body>
</html>

a trivial example, yet without any idea of
'my requirement' its difficult
the template above is the <style></style> in the head
typically the layout is created in an external stylesheet, that specifies,
absolute (bad only works on 1 screensize) or
relative (good)
placement and size colors transparency visibility of the elements to appear on a html page.
then the stylesheet is referenced in each pages source and ensures uniformity of appearance.
also allows for easy alteration of appearance by editing a single stylesheet
in php it is simple,
each page is (trivial example)

<?php ob_start("ob_gzhandler");
include ('header file');
/* some code to generate a body or process data */
?>
<LINK Rel="stylesheet" Type="text/css" Media="screen" href="/style.css.php">
</head>
<body>
some static html
<?php
/* some more php to do something else */
include ('footer file');
ob_flush();
?>

where header file includes the lines

<LINK Rel="stylesheet" Type="text/css" Media="screen" href="/style.css.php">
<script type=text/javascript language='javascript' src='/script.js.php'>

edit: in my sites all files are given php extensions and the first lines of code are

<?php 
header ('content-type: /* [b]actual content:: text html text/css text/javascript[/b] */');
ob_start("ob_gzhandler"); ?>

the last line of code is

<php 
ob_flush(); 
?>

in case mod_deflate is not enabled in the server

A CSS template

almostbob 866 Retired: passive income ROCKS

I did not rewrite your code
I wrote
this should be outside the for each loop

generation of the header for the email
send email
should be outside the for each loop
it is processed only once,
generate one email with a mail body comprised of the tables containing kiddata
writing your code is your problem,
validating your code is your problem

almostbob 866 Retired: passive income ROCKS
<style>
.outer {width:99%; margin:1px;}
.left {width;40%; float:left; text-align:right; margin-right:10px;}
</style>
<div class='outer'>
<div class='left'>left aligned question 1</div>
<input answer 1>
</div>
<div class='outer'>
<div class='left'>left aligned question 2</div>
<input answer 2>
</div>
<div class='outer'>
<div class='left'>left aligned question 3</div>
<input answer 4>
</div>
<div class='outer'>
<div class='left'>left aligned question 5</div>
<input answer 5>
</div>
<div class='outer'>
<div class='left'>left aligned question 6</div>
<input answer 6>
</div>
<div class='outer'>
<div class='left'>left aligned question 7</div>
<textarea cols=40 rows=8 answer 7></textarea>
</div>
<div class='outer'>
<div class='left'>left aligned question 8</div>
<input answer 8>
</div>

ignoring syntax, this is a layout example

almostbob 866 Retired: passive income ROCKS

obfuscation implies protection,
modifying may stop the script,
with levels of 'stop' available to the author.
It is easy to check elsewhere for a particular string of Hex,
without bothering to write the php, code can,
if not exist substring(mycopyright) in footer.html
{
mysql drop table all
die copyright has been breached
}

almostbob 866 Retired: passive income ROCKS

Google analytics loads a javascript on the users pc without acknowlegement and sends message home. occupying bandwidth, processor time without permission
Classic behaviour of a spyware program.
Google analytics is blocked by both the spybot and MS MVP hosts files.
Many will not register if google analytics is your analysis tool.
google analytics results are 30% lower than the server logs on my site and do not show any of the hits from which I got my customers, not much use to me
better is a server side tool
the server logs will provide the best access to your history,
if your host package does not permit log file access, get bbclone at http://www.bbclone.de
running version of the analysis tool on site, piece of cake to install
a single include()

almostbob 866 Retired: passive income ROCKS
<body>
<?php
//Database connection
require "db.php";

// Data Form
if (isset($_POST["naam"])) $name = $_POST["name"];
if (isset($_POST["address"])) $address = $_POST["address"];
if (isset($_POST["zip"])) $zip = $_POST["zip"];
if (isset($_POST["city"])) $city = $_POST["city"];
if (isset($_POST["phone"])) $phone = $_POST["phone"];
if (isset($_POST["email"])) $email = $_POST["email"];

foreach($_POST['kidname'] as $row => $value1)
{
$kidname = mysql_real_escape_string($value1);
$age = mysql_real_escape_string($_POST['age'][$row]);
$lesson = mysql_real_escape_string($_POST['lesson'][$row]);
$kiddata = $kidname . " - " . $age . " - " . $lesson;

//echo $name.$address.$zip.$city.$phone.$email.$kiddata.
$sql = "INSERT INTO aanmelding VALUES (NULL, '$name', '$address', '$zip', '$city', '$phone', '$email', '$kiddata')";
$res = mysql_query($sql);

if ($res){
}

$ord = mysql_query("SELECT aanmldid FROM aanmelding ORDER BY aanmldid DESC LIMIT 1");
$row = mysql_fetch_row($ord);

/* this goes outside the for loop
if (!empty($email)){
$ontvanger = $email;
}



$to = EMAIL;
$subject = "Request";
$datas = "Dear Sir/Madam $name, <br><br>
Hereby the corfirmation of your request.<br>
We have inserted your data in our database (please check it up): <br>
<br>";
*/
/* this goes inside the for loop
datas .= "<table>
    <tr><td width=190>No</td><td>:</td><td>$row[0]</td></tr>
    <tr><td>Name</td><td>:</td><td>$name</td></tr>
    <tr><td>Address</td><td>:</td><td>$address</td></tr>
    <tr><td>Zip</td><td>:</td><td>$zip</td></tr>
    <tr><td>City</td><td>:</td><td>$city</td></tr>
    <tr><td>Phone</td><td>:</td><td>$phone</td></tr>
    <tr><td>E-Mail</td><td>:</td><td>$email</td></tr>
    <tr><td>Kind data</td><td>:</td><td>$kinddata</td></tr>
</table>
";
*/
/* this goes outside the for loop
$header = "From: ".$name." <".$email.">\r\n";
$header .= "MIME-Version: 1.0\r\n";
$header .= "Content-type: text/html; charset=iso-8859-1\r\n";
$header .= "Reply-To: ".$name." <".$email.">\r\n";
@mail($to, $subject, $datas, $header);
*/
}
?>

<h2>&nbsp;Thank's, we wil answer your request soon. You have sent:</h2><br>
<fieldset><legend><font color="#FE9A2E"><b>Request</b></font></legend>
<table>
    <tr>
        <td width="190">No</td><td>:</td>
        <td><?php
            $ord = mysql_query("SELECT aanmldid FROM aanmelding ORDER BY aanmldid DESC LIMIT 1");
            $row = mysql_fetch_row($ord);
            echo $row[0];
            ?></td></tr>
    <tr><td>Name</td><td>:</td><td><?php echo $name;?></td></tr>
    <tr><td>Address</td><td>:</td><td><?php echo $address;?></td></tr>
    <tr><td>Zip</td><td>:</td><td><?php …
almostbob 866 Retired: passive income ROCKS

rtfm

almostbob 866 Retired: passive income ROCKS

Separate the email and database processing
at the moment the email is inside the 'for each' loop so a mail is generated for each table entry

generate email header
'for each' processing to update database and generate each new kidname data
generate email footer and send email

1 kid 1 email
2 kids 1 email
3 kids 1 email
99999 kids 1 email

$to = EMAIL;
$subject = "Request";
$datas = "Dear Sir/Madam $name, <br><br>
Hereby the corfirmation of your request.<br>
We have inserted your data in our database (please check it up): <br>
<br>";

foreach($_POST['kidname'] as $row => $value1)
{
$kidname = mysql_real_escape_string($value1);
$age = mysql_real_escape_string($_POST['age'][$row]);
$lesson = mysql_real_escape_string($_POST['lesson'][$row]);
$kiddata = $kidname . " - " . $age . " - " . $lesson;

//echo $name.$address.$zip.$city.$phone.$email.$kiddata.
$sql = "INSERT INTO aanmelding VALUES (NULL, '$name', '$address', '$zip', '$city', '$phone', '$email', '$kiddata')";
$res = mysql_query($sql);

if ($res){
}

$ord = mysql_query("SELECT aanmldid FROM aanmelding ORDER BY aanmldid DESC LIMIT 1");
$row = mysql_fetch_row($ord);
        
if (!empty($email)){
$ontvanger = $email;
}

data .="<table>
    <tr><td width=190>No</td><td>:</td><td>$row[0]</td></tr>
    <tr><td>Name</td><td>:</td><td>$name</td></tr>
    <tr><td>Address</td><td>:</td><td>$address</td></tr>
    <tr><td>Zip</td><td>:</td><td>$zip</td></tr>
    <tr><td>City</td><td>:</td><td>$city</td></tr>
    <tr><td>Phone</td><td>:</td><td>$phone</td></tr>
    <tr><td>E-Mail</td><td>:</td><td>$email</td></tr>
    <tr><td>Kind data</td><td>:</td><td>$kinddata</td></tr>
</table>
";

you can copy paste the rest

almostbob 866 Retired: passive income ROCKS

what extension have you given the file
/myfirstfile.php ? .txt .src .html may not parse

almostbob 866 Retired: passive income ROCKS

onselect="document.groupa[0].checked;"

onselect="document.groupa[0].checked=true;"

getting sloppy
sorry

almostbob 866 Retired: passive income ROCKS

another option
after radio buttons are selected there is no way to unselect them all, a hidden nul value button may work if the forms cannot share a name and be poarsed on validation
please igonre syntax errors,

as the first radio button in a group
<input type=radio style='visibility:hidden' name=groupa value=">
<input type=radio name='groupa' onselect="document.groupb[0].checked;" value='a1>a1
<input type=radio name='groupa' onselect="document.groupb[0].checked;" value='a2>a2
<input type=radio name='groupa' onselect="document.groupb[0].checked;" value='a3>a3

buttons in group.b

<input type=radio style='visibility:hidden' name=groupb value="">
<input type=radio name='groupb' onselect="document.groupa[0].checked;" value='B1>B1
<input type=radio name='groupb' onselect="document.groupa[0].checked;" value='B2>B2
<input type=radio name='groupb' onselect="document.groupa[0].checked;" value='B3>B3

still not 'good' ideas

almostbob 866 Retired: passive income ROCKS

one group precludes the other
is it possible to use a single name and divide the response to the buttons by group, at form validation
example perhaps
ignoring syntax punctuation and styling, trying something brain not 100%

<table><tr>
<td>
<input type=radio name=groupname value=A1>a1
<input type=radio name=groupname value=A2>a2
<input type=radio name=groupname value=A3>a3
<input type=radio name=groupname value=A4>a4
<input type=radio name=groupname value=A5>a5
<input type=radio name=groupname value=A6>a6
</td><td>
<input type=radio name=groupname value=b1>B1
<input type=radio name=groupname value=b2>B2
<input type=radio name=groupname value=b3>B3
<input type=radio name=groupname value=b4>B4
<input type=radio name=groupname value=b5>B5
<input type=radio name=groupname value=b6>B6
<input type=radio name=groupname value=b7>B7
</td></tr></table>

when the form is submitted parse the response by first character, if (function defined elsewhere) firstchar = b do something if (function defined elsewhere) firstchar = a do something different any response in group B unchecks all responses in group A
any response in group A unchecks all in group B

almostbob 866 Retired: passive income ROCKS

code samples at
http://javascript.internet.com/forms/
www.dhtmlgoodies.com/index.html?page=calendarScripts
http://webscripts.softpedia.com/downloadTag/calendar+script
http://www.dynamicdrive.com/dynamicindex7/

probably Hotscripts
script dungeon

many script repositories have calendar scripts that fill form fields for you
The better ones use hidden/shown layer dhtml calendars instead of popups, popups can be blocked by browsers

almostbob 866 Retired: passive income ROCKS

Goto sourceforge.net and get the DevPHP IDE package, will give you a LocalHost server you can run your script on as part of the package, code highlighting, context help

almostbob 866 Retired: passive income ROCKS

My suggestion is to ditch whatever editor you are using, and set up an editor with code highlighting
the missing quotes, semicolons and other syntax errors would then be highlighted while you are editing.

almostbob 866 Retired: passive income ROCKS

I am getting error at the second line of the code, what is the problem :-/

$content = '<' . '?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?' . '>';
$content .= "<entry xmlns='http://purl.org/atom/ns#'>";
$content .= "<title mode='escaped' type='text/plain'>".$title."</title>";
$content .= "<issued>".$issued."</issued>"
$content .= "<generator url='http://www.yoursitesurlhere.com'>client's name</generator>";
$content .= "<content type='application/xhtml+xml'>";
$content .= "<div xmlns='http://www.w3.org/1999/xhtml'>".$body."</div>";
$content .= "</content>";
$content .= "</entry>";

concatenation
$content .= "code";
$content .= "code";
$content .= "code";
Creates one logical line,
missing semi-colon after </issued>" creates a second line, and a syntax error

almostbob 866 Retired: passive income ROCKS

Where is the HOSTS file?

All about Hosts files, and a very good one
http://mvps.org/winhelp2002/hosts.htm

almostbob 866 Retired: passive income ROCKS

there is always something more, to do,
not always practical, but always something
a thumb drive with a bunch of portable apps on it, for recovery and antivirus, can clean the pc when I do something really stupid (1-3/month) the infection in the host pc cant block the scanner or its update, the pc does not know of the software on the flash drive
Avast
MWAB
CClean -not as a registry cleaner, snake oil
super anti-spyware
1-2-3 Spy Free
all have thumb drive versions
ant-spyware programs are good to have in multiples, as the update delay and detection ability varies, each can find things the others might miss

almostbob 866 Retired: passive income ROCKS

Most of you guys telling me that the <br /> must be removed or be within the <li>. That is alright. I can do that. But the web page won't look good.

bulk <br> "won't look good"
css for layout, html for content
<style type='text/css'>
ul li { padding: 1px; padding-top: 14px; margin: 0; /* whatever- I got lazy now */}
</style>

almostbob 866 Retired: passive income ROCKS

that has little relation to the question first asked,
stipulated same groupname,
gone to examine some code,
post when i have an answer
dos vdanye