PHP/MySQL

  • vcs
  • Newbie
  • Newbie
  • User avatar
  • Posts: 10

Post 3+ Months Ago

hi,
can any one tell me about LAMP technology...
how to work on it. :?:
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • George L.
  • Bronze Member
  • Bronze Member
  • George L.
  • Posts: 2209
  • Loc: Malaysia

Post 3+ Months Ago

LAMP stands for - Linux, Apache, MySQL & PHP (Ruby, Perl, Python).

Are you using Linux OS? You can have it installed on your desktop with a number of tutorials available (try search on google).

Post back if you need more help with this. I'd been working on "ways" on installing it for about a year and it has become my hobby to actually finding ways to build the LAMP architecture.

Have fun.

:)

*BTW, as I looked back, your topic states that you're wanting I guess to use PHP/MySQL only? As a result to that, you may also want to look into others such as:

XAMPP
WAMP
WIMP

..which differs depending on your type of OS and your type of preference on each of the mentioned above.
  • vcs
  • Newbie
  • Newbie
  • User avatar
  • Posts: 10

Post 3+ Months Ago

thanx for rply...current i m using Window OS but i want to switch over to linux...i m bit confused ,which linux is best in LAMP .

please rply..
  • George L.
  • Bronze Member
  • Bronze Member
  • George L.
  • Posts: 2209
  • Loc: Malaysia

Post 3+ Months Ago

Start with Ubuntu, I don't know about you seriously.. It's individual preference. Some find other distribution is easier and more friendly to them.

Start with Live CD without installing and test if you like em before installing.

:)
  • George L.
  • Bronze Member
  • Bronze Member
  • George L.
  • Posts: 2209
  • Loc: Malaysia

Post 3+ Months Ago

I don't think there is a proportionate answer to which Linux distribution is best for a LAMP environment.

First, please read up about "Web Server".
  • vcs
  • Newbie
  • Newbie
  • User avatar
  • Posts: 10

Post 3+ Months Ago

can you give me the link of LAMP software so that i can install on machine.

Actually i installed Ubuntu 8.0 on machine and didn't got LAMP software link and how to install on Ubuntu platform.
  • George L.
  • Bronze Member
  • Bronze Member
  • George L.
  • Posts: 2209
  • Loc: Malaysia

Post 3+ Months Ago

LAMP isn't exactly one software per se. If you're looking for one, then try XAMPP or WAMP.

Please read up LAMP

http://en.wikipedia.org/wiki/LAMP_(software_bundle)

Then, understand that you need to make sure you have all the components of LAMP in your computer. Configure them so it runs in your http://localhost/

Google search: Tutorial for building LAMP on Ubuntu

and I always encourage you to visit official site here:

https://help.ubuntu.com/community/ApacheMySQLPHP
  • grinch2171
  • Moderator
  • Genius
  • User avatar
  • Posts: 6805
  • Loc: Martinsburg, WV

Post 3+ Months Ago

There is also WAMP which is the same thing but for Windows.

http://www.wampserver.com/en/

I have used it and like it.
  • vcs
  • Newbie
  • Newbie
  • User avatar
  • Posts: 10

Post 3+ Months Ago

Can any one tell me...i m bit confused....

I am a fresher.I am trying to find jobs but not able to got due to recession. I had learned php few months ago...I am using a WAMP software for designing and connecting with apache and mysql.

i wants any one tell me following things

1)how i can devlop my skills in php .
2)what type of work i have to do so, that i got more experience in php.

Please help me out from these problem.
  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • User avatar
  • Posts: 3422
  • Loc: Richland, WA

Post 3+ Months Ago

Your best bet to broaden your skills is to start re inventing the wheel. A lot of people say that this is a stupid idea but if you really want to learn how something works you should try recreating the same effect. I would suggest a blog. You can read up on some blogging terms here
  • UPSGuy
  • Lurker ಠ_ಠ
  • Web Master
  • User avatar
  • Posts: 2733
  • Loc: Nashville, TN

Post 3+ Months Ago

I don't think it's dumb at all. I'd much rather recreate something practical as opposed to figuring out how to guide the monkey to the banana to sustain life (AI/rules) any day.
  • vcs
  • Newbie
  • Newbie
  • User avatar
  • Posts: 10

Post 3+ Months Ago

Please tell me how to work with SELF POST on WAMP...


ITS SHOWS ERROR:
Parse error: parse error in C:\wamp\try.php on line 56


Code: [ Select ]
<?php
$combo1=$_POST["combobox"];
$list1=$_POST["listbox"];


