Current location: Hot Scripts Forums » Programming Languages » PHP » PHP Don't work


PHP Don't work

Reply
  #1 (permalink)  
Old 07-21-03, 05:15 AM
Henry's Avatar
Henry Henry is offline
Wannabe Coder
 
Join Date: Jul 2003
Location: Brisbane, Australia
Posts: 218
Thanks: 0
Thanked 0 Times in 0 Posts
PHP Don't work

I have my own little old laptop i muck around with sometimes and for some reason my computer doesnt acknowledge PHP and when viewing my PHP files it asks me to download it but when i view it on the net (other peoples sites) its fine and its clear.

I run a windows 98 on a old Toshiba laptop and i have IE 6.

Is this just because 98 doesnt know about PHP and if so is there a program i can use so it does acknowledge it or is my computer just old.

either way it doesnt worry me cause i can use my other but i was just wondering?????
__________________
henerz
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 07-21-03, 08:06 AM
MagnuM MagnuM is offline
Newbie Coder
 
Join Date: Jul 2003
Location: Timisoara, Romania
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
It has nothing to do with your system.

I supose your problem is the way you are calling the PHP files. They have to be served by a web server (Apache), and the path from the browser should look like http://localhost/yourfile.php.

This is why you see the other PHP pages from some web sites working, because they run a web server that is parsing the PHP files.

In your case the browser is just return you the PHP file without compile it, thats why you get a download message.
__________________
The more people i know, the more i love my dog.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 07-21-03, 12:30 PM
drgn91 drgn91 is offline
Newbie Coder
 
Join Date: Jul 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
you can download php and install it on your own computer, to locally view php files.
i think you get it from www.php.net (think thats the addy)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 07-21-03, 01:14 PM
darkcarnival's Avatar
darkcarnival darkcarnival is offline
PHP/MySQL coder
 
Join Date: Jun 2003
Location: Michigan
Posts: 939
Thanks: 0
Thanked 0 Times in 0 Posts
also it would work on a 95 if u had a old version of PHP so windows isnt the problem just unix is more common.but instal it and it shouls work(btw that is the right address)
__________________
Elite Bulletin Board
http://elite-board.us
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #5 (permalink)  
Old 07-22-03, 03:36 AM
Henry's Avatar
Henry Henry is offline
Wannabe Coder
 
Join Date: Jul 2003
Location: Brisbane, Australia
Posts: 218
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks heaps!
__________________
henerz
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i work with PHP mail() function darkcarnival PHP 5 08-31-09 06:11 PM
PHP and MySQL ? rob2132 Hot Scripts Forum Questions, Suggestions and Feedback 4 08-29-08 03:22 AM
PHP Triad/Upload form eddyvlad PHP 6 10-07-03 12:17 AM
PHP & sessions, why won't it work? TinnyFusion PHP 1 10-04-03 02:51 PM
$GLOBALS["PHP_SELF"] doesn't work - Why? kevin PHP 7 07-17-03 08:48 AM


All times are GMT -5. The time now is 09:34 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.