Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

ntb-html · The NoteTab and HTML List

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 819
  • Category: General
  • Founded: Jun 17, 1999
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

Advanced
Messages Help
Messages 4522 - 4551 of 7309   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#4522 From: "John Zeman" <john041650@...>
Date: Thu May 6, 2004 4:31 pm
Subject: Re: [NH] &
john041650
Send Email Send Email
 
--- In ntb-html@yahoogroups.com, Kathy Jungjohann <kjj@a...> wrote:
>
> >You're supposed to put the & into Your HTML, not into Your
address
> >bar (is that what You were doing?)
> Rudi,
> You're right: I had typed it straight into the address bar.
> I see when I put the entity in the url of a link, it does convert
ok.
> My mistake. (But I'll stick to plain old & in links just the same.)
> Kathy


I've never read the *official* reason why certain characters such as
& should be converted, but I know in many programming languages & is
a command.  And when & is used as anything other than a command the
script fails unless the & has been escaped.

Basically, that's what the & is, a safe way to use & in your html
even though all the browsers I'm aware of will display it either way.

Besides & I also convert non breaking spaces, single, and double
quotes.  It may not be necessary but it makes it easy for me to
differentiate the html code from the plain text in the document.

John

#4523 From: "John Zeman" <john041650@...>
Date: Thu May 6, 2004 4:50 pm
Subject: Re: [NH] &
john041650
Send Email Send Email
 
--- In ntb-html@yahoogroups.com, "John Zeman" <john041650@y...> wrote:
I know in many programming languages & is
> a command.  And when & is used as anything other than a command the
> script fails unless the & has been escaped.


A slight correction to my previous post.

& Is not a command in many other languages, it's used to group
commands in many other languages.  To run one command and then
another.

John

#4524 From: Jody <kjv-av1611@...>
Date: Thu May 6, 2004 4:52 pm
Subject: Re: [NH] &
notetabber
Send Email Send Email
 
Hi John

>Besides & I also convert non breaking spaces, single, and double
>quotes.  It may not be necessary but it makes it easy for me to
>differentiate the html code from the plain text in the document.

>Does that mean that you would convert "non breaking spaces" into

"e;non breaking spaces"e;

or only in urls and such? (I just guessed at the "e;.)


Take care,
Jody Adair

The whole world doth err save you and me,
       and even thou doest err some!
         http://clean-funnies.com
    http://notetab.net, http://fookes.us

#4525 From: "Don - htmlfixit.com" <don@...>
Date: Thu May 6, 2004 5:13 pm
Subject: Re: [NH] &
dpasseng
Send Email Send Email
 
Kathy Jungjohann wrote:

>>You're supposed to put the & into Your HTML, not into Your address
>>bar (is that what You were doing?)
>
> Rudi,
> You're right: I had typed it straight into the address bar.
> I see when I put the entity in the url of a link, it does convert ok.
> My mistake. (But I'll stick to plain old & in links just the same.)
> Kathy
>

Then your pages will be non-compliant with standards if you care.  It is
better to do as they suggest and use the character entity so you
generate validated pages.

#4526 From: sisterscape <sisterscape@...>
Date: Thu May 6, 2004 5:28 pm
Subject: Re: [NH] &
sisterscape
Send Email Send Email
 
--- "Don - htmlfixit.com" <don@...> wrote:
> Kathy Jungjohann wrote:

> > (But I'll stick to plain old & in links just the same.)
> > Kathy
> >
>
> Then your pages will be non-compliant with standards if you care.  It
> is better to do as they suggest and use the character entity so you
> generate validated pages.
>
I never gave this a second thought until validation became important
for me.  Now I would never think of publishing an unvalidated page!




__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover

#4527 From: Jody <kjv-av1611@...>
Date: Thu May 6, 2004 5:38 pm
Subject: Viewing *.php Files
notetabber
Send Email Send Email
 
Hi All,

My instructions are to load: install.php in my browser and follow
the instructions. If I do it from NoteTab or directly from the
browser, all I get is the PHP code. If I upload it, I get page not
found. I know it is there.

http://www.sojourner.us/test/install.php
http://www.sojourner.us/test/readme.txt is in the same folder and
it is there for sure. FWIW, it tells me to go to the site for the
manual. The manual just tells me to load the install.php for
installation instructions. (Just for grins I uploaded to cgi-bin,
but the same thing happens.)

Thanks!
Jody

     ...he that is of a merry heart hath a continual feast...
                   http://www.clean-funnies.com
                      See ya in the funnies!

      sojourner.us/software, notetab.net, fookes.us
                 http://www.purewords.org

[Non-text portions of this message have been removed]

#4528 From: "Ed Brown" <ebrown27@...>
Date: Thu May 6, 2004 5:40 pm
Subject: Re: [NH] &
horsefly_38866
Send Email Send Email
 
Jody
actually you omit the e in quote. As "
Ed
   ----- Original Message -----
   From: Jody
   To: ntb-html@yahoogroups.com
   Sent: Thursday, May 06, 2004 11:52 AM
   Subject: Re: [NH] &


   Hi John

   >Besides & I also convert non breaking spaces, single, and double
   >quotes.  It may not be necessary but it makes it easy for me to
   >differentiate the html code from the plain text in the document.

   >Does that mean that you would convert "non breaking spaces" into

   "e;non breaking spaces"e;

   or only in urls and such? (I just guessed at the "e;.)


   Take care,
   Jody Adair

   The whole world doth err save you and me,
         and even thou doest err some!
           http://clean-funnies.com
      http://notetab.net, http://fookes.us


         Yahoo! Groups Sponsor
               ADVERTISEMENT





------------------------------------------------------------------------------
   Yahoo! Groups Links

     a.. To visit your group on the web, go to:
     http://groups.yahoo.com/group/ntb-html/

     b.. To unsubscribe from this group, send an email to:
     ntb-html-unsubscribe@yahoogroups.com

     c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



[Non-text portions of this message have been removed]

#4529 From: "John Zeman" <john041650@...>
Date: Thu May 6, 2004 6:11 pm
Subject: Re: [NH] &
john041650
Send Email Send Email
 
--- In ntb-html@yahoogroups.com, Jody <kjv-av1611@e...> wrote:
> Hi John
>
> >Besides & I also convert non breaking spaces, single, and double
> >quotes.  It may not be necessary but it makes it easy for me to
> >differentiate the html code from the plain text in the document.
>
> >Does that mean that you would convert "non breaking spaces" into
>
> "e;non breaking spaces"e;
>
> or only in urls and such? (I just guessed at the "e;.)
>
>


Not quite Jody. in html extra (more than one) spaces are ignored by
the browser, that's why you can indent your code if you want.  To
force extra spaces to be displayed in the text, you need to use
  in place of, or along with, regular spaces.  In your example,
unless you had non breaking spaces in place of regular spaces, it
would be converted as follows:

Does that mean that you would convert "non breaking spaces"
into

Only the quotes are converted.

You can't have spaces in URLS so there's no reason to use non
breaking spaces in links.  Non breaking spaces only apply to plain
text.  To see a good example of it, just use the NoteTab command
of "modify document to html with paragraph tags" on a text document
that has two or more spaces between sentences.

John

#4530 From: "John Zeman" <john041650@...>
Date: Thu May 6, 2004 6:21 pm
Subject: Re: Viewing *.php Files
john041650
Send Email Send Email
 
--- In ntb-html@yahoogroups.com, Jody <kjv-av1611@e...> wrote:
>
> Hi All,
>
> My instructions are to load: install.php in my browser and follow
> the instructions. If I do it from NoteTab or directly from the
> browser, all I get is the PHP code. If I upload it, I get page not
> found. I know it is there.
>
> http://www.sojourner.us/test/install.php
> http://www.sojourner.us/test/readme.txt is in the same folder and
> it is there for sure. FWIW, it tells me to go to the site for the
> manual. The manual just tells me to load the install.php for
> installation instructions. (Just for grins I uploaded to cgi-bin,
> but the same thing happens.)
>
> Thanks!
> Jody
>



Jody you don't need to install PHP in your browser, it's all done on
the server end unless you want to install the PHP parser offline in
your computer.  Which few people ever need to do.  The PHP is
processed by the server before the html is sent to your browser, so
you need to view PHP pages while you are online.  Even if the PHP
page is offline in your computer, to see it work you need to be
connected to the server that parses PHP.

Sounds scary doesn't it?  Well it's not.  In fact, below is a super
simple html file you can upload to any web site to test if PHP is
installed on that particular server.  Give it a name that ends with
the file extension .PHP and then upload it.  (I call it phptest.php)

Then all you have to do is to go to that page and see what it
displays.  If it's basically empty, then PHP parsing is not available
on that server.  If it is, you'll see all sorts of info regarding how
the PHP is configured.

John


<html>
<head>
<title>PHP Test</title>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
</head>

<body>

<p>If there is nothing below this line, then PHP is not installed on
this web server.</p>
<br>
<br>

<?php
phpinfo() ;
?>

</body>
</html>

#4531 From: Rudolf Horbas <rhorbas@...>
Date: Thu May 6, 2004 6:48 pm
Subject: Re: [NH] Viewing *.php Files
rhorbas
Send Email Send Email
 
Jody,

> My instructions are to load: install.php in my browser and follow
> the instructions. If I do it from NoteTab or directly from the
> browser, all I get is the PHP code. If I upload it, I get page not
> found. I know it is there.

I think Your php installation is not working, Jody.

Put this into a file, upload it to Your server and load it:

---------------- File ---------------

<?php
      phpinfo();
?>

---------------- /File ---------------

If this doesn't output a page with system information, You'll have to
work from there on. Read server & php installation manuals, etc. (Is
this Your server?)

(Don't forget to delete the file from the server after You've saved it
on Your HD -- it contains info You don't want to have in public!)

Good luck,
Rudi

#4532 From: Jody <kjv-av1611@...>
Date: Thu May 6, 2004 6:58 pm
Subject: Re: [NH] Re: Viewing *.php Files
notetabber
Send Email Send Email
 
Hi John,

>Jody you don't need to install PHP in your browser, it's all done on
>the server end unless you want to install the PHP parser offline in
>your computer.

install.php is like a installation/setup.exe so to speak the way
I understand them. It has directions anyway on how to get the php
script installed. It is one of those aardvark topsites scripts if
you are familiar with them.

>Sounds scary doesn't it?  Well it's not.  In fact, below is a super
>simple html file you can upload to any web site to test if PHP is
>installed on that particular server.  Give it a name that ends with
>the file extension .PHP and then upload it.  (I call it phptest.php)
>
>Then all you have to do is to go to that page and see what it
>displays.  If it's basically empty, then PHP parsing is not available
>on that server.  If it is, you'll see all sorts of info regarding how
>the PHP is configured.
>
>If there is nothing below this line, then PHP is not installed on
>this web server.
>
><?php phpinfo() ; ?>

OK, well it is not installed on:
http://home.earthlink.net/~testbed/testphp.php all it does is
display the line in the file (above - your code)

I'll get with my server guy for my regular domains I use and see
what's up with the page not found.


Thanks!
Jody

     ...he that is of a merry heart hath a continual feast...
                   http://www.clean-funnies.com
                    See ya in the funnies!

          sojourner.us/software, notetab.net, fookes.us
                   http://www.purewords.org

[Non-text portions of this message have been removed]

#4533 From: Jody <kjv-av1611@...>
Date: Thu May 6, 2004 6:45 pm
Subject: Re: [NH] &
notetabber
Send Email Send Email
 
Hi John,

>> >Does that mean that you would convert "non breaking spaces" into
>>
>> "e;non breaking spaces"e;
>>
>> or only in urls and such? (I just guessed at the "e;.)
>
>Not quite Jody. in html extra (more than one) spaces are ignored by
>the browser, that's why you can indent your code if you want.

Yes, I was just curious if you did the whole document literally.

>You can't have spaces in URLS so there's no reason to use non
>breaking spaces in links.

%20 :)

>Non breaking spaces only apply to plain text.  To see a good
>example of it, just use the NoteTab command of "modify document
>to html with paragraph tags" on a text document that has two or
>more spaces between sentences.

Yep. I have two Clips I use a lot:

H="  1 Space"
 

H="  5 Spaces"
     

Sometimes I use the menu; just depends on where I'm at, but I can
get to most of my frequent Clips as fast as I can to the menu and
don't take the chance of my mouse pointer sliding off and having
to start again because it collapses.

I just added this clip :)

H=Fill Spaces with  
^$StrFill(" ";^$GetSelSize$)$

bcnu,
jody

       I can only please one person a day.
        Today is obviously not your day.
       Tomorrow doesn't look good either. 8D
           http://www.clean-funnies.com
      http://www.fookes.com/regnow.html?2448 ;)
         http://www.sojourner.us/software

#4534 From: "Don - htmlfixit.com" <don@...>
Date: Thu May 6, 2004 6:49 pm
Subject: Re: [NH] Viewing *.php Files
dpasseng
Send Email Send Email
 
that is a browser configuration problem if your code is well formed Jody
it means the file is not being parsed for php

neither of the urls you give appear to be working however ... so
something is wrong
if you want to hit chat over at http://htmlfixit.com I am sure I can
talk you through it in no time if I am there

#4535 From: Jody <kjv-av1611@...>
Date: Thu May 6, 2004 7:29 pm
Subject: Re: [NH] Viewing *.php Files
notetabber
Send Email Send Email
 
Hi Rudolf/John,

OK, from NoteTab's Glossary. :)

PHTML is an acronym for Preprocessed Hypertext Markup Language
which is a HTML-embedded scripting language that is processed by
the webserver prior to sending to the web browser. The scripts
can therefore be written once and run on any webserver that has
PHP installed on it, including Netscape servers, Apache and its
derivatives, IIS, or any other webserver that supports CGI-BIN.
The scripted elements are replaced by HTML prior to sending to
the web browser.

In my server interface I have installed:
ASP, ASP.NET, Perl, CGI-Bin

Does it mean I need to install the files into my cgi-bin at the site?

FWIW, this is what it says at the top of the settings page, so
assuming I have the service, then it should do PHP:

Website Application Settings
This page allows you to make changes to how your website executes
applications such as ASP, ASP.NET, Perl and PHP.

>> My instructions are to load: install.php in my browser and follow
>> the instructions. If I do it from NoteTab or directly from the
>> browser, all I get is the PHP code. If I upload it, I get page not
>> found. I know it is there.
>
>I think Your php installation is not working, Jody.
>
>Put this into a file, upload it to Your server and load it:
>
>---------------- File ---------------
><?php
>     phpinfo();
>?>
>---------------- /File ---------------


Happy html'n!
Jody

    mailto:ntb-html-UnSubscribe@yahoogroups.com
      http://groups.yahoo.com/group/ntb-html
      www.notetab.net  www.clean-funnies.com

#4536 From: "John Zeman" <john041650@...>
Date: Thu May 6, 2004 8:08 pm
Subject: Re: [NH] &
john041650
Send Email Send Email
 
--- In ntb-html@yahoogroups.com, Jody <kjv-av1611@e...> wrote:
> Hi John,
>
> >> >Does that mean that you would convert "non breaking spaces" into
> >>
> >> "e;non breaking spaces"e;
> >>
> >> or only in urls and such? (I just guessed at the "e;.)
> >
> >Not quite Jody. in html extra (more than one) spaces are ignored
by
> >the browser, that's why you can indent your code if you want.
>
> Yes, I was just curious if you did the whole document literally.
>
> >You can't have spaces in URLS so there's no reason to use non
> >breaking spaces in links.
>
> %20 :)
>
> >Non breaking spaces only apply to plain text.  To see a good
> >example of it, just use the NoteTab command of "modify document
> >to html with paragraph tags" on a text document that has two or
> >more spaces between sentences.
>
> Yep. I have two Clips I use a lot:
>
> H="  1 Space"
>  
>
> H="  5 Spaces"
>      
>
> Sometimes I use the menu; just depends on where I'm at, but I can
> get to most of my frequent Clips as fast as I can to the menu and
> don't take the chance of my mouse pointer sliding off and having
> to start again because it collapses.
>
> I just added this clip :)
>
> H=Fill Spaces with  
> ^$StrFill(" ";^$GetSelSize$)$
>
> bcnu,
> jody
>


That's true Jody, if someone attempts to use spaces in a URL they
should be changed to %20 instead.

One thing you may want to keep in mind when using non breaking
spaces, is they mean just what their name implies.  They're meant to
keep text together on one line.  So as a general rule if you're going
to display a long string of spaces, you may want to consider
alternating between regular spaces and non breaking ones. e.g.

         

instead of:

         

Doing it the first way will allow line breaks to take place at proper
points when the page is viewed in a smaller window.

John

#4537 From: "John Zeman" <john041650@...>
Date: Thu May 6, 2004 8:09 pm
Subject: Re: [NH] Viewing *.php Files
john041650
Send Email Send Email
 
--- In ntb-html@yahoogroups.com, Jody <kjv-av1611@e...> wrote:
> Hi Rudolf/John,
>
> OK, from NoteTab's Glossary. :)
>
> PHTML is an acronym for Preprocessed Hypertext Markup Language
> which is a HTML-embedded scripting language that is processed by
> the webserver prior to sending to the web browser. The scripts
> can therefore be written once and run on any webserver that has
> PHP installed on it, including Netscape servers, Apache and its
> derivatives, IIS, or any other webserver that supports CGI-BIN.
> The scripted elements are replaced by HTML prior to sending to
> the web browser.
>
> In my server interface I have installed:
> ASP, ASP.NET, Perl, CGI-Bin
>
> Does it mean I need to install the files into my cgi-bin at the
site?
>


I'm afraid I'm out of my league on this one Jody.  I've never
installed PHP, I just put it to use. :)

John

#4538 From: "Mickster" <mickster@...>
Date: Thu May 6, 2004 5:37 pm
Subject: Re: [NH] &
motomania
Send Email Send Email
 
Jody wrote :
Does that mean that you would convert "non breaking spaces" into

"e;non breaking spaces"e;

or only in urls and such? (I just guessed at the "e;.)

  = = = = = = = = =

Not unlike John, I also convert quite a few characters when creating HTML
code, even though they may appear fine in most browsers.

One of the main places that I use non-breaking spaces ( ) is when I'm
creating text links for horizontal menus and want to have more than 1 space
between the text as HTML automagically shows more than 1 space as a single
space.

Example :

<a href="contact.html">Contact Us</a>   |   <a href="home.html">Home</a>   |
<a href="logout.html">Log Out</a>

would appear on the web page as

Contact Us | Home | Log Out

While this code :

<a href="contact.html">Contact Us</a>   |   <a
href="home.html">Home</a>   |   <a href="logout.html">Log
Out</a>

would appear on the web page as

Contact Us   |   Home   |   Log Out

Another thing that I use   for is to keep empty table rows from
collapsing.  Placing a   in a cell makes the row appear as a "blank" row
instead of collapsing and giving no visible "line break".

  = = = = = =
Mick Housel
"Life is not a journey to the grave with the intention of arriving safely in a
pretty and well preserved body -- but rather to skid in broadside, thoroughly
used up, totally worn out, and loudly proclaiming -- WOW, WHAT A RIDE!!" -
Author : Unknown

mickster-at-motomania.us
http://www.mickhousel.com/

#4539 From: loro <loro-spam01-@...>
Date: Thu May 6, 2004 8:23 pm
Subject: Re: [NH] Viewing *.php Files
yastupidhoo
Send Email Send Email
 
Jody wrote:
>In my server interface I have installed:
>ASP, ASP.NET, Perl, CGI-Bin
>
>Does it mean I need to install the files into my cgi-bin at the site?

Maybe it means PHP isn't enabled for your account.

>FWIW, this is what it says at the top of the settings page, so
>assuming I have the service, then it should do PHP:
>
>Website Application Settings
>This page allows you to make changes to how your website executes
>applications such as ASP, ASP.NET, Perl and PHP.

Check what it says for PHP then. Maybe you need to enable it yourself or pay
extra for it.  Do you know if PHP is included in your plan? I guess your host
could be up to something odd too, like files must be named .php3  or
something... just speculating.

Lotta

#4540 From: Jody <kjv-av1611@...>
Date: Thu May 6, 2004 8:31 pm
Subject: Re: [NH] &
notetabber
Send Email Send Email
 
Hi John,

I suppose          
w/o breaking them could be one of the reasons for getting the
horizontal scrollbar. (I hate finding those problems in my code.)
I know images can do it, bad code,... but I haven't found other
reasons (at least that I can remember) other than some table and
margin-left/right in css and width sometimes. I have a few pages
somewhere <g> that has the horizontal bar just for about 1/2" and
cannot figure out what is causing it. None of the above seems to.
Feel free to change the Subject to Unwanted Horizontal Scrollbar
if you want to offer suggestions (off the top of your head)
because I'd have to go searching for the pages to send a link in.

>One thing you may want to keep in mind when using non breaking
>spaces, is they mean just what their name implies.  They're meant to
>keep text together on one line.  So as a general rule if you're going
>to display a long string of spaces, you may want to consider
>alternating between regular spaces and non breaking ones. e.g.
>
>         
>
>instead of:
>
>         
>
>Doing it the first way will allow line breaks to take place at proper
>points when the page is viewed in a smaller window.


I've got Fookesability!
Sometimes, no sensibility. :(
Jody

fookes.us, notetab.net
clean-funnies.com, bwbc.us
sureword.net, sojourner.us

#4541 From: Jody <kjv-av1611@...>
Date: Thu May 6, 2004 9:03 pm
Subject: Re: [NH] Viewing *.php Files
notetabber
Send Email Send Email
 
Hi loro,

>>Website Application Settings
>>This page allows you to make changes to how your website executes
>>applications such as ASP, ASP.NET, Perl and PHP.
>
>Check what it says for PHP then. Maybe you need to enable it yourself or pay
extra for it.  Do you know if PHP is included in your plan? I guess your host
could be up to something odd too, like files must be named .php3  or
something... just speculating.

Thanks, sent an eMail off awhile back to find out about it. Thanks all. It's on
me now. :)

bcnu,
jody

       I can only please one person a day.
        Today is obviously not your day.
       Tomorrow doesn't look good either. 8D
           http://www.clean-funnies.com
      http://www.fookes.com/regnow.html?2448 ;)
         http://www.sojourner.us/software

#4542 From: Rudolf Horbas <rhorbas@...>
Date: Thu May 6, 2004 9:33 pm
Subject: Re: [NH] Viewing *.php Files
rhorbas
Send Email Send Email
 
Jody,

> PHTML is an acronym for Preprocessed Hypertext Markup Language
> which is a HTML-embedded scripting language that is processed by
  > (...)

Where does the acronym PHTML come into this? Have I missed something?
You were talking about *.php-files, right?

Basically You can use _any_ file suffix, if You fix Your server accordingly.
My http.conf contains

AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .phtml

which means that all files with those suffixes are parsed
(=preprocessed) by php.
I could make this *.rudi if I liked, but then my scripts weren't very
portable :-}

  > (...)
> The scripted elements are replaced by HTML prior to sending to
> the web browser.

That's a red herring, Jody.

> In my server interface I have installed:
> ASP, ASP.NET, Perl, CGI-Bin

That's more of a clue. Looks like You don't have php available.

> Does it mean I need to install the files into my cgi-bin at the site?

I don't tink so. php is available a a CGI binary (versus Apache module),
and I remember reading that the MS-IIS has it installed as that, but I'm
not sure (I'm Apache only).

> FWIW, this is what it says at the top of the settings page, so
> assuming I have the service, then it should do PHP:
>
> Website Application Settings
> This page allows you to make changes to how your website executes
> applications such as ASP, ASP.NET, Perl and PHP.

What kinda settings does that offer?

BTW, I just got back to the http://www.sojourner.us/test/install.php.

Rather odd:
In the browser, it shows me Your OOPS!-page now, but telnet brings the
generic MS-IIS 404-page ... But maybe I mistyped something ...

Keep us up to date,
Rudi

#4543 From: Jody <kjv-av1611@...>
Date: Thu May 6, 2004 9:42 pm
Subject: Re: [NH] Viewing *.php Files
notetabber
Send Email Send Email
 
Hi Rudolf

>Basically You can use _any_ file suffix, if You fix Your server accordingly.
>My http.conf contains
>
>AddType application/x-httpd-php .php
>AddType application/x-httpd-php .php3
>AddType application/x-httpd-php .phtml
>
>which means that all files with those suffixes are parsed
>(=preprocessed) by php.

>> Website Application Settings
>> This page allows you to make changes to how your website executes
>> applications such as ASP, ASP.NET, Perl and PHP.
>
>What kinda settings does that offer?

I'm finding out; we've gone as far as we can on the list. Thanks!

>BTW, I just got back to the http://www.sojourner.us/test/install.php.
>
>Rather odd:
>In the browser, it shows me Your OOPS!-page now, but telnet brings the
>generic MS-IIS 404-page ... But maybe I mistyped something ...

That would be correct. I don't know why the pages are not found -
it is there. I just finished making the error  page just playing
around when I saw the custom error messages icon in my web
configuration.

FWIW, my Ws_FtpLe says it is a MS NT server I'm on. My guess is I
need to have my server guy give me PHP rights.

Take care,
Jody Adair

The whole world doth err save you and me,
       and even thou doest err some!
         http://clean-funnies.com
    http://notetab.net, http://fookes.us

#4544 From: Marcelo de Castro Bastos <mcblista@...>
Date: Thu May 6, 2004 11:06 pm
Subject: Re: [NH] &
mcbastos
Send Email Send Email
 
On 6/5/2004 13:31, John Zeman invited the wrath of the gods by saying:

> I've never read the *official* reason why certain characters such as
>
>& should be converted, but I know in many programming languages & is
>a command.  And when & is used as anything other than a command the
>script fails unless the & has been escaped.
>
>Basically, that's what the & is, a safe way to use & in your html
>even though all the browsers I'm aware of will display it either way.
>
>Besides & I also convert non breaking spaces, single, and double
>quotes.  It may not be necessary but it makes it easy for me to
>differentiate the html code from the plain text in the document.
>
>
>
&, < and > are "reserved" characters in HTML. This means that they
should be used ONLY for marking elements (<>) or entities (&). This way,
the browser parser won't have to "guess" if you are using them for other
things.

That means: the ONLY syntactically-allowed way to use "&" in HTML is as
the prefix for an entity. So, if you WANT and "&" there, you have to use
the equivalent entity instead.

Since there are a LOT of badly-coded pages out there, in practice
browsers have additional code to try and "guess" what to do when they
find things that aren't standard HTML. That's why you find sites with
unescaped "&" in the middle of the code, or unterminated entities, and
it still displays as intended. But you shouldn't trust on the browser
guesses; you should try to create syntactically-valid HTML instead.

Double-quotes (") used to be considered reserved too, but this is no
longer true. You may prefer leaving them as entities for the reason you
mentioned (easier to separate them from the code), but it's not
necessary to validate. Single-quotes were never reserved, so the same
applies. OTOH, if there are a LOT of quotes in the text (for instance, a
dialogue),  converting them into entities will make your pages a bit larger.


--
Marcelo de Castro Bastos

-=-=-
... No one is listening until you make a mistake.
* TagZilla 0.049

#4545 From: "John Zeman" <john041650@...>
Date: Thu May 6, 2004 11:45 pm
Subject: Re: [NH] &
john041650
Send Email Send Email
 
--- In ntb-html@yahoogroups.com, Marcelo de Castro Bastos
<mcblista@t...> wrote:

> &, < and > are "reserved" characters in HTML. This means that they
> should be used ONLY for marking elements (<>) or entities (&). This
way,
> the browser parser won't have to "guess" if you are using them for
other
> things.
>


That makes perfect sense Marcelo, and I should have realized it.
Every other language I work with has reserved characters, that's what
I was kinda sorta alluding to earlier.

I was just having a brain hiccup as to what they're called in html.

Thanks for the refresher.

John

#4546 From: sisterscape <sisterscape@...>
Date: Fri May 7, 2004 2:26 am
Subject: Re: [NH] Viewing *.php Files
sisterscape
Send Email Send Email
 
I might be wrong . . . . but I always thought that ASP is to Windows as
PHP is to Linux and that they do not transfer cross-platfom. If you
want to use PHP you might have to change servers.


--- Jody <kjv-av1611@...> wrote:
> Hi Rudolf
>
> >Basically You can use _any_ file suffix, if You fix Your server
> accordingly.
> >My http.conf contains
> >
> >AddType application/x-httpd-php .php
> >AddType application/x-httpd-php .php3
> >AddType application/x-httpd-php .phtml
> >
> >which means that all files with those suffixes are parsed
> >(=preprocessed) by php.
>
> >> Website Application Settings
> >> This page allows you to make changes to how your website executes
> >> applications such as ASP, ASP.NET, Perl and PHP.
> >
> >What kinda settings does that offer?
>
> I'm finding out; we've gone as far as we can on the list. Thanks!
>
> >BTW, I just got back to the
> http://www.sojourner.us/test/install.php.
> >
> >Rather odd:
> >In the browser, it shows me Your OOPS!-page now, but telnet brings
> the
> >generic MS-IIS 404-page ... But maybe I mistyped something ...
>
> That would be correct. I don't know why the pages are not found -
> it is there. I just finished making the error  page just playing
> around when I saw the custom error messages icon in my web
> configuration.
>
> FWIW, my Ws_FtpLe says it is a MS NT server I'm on. My guess is I
> need to have my server guy give me PHP rights.
>
> Take care,
> Jody Adair
>
> The whole world doth err save you and me,
>       and even thou doest err some!
>         http://clean-funnies.com
>    http://notetab.net, http://fookes.us
>
>





__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover

#4547 From: "Mike Hopkins" <ironmike@...>
Date: Fri May 7, 2004 4:55 am
Subject: Re: [NH] Delete last request please!
ironmike52402
Send Email Send Email
 
----- Original Message -----

> >The last time I looked WS_FTP LE
>>was no longer free. But that changes on occasion.
*************************************************

I gave  up my ancient copy of WS_FTP LE
some time ago. I liked it better than
WS_FTP Pro, and had keept it around because
it was simple and dependable (and had the coolest
notification sounds!)

I am now using FileZilla, A FREE-of-charge
GNU licensed ftp client FREE-ly downloaded
from Sourceforg:

www.sourceforge.net/projects/filezilla

FileZilla is a little more complex than WS_FTP LE
but is MUCH faster, and the added features
are useful. Try it.

Mike Hopkins
ironmike |AT| inav.net

#4548 From: "Greg Chapman" <greg@...>
Date: Fri May 7, 2004 8:13 am
Subject: RE: [NH] Delete last request please!
gregchapmanuk
Send Email Send Email
 
> The last time I looked WS_FTP LE was no longer free. But that
> changes on occasion.

Here in the UK full versions, with no limitations, of WS_FTP Pro v7.6 have
begun to appear on magazine cover disks.  Perhaps that is why the LE edition
has "disappeared".

Greg

#4549 From: Rudolf Horbas <rhorbas@...>
Date: Fri May 7, 2004 9:02 am
Subject: Re: [NH] Viewing *.php Files
rhorbas
Send Email Send Email
 
sisterscape wrote:

> I might be wrong . . . . but I always thought that ASP is to Windows as
> PHP is to Linux and that they do not transfer cross-platfom. If you
> want to use PHP you might have to change servers.

You're wrong concerning the php/Linux part. Although it comes from a
Linux/Unix background, php runs fine on Windows as server OS.

I have a local Apache/php installation running on XP (98 works too) for
development and rarely get a problem transferring scripts to the *nix
production servers.

But Jody wanted to have this case closed anyway ... :-)

Rudi

#4550 From: "Grant MacKenzie" <emerge@...>
Date: Fri May 7, 2004 10:21 am
Subject: RE: [NH] Viewing *.php Files
grantneilsonmac
Send Email Send Email
 
Hi,
> I might be wrong . . . . but I always thought that ASP is to Windows as
> PHP is to Linux and that they do not transfer cross-platfom. If you
> want to use PHP you might have to change servers.

Although am not expert on PHP my understanding is that PHP works fine on
windows.
I've been a long time fan of ASPs scripting simplicity, I don't want to be a
programmer so I can't be bothered with the steep leaning curve that is .NET
so I have been taking a look at PHP5 and I am somewhat impressed especially
with it's improved XML support, the sqlite database, easy access to
COM,...etc. so I signed on to an account with PHP running on IIS6 and also
has ASP which sounds pretty much like your host setup...

I installed PHP5 on IIS locally pretty easily, they give you 2 choices as a
ISAPI filter or CGI.
I choose ISAPI. ASP is also an ISAPI application... Apparently the CGI dll
is more stable though..

Make sure IIS knows about PHP
   go to the IIS manager snap in in the mmc{right click my computer -->
manage }
   go to the default website -- right click ---> properties --> you are in
the main tabbed properties dialogue
   Tab --> ASAPI Filters make sure PHP is a registered filter if not add it.
   Tab --> Home directory --> Find the configuration button --->Tab app
mapping
   In the 'app mapping' tab make sure the extension .PHP is mapped to the PHP
dll e.g. C:\PHP\php5isapi.dll
   Note the cgi dll is different if you want to map to that instead.

Bob's ya uncle..

To view your server stuff in your browser, note tab has one of the best
solutions around

In NoteTab in the view--> options dialogue
Ta--> HTML Files
     'Server name' ought to be 'localhost'
     'Physical Path' Find the physical path to your web site on your local
harddrive.

When you use notetabs to browse {F8} it will now load from the localhost
server e.g.
http://localhost/develop/phpInfo.php

Now when you load from the server there is 1 gothcha in that you are going
to run into caching problems so hold down ctrl when you refresh {F5} or load
a page from the browser served from your server otherwise you won't see the
server side scripting changes you have made.

Hope this helps Grant.

#4551 From: Jody <kjv-av1611@...>
Date: Fri May 7, 2004 3:50 pm
Subject: Re: [NH] Viewing *.php Files
notetabber
Send Email Send Email
 
Hi Rudolf,

I was only trying to close it as far as what I needed. Not much
more could be said as far as my server setup. I find Grant's
message interesting and will look into it later. Yes, Xenu says
the server is the IIS, Grant.

>> I might be wrong . . . . but I always thought that ASP is to Windows as
>> PHP is to Linux and that they do not transfer cross-platfom. If you
>> want to use PHP you might have to change servers.
>
>You're wrong concerning the php/Linux part. Although it comes from a
>Linux/Unix background, php runs fine on Windows as server OS.
>
>I have a local Apache/php installation running on XP (98 works too) for
>development and rarely get a problem transferring scripts to the *nix
>production servers.
>
>But Jody wanted to have this case closed anyway ... :-)


Happy html'n!
Jody

    mailto:ntb-html-UnSubscribe@yahoogroups.com
      http://groups.yahoo.com/group/ntb-html
      www.notetab.net  www.clean-funnies.com

Messages 4522 - 4551 of 7309   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help