if (!isset($_POST['submit'])) { // if page is not submitted to itself echo the form
{
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>LIST BOX</title>
</head>
<body>
<h2>PHP: List Boxes with PHP</h2>

<div>
 <p>This form shows how to create combo, single select list boxes, and multiple
  select boxes. The form is submitted to a PHP page that handles the form
  data passed to it. How that data is handled is also discussed below.</p>
 <form action=<?php echo $_SERVER["PHP_SELF"];  ?> method="post" name="form" id="form">
  <h4>Combo and List Box Form</h4>
  <p>Combo Box<br />
   <select name="combobox">
    <option value="Option 1">option 1</option>
    <option value="Option 2">option 2</option>
    <option value="Option 3">option 3</option>
    <option value="Option 4">option 4</option>
   </select>
  </p>
  <p>List Box - Single Select<br />
   <select name="listbox" size="3">
    <option value="Option 1">1</option>
    <option value="Option 2">2</option>
    <option value="Option 3">3</option>
    <option value="Option 4">4</option>
    <option value="Option 5">5</option>
        </select>
  </p>
  <p>List Box - Multiple Select<br />
   <select name="listmultiple[]" size="3" multiple="multiple">
    <option value="Option 1" selected="selected">Option 1</option>
    <option value="Option 2">Option 2</option>
    <option value="Option 3">Option 3</option>
    <option value="Option 4">Option 4</option>
    <option value="Option 5">Option 5</option>
   </select>
  </p>
  <p>
   <input name="Submit" value="Submit" type="submit" />
   <input name="Reset" value="Reset" type="reset" />
  </p>
 </form>
 <?php
}
else
{
print "--------------------------------------------------------------------------------------------";
print "The Combo Box result is :  ".$combo1;
print "<br>The List Box result is :  ".$list1;

$values = $_POST["listmultiple"];
  echo "<p>listmultiple: ";
    foreach ($values as $a){
       echo $a;
     }
     echo "</p>\n";
}
}

?>
<br>
<br>
 <p>Each of list box type is shown above. </p>
 <h4>Combo Box / Drop-down List</h4>
 <p>First the combo or drop down box is shown. This form of box includes
  multiple choices, but only 1 may be selected. In addition, only one option
  is shown in the list box itself. The for the box looks like this:</p>
 <p> <font face="Courier New, Courier, mono">&lt;p&gt;Combo Box&lt;br&gt;<br />
  &lt;select name=&quot;select&quot;&gt;<br />
  &lt;option value=&quot;Option 1&quot; selected&gt;Option 1&lt;/option&gt;<br />
  &lt;option value=&quot;Option 2&quot;&gt;Option 2&lt;/option&gt;<br />
  &lt;option value=&quot;Option 3&quot;&gt;Option 3&lt;/option&gt;<br />
  &lt;option value=&quot;Option 4&quot;&gt;Option 4&lt;/option&gt;<br />
  &lt;/select&gt;<br />
  &lt;/p&gt;</font></p>
 <p>The <font face="Courier New, Courier, mono">select</font> tag identifies
  the name of the list box, and each <font face="Courier New, Courier, mono">option</font> tag identifies both the value that is passed with the form, and the text
  that appears in the combo box.</p>
 <h4>List Box - Single Select</h4>
 <p> <font face="Courier New, Courier, mono">&lt;p&gt;List Box - Single Select&lt;br&gt;<br />
  &lt;select name=&quot;listbox&quot; size=&quot;3&quot;&gt;<br />
  &lt;option value=&quot;Option 1&quot; selected&gt;Option 1&lt;/option&gt;<br />
  &lt;option value=&quot;Option 2&quot;&gt;Option 2&lt;/option&gt;<br />
  &lt;option value=&quot;Option 3&quot;&gt;Option 3&lt;/option&gt;<br />
  &lt;option value=&quot;Option 4&quot;&gt;Option 4&lt;/option&gt;<br />
  &lt;option value=&quot;Option 5&quot;&gt;Option 5&lt;/option&gt;<br />
  &lt;/select&gt;<br />
  &lt;/p&gt;</font></p>
 <p>&nbsp;</p>
