LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-15-2003, 10:01 PM   #1
hitesh_linux
Member
 
Registered: Dec 2001
Location: /root
Distribution: FreeBSD,NETBSD,redhat
Posts: 472

Rep: Reputation: 30
Lightbulb save and run php page !!!


Hello Friends,

I'm new to PHP.i'm learning my own.

so please help me.....

i had written one script in notepad application in window$XP but don't how to view this .php page.

here that script,

<html>
<head>
<title>My first PHP Page</title>
</head>
<body>
<from action="you_are.php">
Please enter your name:<br />
I am....
<?php print('<input type="text" name="person" value=" ' . $person . ' " size="15" />');
?>
<input type="submit" value="Go!" size="15"/ >
</form>
</body>
</html>

i don't how to save this page ,

so suggest some good link too .....

Thanks in Adv
-------------
Hitesh
 
Old 04-16-2003, 01:26 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You don't know how to save it? Try File -> Save as "filename.php". Then ftp it over to your webserver. If you only get the source you will need to enable php support in httpd.conf.
 
Old 04-16-2003, 03:32 PM   #3
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Save it in your apache DocumentRoot, then type http://localhost/whatever.php in a web browser. If php and apache are set up correctly you will see it.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP-script save on Linux? projecthc Linux - Security 1 07-04-2004 08:22 AM
php save file as ... ... Xiangbuilder Programming 1 11-25-2003 10:35 AM
help getting pptp-php-gtk.php to run as root mrtwice Linux - Software 0 11-21-2003 12:49 PM
PHP: save output to a file mikeshn Programming 2 10-25-2003 06:57 AM
save " in file with php raven Programming 1 03-01-2002 10:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration