| PHP, MySQL General PHP questions. Or go to our PHPsuexec Forum >> |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread |
|
|
#1 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Sep 2004
3 posts
Gave thanks: 0
Thanked 0 times
|
php not working?
.. sigh. this is incredibly frustrating, and most likely due to the fact that i'm an idiot. i had the same problem on my last server, and i received nothing useful in their answer to my ticket. maybe some of you can help me out. .. i hope. i'm about ready to give up.
the problem? php refusing to work, even if the coding is correct and runs perfectly on a friend's server. quite frankly, it's pissing me off. i've been webdesigning for years now in html and css, and though i'm a beginner at php i refuse to be left behind. on my old server, i was able to get a pure php/mysql script running on one subdomain. but as soon as i tried using more basic php scripts in a different directory, and even the same one, they wouldn't work and the php showed in the source file. very annoying. so i submitted a ticket, waited almost a month and got a worthless response that seemed like it was sent from someone foreign trying to speak english. so i quickly cancelled with that host, and signed up here. i'm very upset at the fact that now, php isn't working at all. not even when i installed the backup of my php/sql journal script. .. so please, help? |
|
|
|
|
|
#2 (permalink) |
|
minor deity
Super #1
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,338 posts
Gave thanks: 23
Thanked 93 times
|
example code?
you can make a simple test: <?php phpinfo () ?> Save that as test.php. Put it into the problem directory and run it by calling it through your browser. (i.e. http://mysite.com/testdirectory/test.php) John
__________________
Proud to be a Surmunity Mod! XEON Make a fundamental difference! My Sites: Curious about Brewing Beer? Join the community! >>>>> Some Change is GOOD! Keep your paycheck! Support the Fair Tax Get into an Art museum Victorian London It's your brain -ON WEB - mybrainhost.com (under development) What SHOULD Government do? Much Less than it Does! |
|
|
|
|
|
#3 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Sep 2004
3 posts
Gave thanks: 0
Thanked 0 times
|
so far i've tried three, all in index.php located in http://test.rivenshadow.com/.
number one: Code:
<? include("updates.php"); ?>
Code:
<?php
$page = basename($x);
if(!$x)
include("updates.php");
else
include("$x.php")
?>
Code:
<?php echo '<p>Hello World</p>'; ?> |
|
|
|
|
|
#4 (permalink) |
|
minor deity
Super #1
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,338 posts
Gave thanks: 23
Thanked 93 times
|
did you try the phpinfo script?
Did it fail too? If so, email support. They'll need your account name.
__________________
Proud to be a Surmunity Mod! XEON Make a fundamental difference! My Sites: Curious about Brewing Beer? Join the community! >>>>> Some Change is GOOD! Keep your paycheck! Support the Fair Tax Get into an Art museum Victorian London It's your brain -ON WEB - mybrainhost.com (under development) What SHOULD Government do? Much Less than it Does! |
|
|
|