473,671 Members | 2,224 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

14 New Member
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 1685
steven
143 New Member
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.uniformserv er.com/

Give it a try.
Oct 11 '06 #2
lintolawrance
14 New Member
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.uniformserv er.com/

Give it a try.


hai steven sir,
thanks for giving the details.i will try my level best .
goodbye.
Oct 11 '06 #3
lintolawrance
14 New Member
hai steven sir,
i have also one doubt which version (apache) is the best .i am using windowsxp platform
Oct 11 '06 #4
lintolawrance
14 New Member
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
lintolawrance
14 New Member
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.dt d">
<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><lege nd>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+">Ove r 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.p hp"

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
<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
warezguy05
14 New Member
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:ww w.webmasterstop .com/123.html+setup+ php+server&hl=n l&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 Recognized Expert Specialist
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
73756
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 SENDMAIL_FROM = NULL SENDMAIL_PATH = "H:\WINNT\system32\" (this is where sendmail.dll is sitting. H is the drive with w2k)
0
1004
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
3017
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 welcome page has a browse button (for locating your local file), a textfield where the path is displayed, and a upload button. When clicking upload a VB ASP script is run, and the outcome is displayed on a new page. 1. On my local machine I got the...
6
1683
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. Remember...unless you're coding bowling scores, there's no need for decimal.
2
1249
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" runat="server"> <div id="service" style="behavior:url(webservice.htc)" onresult="Service_Result()"></div> °Fahrenheit: <input id="txtFahrenheit"> <input type="Button" value="Convert !" onclick="Button_Click()"> <span id="lblCelsius"></span>
2
6598
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 via my code, but not upload a file. I'm using asp.net 1.1 and forms authentication.
1
10479
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 my upload.savevirtual : Set Upload = Server.CreateObject("Persits.Upload") upload.savevirtual ("test/") .. ''''error:
2
7516
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: Checked the php.ini file to read: upload_tmp_dir="/tmp" Changed "/tmp" to be a tmp folder inside wp-content/images permissions set to 777 restarted database What else can I do? My host co can't or won't help further since it's my own...
2
1577
by: jovalBag | last post by:
there are so many here: search.cpan.org/search?query=upload&mode=module which one do you use?
0
8909
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8596
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6222
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5690
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4221
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4399
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2806
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2048
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1801
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.