Forum     

Go Back   Digit Technology Discussion Forum > Software > Programming
Register FAQ Calendar Mark Forums Read

Programming The destination for developers - C, C++, Java, Python and the lot


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 27-03-2009, 05:49 PM   #1 (permalink)
Right Off the Assembly Line
 
Join Date: Mar 2009
Posts: 13
Default Help me in PHP


i want to know how to run a php code .I got a hand book on php.It tells me to write php code in any text editor.but i dont know how to compile it and run it.please help me .Also i would like to know how to add GUI in php programs is it similar to asp.net any software like VS is used for it.How is it done like adding text box ,drop box image buttons etc in php.Help me please
jishnu001 is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 27-03-2009, 06:33 PM   #2 (permalink)
Excessive happiness
 
furious_gamer's Avatar
 
Join Date: Jun 2008
Location: Bangalore
Posts: 2,975
Default Re: Help me in PHP

Just download the XAMPP Server from here :
http://www.apachefriends.org/en/xampp-windows.html

Install it and you're set to go...
Just type your program in any text editor and save it under c:\xampp\htdocs\ folder and type http://localhost/<ur-project-name>

Thats it..

Say if u just create a project folder named phptest in c:\xampp\htdocs\phptest, then type http://localhost/phptest in ur browser to run the script..

And dont forgot to start ur server...
__________________
My First Android phone : Samsung Galaxy SL i9003 - Rooted & Gingerbread XXKPQ
Updated : superteekz_V2 ROM for XXKPQ.

PS Request
furious_gamer is online now  
Old 27-03-2009, 07:12 PM   #3 (permalink)
Right Off the Assembly Line
 
Join Date: Mar 2009
Posts: 13
Default Re: Help me in PHP

Ok thanks man wat about adding text box ,drpo box etc.IN my book it is said to use html code along with php to use it.is there any other way like in asp.net.Then please tell me what is wamp server.Iam a btech student iam planning to do a certifiaction course in php after btech .how much will it help me to boost my career.
jishnu001 is offline  
Old 28-03-2009, 04:21 PM   #4 (permalink)
Excessive happiness
 
furious_gamer's Avatar
 
Join Date: Jun 2008
Location: Bangalore
Posts: 2,975
Default Re: Help me in PHP

Quote:
Originally Posted by jishnu001 View Post
Ok thanks man wat about adding text box ,drpo box etc.IN my book it is said to use html code along with php to use it.is there any other way like in asp.net.Then please tell me what is wamp server.Iam a btech student iam planning to do a certifiaction course in php after btech .how much will it help me to boost my career.
WAMP Server is just another server like XAMPP. Nothing more than that.

To add text box,drop down box you must write it in HTML.No other way.
Here i'll give u an example code :
PHP Code:
<?php
//do something here
?>
<input type=text name=username>
<?php
//again do something here
?>
An AFAIK, there is no IDE's for PHP as per your requirement.
If you want to certification course, then i suggest you to do LAMP/WAMP..
(Hope u know what does the LAMP/WAMP stands for)

Also try to learn AJAX apart from the certification as AJAX makes PHP more flexible and to create a rock solid web sites.
__________________
My First Android phone : Samsung Galaxy SL i9003 - Rooted & Gingerbread XXKPQ
Updated : superteekz_V2 ROM for XXKPQ.

PS Request
furious_gamer is online now  
Old 28-03-2009, 04:44 PM   #5 (permalink)
Always confused
 
vamsi360's Avatar
 
Join Date: May 2008
Location: Mandriva Control Center
Posts: 349
Smile Re: Help me in PHP

before that code include:
Code:
<html>
<head>heading
</head>
<body>
<form action="ourpage.php"  method="post">
Username: <input type="text" name="user">
Password: <input type="password" name="password">
Submit/Enter: <input type="submit">
</form>
</body>
</html>
And the php script can be written by yourself for the ourpage.php to handle the input.
LAMP=Linux Apache MySQL Php.perl/python
WAMP=windows in place of Linux

U can use Easyphp inplace of xampp as it is even easier than XAMPP. The navigation and the SQL is better in easyphp.(my opinion)
__________________
Vamsi Subhash
visit my blog at www.vamsisubhash.co.cc and taste a bit of IT!
vamsi360 is offline  
Old 28-03-2009, 04:49 PM   #6 (permalink)
Excessive happiness
 
furious_gamer's Avatar
 
Join Date: Jun 2008
Location: Bangalore
Posts: 2,975
Default Re: Help me in PHP

^^
EasyPHP.. Never heard about it..
Anyhow since i used XAMPP i feel its easier and so you....
__________________
My First Android phone : Samsung Galaxy SL i9003 - Rooted & Gingerbread XXKPQ
Updated : superteekz_V2 ROM for XXKPQ.

PS Request
furious_gamer is online now  
Closed Thread

Bookmarks

Thread Tools
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Sujeet
- by gforz
- by soumya

Advertisement




All times are GMT +5.5. The time now is 03:10 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2