Connecting Tech Pros Worldwide Help | Site Map

php

  #1  
Old September 30th, 2005, 09:55 PM
GoGs
Guest
 
Posts: n/a
i'm a newbie to PHP, just starting of. i've got a couple questions, and i
would be very thankfull if you could answer them in details...

1. how can i find out if my server supports PHP?
all i know is that it doesn't support ASP...

2. i'd like to insert a small frame from some html page to my html page,
but i don't want to do this with framesets. is there any other way?


thanks.

P.S. any good PHP tutorials are welcome... :)

--
GoGs
((delete_))goran@flash.com.hr
  #2  
Old September 30th, 2005, 10:55 PM
Dave Pyles
Guest
 
Posts: n/a

re: php


On 9/30/2005 4:45 PM, GoGs wrote:[color=blue]
> i'm a newbie to PHP, just starting of. i've got a couple questions, and
> i would be very thankfull if you could answer them in details...
>
> 1. how can i find out if my server supports PHP?
> all i know is that it doesn't support ASP...
>
> 2. i'd like to insert a small frame from some html page to my html
> page, but i don't want to do this with framesets. is there any other
> way?
>
>
> thanks.
>
> P.S. any good PHP tutorials are welcome... :)
>[/color]
For your server test try this: make a file named something.php which
contains the following:

<head>
</head>
<body>
<?php
phpinfo();
?>
</body>
</html>

Send it to your server than call the file with your browser. If your
site supports PHP it will let you know. It not, it will just give you a
blank browser window.

Dave Pyles

Dave Pyles
  #3  
Old September 30th, 2005, 11:05 PM
Terry
Guest
 
Posts: n/a

re: php


GoGs wrote:[color=blue]
> i'm a newbie to PHP, just starting of. i've got a couple questions, and
> i would be very thankfull if you could answer them in details...
>
> 1. how can i find out if my server supports PHP?
> all i know is that it doesn't support ASP...[/color]

File name whatever.php loaded to your site -
<?php
phpinfo();
?>
http://www.yourwebsitenamehere.com/whatever.php
If you get a whole bunch of information (that you do not undestand at
this point) - your server supports php.[color=blue]
>
> 2. i'd like to insert a small frame from some html page to my html
> page, but i don't want to do this with framesets. is there any other
> way?[/color]

Once you get a little more knowlegeable in php you can for example have
a <div> that is on every page on the site. Like a navigation bar for
example.
[color=blue]
> P.S. any good PHP tutorials are welcome... :)
>[/color]
http://www.phpfreaks.com/index.php is good - the php manual is hard to
beat IMHO.


--
TK
http://www.wejuggle2.com/
Still Having a Ball


A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet?







..

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
  #4  
Old September 30th, 2005, 11:15 PM
Colin Fine
Guest
 
Posts: n/a

re: php


GoGs wrote:[color=blue]
> i'm a newbie to PHP, just starting of. i've got a couple questions, and
> i would be very thankfull if you could answer them in details...
>
> 1. how can i find out if my server supports PHP?
> all i know is that it doesn't support ASP...
>[/color]
Dobro vece

I don't think there is a general answer - it depends on your web server.
what Server are you using? Do you have access to its configuration file,
start script etc?
[color=blue]
> 2. i'd like to insert a small frame from some html page to my html
> page, but i don't want to do this with framesets. is there any other
> way?[/color]
Look at <iframe>
[color=blue]
>
>
> thanks.[/color]
Molim vas[color=blue]
>
> P.S. any good PHP tutorials are welcome... :)
>[/color]
  #5  
Old October 1st, 2005, 01:35 AM
GoGs
Guest
 
Posts: n/a

re: php


On Fri, 30 Sep 2005 23:45:50 +0200, Dave Pyles <dnpyles@acousticmusic.com>
wrote:
[color=blue]
> On 9/30/2005 4:45 PM, GoGs wrote:[color=green]
>> i'm a newbie to PHP, just starting of. i've got a couple questions, and
>> i would be very thankfull if you could answer them in details...
>> 1. how can i find out if my server supports PHP?
>> all i know is that it doesn't support ASP...
>> 2. i'd like to insert a small frame from some html page to my html
>> page, but i don't want to do this with framesets. is there any
>> other way?
>> thanks.
>> P.S. any good PHP tutorials are welcome... :)
>>[/color]
> For your server test try this: make a file named something.php which
> contains the following:
>
> <head>
> </head>
> <body>
> <?php
> phpinfo();
> ?>
> </body>
> </html>
>[/color]

