icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » PHP, MySQL » php not working?

PHP, MySQL General PHP questions. Or go to our PHPsuexec Forum >>

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread
Old September 13th, 2004, 6:13 PM   #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?
mordyn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 13th, 2004, 6:36 PM   #2 (permalink)
minor deity
Super #1
 
Bigjohn's Avatar
 
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 PASS60 PASS61
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!
Bigjohn is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 13th, 2004, 7:30 PM   #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"); ?>
number two:
Code:
<?php
$page = basename($x);
if(!$x)
include("updates.php");
else
include("$x.php")
?>
number three:
Code:
<?php echo '<p>Hello World</p>'; ?>
all produced white, blank pages, and when i right-clicked and viewed source, the php code was visable - not supposed to happen.
mordyn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 13th, 2004, 7:33 PM   #4 (permalink)
minor deity
Super #1
 
Bigjohn's Avatar
 
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 PASS60 PASS61
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!
Bigjohn is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 13th, 2004, 7:35 PM   #5 (permalink)
Registered User
Fresh Surpasser
 
Joined in Sep 2004
3 posts
Gave thanks: 0
Thanked 0 times
tried that as well, with the same results. thanks for your help, though. i'll go ahead and e-mail support.
mordyn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On