[PHP] Really easy question

2001-05-06 Thread biscut

How can i check to see if PHP has been enabled, I enabled the modules etc
after they were compiled and i have managed to get Apache working properly
again but now even when i do the basic tutorial stuff then I get a blank
page rather than what I am supposed to get, the tutorial page is no help as
all it says is see your network admin to get PHP enabled this is only on
my home machine so I guess I am the network admin...kind of anyway...can
someone please help...

thanks very much
biscut




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


Re: [PHP] Really easy question

2001-05-06 Thread Tom Carter

The easiest way is to create a simple page (called say test.php) with the
following

?php
phpinfo();
?

This should display a page with all sorts of information about your PHP,
and serves as a good test as to whether or not PHP is working

Good luck!

Tom Carter
Web Architect
roundcorners ltd.

On Sun, 6 May 2001, biscut wrote:

 How can i check to see if PHP has been enabled, I enabled the modules etc
 after they were compiled and i have managed to get Apache working properly
 again but now even when i do the basic tutorial stuff then I get a blank
 page rather than what I am supposed to get, the tutorial page is no help as
 all it says is see your network admin to get PHP enabled this is only on
 my home machine so I guess I am the network admin...kind of anyway...can
 someone please help...

 thanks very much
 biscut





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Really easy question

2001-05-06 Thread biscut

Thanks very much for your help on this, turns out there wasnt anything
wrong with it, I was trying to view the page with Netscape 4.7 on hte
Linux machine and getting blank pages, if I viewed it with IE 5.5 on a
windows machine then everything works fine...I have no idea why this is
happening but at least it works and I am not going completely mad...

Thanks again
biscut


 -Original Message-
 From: Tom Carter [mailto:[EMAIL PROTECTED]]
 Sent: 06 May 2001 20:44
 To: biscut
 Cc: [EMAIL PROTECTED]
 Subject: Re: [PHP] Really easy question


 The easiest way is to create a simple page (called say test.php) with the
 following

 ?php
 phpinfo();
 ?

 This should display a page with all sorts of information about your PHP,
 and serves as a good test as to whether or not PHP is working

 Good luck!

 Tom Carter
 Web Architect
 roundcorners ltd.

 On Sun, 6 May 2001, biscut wrote:

  How can i check to see if PHP has been enabled, I enabled the
 modules etc
  after they were compiled and i have managed to get Apache
 working properly
  again but now even when i do the basic tutorial stuff then I get a blank
  page rather than what I am supposed to get, the tutorial page
 is no help as
  all it says is see your network admin to get PHP enabled this
 is only on
  my home machine so I guess I am the network admin...kind of anyway...can
  someone please help...
 
  thanks very much
  biscut
 
 
 


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Really easy question

2001-05-06 Thread Jack Dempsey

check your html whenver you see blank pages in netscape, but they work in
IE...

-jack

-Original Message-
From: biscut [mailto:[EMAIL PROTECTED]]
Sent: Sunday, May 06, 2001 5:03 PM
To: Tom Carter
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Really easy question


Thanks very much for your help on this, turns out there wasnt anything
wrong with it, I was trying to view the page with Netscape 4.7 on hte
Linux machine and getting blank pages, if I viewed it with IE 5.5 on a
windows machine then everything works fine...I have no idea why this is
happening but at least it works and I am not going completely mad...

Thanks again
biscut


 -Original Message-
 From: Tom Carter [mailto:[EMAIL PROTECTED]]
 Sent: 06 May 2001 20:44
 To: biscut
 Cc: [EMAIL PROTECTED]
 Subject: Re: [PHP] Really easy question


 The easiest way is to create a simple page (called say test.php) with the
 following

 ?php
 phpinfo();
 ?

 This should display a page with all sorts of information about your PHP,
 and serves as a good test as to whether or not PHP is working

 Good luck!

 Tom Carter
 Web Architect
 roundcorners ltd.

 On Sun, 6 May 2001, biscut wrote:

  How can i check to see if PHP has been enabled, I enabled the
 modules etc
  after they were compiled and i have managed to get Apache
 working properly
  again but now even when i do the basic tutorial stuff then I get a blank
  page rather than what I am supposed to get, the tutorial page
 is no help as
  all it says is see your network admin to get PHP enabled this
 is only on
  my home machine so I guess I am the network admin...kind of anyway...can
  someone please help...
 
  thanks very much
  biscut
 
 
 


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Really easy question

