473,385 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

[DOUBLE POSTING] doubt about "upload the phpfile to your webserver"

hello,
i am a student trying to learn php.i have a doubt about a sentence written in the textbook.the sentence is "upload the file to your web server", for that what i have to done.
Oct 11 '06 #1
7 1673
steven
143 100+
hello,
i am a student trying to learn php.i have a doubt about a sentence written in the textbook.the sentence is "upload the file to your web server", for that what i have to done.
Yoinked from google:

"A Web Server is a computer on the World Wide Web (connected to the Internet Backbone) that stores HTML documents that can be retrieved via a Web browser."

Everytime you visit a page on the Internet, you are connecting to a webserver which contains the HTML files that you see. When visiting a page, you download the files to your computer and see them on your browser. In order for PHP code to run, it needs to be placed within webserving software capable of running PHP code.

PHP is a server side scripting language.

In order for it to run, it needs to the PHP/Zend engine which, typically runs in a webserver environment. A popular setup, known as LAMP, is linux, apache, mysql and php. You can install your own development environment locally on your own computer, if it's just for yourself to view and play with.

I think you can download complete packages which include Apache (the webserver) and MySQL the database system and PHP.

A quick google found me this: http://www.uniformserver.com/

Give it a try.
Oct 11 '06 #2
Yoinked from google:

"A Web Server is a computer on the World Wide Web (connected to the Internet Backbone) that stores HTML documents that can be retrieved via a Web browser."

Everytime you visit a page on the Internet, you are connecting to a webserver which contains the HTML files that you see. When visiting a page, you download the files to your computer and see them on your browser. In order for PHP code to run, it needs to be placed within webserving software capable of running PHP code.

PHP is a server side scripting language.

In order for it to run, it needs to the PHP/Zend engine which, typically runs in a webserver environment. A popular setup, known as LAMP, is linux, apache, mysql and php. You can install your own development environment locally on your own computer, if it's just for yourself to view and play with.

I think you can download complete packages which include Apache (the webserver) and MySQL the database system and PHP.

A quick google found me this: http://www.uniformserver.com/

Give it a try.


hai steven sir,
thanks for giving the details.i will try my level best .
goodbye.
Oct 11 '06 #3
hai steven sir,
i have also one doubt which version (apache) is the best .i am using windowsxp platform
Oct 11 '06 #4
hello sir,
my working platform is windowsxp.so that i already install the IIS.so that downloading and install of apache server is needed for me ?if no how i can possible to upload my phpfile to my webserbver.

by linto
Thanks in advance
Oct 12 '06 #5
sir,
i am starting working with php.i done some programs.but now i have one problem.i do a program like to retrieve the name and email from a phpfile to another.but i can't get.

this is the code "form.php"

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>HTML Form</title>
</head>

<body>
<!-- Script 2.1 - form.html -->

<form action="handle_form.php" method="post">

<fieldset><legend>Enter your information in the form below:</legend>

<p><b>Name:</b><input type="text" name="name" size="20" maxlength="40"/></p>

<p><b>Email Address:</b><input type="text" name="email" size="40" maxlength="60"/></p>
<p><b>Gender:</b><input type="radio" name="gender" value="M"/>Male
<input type= "radio" name="gender" value="F"/>Female</p>
<p><b>Age:</b>
<select name="age">
<option value="0-30">under 30</option>
<option value="30-60">Between 30 and 60</option>
<option value="60+">Over 60</option>
</select></p>
<p><b>Comments:</b><textarea name="comments" rows="3" cols="50"></textarea></p>
</fieldset>
<div align="center"><input type="submit" name="submit" value="Submit Information"/></div>
</form>



</body>
</html>

and this is the code of "handle__form.php"

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Form Feedback</title>
</head>

<body>
<?php #Script 2.2 - handleform.php


// Printing the appropriate message based on the event handle in the form.php

echo "Thankyou, <b>$name</b> for the following comments : <tt> $comments</tt><p> We will reply to you at <i>$email</i>.</p>";




?>
</body>
</html>

i got the output like this

Thankyou, for the following comments :

We will reply to you at .


no information about the name ,comment and email.
to get this what changes have to done ?

please give the details
by linto
thanks in advance
Oct 12 '06 #6
try to use a few guides like;

Setup IIS: http://www.no-ip.com/support/guides/web_servers/setting_up_iis.html

Setup PHP: http://66.249.93.104/search?q=cache:yTz0BS84V6YJ:www.webmasterstop.com/123.html+setup+php+server&hl=nl&gl=nl&ct=clnk&cd=1


IIS is a webserver (suitable for a windows-based computer) just like Apache which is more used on a Linux-based system.
So when you choose for IIS , you don't longer need to install Apache :)

As soon as you've installed IIS and the PHPsoftware, you are able to run PHPscripts on your own computer

I hope you understand it a little bit :)
Oct 12 '06 #7
ronverdonk
4,258 Expert 4TB
You are DOUBLE POSTING!! Read the Posting Guidelines about that, that will also tell you to show your codelines within the appropriate tags!

You have already started a new thread with your last code question, so this thread will be CLOSED.

RO\onald :cool:
Oct 13 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: aa | last post by:
Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini in php.ini I have: SMTP = localhost SMTP_PORT = 25...
0
by: L-Soft list server at clayart (1.8d) | last post by:
Your message dated Mon, 1 Mar 2004 13:14:41 -0600 with subject "Re: Your document" has been submitted to the moderator of the CLAYART list: Mel Jacobson <melpots2@PCLINK.COM>.
1
by: PeterB | last post by:
Hi! I'm using Pure ASP File Upload (http://www.asp101.com/articles/jacob/scriptupload.asp) to upload a file from a client to a server. I am testing both on a local IIS and a remote server. The...
6
by: Thinkit | last post by:
Hexadecimal is on the rise! Done HTML coloring? Not only does it support hexadecimal, but it does NOT support decimal. We're not a decimal people--evidenced by the way we keep time. ...
2
by: Alex Nitulescu | last post by:
Hi. I have the following HTML (snip): _____________________________________________ <body MS_POSITIONING="GridLayout" onload="Init()"> <form id="frmWebServerAdvanced_1Test" method="post"...
2
by: Darrel | last post by:
(I posted this previously in the wrong NG.) I get this error when trying to run a file upload function on my client's server. It works fine on my local server. I can also create a directory...
1
by: .Net Sports | last post by:
I'm using Persits.upload module in ASP, and when i use the following form pointed to the object I've always used, i get a "The system cannot find the file specified" error pointing to the line of...
2
by: thiefhunter | last post by:
Wordpress image upload has worked well for months. Suddenly, I get "failed to write file to disk" though nothing has changed. Read the wp forums and worked with my hosting co to do the following: ...
2
by: jovalBag | last post by:
there are so many here: search.cpan.org/search?query=upload&mode=module which one do you use?
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.