Yahoo Web hosting doesn't allow php classes?, script works in xampp but not in my yahoo webspace |
![]() ![]() |
Yahoo Web hosting doesn't allow php classes?, script works in xampp but not in my yahoo webspace |
| leo |
Nov 7 2009, 07:59 AM
Post
#1
|
|
Group: Members Posts: 3 |
Hi There-
I've created a script that includes a class. It works in xampp but not in my yahoo webspace. Does this have anything to do with 'register_globals' being turned off? I've researched 'register_globals' and it does not seem to be the problem. My code is very simple and is not specific to php 4 or 5, I am just creating and using a class. view code: http://leobee.com/php/page1.txt http://leobee.com/php/page1.class.txt http://leobee.com/php/page.php Any help is appreciated! |
|
|
|
| leo |
Nov 7 2009, 08:45 AM
Post
#2
|
|
Group: Members Posts: 3 |
I'm new at programing, However I'll try to be more specific.
The text in the 'page.php' writes to the screen correctly when I have it in xampp. The same text doesn't write to the screen when I place the script(s) on the yahoo web hosting server. view code: http://leobee.com/php/page1.txt http://leobee.com/php/page1.class.txt Here is the page on my webspace. http://leobee.com/php/page.php Is there any more information that is needed? I'm really confused here. Does anyone have experience with 'class' not working on Yahoo web- hosting? |
|
|
|
| leo |
Nov 7 2009, 10:27 AM
Post
#3
|
|
Group: Members Posts: 3 |
It's fixed. for some reason the server takes a long time to update a file.
|
|
|
|
![]() ![]() |