2001-05-06 Thread heinisch

At 06.05.01  22:03, you wrote:

Thanks very much for your help on this, turns out there wasnt anything
wrong with it, I was trying to view the page with Netscape 4.7 on hte
Linux machine and getting blank pages, if I viewed it with IE 5.5 on a
windows machine then everything works fine...I have no idea why this is
happening but at least it works and I am not going completely mad...

Thanks again
biscut
Hi biscut,
you are wise if you use NS to view your pages, because if you make a mistake
NS will show it, mostly nothing.
Look at the source (right mouse button) sometimes the wrong oart of code
will be shown blinking.
Otherwise check your code for missing endtags like /td/tr/table.
These guys at MS couldnĀ“t program a correct html - engine in their
Office packages, therfor they made their IE a little tolerant ;-)
Best is to check the code with tidy (http://www.w3c.com or something like this)
You will get all errors shown.
HTH Oliver


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Really easy question

2001-05-06 Thread biscut

I did, even to the extent of copying and pasting the text straight off of
the tutorial into the file that I created using vi.

Very strange
biscut


 -Original Message-
 From: Jack Dempsey [mailto:[EMAIL PROTECTED]]
 Sent: 06 May 2001 22:10
 To: biscut; Tom Carter
 Cc: [EMAIL PROTECTED]
 Subject: RE: [PHP] Really easy question


 check your html whenver you see blank pages in netscape, but they work in
 IE...

 -jack

 -Original Message-
 From: biscut [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, May 06, 2001 5:03 PM
 To: Tom Carter
 Cc: [EMAIL PROTECTED]
 Subject: RE: [PHP] Really easy question


 Thanks very much for your help on this, turns out there wasnt anything
 wrong with it, I was trying to view the page with Netscape 4.7 on hte
 Linux machine and getting blank pages, if I viewed it with IE 5.5 on a
 windows machine then everything works fine...I have no idea why this is
 happening but at least it works and I am not going completely mad...

 Thanks again
 biscut


  -Original Message-
  From: Tom Carter [mailto:[EMAIL PROTECTED]]
  Sent: 06 May 2001 20:44
  To: biscut
  Cc: [EMAIL PROTECTED]
  Subject: Re: [PHP] Really easy question
 
 
  The easiest way is to create a simple page (called say
 test.php) with the
  following
 
  ?php
  phpinfo();
  ?
 
  This should display a page with all sorts of information about your PHP,
  and serves as a good test as to whether or not PHP is working
 
  Good luck!
 
  Tom Carter
  Web Architect
  roundcorners ltd.
 
  On Sun, 6 May 2001, biscut wrote:
 
   How can i check to see if PHP has been enabled, I enabled the
  modules etc
   after they were compiled and i have managed to get Apache
  working properly
   again but now even when i do the basic tutorial stuff then I
 get a blank
   page rather than what I am supposed to get, the tutorial page
  is no help as
   all it says is see your network admin to get PHP enabled this
  is only on
   my home machine so I guess I am the network admin...kind of
 anyway...can
   someone please help...
  
   thanks very much
   biscut
  
  
  
 
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  To contact the list administrators, e-mail: [EMAIL PROTECTED]


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Really easy question

2001-05-06 Thread biscut

Believe it or not then the code is right...exactly right (I know you dont
believe it *grin* even the code that Tom kindly wrote in didnt work and I
only had html and /html on either side of what he wrote...I don't
understand why but at least it partially works...better than what I thought
I had

Regards
biscut


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: 06 May 2001 22:15
 To: [EMAIL PROTECTED]
 Subject: RE: [PHP] Really easy question


 At 06.05.01  22:03, you wrote:
 
 Thanks very much for your help on this, turns out there wasnt anything
 wrong with it, I was trying to view the page with Netscape 4.7 on hte
 Linux machine and getting blank pages, if I viewed it with IE 5.5 on a
 windows machine then everything works fine...I have no idea why this is
 happening but at least it works and I am not going completely mad...
 
 Thanks again
 biscut
 Hi biscut,
 you are wise if you use NS to view your pages, because if you
 make a mistake
 NS will show it, mostly nothing.
 Look at the source (right mouse button) sometimes the wrong oart of code
 will be shown blinking.
 Otherwise check your code for missing endtags like /td/tr/table.
 These guys at MS couldnĀ“t program a correct html - engine in their
 Office packages, therfor they made their IE a little tolerant ;-)
 Best is to check the code with tidy (http://www.w3c.com or
 something like this)
 You will get all errors shown.
 HTH Oliver


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Really easy question

2001-05-06 Thread Steve Maroney


create a new php file. If you call the function phpinfo(), you should get
a bunch of useful information. If you're getting an error message
complianing about PHP not being enabled, then check out your configuration
file.

I think there is an line something like enable engine. That might be
turned off, but it should be on by default.

Hope this helps,
Steve Maroney
[EMAIL PROTECTED]




On Sun, 6 May 2001, biscut wrote:

 How can i check to see if PHP has been enabled, I enabled the modules etc
 after they were compiled and i have managed to get Apache working properly
 again but now even when i do the basic tutorial stuff then I get a blank
 page rather than what I am supposed to get, the tutorial page is no help as
 all it says is see your network admin to get PHP enabled this is only on
 my home machine so I guess I am the network admin...kind of anyway...can
 someone please help...

 thanks very much
 biscut





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Really easy question

2001-05-06 Thread Chris Mason

Check for output compression in output buffering in your php script, I don't
think it always works.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
biscut
Sent: Sunday, May 06, 2001 5:21 PM
To: Jack Dempsey
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Really easy question


I did, even to the extent of copying and pasting the text straight off of
the tutorial into the file that I created using vi.

Very strange
biscut


 -Original Message-
 From: Jack Dempsey [mailto:[EMAIL PROTECTED]]
 Sent: 06 May 2001 22:10
 To: biscut; Tom Carter
 Cc: [EMAIL PROTECTED]
 Subject: RE: [PHP] Really easy question


 check your html whenver you see blank pages in netscape, but they work in
 IE...

 -jack

 -Original Message-
 From: biscut [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, May 06, 2001 5:03 PM
 To: Tom Carter
 Cc: [EMAIL PROTECTED]
 Subject: RE: [PHP] Really easy question


 Thanks very much for your help on this, turns out there wasnt anything
 wrong with it, I was trying to view the page with Netscape 4.7 on hte
 Linux machine and getting blank pages, if I viewed it with IE 5.5 on a
 windows machine then everything works fine...I have no idea why this is
 happening but at least it works and I am not going completely mad...

 Thanks again
 biscut


  -Original Message-
  From: Tom Carter [mailto:[EMAIL PROTECTED]]
  Sent: 06 May 2001 20:44
  To: biscut
  Cc: [EMAIL PROTECTED]
  Subject: Re: [PHP] Really easy question
 
 
  The easiest way is to create a simple page (called say
 test.php) with the
  following
 
  ?php
  phpinfo();
  ?
 
  This should display a page with all sorts of information about your PHP,
  and serves as a good test as to whether or not PHP is working
 
  Good luck!
 
  Tom Carter
  Web Architect
  roundcorners ltd.
 
  On Sun, 6 May 2001, biscut wrote:
 
   How can i check to see if PHP has been enabled, I enabled the
  modules etc
   after they were compiled and i have managed to get Apache
  working properly
   again but now even when i do the basic tutorial stuff then I
 get a blank
   page rather than what I am supposed to get, the tutorial page
  is no help as
   all it says is see your network admin to get PHP enabled this
  is only on
   my home machine so I guess I am the network admin...kind of
 anyway...can
   someone please help...
  
   thanks very much
   biscut
  
  
  
 
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  To contact the list administrators, e-mail: [EMAIL PROTECTED]


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Really easy question

2001-05-06 Thread biscut

I know this is probably going to sound really silly but can you explain that
to me in plain simple english ?? :-) I only started looking at PHP yesterday
*grin*

Thanks for your help
biscut


 -Original Message-
 From: Chris Mason [mailto:[EMAIL PROTECTED]]
 Sent: 06 May 2001 23:04
 To: [EMAIL PROTECTED]
 Subject: RE: [PHP] Really easy question


 Check for output compression in output buffering in your php
 script, I don't
 think it always works.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of
 biscut
 Sent: Sunday, May 06, 2001 5:21 PM
 To: Jack Dempsey
 Cc: [EMAIL PROTECTED]
 Subject: RE: [PHP] Really easy question


 I did, even to the extent of copying and pasting the text straight off of
 the tutorial into the file that I created using vi.

 Very strange
 biscut


  -Original Message-
  From: Jack Dempsey [mailto:[EMAIL PROTECTED]]
  Sent: 06 May 2001 22:10
  To: biscut; Tom Carter
  Cc: [EMAIL PROTECTED]
  Subject: RE: [PHP] Really easy question
 
 
  check your html whenver you see blank pages in netscape, but
 they work in
  IE...
 
  -jack
 
  -Original Message-
  From: biscut [mailto:[EMAIL PROTECTED]]
  Sent: Sunday, May 06, 2001 5:03 PM
  To: Tom Carter
  Cc: [EMAIL PROTECTED]
  Subject: RE: [PHP] Really easy question
 
 
  Thanks very much for your help on this, turns out there wasnt anything
  wrong with it, I was trying to view the page with Netscape 4.7 on hte
  Linux machine and getting blank pages, if I viewed it with IE 5.5 on a
  windows machine then everything works fine...I have no idea why this is
  happening but at least it works and I am not going completely mad...
 
  Thanks again
  biscut
 
 
   -Original Message-
   From: Tom Carter [mailto:[EMAIL PROTECTED]]
   Sent: 06 May 2001 20:44
   To: biscut
   Cc: [EMAIL PROTECTED]
   Subject: Re: [PHP] Really easy question
  
  
   The easiest way is to create a simple page (called say
  test.php) with the
   following
  
   ?php
   phpinfo();
   ?
  
   This should display a page with all sorts of information
 about your PHP,
   and serves as a good test as to whether or not PHP is working
  
   Good luck!
  
   Tom Carter
   Web Architect
   roundcorners ltd.
  
   On Sun, 6 May 2001, biscut wrote:
  
How can i check to see if PHP has been enabled, I enabled the
   modules etc
after they were compiled and i have managed to get Apache
   working properly
again but now even when i do the basic tutorial stuff then I
  get a blank
page rather than what I am supposed to get, the tutorial page
   is no help as
all it says is see your network admin to get PHP enabled this
   is only on
my home machine so I guess I am the network admin...kind of
  anyway...can
someone please help...
   
thanks very much
biscut
   
   
   
  
  
   --
   PHP General Mailing List (http://www.php.net/)
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
   To contact the list administrators, e-mail:
 [EMAIL PROTECTED]
 
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  To contact the list administrators, e-mail: [EMAIL PROTECTED]
 
 
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  To contact the list administrators, e-mail: [EMAIL PROTECTED]


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]





 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Really easy question

2001-05-06 Thread Dan Lowe

Previously, biscut said:
 Thanks very much for your help on this, turns out there wasnt anything
 wrong with it, I was trying to view the page with Netscape 4.7 on hte
 Linux machine and getting blank pages, if I viewed it with IE 5.5 on a
 windows machine then everything works fine...I have no idea why this is
 happening but at least it works and I am not going completely mad...

You probably forgot to close a table with the /TABLE tag.  IE bends the
rules a bit and allows that to be omitted, Netscape doesn't, and an
unclosed table in Netscape is invisible.

 -dan

-- 
If one synchronized swimmer drowns, do the rest have to drown too?
 -George Carlin

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]