</div>
</body>
</html>
  1. <?php
  2. $combo1=$_POST["combobox"];
  3. $list1=$_POST["listbox"];
  4. if (!isset($_POST['submit'])) { // if page is not submitted to itself echo the form
  5. {
  6. ?>
  7. <html>
  8. <head>
  9. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  10. <title>LIST BOX</title>
  11. </head>
  12. <body>
  13. <h2>PHP: List Boxes with PHP</h2>
  14. <div>
  15.  <p>This form shows how to create combo, single select list boxes, and multiple
  16.   select boxes. The form is submitted to a PHP page that handles the form
  17.   data passed to it. How that data is handled is also discussed below.</p>
  18.  <form action=<?php echo $_SERVER["PHP_SELF"];  ?> method="post" name="form" id="form">
  19.   <h4>Combo and List Box Form</h4>
  20.   <p>Combo Box<br />
  21.    <select name="combobox">
  22.     <option value="Option 1">option 1</option>
  23.     <option value="Option 2">option 2</option>
  24.     <option value="Option 3">option 3</option>
  25.     <option value="Option 4">option 4</option>
  26.    </select>
  27.   </p>
  28.   <p>List Box - Single Select<br />
  29.    <select name="listbox" size="3">
  30.     <option value="Option 1">1</option>
  31.     <option value="Option 2">2</option>
  32.     <option value="Option 3">3</option>
  33.     <option value="Option 4">4</option>
  34.     <option value="Option 5">5</option>
  35.         </select>
  36.   </p>
  37.   <p>List Box - Multiple Select<br />
  38.    <select name="listmultiple[]" size="3" multiple="multiple">
  39.     <option value="Option 1" selected="selected">Option 1</option>
  40.     <option value="Option 2">Option 2</option>
  41.     <option value="Option 3">Option 3</option>
  42.     <option value="Option 4">Option 4</option>
  43.     <option value="Option 5">Option 5</option>
  44.    </select>
  45.   </p>
  46.   <p>
  47.    <input name="Submit" value="Submit" type="submit" />
  48.    <input name="Reset" value="Reset" type="reset" />
  49.   </p>
  50.  </form>
  51.  <?php
  52. }
  53. else
  54. {
  55. print "--------------------------------------------------------------------------------------------";
  56. print "The Combo Box result is :  ".$combo1;
  57. print "<br>The List Box result is :  ".$list1;
  58. $values = $_POST["listmultiple"];
  59.   echo "<p>listmultiple: ";
  60.     foreach ($values as $a){
  61.        echo $a;
  62.      }
  63.      echo "</p>\n";
  64. }
  65. }
  66. ?>
  67. <br>
  68. <br>
  69.  <p>Each of list box type is shown above. </p>
  70.  <h4>Combo Box / Drop-down List</h4>
  71.  <p>First the combo or drop down box is shown. This form of box includes
  72.   multiple choices, but only 1 may be selected. In addition, only one option
  73.   is shown in the list box itself. The for the box looks like this:</p>
  74.  <p> <font face="Courier New, Courier, mono">&lt;p&gt;Combo Box&lt;br&gt;<br />
  75.   &lt;select name=&quot;select&quot;&gt;<br />
  76.   &lt;option value=&quot;Option 1&quot; selected&gt;Option 1&lt;/option&gt;<br />
  77.   &lt;option value=&quot;Option 2&quot;&gt;Option 2&lt;/option&gt;<br />
  78.   &lt;option value=&quot;Option 3&quot;&gt;Option 3&lt;/option&gt;<br />
  79.   &lt;option value=&quot;Option 4&quot;&gt;Option 4&lt;/option&gt;<br />
  80.   &lt;/select&gt;<br />
  81.   &lt;/p&gt;</font></p>
  82.  <p>The <font face="Courier New, Courier, mono">select</font> tag identifies
  83.   the name of the list box, and each <font face="Courier New, Courier, mono">option</font> tag identifies both the value that is passed with the form, and the text
  84.   that appears in the combo box.</p>
  85.  <h4>List Box - Single Select</h4>
  86.  <p> <font face="Courier New, Courier, mono">&lt;p&gt;List Box - Single Select&lt;br&gt;<br />
  87.   &lt;select name=&quot;listbox&quot; size=&quot;3&quot;&gt;<br />
  88.   &lt;option value=&quot;Option 1&quot; selected&gt;Option 1&lt;/option&gt;<br />
  89.   &lt;option value=&quot;Option 2&quot;&gt;Option 2&lt;/option&gt;<br />
  90.   &lt;option value=&quot;Option 3&quot;&gt;Option 3&lt;/option&gt;<br />
  91.   &lt;option value=&quot;Option 4&quot;&gt;Option 4&lt;/option&gt;<br />
  92.   &lt;option value=&quot;Option 5&quot;&gt;Option 5&lt;/option&gt;<br />
  93.   &lt;/select&gt;<br />
  94.   &lt;/p&gt;</font></p>
  95.  <p>&nbsp;</p>
  96. </div>
  97. </body>
  98. </html>
Moderator Remark: Use [code][/code] to encapsulate code segments
  • fonsy2000
  • Novice
  • Novice
  • User avatar
  • Posts: 24

Post 3+ Months Ago

hello,

I just want to suggest is read, read, and read

Post Information

  • Total Posts in this topic: 13 posts
  • Users browsing this forum: No registered users and 54 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.