Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rating: Thread Rating: 7 votes, 2.71 average.
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-05-2002, 04:42 PM   PM User | #1
raven566
New to the CF scene

 
Join Date: Jun 2002
Location: MA, USA
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
raven566 is an unknown quantity at this point
Some Questions from a Newbie

Hello, I have been using HTML and Java for a long time and I have decided to start using PHP in my work and I have a few quick questions:

How do you create PHP documents? I have tried using Frontpage 2002 but it won't read PHP script. Whenever I view a .PHP file in IE using File->Open, nothing happens at all. Do I need to first upload the PHP files to my server and then view them or can I just view them locally? Can anyone recommend any good PHP editors? The reason I want to learn and use PHP is so I can make my own guestbook and/or forum and not have to rely on other external sources.

Thanks for any help anyone has to offer.
raven566 is offline   Reply With Quote
Old 07-05-2002, 04:49 PM   PM User | #2
Flamerule
New Coder

 
Join Date: Jun 2002
Location: Paris, France
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Flamerule is an unknown quantity at this point
To view the source of the page you *musn't* have it on a server.

To view how the page works you *must* have it on a server.

You don't need any special programs to code in php. Notepad does fine.
----------------------------------------------------------------------

I suggest you find tutorials to learn php. The best thing would be to buy a book on php but tutorials can do fine.
I suggest you go to http://www.php.net and take the introductory tutorial. Then you could always find other tutorials on sites suchs as http://www.webmonkey.com or http://www.hotscripts.com
__________________
I don't suffer from insanity, I enjoy every single minute of it!
Flamerule is offline   Reply With Quote
Old 07-05-2002, 05:11 PM   PM User | #3
Jeewhizz
Regular Coder


 
Join Date: May 2002
Location: London, England
Posts: 369
Thanks: 0
Thanked 0 Times in 0 Posts
Jeewhizz is an unknown quantity at this point
go to www.firepages.com.au and download phpdev You can then run all these pages offline

Jee
__________________
Jeewhizz - MySQL Moderator
http://www.sitehq.co.uk
PHP and MySQL Hosting
Jeewhizz is offline   Reply With Quote
Old 07-06-2002, 12:26 AM   PM User | #4
raven566
New to the CF scene

 
Join Date: Jun 2002
Location: MA, USA
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
raven566 is an unknown quantity at this point
Thanks guys for your help, but I'm still having problems.

I went to http://www.php.net and looked a few of the tutorials, so now I at least know some things about PHP.

I've uploaded all my PHP files to my server, but when I type in the address of them, IE wants to download them and a window pops up and asks if I want to open or save it. I have .PHP files associated with Windows Write and if I choose open, that's what I see. But then it gives me errors about a temporary file not existing or something like that.

I also tried downloaded phpdev4, but when I run it, I get lots of errors about missing libraries.

These are probably really easy questions for experienced PHP users so I probably sound really dumb right now.
raven566 is offline   Reply With Quote
Old 07-06-2002, 12:58 AM   PM User | #5
Spookster
Supreme Overlord


 
Spookster's Avatar
 
Join Date: May 2002
Location: Marion, IA USA
Posts: 6,220
Thanks: 4
Thanked 80 Times in 79 Posts
Spookster will become famous soon enough
When you say you uploaded your php file to your server are you talking about a web host? If so does your web host support PHP?
__________________
Spookster
CodingForums Supreme Overlord
All Hail Spookster
Who gave you that Ugging infraction? Yeah that's right it was me!
Spookster is offline   Reply With Quote
Old 07-06-2002, 03:11 PM   PM User | #6
Jeewhizz
Regular Coder


 
Join Date: May 2002
Location: London, England
Posts: 369
Thanks: 0
Thanked 0 Times in 0 Posts
Jeewhizz is an unknown quantity at this point
when you unzipped phpdev did you unzip it to c:\ or c:\phpdev?

You need to do it to c:\ and it will auto create the phpdev folder. Delete it and try again!

Jee
__________________
Jeewhizz - MySQL Moderator
http://www.sitehq.co.uk
PHP and MySQL Hosting
Jeewhizz is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
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 not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:58 AM.


Advertisement
Log in to turn off these ads.