I write this and i open with beowser and i see what i write...
www.flash.com.hr/nesto.php[color=blue]
> Send it to your server than call the file with your browser. If your
> site supports PHP it will let you know. It not, it will just give you a
> blank browser window.
>
> Dave Pyles
>
> Dave Pyles[/color]



--
GoGs
  #6  
Old October 1st, 2005, 03:25 AM
Jerry Stuckle
Guest
 
Posts: n/a

re: php


GoGs wrote:[color=blue]
> i'm a newbie to PHP, just starting of. i've got a couple questions, and
> i would be very thankfull if you could answer them in details...
>
> 1. how can i find out if my server supports PHP?
> all i know is that it doesn't support ASP...
>[/color]

Maybe ask your hosting company?
[color=blue]
> 2. i'd like to insert a small frame from some html page to my html
> page, but i don't want to do this with framesets. is there any other
> way?
>
>
> thanks.
>
> P.S. any good PHP tutorials are welcome... :)
>[/color]



--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
  #7  
Old October 1st, 2005, 05:45 AM
Nicholas Sherlock
Guest
 
Posts: n/a

re: php


GoGs wrote:[color=blue]
> I write this and i open with beowser and i see what i write...
> www.flash.com.hr/nesto.php[/color]

You mean, you see the source? Then it definitely doesn't have PHP enabled.

Cheers,
Nicholas Sherlock
  #8  
Old October 1st, 2005, 08:05 PM
Bent Stigsen
Guest
 
Posts: n/a

re: php


Nicholas Sherlock wrote:[color=blue]
> GoGs wrote:
>[color=green]
>> I write this and i open with beowser and i see what i write...
>> www.flash.com.hr/nesto.php[/color]
>
> You mean, you see the source? Then it definitely doesn't have PHP enabled.[/color]

Not enabled, and it seems not to be available at all.

Response-header from http://www.flash.com.hr/
....
Server: Apache/1.3.20 Sun Cobalt (Unix) Chili!Soft-ASP/3.6.2
mod_ssl/2.8.4 OpenSSL/0.9.6b mod_layout/3.2 mod_auth_pam_external/0.1
FrontPage/4.0.4.3 mod_perl/1.25
....

Don't know what "Chili!Soft-ASP" is, perl seems to be available, but
alas no PHP. Atleast not announced.

/Bent
  #9  
Old October 1st, 2005, 08:55 PM
GoGs
Guest
 
Posts: n/a

re: php



Thanks...

--
GoGs
  #10  
Old October 2nd, 2005, 06:15 PM
Colin Fine
Guest
 
Posts: n/a

re: php


Dave Pyles wrote:[color=blue]
> On 9/30/2005 4:45 PM, GoGs wrote:
>[color=green]
>> i'm a newbie to PHP, just starting of. i've got a couple questions,
>> and i would be very thankfull if you could answer them in details...
>>
>> 1. how can i find out if my server supports PHP?
>> all i know is that it doesn't support ASP...
>>
>> 2. i'd like to insert a small frame from some html page to my html
>> page, but i don't want to do this with framesets. is there any
>> other way?
>>
>>
>> thanks.
>>
>> P.S. any good PHP tutorials are welcome... :)
>>[/color]
> For your server test try this: make a file named something.php which
> contains the following:
>
> <head>
> </head>
> <body>
> <?php
> phpinfo();
> ?>
> </body>
> </html>
>
> Send it to your server than call the file with your browser. If your
> site supports PHP it will let you know. It not, it will just give you a
> blank browser window.
>
> Dave Pyles
>
> Dave Pyles[/color]

That's assuming that the server is set up with the usual assumptions
about file extensions ...


Colin
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
php-5.2.5 compile error with xmlrpc Benjamin Grieshaber answers 0 December 4th, 2007 12:35 PM
error while doing 'make' in php-5.2.1 tsivaraman@gmail.com answers 0 February 12th, 2007 03:35 PM
php extensions and windows... specifically extension_dir Chris Paul answers 3 December 5th, 2005 12:45 AM
using php to populate a <ul Japhy answers 4 October 4th, 2005 07:05 PM
why can't i reach www.php.net? lawrence answers 3 July 17th, 2005 12:50 AM