Beginner Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherBeginner Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 18th, 2003, 02:50 PM
k89mmk k89mmk is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: Newfoundland, Canada
Posts: 97 k89mmk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 23 m 15 sec
Reputation Power: 6
PHP not supported - how can i tell for sure?

I've just activated web space with my ISP. I asked if PHP was supported, and they say that PHP 2 is definately supported. But I made a site called test.php with the very simple code
Code:
<HTML>
<HEAD><TITLE></TITLE>
</HEAD>
<BODY BGCOLOR="#C0C0C0" TEXT="#FF0000">
<center>
There should be more text below this line.<br><br><br>

<?php
echo "testing";
?>
</center>
</BODY>
</HTML>

You can have a look for yourself if you like - http://home.thezone.net/~longb/test.php
When you load this page, view source - the php is still there. The server seems to be completely ignoring the php, just printing it as it would any old html. This tells me that php is not supported. I tried phpinfo(); but the same thing happened - nothing!!! Anything between the <?php ?> tags is completely ignored, but still there when you view source. So am I right in assuming php is not supported? I've brought this question to my ISP, but they are near impossible to deal with and have not answered my question at all. I'm waiting on a reply from a supervisor now.

Thanks.

Reply With Quote
  #2  
Old September 18th, 2003, 02:52 PM
drgroove's Avatar
drgroove drgroove is offline
pushing envelopes, not pencils
Dev Shed God 2nd Plane (6000 - 6499 posts)
 
Join Date: Feb 2002
Posts: 6,225 drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Day 4 h 44 m 44 sec
Reputation Power: 174
" they say that PHP 2 is definately supported"

PHP 2???!!!

Is your ISP using a server from the late '90's???
__________________
Give a person code, and they'll hack for a day; Teach them how to code, and they'll hack forever.
Analyze twice; hack once.
The world's first existential ITIL question: If a change is released into production without a ticket to track it,
was it actually released?


About DrGroove: ITIL-Certified IT Process Engineer - Enterprise Application Architect -
Freelance IT Journalist - Devshed Moderator - Funk Bassist Extraordinaire


Reply With Quote
  #3  
Old September 18th, 2003, 02:53 PM
k89mmk k89mmk is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: Newfoundland, Canada
Posts: 97 k89mmk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 23 m 15 sec
Reputation Power: 6
Probably. They don't seem to have a clue. But unfortunately, they are the only providers of cable internet in the area so we can't leave them.

Reply With Quote
  #4  
Old September 18th, 2003, 02:54 PM
URSLOWR URSLOWR is offline
<? unset($sanity) ?>
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jul 2003
Posts: 613 URSLOWR User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 1 m 38 sec
Reputation Power: 6
PHP 2? If that's correct, then that version outdated. Looking at the PHP.net site, PHP 4.3.3 is current.
__________________
"I haven't failed, I've found 10,000 ways that won't work."
- Thomas Edison

-=Rick=-

Chat Refinance Loans

Reply With Quote
  #5  
Old September 18th, 2003, 02:54 PM
jharnois's Avatar
jharnois jharnois is offline
mod_dev_shed
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Sep 2002
Location: Atlanta, GA
Posts: 14,344 jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Week 2 Days 6 h 26 m 32 sec
Reputation Power: 787
PHP 2? I hope that's a typo!

That's so old it's only found in the Museum on php.net. Latest is 4.3.3 w/ a beta version of 5 out as well.
__________________
# Jeremy

Explain your problem instead of asking how to do what you decided was the solution.

Reply With Quote
  #6  
Old September 18th, 2003, 02:56 PM
k89mmk k89mmk is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: Newfoundland, Canada
Posts: 97 k89mmk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 23 m 15 sec
Reputation Power: 6
yes, they said PHP 2 - its not a typo!!! Maybe i should tell them to upgrade? Does anyone else use Rogers cable internet here???? Thats who it is.

Reply With Quote
  #7  
Old September 18th, 2003, 02:56 PM
URSLOWR URSLOWR is offline
<? unset($sanity) ?>
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jul 2003
Posts: 613 URSLOWR User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 1 m 38 sec
Reputation Power: 6
You can host a site with many other companies out there. For one, there is a user on this place I would recommend. Contact "shinepuppy" from this devshed forum, just look up his username, he has reliable service.

