Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 08-20-2002, 03:20 PM   #1 (permalink)
rdove
Masked Moderator
 
rdove's Avatar
 
Join Date: May 2002
Location: Indianapolis, IN
Posts: 260
rdove is on a distinguished road
Displaying PHP

I'm starting to learn a little bit about php so I created a test page just to see things work. Well apparently i'm doing something wrong all together. I think is has to do with permissions, but i'm not sure I have them set 755, but maybe I need something different.

This is all i'm trying to do:

Code:
<html>

<head>
  <title>Testing</title>
</head>

<body>

<?php

echo "Ryan";

?>


</body>
</html>
When I view the source is shows what I have exactly. Soo.....i dunno.
__________________
~Ryan

rdove is offline   Reply With Quote
Old 08-20-2002, 03:34 PM   #2 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,444
sde is on a distinguished road
did you name the file "file.php" ?

evetything looks good, .. make sure you have the .php extention on it.. and if it still doesn't work, then make sure your host has php installed.

what is your filename?
sde is offline   Reply With Quote
Old 08-20-2002, 03:39 PM   #3 (permalink)
rdove
Masked Moderator
 
rdove's Avatar
 
Join Date: May 2002
Location: Indianapolis, IN
Posts: 260
rdove is on a distinguished road
My file name is testing.php and I know the server has php installed.

here is the addy:

http://php.iupui.edu/~rdwischm/testing.php

Also here is the Info on CORD which is the server. It says is supports PHP

http://kb.indiana.edu/data/aiis.html...7027.61345.131
__________________
~Ryan

rdove is offline   Reply With Quote
Old 08-20-2002, 03:46 PM   #4 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,444
sde is on a distinguished road
http://codenewbie.com/testing.php

there is your exact script on my server.

try taking out the "php" out of the "<?php" tag.

<?

like that.. otherwise,it doesn't seem like it's installed correctly.
sde is offline   Reply With Quote
Old 08-20-2002, 03:49 PM   #5 (permalink)
rdove
Masked Moderator
 
rdove's Avatar
 
Join Date: May 2002
Location: Indianapolis, IN
Posts: 260
rdove is on a distinguished road
I figured it out.

The server itself does not support PHP. the PHP they are referring to is the web service that they provide, not the actual language. They only language I know for sure it supports is perl and i'm not exactly crazt about that.

More info:

http://kb.indiana.edu/data/adef.html...7027.61345.131

So thats why isn't not working.

Thanks for you help. Know any free php hosting services?
__________________
~Ryan

rdove is offline   Reply With Quote
Old 08-20-2002, 03:49 PM   #6 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,444
sde is on a distinguished road
oh, i just read the "cord" thing. that is weird and seems a bit out of date, as they name the acronym for php "personal home page". originally that was the acronym, but soon therafter they changed it to "php hypertext preprocessor" because of copyright issues.

i don't know of any free hosting, but www.vilitas.com has $9/mo plans that gives you everything you could possibly need for developing php/mysql.
sde is offline   Reply With Quote
Old 08-20-2002, 03:52 PM   #7 (permalink)
rdove
Masked Moderator
 
rdove's Avatar
 
Join Date: May 2002
Location: Indianapolis, IN
Posts: 260
rdove is on a distinguished road
Gee we just keep walking over eachother....

Thanks a bunch
__________________
~Ryan

rdove is offline   Reply With Quote
Old 08-20-2002, 11:04 PM   #8 (permalink)
ben rowe
Registered User
 
Join Date: Aug 2002
Posts: 1
ben rowe is on a distinguished road
Send a message via ICQ to ben rowe
for hosting try www.modwest.com, really cheap and more features then you can poke a stick at
ben rowe is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP Comes of Age sde Code Newbie News 0 04-14-2004 11:41 AM
new to php jhoop2002 PHP 12 08-06-2003 02:45 PM
I need to learn PHP Nitro PHP 9 06-28-2003 11:24 AM
Php Vs. Asp sde PHP 6 06-06-2003 06:02 PM
PHP as CGI?? bdl PHP 8 05-08-2003 08:29 AM


All times are GMT -8. The time now is 12:14 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting