Connecting Tech Pros Worldwide Forums | Help | Site Map

php

GoGs
Guest
 
Posts: n/a
#1: Sep 30 '05
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

Dave Pyles
Guest
 
Posts: n/a
#2: Sep 30 '05

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
Terry
Guest
 
Posts: n/a
#3: Sep 30 '05

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 =----
Colin Fine
Guest
 
Posts: n/a
#4: Sep 30 '05

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]
GoGs
Guest
 
Posts: n/a
#5: Oct 1 '05

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
Jerry Stuckle
Guest
 
Posts: n/a
#6: Oct 1 '05

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
==================
Nicholas Sherlock
Guest
 
Posts: n/a
#7: Oct 1 '05

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
Bent Stigsen
Guest
 
Posts: n/a
#8: Oct 1 '05

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
GoGs
Guest
 
Posts: n/a
#9: Oct 1 '05

re: php



Thanks...

--
GoGs
Colin Fine
Guest
 
Posts: n/a
#10: Oct 2 '05

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