Welcome Guest ( Log In | Register)



2 Pages V   1 2 >  
Reply to this topicStart new topic
> Php.
Xedos
post Jan 20 2005, 08:16 AM
Post #1


Give me Reputation and i'll give you some back.
Group Icon

Group: Banned
Posts: 203
Joined: 29-December 04
From: Wirral, Northwest England
Member No.: 3,000



Hey. Could someone tell me whats wrong with my site? http://www.xero.trap17.com/xore. When someone else visits it the php shows and the site works. When I visit it the php doesn't show and I get a blank page for ALL files in the /xore directory. I think this is more a problem with my browser than a problem with trap17. I would just like to check because php needs to be processed by the server. I am getting this in the source:

CODE
<html><body></body></html>


Thanks in advance.
Go to the top of the page
 
+Quote Post
Zaideu
post Jan 20 2005, 08:34 AM
Post #2


Member [Level 2]
*****

Group: Members
Posts: 88
Joined: 12-January 05
Member No.: 3,246



Strange, it shows me a blank page too. I will try later with Mozilla Firefox wink.gif But are you sure you haven't change the CHMOD on this repertory or something like it ? huh.gif

CODE
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
<BODY></BODY></HTML>


This post has been edited by Zaideu: Jan 20 2005, 02:37 PM
Go to the top of the page
 
+Quote Post
bjrn
post Jan 20 2005, 09:46 AM
Post #3


Super Member
*********

Group: Members
Posts: 378
Joined: 8-January 05
Member No.: 3,174



It doesn't work at all for me, just blank pages.

You should check the CHMOD settings for the directory. And if I were you I'd turn off the directory listing for http://www.xero.trap17.com/ smile.gif
Go to the top of the page
 
+Quote Post
Zaideu
post Jan 20 2005, 10:37 AM
Post #4


Member [Level 2]
*****

Group: Members
Posts: 88
Joined: 12-January 05
Member No.: 3,246



QUOTE(bjrn @ Jan 20 2005, 10:46 AM)
You should check the CHMOD settings for the directory. And if I were you I'd turn off the directory listing for http://www.xero.trap17.com/ smile.gif
*


Yeha put a index.*** in this directory if you don't want to be hacked wink.gif
Go to the top of the page
 
+Quote Post
no9t9
post Jan 20 2005, 02:06 PM
Post #5


Privileged Member
*********

Group: Members
Posts: 773
Joined: 4-November 04
Member No.: 2,118



works fine for me
Go to the top of the page
 
+Quote Post
Xedos
post Jan 20 2005, 05:33 PM
Post #6


Give me Reputation and i'll give you some back.
Group Icon

Group: Banned
Posts: 203
Joined: 29-December 04
From: Wirral, Northwest England
Member No.: 3,000



See. Some see it some don't. I'll try CHMOD.
Go to the top of the page
 
+Quote Post
cragllo
post Jan 20 2005, 09:17 PM
Post #7


Privileged Member
*********

Group: Members
Posts: 933
Joined: 24-August 04
Member No.: 892



If you just have a document with only php, and no html tags, then nothing will show up, thats what PHP is, a Hypertext Processor

The server program processed the PHP code and turns it into html (if nothing is specified in the code the a blank page is shown)

if you go here: http://sponkindustries.co.uk/new/conn.php then it will show as a blank document coz it only had php cod in it, it is the connection to my mysql databases...

This post has been edited by cragllo: Jan 20 2005, 09:19 PM
Go to the top of the page
 
+Quote Post
X3r0X
post Jan 20 2005, 11:06 PM
Post #8


^^ Thats me ^^
*********

Group: Members
Posts: 528
Joined: 14-July 04
Member No.: 90



I cannot even see the directory, did u delete it?
Go to the top of the page
 
+Quote Post
Mike
post Jan 21 2005, 07:51 PM
Post #9


Owner of Sub-Zero
********

Group: Members
Posts: 159
Joined: 17-November 04
Member No.: 2,325



I get a 404 error when I go to the site that he linked to above. And cragllo, you do not need all HTML tags. I mean, you can use the 'echo' command in php and something will show up, unless you mean like you need the 'body tags'. I mean, for the 'echo' command to work, however, you need to configure some variables. I'll make a topic telling you how to do it on the PHP Board.
Go to the top of the page
 
+Quote Post
<
Xedos