[wdvltalk] Re: perl experts

2004-10-28 Thread Erik Carlson
Can you send me the actuall perl file off list, and I'll run it on my linux server so 
I can debug it for you?


> 
> From: Stephen thomas <[EMAIL PROTECTED]>
> Date: 2004/10/28 Thu AM 11:19:45 CDT
> To: [EMAIL PROTECTED]
> Subject: [wdvltalk] perl experts
> 
> hi,
> 
> I am using linux server, my guest book entries are not geting date stamped
> on it . i am using following scripts guestbook.pl. can anyone help me to
> solve this problem.
> 
> stephen
> 
> 
> #!/usr/bin/perl
> 
> ##
> # Guestbook Version 2.3.1 #
> # Copyright 1996 Matt Wright [EMAIL PROTECTED] #
> # Created 4/21/95 Last Modified 10/29/95 #
> # Scripts Archive at: http://www.worldwidemart.com/scripts/ #
> 
> ##
> # COPYRIGHT NOTICE #
> # Copyright 1996 Matthew M. Wright All Rights Reserved. #
> # #
> # Guestbook may be used and modified free of charge by anyone so long as #
> # this copyright notice and the comments above remain intact. By using this
> #
> # code you agree to indemnify Matthew M. Wright from any liability that #
> # might arise from it's use. #
> # #
> # Selling the code for this program without prior written consent is #
> # expressly forbidden. In other words, please ask first before you try and #
> # make money off of my program. #
> # #
> # Obtain permission before redistributing this software over the Internet or
> #
> # in any other medium. In all cases copyright and header must remain
> intact.#
> 
> ##
> # Set Variables
> $guestbookurl = "http://xxx.com/guest/guestbook.html";;
> $guestbookreal = "/home/sat/www/guest/guestbook.html";
> $guestlog = "/home/vgms/www/guest/guestlog.html";
> $cgiurl = "http://xxx.com/cgi-bin/guestbook.pl";;
> $mailprog = '/usr/sbin/sendmail';
> $recipient = '[EMAIL PROTECTED]';
> $date_command = "/usr/bin/date";
> # Set Your Options:
> $mail = 1; # 1 = Yes; 0 = No
> $uselog = 1; # 1 = Yes; 0 = No
> $linkmail = 1; # 1 = Yes; 0 = No
> $separator = 1; # 1 = ; 0 = 
> $redirection = 0; # 1 = Yes; 0 = No
> $entry_order = 1; # 1 = Newest entries added first;
> # 0 = Newest Entries added last.
> $remote_mail = 1; # 1 = Yes; 0 = No
> $allow_html = 1; # 1 = Yes; 0 = No
> $line_breaks = 0; # 1 = Yes; 0 = No
> # If you answered 1 to $mail or $remote_mail you will need to fill out
> # these variables below:
> 
> # Done
> 
> ##
> # Get the Date for Entry
> $date = `$date_command +"%A, %B %d, %Y at %T (%Z)"`; chop($date);
> $shortdate = `$date_command +"%D %T %Z"`; chop($shortdate);
> # Get the input
> read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});
> # Split the name-value pairs
> @pairs = split(/&/, $buffer);
> foreach $pair (@pairs) {
> ($name, $value) = split(/=/, $pair);
> # Un-Webify plus signs and %-encoding
> $value =~ tr/+/ /;
> $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
> $value =~ s///g;
> if ($allow_html != 1) {
> $value =~ s/<([^>]|\n)*>//g;
> }
> $FORM{$name} = $value;
> }
> # Print the Blank Response Subroutines
> &no_comments unless $FORM{'comments'};
> &no_name unless $FORM{'realname'};
> # Begin the Editing of the Guestbook File
> open (FILE,"$guestbookreal") || die "Can't Open $guestbookreal: $!\n";
> @LINES=;
> close(FILE);
> [EMAIL PROTECTED];
> # Open Link File to Output
> open (GUEST,">$guestbookreal") || die "Can't Open $guestbookreal: $!\n";
> for ($i=0;$i<=$SIZE;$i++) {
> $_=$LINES[$i];
> if (//) {
> if ($entry_order eq '1') {
> print GUEST "\n";
> print GUEST "Name:$FORM{'realname'}\n";
> }
> if ($FORM{'url'}) {
> print GUEST "URL:$FORM{'url'}\n";
> }
> else {
> print GUEST "$FORM{''}\n";
> }
> if ( $FORM{'username'} ){
> if ($linkmail eq '1') {
> print GUEST "E-Mail: \";
> print GUEST "$FORM{'username'}\>\n";
> }
> else {
> print GUEST " <$FORM{''}>\n";
> }
> }
> print GUEST "\n";
> if ( $FORM{'city'} ){
> print GUEST "City:$FORM{'city'}\n";
> }
> if ( $FORM{'state'} ){
> print GUEST "State: $FORM{'state'}\n";
> }
> if ( $FORM{'country'} ){
> print GUEST "Country: $FORM{'country'}\n";
> }
> if ($line_breaks == 1) {
> $FORM{'comments'} =~ s/\cM\n/\n/g;
> }
> print GUEST "Comments:$FORM{'comments'}\n";
> if ($separator eq '1') {
> print GUEST "Date: - $date\n\n";
> }
> else {
> print GUEST "Date: - $date\n\n";
> }
> if ($entry_order eq '0') {
> print GUEST "\n";
> }
> }
> else {
> print GUEST $_;
> }
> }
> close (GUEST);
> # Log The Entry
> if ($uselog eq '1') {
> &log('entry');
> }
> 
> #
> # Options
> # Mail Option
> if ($mail eq '1') {
> open (MAIL, "|$mailprog $recipient") || die "Can't open $mailprog!\n";
> print MAIL "Reply-to: $FORM{'username'} ($FORM{'realname'})\n";
> print MAIL "From: $FORM{'username'} ($FORM{'realname'})\n";
> print MAIL "Subject: Entry to Guestbook\n\n";
> print MAIL "You have a new entry in your gue

[wdvltalk] perl experts

2004-10-28 Thread Stephen thomas
hi,

I am using linux server, my guest book entries are not geting date stamped
on it . i am using following scripts guestbook.pl. can anyone help me to
solve this problem.

stephen


#!/usr/bin/perl

##
# Guestbook Version 2.3.1 #
# Copyright 1996 Matt Wright [EMAIL PROTECTED] #
# Created 4/21/95 Last Modified 10/29/95 #
# Scripts Archive at: http://www.worldwidemart.com/scripts/ #

##
# COPYRIGHT NOTICE #
# Copyright 1996 Matthew M. Wright All Rights Reserved. #
# #
# Guestbook may be used and modified free of charge by anyone so long as #
# this copyright notice and the comments above remain intact. By using this
#
# code you agree to indemnify Matthew M. Wright from any liability that #
# might arise from it's use. #
# #
# Selling the code for this program without prior written consent is #
# expressly forbidden. In other words, please ask first before you try and #
# make money off of my program. #
# #
# Obtain permission before redistributing this software over the Internet or
#
# in any other medium. In all cases copyright and header must remain
intact.#

##
# Set Variables
$guestbookurl = "http://xxx.com/guest/guestbook.html";;
$guestbookreal = "/home/sat/www/guest/guestbook.html";
$guestlog = "/home/vgms/www/guest/guestlog.html";
$cgiurl = "http://xxx.com/cgi-bin/guestbook.pl";;
$mailprog = '/usr/sbin/sendmail';
$recipient = '[EMAIL PROTECTED]';
$date_command = "/usr/bin/date";
# Set Your Options:
$mail = 1; # 1 = Yes; 0 = No
$uselog = 1; # 1 = Yes; 0 = No
$linkmail = 1; # 1 = Yes; 0 = No
$separator = 1; # 1 = ; 0 = 
$redirection = 0; # 1 = Yes; 0 = No
$entry_order = 1; # 1 = Newest entries added first;
# 0 = Newest Entries added last.
$remote_mail = 1; # 1 = Yes; 0 = No
$allow_html = 1; # 1 = Yes; 0 = No
$line_breaks = 0; # 1 = Yes; 0 = No
# If you answered 1 to $mail or $remote_mail you will need to fill out
# these variables below:

# Done

##
# Get the Date for Entry
$date = `$date_command +"%A, %B %d, %Y at %T (%Z)"`; chop($date);
$shortdate = `$date_command +"%D %T %Z"`; chop($shortdate);
# Get the input
read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});
# Split the name-value pairs
@pairs = split(/&/, $buffer);
foreach $pair (@pairs) {
($name, $value) = split(/=/, $pair);
# Un-Webify plus signs and %-encoding
$value =~ tr/+/ /;
$value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
$value =~ s///g;
if ($allow_html != 1) {
$value =~ s/<([^>]|\n)*>//g;
}
$FORM{$name} = $value;
}
# Print the Blank Response Subroutines
&no_comments unless $FORM{'comments'};
&no_name unless $FORM{'realname'};
# Begin the Editing of the Guestbook File
open (FILE,"$guestbookreal") || die "Can't Open $guestbookreal: $!\n";
@LINES=;
close(FILE);
[EMAIL PROTECTED];
# Open Link File to Output
open (GUEST,">$guestbookreal") || die "Can't Open $guestbookreal: $!\n";
for ($i=0;$i<=$SIZE;$i++) {
$_=$LINES[$i];
if (//) {
if ($entry_order eq '1') {
print GUEST "\n";
print GUEST "Name:$FORM{'realname'}\n";
}
if ($FORM{'url'}) {
print GUEST "URL:$FORM{'url'}\n";
}
else {
print GUEST "$FORM{''}\n";
}
if ( $FORM{'username'} ){
if ($linkmail eq '1') {
print GUEST "E-Mail: \";
print GUEST "$FORM{'username'}\>\n";
}
else {
print GUEST " <$FORM{''}>\n";
}
}
print GUEST "\n";
if ( $FORM{'city'} ){
print GUEST "City:$FORM{'city'}\n";
}
if ( $FORM{'state'} ){
print GUEST "State: $FORM{'state'}\n";
}
if ( $FORM{'country'} ){
print GUEST "Country: $FORM{'country'}\n";
}
if ($line_breaks == 1) {
$FORM{'comments'} =~ s/\cM\n/\n/g;
}
print GUEST "Comments:$FORM{'comments'}\n";
if ($separator eq '1') {
print GUEST "Date: - $date\n\n";
}
else {
print GUEST "Date: - $date\n\n";
}
if ($entry_order eq '0') {
print GUEST "\n";
}
}
else {
print GUEST $_;
}
}
close (GUEST);
# Log The Entry
if ($uselog eq '1') {
&log('entry');
}

