943,851 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Marked Solved
  • Views: 1113
  • PHP RSS
You are currently viewing page 2 of this multi-page discussion thread; Jump to the first page
Sep 8th, 2009
0

Re: help me getting started !!!

that i cant answer as i am not typically that kind of php developer, but i hope so that it could be used
Reputation Points: 10
Solved Threads: 5
Newbie Poster
chsab420 is offline Offline
23 posts
since Jun 2009
Sep 8th, 2009
0

Re: help me getting started !!!

all right...........
thanks
i'll do that and post back how it goes..............
Reputation Points: 10
Solved Threads: 9
Junior Poster
aashishn86 is offline Offline
184 posts
since Jun 2008
Sep 8th, 2009
0

Re: help me getting started !!!

try to uninstall the IIS and
because I was facing the same problem that port 80 is already used by some other program.......
Reputation Points: 10
Solved Threads: 1
Newbie Poster
rashid47010 is offline Offline
24 posts
since Sep 2009
Sep 8th, 2009
0

Re: help me getting started !!!

hi everybody I am new to PHP
just start learning php through online tutorial
I have made one table program but getting PARSE in PRINT LINE
CODE IS GIVEN BELOW:
<html>
<head>
<title>table php file</title>
<?php

$times=2;

if(isset($_POST["submit1"]))
{

$start=$_POST["txtStart"];
$end=$_POST["txtEnd"];
$times=$_POST["txtTimes"];

for($start;$start<=$end;$start++)
{ $answer= $start * $times;
print($start. "multiplied by" .$times. "=" .$answer.) ;
}
}
?>
</head>
<body>

<form name="form1" method="post" action="table.php" size=15>
Start-Number:<input type="text" name="txtStart" value="1" size=15>
End-Number:<input type="text" name="txtEnd" value="10">
Answer<input type="text" name="txtTimes" value=<?php print $times; ?>>
<P>
<input type="submit" name="submit1" value="Answer">
<P>
</form>

</html>
Reputation Points: 10
Solved Threads: 1
Newbie Poster
rashid47010 is offline Offline
24 posts
since Sep 2009
Sep 8th, 2009
0

Re: help me getting started !!!

@rashid...
i need IIS too....

i suggest, you start a new thread for your problem to get help faster...
and put your code in the "code tags"
Reputation Points: 10
Solved Threads: 9
Junior Poster
aashishn86 is offline Offline
184 posts
since Jun 2008
Sep 8th, 2009
0

Re: help me getting started !!!

If your problem hasent been solved, I am personally very satisfied with XAMPP as it includes apache, mysql, filezilla and mercury in one. I haven't had any problems with it and you just place your files in the htdocs folder. You can download it at http://www.apachefriends.org/en/xampp.html.

You can place your files in the htdocs folder, for example:

The directory you store your files:
C:/xampp/htdocs/myphp/*

You can acces it by opening a browser and use as url:
http://localhost/myphp/*

Any questions?

~Graphix
Reputation Points: 82
Solved Threads: 74
Posting Pro in Training
Graphix is offline Offline
401 posts
since Aug 2009
Sep 8th, 2009
-1

Re: help me getting started !!!

Ditto. XAMPP is great. Using Apache will work better than IIS as it will reflect behaviour on remote sites (usually).

I can understand that you may need IIS if you use asp, otherwise switch to Apache. Current IIS php sites can be moved to the htdocs directory under xampp. You'll need to change your vhost files though.
Sponsor
Featured Poster
Reputation Points: 1048
Solved Threads: 948
Sarcastic Poster
ardav is offline Offline
6,693 posts
since Oct 2006
Sep 9th, 2009
0

Re: help me getting started !!!

@ardav... ya i usually work on asp..
i am just trying to learn php...

i basically want to learn Drupal and other CMSs...
i downloaded Developerside.net package after reading about it in the drupal cookbook... but haven't had the time to install it yet...

You have any ideas about that ??
thanks
Reputation Points: 10
Solved Threads: 9
Junior Poster
aashishn86 is offline Offline
184 posts
since Jun 2008
Sep 9th, 2009
0

Re: help me getting started !!!

Great tutorials links,

A simple tutorial

PHP Tutorial

Quote ...
SUMMARY: PHP is a powerful tool for making dynamic and interactive Web pages.

PHP is the widely-used, free, and efficient alternative to competitors such as Microsoft's ASP.

In our PHP tutorial you will learn about PHP, and how to execute scripts on your server.
Moderator
Reputation Points: 2136
Solved Threads: 1228
Posting Genius
adatapost is offline Offline
6,527 posts
since Oct 2008
Sep 9th, 2009
0

Re: help me getting started !!!

Click to Expand / Collapse  Quote originally posted by aashishn86 ...
i just need help in configuring the apache server and mysql

i have installed WAMP Server...
when i go to phpMyAdmin
i get this error :


Error
MySQL said:

#1045 - Access denied for user 'root'@'localhost' (using password: NO)

phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.

thanks..
Is the above quote that latest error as I have solved server problems with many windows servers using xampp. So I can understand your troubles. When you receive that error with phpmyadmin it normally means the password has changed. Happened to me once. Turned out Wikimedia changed the password so if you've installed any php scripts, then your password may have been changed to whatever you specified under the mysql section of the cms installation. So to fix this you will need to first find the mysql password you set in the cms installation. Then when you have that password, go to the folder phpmyadmin/config.inc.php then in that file change the following variable:
PHP Syntax (Toggle Plain Text)
  1. $cfg['Servers'][$i]['password'] = 'new_password_in_here';
If you haven't installed any php scripts then you may need to do a command line to reset the root password or if you installed a cms (content management system) but can't remember the password then tell me what your cms is and I'll download a copy to locate your config file with the mysql password. Usually the config file is near the base of the installation.
Sponsor
Featured Poster
Reputation Points: 410
Solved Threads: 258
Occupation: Genius
cwarn23 is offline Offline
3,004 posts
since Sep 2007

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: PHP Development
Next Thread in PHP Forum Timeline: how to run php files?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC