Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 25th, 2004, 01:40 PM
Yee Yee is offline
Authorized User
 
Join Date: Oct 2004
Location: , , Singapore.
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default Php running problem

Hi,
I am new to PHP. My problem is whenever i try to open my .php file online, it will ask me to download my sourcecode. I uploading my index.html file using form method and action to a index.php file. Then i upload these 2 files (index.html and index.php) onto my web server (geocities free web base mail).
It work well when i open my web page "index.html" but whenever i want it to perform the action, the web will prompt me to download my index.php file. Can i know where did i go wrong?

Thanks for your reply.

Yee

Reply With Quote
  #2 (permalink)  
Old October 25th, 2004, 08:40 PM
Friend of Wrox
 
Join Date: Nov 2003
Location: , , .
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

GeoCities free servers do not support PHP.

-Snib
Where will you be in 100 years?
Try new FreshView 0.2!
There are only two stupid questions: the one you can't find the answer to and don't ask, and the one that you can find the answer and do ask.
Reply With Quote
  #3 (permalink)  
Old October 26th, 2004, 07:41 AM
Yee Yee is offline
Authorized User
 
Join Date: Oct 2004
Location: , , Singapore.
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,
Any free web server can support PHP? I want to test out actually before i subscript a web server.

Thanks

Reply With Quote
  #4 (permalink)  
Old October 26th, 2004, 07:58 PM
Registered User
 
Join Date: Jul 2003
Location: , , Pakistan.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Yee
You have done nothing wrong. It seems your free server does not allow PHP scripts to run on. find another hosting that allows php scripting.


Musharaf Choudhry
Reply With Quote
  #5 (permalink)  
Old October 26th, 2004, 08:57 PM
Friend of Wrox
 
Join Date: Nov 2003
Location: , , .
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

I found this list, but I don't know whether the hosts are trustworthy or how updated it is. You can find web hosting easily with Google, though.

http://www.google.com/search?q=free+php+hosting

HTH!

-Snib
Where will you be in 100 years?
Try new FreshView 0.2!
There are only two stupid questions: the one you can't find the answer to and don't ask, and the one that you can find the answer and do ask.
Reply With Quote
  #6 (permalink)  
Old October 26th, 2004, 08:58 PM
Friend of Wrox
 
Join Date: Nov 2003
Location: , , .
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Oops, forgot to link to the list!

http://www.oinko.net/freephp/



-Snib
Where will you be in 100 years?
Try new FreshView 0.2!
There are only two stupid questions: the one you can't find the answer to and don't ask, and the one that you can find the answer and do ask.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running PHP Triad on Win98 - Help with email? timmaher Pro PHP 5 November 22nd, 2006 03:43 AM
Problem running php files on IIS sami1925 BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 0 September 14th, 2005 09:41 AM
Problem running PHP locally shoreman BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 0 April 24th, 2005 11:37 AM
Running cmd line .EXE through PHP geolast PHP How-To 2 January 6th, 2005 02:34 PM
php downloads instead of running ss2003 Beginning PHP 2 February 16th, 2004 03:25 PM



All times are GMT -4. The time now is 09:15 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.