#
# Options
# Mail Option
if ($mail eq '1') {
open (MAIL, "|$mailprog $recipient") || die "Can't open $mailprog!\n";
print MAIL "Reply-to: $FORM{'username'} ($FORM{'realname'})\n";
print MAIL "From: $FORM{'username'} ($FORM{'realname'})\n";
print MAIL "Subject: Entry to Guestbook\n\n";
print MAIL "You have a new entry in your guestbook:\n\n";
print MAIL "--\n";
print MAIL "$FORM{'comments'}\n";
print MAIL "$FORM{'realname'}";
if ( $FORM{'username'} ){
print MAIL " <$FORM{'username'}>";
}
print MAIL "\n";
if ( $FORM{'city'} ){
print MAIL "$FORM{'city'},";
}
if ( $FORM{'state'} ){
print MAIL " $FORM{'state'}";
}
if ( $FORM{'country'} ){
print MAIL " $FORM{'country'}";
}
print MAIL " - $date\n";
print MAIL "--\n";
close (MAIL);
}
if ($remote_mail eq '1' && $FORM{'username'}) {
open (MAIL, 

[wdvltalk] RE: Code interpretation problem

2004-10-28 Thread Joseph Harris
> So you want the text as a marker while the image loads. Why not
consolidate
> your slices into a single image and then use the text as an alt tag?
>
> drew
==

drew,

I sliced originally because the gif was causing mispalcement of s;
finally being guided to the correct use of z-index  - the slices sort of
remained.   Also positively because the gifs extend only slightly beyond the
image, rather than forming a large gif triangle which would be  a larger
file size and, for me I am sure, a hostage to fortune!

I do have alt and title tags    oh!   I did put them in somewhere, but
now Ican't find them.   On the list of jobs.

Joseph


 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
   Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: "set 
WDVLTALK pw=yourpassword" in the body of the email.
To change subscription settings to the wdvltalk digest version:
http://wdvl.internet.com/WDVL/Forum/#sub

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.



[wdvltalk] Discussion List Upgrade

2004-10-28 Thread Linda Cole
Hi All,
Our software is going to be upgraded today at approx. 1PM Eastern 
time.  The list will be down through early and mid-afternoon.

Thanks,
Linda
[EMAIL PROTECTED]
Managing Editor
DatabaseJournal http://databasejournal.com/
DBASupport  http://dbasupport.com/
SQLCourse   http://sqlcourse.com/
SQLCourse2  http://sqlcourse2.com/
 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
  Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email.
To change subscription settings to the wdvltalk digest version:
   http://wdvl.internet.com/WDVL/Forum/#sub

  http://www.wdvl.com  ___
You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016
Please include the email address which you have been contacted with.


[wdvltalk] RE: Code interpretation problem

2004-10-28 Thread Trusz, Andrew
 

-Original Message-
From: Joseph Harris 
Sent: Thursday, October 28, 2004 8:52 AM
To: [EMAIL PROTECTED]
Subject: [wdvltalk] RE: Code interpretation problem

 I would only put a bit of repeater text in case the logo is slow
downloading.

=
So you want the text as a marker while the image loads. Why not consolidate
your slices into a single image and then use the text as an alt tag? 

drew

 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
   Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: "set 
WDVLTALK pw=yourpassword" in the body of the email.
To change subscription settings to the wdvltalk digest version:
http://wdvl.internet.com/WDVL/Forum/#sub

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.



[wdvltalk] Re: Losing focus

2004-10-28 Thread Ross Clutterbuck
Riva:
You might also want to check for scumware or something like that too. I've 
had some nasty lil buggers that grabbed focus while running in the 
background every few seconds.

MOU 

 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
  Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email.
To change subscription settings to the wdvltalk digest version:
   http://wdvl.internet.com/WDVL/Forum/#sub

  http://www.wdvl.com  ___
You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016
Please include the email address which you have been contacted with.


[wdvltalk] Re: Losing focus

2004-10-28 Thread PBC Web Design
Riva,
I don't know if this would apply to you but I would check to see if maybe 
your email program is set to grab the focus when a new email comes in?

At 07:43 AM 10/28/2004, you wrote:
Hi all,
I have an old computer and find that lately my computer "loses focus" in
the window that I am working in.  i.e. I will be writing a letter in Word
and suddenly the top greys out and my keyboard won't work.  (Obviously
because I am not "focused" in Word anymore) and I have to click on Word
again to continue working.  Any idea why this is happening and what I can
do about it.

 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
  Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email.
To change subscription settings to the wdvltalk digest version:
   http://wdvl.internet.com/WDVL/Forum/#sub

  http://www.wdvl.com  ___
You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016
Please include the email address which you have been contacted with.


[wdvltalk] RE: Code interpretation problem

2004-10-28 Thread Joseph Harris
drew,

And they said this was supposed to be fun!

> Under the logo? Under the green and white curvilinear logo in the upper
left
> hand corner? And under meaning underneath as opposed to below?

It was the best way I could see to get that shape without a whole other set
of hoops to jump through.

>
> It just may be me, but I don't see a close for the div id=top. But then I
> did miss the close of the  use of a table (awful idea -- anathema to
> accessibility and validity) for the form. If the top div is not closed, it
> would explain why the left nav is over so far since it is effectively
> contained in the top div.

With the further testing I have those s closed, but the problem is
still there.

>
> If I'm right, it would be an interesting effect with the text partially
> under the logo. Not sure if it would be underneath since there is a1em
> padding. But it would be interesting to see.

I would only put a bit of repeater text in case the logo is slow
downloading.

>
> And if the div closes and I missed it, smile gently at my embarrassment.
(As
> if this would be the first time that happened.)
>
> On the php -- go with what Shelia tells you. She knows this stuff. I'm
> curious as to why you want to use a class and not just an include. Seems
to
> me an include is a whole lot easier.

I thought to stay with this for the high number of pages.   Sheila has,
indeed, shown me the way - except at the moment all the  head stuff is
appearing at the end of  the source!If only computers were intelligent.
(Oh, no, that's a take over issue.)

>
> But it is getting there, Joseph.

Thanks for the encouragement.

Joseph

>
> Drew


 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
   Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: "set 
WDVLTALK pw=yourpassword" in the body of the email.
To change subscription settings to the wdvltalk digest version:
http://wdvl.internet.com/WDVL/Forum/#sub

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.



[wdvltalk] Losing focus

2004-10-28 Thread mrport
Hi all,

I have an old computer and find that lately my computer "loses focus" in
the window that I am working in.  i.e. I will be writing a letter in Word
and suddenly the top greys out and my keyboard won't work.  (Obviously
because I am not "focused" in Word anymore) and I have to click on Word
again to continue working.  Any idea why this is happening and what I can
do about it.  I am hoping to get a new computer soon but would still like
to be able to rectify this.

TIA,
Riva


Riva Portman, MCIWD
Certified Webdesigner
Star Quality Designs
www.starqualitydesigns.com

 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
   Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: "set 
WDVLTALK pw=yourpassword" in the body of the email.
To change subscription settings to the wdvltalk digest version:
http://wdvl.internet.com/WDVL/Forum/#sub

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.



[wdvltalk] RE: Code interpretation problem

2004-10-28 Thread Trusz, Andrew
 

-Original Message-
From: Joseph Harris 
Sent: Wednesday, October 27, 2004 3:45 PM
To: [EMAIL PROTECTED]
Subject: [wdvltalk] RE: Code interpretation problem

drew and Perry,

The left column is displaced to the right by two or three inches, and the
words in black should be under the logo.

The opening of the code (down to ) should be generated by a class but
it does not appear to be functioning at this point.   I was going to leave
it till later but take the point about the possibility of its lack changing
the outcomes!

back soon!

Joseph

I should have remembered that links order.

=

Under the logo? Under the green and white curvilinear logo in the upper left
hand corner? And under meaning underneath as opposed to below?

It just may be me, but I don't see a close for the div id=top. But then I
did miss the close of the  use of a table (awful idea -- anathema to
accessibility and validity) for the form. If the top div is not closed, it
would explain why the left nav is over so far since it is effectively
contained in the top div. 

If I'm right, it would be an interesting effect with the text partially
under the logo. Not sure if it would be underneath since there is a1em
padding. But it would be interesting to see.

And if the div closes and I missed it, smile gently at my embarrassment. (As
if this would be the first time that happened.)

On the php -- go with what Shelia tells you. She knows this stuff. I'm
curious as to why you want to use a class and not just an include. Seems to
me an include is a whole lot easier.

But it is getting there, Joseph.

Drew


 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
   Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: "set 
WDVLTALK pw=yourpassword" in the body of the email.
To change subscription settings to the wdvltalk digest version:
http://wdvl.internet.com/WDVL/Forum/#sub

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.



[wdvltalk] Re: two results / one file - php

2004-10-28 Thread Joseph Harris
Sheila,

It clicked this morning;   I have only the first few basic pages at the
moment, with no page title to use!   When I run the layout page in the
browser up comes the full header in the source.

Thank you for that.

Incidentally, the mail saying I am going to bed has only just appeared on
the list.But I sent it many, many hours ago!

Joseph


> Mark Groen wrote:
> >
> >  > echo $meta->metadata($ptitle);
> > ?>
> >
> > Above should be all you need for that code set, no curly braces. If
> > the other on was further down in the code, then there must be a
> > matching (opening) one higher up. Guessing here.. is there an if or
> > else statement that hasn't been properly closed? Your errors may point
> > to the section above it that it's in...
> >
>
> I disagree. In the original code posted this bit was shown as being part
> of the function myheader(). $meta is local to the function and not
> accessible outside it.
>
> If the right bracket is removed then the first line of function myheader
> needs to be removed too. Also $ptitle needs to be assigned some value:
>
>   error_reporting(0);
>  include $_SERVER['DOCUMENT_ROOT'].
>  "/new_spw_site/common_spw.php";
>
>  // page title
>  $ptitle = "Page title goes here";
>
>  // create meta object and assign some values to it's vars
>  $meta = &new meta;
>  $meta->company_name =
> .and so on.
>  $meta->generator = "PHP";
>
>  // begin the page
>   ?>
>"http://www.w3.org/TR/html4/loose.dtd";>
> 
> 
>   // now the meta tags
>  echo $meta->metadata($ptitle);
> ?>
>
>
> The alternative is to keep everything in the function as originally
> posted and then call the function at the end with
>
> myheader("Page title goest here);
>
> Either one should work.
>
> Sheila
> --
> Sheila Fenelon
> http://www.shefen.com/
>


 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
   Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: "set 
WDVLTALK pw=yourpassword" in the body of the email.
To change subscription settings to the wdvltalk digest version:
http://wdvl.internet.com/WDVL/Forum/#sub

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.



[wdvltalk] Re: two results / one file - php

2004-10-28 Thread Joseph Harris
Mark,

That is the closing curly brace to the function myheader($ptitle).  (Only
one pair on the page.   The pairs on the class file seem correct too.)I
have moved it hither and thither.   If I take it above the doctype the
doctype prints on the source, but still none of the metadata - which is the
whole point of having the function!

I'm seeing no errors with this (E_ALL setting) for those tries when the page
downloads ok.Long past time for bed;  try to pick it up tomorrow.
Thanks for the advice.

Joseph

> On Thu, 28 Oct 2004 00:07:53 +0100, Joseph Harris wrote:
> > I took the brace out, and I put two in,  -- and then I did get some
error
> > reporting!!
> >
> > But there is something weird.   In the working set the closing curly
brace
> > is well down the page, but when I put this one in the equivalent spot it
> > misses everything but what comes after.   Which shows the fault is
higher
> > up, at least.
>
>  echo $meta->metadata($ptitle);
> ?>
>
> Above should be all you need for that code set, no curly braces. If
> the other on was further down in the code, then there must be a
> matching (opening) one higher up. Guessing here.. is there an if or
> else statement that hasn't been properly closed? Your errors may point
> to the section above it that it's in...
>
> cheers,
>
>  Mark
>
>  MG Web Services
>  www.mgwebservices.ca
>
> Your Canadian West Coast web site development and hosting solution.
>
>  . The WDVL Discussion List from WDVL.COM . 
> To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED]
>Send Your Posts To: [EMAIL PROTECTED]
> To set a personal password send an email to [EMAIL PROTECTED] with the
words: "set WDVLTALK pw=yourpassword" in the body of the email.
> To change subscription settings to the wdvltalk digest version:
> http://wdvl.internet.com/WDVL/Forum/#sub
>
>   http://www.wdvl.com  ___
>
> You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to
%%email.unsub%%
>
> To unsubscribe via postal mail, please contact us at:
> Jupitermedia Corp.
> Attn: Discussion List Management
> 475 Park Avenue South
> New York, NY 10016
>
> Please include the email address which you have been contacted with.
>
>


 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
   Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: "set 
WDVLTALK pw=yourpassword" in the body of the email.
To change subscription settings to the wdvltalk digest version:
http://wdvl.internet.com/WDVL/Forum/#sub

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.



[wdvltalk] Re: wdvltalk digest: October 27, 2004

2004-10-28 Thread aswitzer
I am out of the office the week of Oct 25th-Oct 29th.

If you have a support issue that needs attention, please email [EMAIL PROTECTED]

Thanks,

Alan



 • The WDVL Discussion List from WDVL.COM • 
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
   Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: "set 
WDVLTALK pw=yourpassword" in the body of the email.
To change subscription settings to the wdvltalk digest version:
http://wdvl.internet.com/WDVL/Forum/#sub

  http://www.wdvl.com  ___

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.