Quote:
Originally posted by k89mmk
Probably. They don't seem to have a clue. But unfortunately, they are the only providers of cable internet in the area so we can't leave them.

Reply With Quote
  #8  
Old September 18th, 2003, 02:57 PM
drgroove's Avatar
drgroove drgroove is offline
pushing envelopes, not pencils
Dev Shed God 2nd Plane (6000 - 6499 posts)
 
Join Date: Feb 2002
Posts: 6,225 drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Day 4 h 44 m 44 sec
Reputation Power: 174
Quote:
Originally posted by k89mmk
yes, they said PHP 2 - its not a typo!!! Maybe i should tell them to upgrade? Does anyone else use Rogers cable internet here???? Thats who it is.


You should tell them to go get bent! There are too many high-quality web hosting providers on this planet for you to have to deal w/ a host which is using such an outdated version of PHP.

Reply With Quote
  #9  
Old September 18th, 2003, 02:58 PM
k89mmk k89mmk is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: Newfoundland, Canada
Posts: 97 k89mmk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 23 m 15 sec
Reputation Power: 6
But I want a site that is hosted for free, with no ads. ?????

Reply With Quote
  #10  
Old September 18th, 2003, 03:03 PM
URSLOWR URSLOWR is offline
<? unset($sanity) ?>
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jul 2003
Posts: 613 URSLOWR User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 1 m 38 sec
Reputation Power: 6
Free with no ads will be hard to find, but I'm sure there are some.

Quote:
Originally posted by k89mmk
But I want a site that is hosted for free, with no ads. ?????

Reply With Quote
  #11  
Old September 18th, 2003, 03:05 PM
URSLOWR URSLOWR is offline
<? unset($sanity) ?>
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jul 2003
Posts: 613 URSLOWR User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 1 m 38 sec
Reputation Power: 6
Try this site, and see what you come up with.

Reply With Quote
  #12  
Old September 18th, 2003, 03:10 PM
jharnois's Avatar
jharnois jharnois is offline
mod_dev_shed
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Sep 2002
Location: Atlanta, GA
Posts: 14,344 jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Week 2 Days 6 h 26 m 32 sec
Reputation Power: 787
You can get enough space for most needs for as little as $5 USD a month. Is that too much? The majority of free hosts are more trouble than their worth.

Reply With Quote
  #13  
Old September 18th, 2003, 03:14 PM
k89mmk k89mmk is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: Newfoundland, Canada
Posts: 97 k89mmk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 23 m 15 sec
Reputation Power: 6
It just seems silly to pay that when I can use this one for free! I've figured out that if I use the extension php2, it realises that I'm trying to use php. But I'm getting an error thats not really making sense ... this is more problem then its worth. Maybe I will suck it up and pay for a host.

Reply With Quote
  #14  
Old September 18th, 2003, 03:17 PM
drgroove's Avatar
drgroove drgroove is offline
pushing envelopes, not pencils
Dev Shed God 2nd Plane (6000 - 6499 posts)
 
Join Date: Feb 2002
Posts: 6,225 drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Day 4 h 44 m 44 sec
Reputation Power: 174
Have you browsed through the new web hosting forums here on devshed? There are 2 forums you would be interested in - free webhosting, and web hosting requests.

Chances are, with a little research, you can find a webhost (free, or supercheap) that will do what you need it to.

There is also webhosters.com...

Reply With Quote
  #15  
Old September 18th, 2003, 03:19 PM
thrasher6670 thrasher6670 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Location: canada eh
Posts: 101 thrasher6670 New User: is a brand new recruit and a unknown entity at this point. 
Time spent in forums: 1 h 23 m 55 sec
Reputation Power: 0
Send a message via ICQ to thrasher6670
hey, another alterantive is you could just host it on your own machine if you have a static IP.

just install apache (or iis i guess) and php, mysql too if you wanna do some DB work.

with iis its as simple as installing and your done. with apache its a little more work, but everyone likes apache better.
__________________
Dont worry everything is getting nicely out of hand!
http://thrashcorp.com
Have you clubbed a seal today?

Reply With Quote
Reply