[PHP-WIN] Question: Lamp is installed but can't access localhost

2011-05-13 Thread sam rumaizan
Hello,   I have installed Lamp on Ubuntu 10.04 and started the server but can't access localhost (Yes, I have /etc/hosts file AND it does contain this line 127.0.0.1 localhost).   Thank you,   Sam

Re: [PHP-WIN] drop down menu to a table

2009-03-02 Thread sam rumaizan
method=post and action=something.php In something.php, write $_post['drop down name'] to the table. Sent from my Verizon Wireless BlackBerry -Original Message----- From: sam rumaizan Date: Mon, 2 Mar 2009 17:27:32 To: Subject: [PHP-WIN] drop down menu to a table How do I insert d

[PHP-WIN] drop down menu to a table

2009-03-02 Thread sam rumaizan
How do I insert data from a drop down menu values (select box) to a table

[PHP-WIN] Start and stop windows service for multiple remote computers

2008-09-29 Thread sam rumaizan
Can someone show me how to Start and Stop windows service for multiple remote computers using Command Prompt or PowerShell or even Java? Thank you

Re: [PHP-WIN] LAST_INSERT_ID & LAST_UPDATE_ID

2007-05-25 Thread sam rumaizan
going to work. Stut <[EMAIL PROTECTED]> wrote: sam rumaizan wrote: > How can I select (retrieve) the last updated cell (field). Basically I need > to pull the new information only. > > I'm using for updating my database: > > UPDATE table SET column = CO

[PHP-WIN] LAST_INSERT_ID & LAST_UPDATE_ID

2007-05-24 Thread sam rumaizan
How can I select (retrieve) the last updated cell (field). Basically I need to pull the new information only. I'm using for updating my database: UPDATE table SET column = CONCAT_WS ('column,'" . $column."') WHERE column= value; I need to select data: SELECT * FROM table W

[PHP-WIN] Mysql and Textarea (Please help me figure out this problem. I' m stuck. Please help me!!! )

2007-05-22 Thread sam rumaizan
I'm just a php beginner. So please be patient with my stupid questions. What am I missing in this code that causing the function can’t update the textarea? Update button erase the old information from mysql database and replace it with nothing. Basically it can’t read what is inside

[PHP-WIN] Mysql and Textarea

2007-05-22 Thread sam rumaizan
I'm just a php beginner. So please be patient with my stupid questions. What am I missing in this code that causing the function can’t update the textarea? Update button erase the old information from mysql database and replace it with nothing. Basically it can’t read what is insi

[PHP-WIN] Dynamically update mysql field

2007-05-21 Thread sam rumaizan
I have Textarea generated by while loop. How can I name it to be able to use it with my mysql update statement? Scroll down to see it while($i<$num) { // collect all Information $id=mysql_result($result,$i,"ID"); $RefNo=mysql_result($result,$i,"Ref_No"); $JobTitle=mysql_result($result,

Re: [PHP-WIN] [EMAIL PROTECTED]

2007-05-14 Thread sam rumaizan
The problem with this program is: when I click on Update The Record onClick=\"return toggleMenu('menu1') can’t find (read) the function toggleMenu() for some reasone. That what I get : Object not found! The requested URL was not found on this server. The link on the referring page

Re: [PHP-WIN] [EMAIL PROTECTED]

2007-05-13 Thread sam rumaizan
Thank you for cleaning up my code and making it more standardized then before (excuse my ignorance I’m just a beginner). Any ways still the slide menu doesn’t work. It is driving me crazy. I don't see any thing wrong with my code but still the menu doesn’t work Niel Archer <[EMAIL PROTECTED]>

Re: [PHP-WIN] [EMAIL PROTECTED]

2007-05-12 Thread sam rumaizan
I understand, but how about the attached code? Every thing works fine except the slide menu. Sam Niel Archer <[EMAIL PROTECTED]> wrote: > Yes I do have dynamic content in my page. > I’m attaching the whole code for this page. You missed the point. The fragment you supplied had no dynamic

[PHP-WIN] [EMAIL PROTECTED]

2007-05-12 Thread sam rumaizan
Yes I do have dynamic content in my page. I’m attaching the whole code for this page. <-Start---> #menu1 {display:none; margin-left:20px} "; echo" View Existing Data

Re: [PHP-WIN] PHP and JavaScript

2007-05-12 Thread sam rumaizan
ing script --> #menu1 {display:none; margin-left:20px} Update The Record Update the record <End Code-> bedul <[EMAIL PROTECTED]> wrote: - Original Message - From: "sam r

Re: [PHP-WIN] PHP and JavaScript

2007-05-12 Thread sam rumaizan
In PHP when you click on the menu text Update The Record the menu doesn’t open it takes you to another page. But in HTML when you click on the menu text Update The Record the menu dose open. Update The Record Niel Archer <[EMAIL PROTECTED]> wrote: Hi > Can some one explain to me

[PHP-WIN] PHP and JavaScript

2007-05-11 Thread sam rumaizan
Can some one explain to me why this code (Sliding menus) works fine with HTML but it doesn’t work with PHP? #menu1 {display:none; margin-left:20px} Update The Record Update the record "; ?> --

Re: [PHP-WIN] Dynamically update mysql field

2007-05-10 Thread sam rumaizan
update the data from this form into the MySQL? Aleksandar Vojnovic <[EMAIL PROTECTED]> wrote: Sorry I still don't understand. Do you wish to display/reload the data on some timeout (ala AJAX) or you actually wish to update the data from this form into the MySQL? Aleksander s

Re: [PHP-WIN] Dynamically update mysql field

2007-05-09 Thread sam rumaizan
-End code ---> Aleksandar Vojnovic <[EMAIL PROTECTED]> wrote: Of course it can be done, but please be more specific about what you wish to achieve. Aleksander sam rumaizan wrote: > Dynamically update mysql field > > I have a function that will populate the table cells (TD) with

[PHP-WIN] Dynamically update mysql field

2007-05-09 Thread sam rumaizan
Dynamically update mysql field I have a function that will populate the table cells (TD) with data (information) from mysql database. What I need to do is to allow the user to update the cell information (information was pulled from mysql database) from the table cells (TD) then the dat

Re: [PHP-WIN] ListBox

2007-05-06 Thread sam rumaizan
Do you have an answer for my question? bedul <[EMAIL PROTECTED]> wrote: - Original Message - From: "sam rumaizan" <[EMAIL PROTECTED]> To: Sent: Saturday, May 05, 2007 12:48 PM Subject: [PHP-WIN] ListBox > The code is fin

[PHP-WIN] ListBox

2007-05-04 Thread sam rumaizan
The code is fine. But I have one problem, when the ListBox display the data it gives me extra empty lines. How can I get rid of these lines? < ListBox Code ---> echo""; echo''; $result = my

Re: [PHP-WIN] Java & PHP

2007-04-23 Thread sam rumaizan
ROTECTED]> wrote: sry.. u mean about java JSP (server Page) or Js (java script) if js can combine with php but jsp can't combine with php.. in fact is waste a time for php + jsp - Original Message ----- From: "sam rumaizan" To: Sent: Sunday, April 22, 2007 12:29 PM Sub

[PHP-WIN] Java & PHP

2007-04-21 Thread sam rumaizan
Dose any one know java Mailing list like this one we have for php? - Ahhh...imagining that irresistible "new car" smell? Check outnew cars at Yahoo! Autos.

Re: [PHP-WIN] Network programming with php

2007-04-15 Thread sam rumaizan
Thank you for the link. This application is using C programming. I’m looking for some thing with PHP Stut <[EMAIL PROTECTED]> wrote: sam rumaizan wrote: > I need to create an online system to monitors the ports for my local network. > For example: > I have 50 ports and I nee

Re: [PHP-WIN] Network programming with php

2007-04-15 Thread sam rumaizan
(printer, PC, access point,...etc) Aaron Kenney <[EMAIL PROTECTED]> wrote: "Network programming" is a very broad term. What is it that you are trying to accomplish? On 4/15/07, sam rumaizan wrote: > Can you recommend any online tutorial OR Book for Network prog

[PHP-WIN] Network programming with php

2007-04-15 Thread sam rumaizan
Can you recommend any online tutorial OR Book for Network programming with php? - Ahhh...imagining that irresistible "new car" smell? Check outnew cars at Yahoo! Autos.

Re: [PHP-WIN] Calling PHP from PHP

2007-04-11 Thread sam rumaizan
1- I have 50 php pages. 2- I want to include all 50 php pages in my main page. include("1.php"); .. include("50.php"); My question is: can I put all of the include php pages in one php page and save it as includepages.php then include this php page to my main page includ

[PHP-WIN] java with PHP

2007-04-11 Thread sam rumaizan
How can I run java with PHP? Any example please - Don't pick lemons. See all the new 2007 cars at Yahoo! Autos.

Re: [PHP-WIN] So why do I need session?

2007-04-11 Thread sam rumaizan
LOBALS[USER] = new User($_SESSION['userId']); endif; of course you should not do that check in login.php... :P Mike PS: That $GLOBALS[USER] and the User class part is my own stuff.. Dunno if anyone else does stuff like that.. :P sam rumaizan skrev: > You use a session to store values th

[PHP-WIN] So why do I need session?

2007-04-10 Thread sam rumaizan
You use a session to store values that are required over the course of a single visit, and a cookie to store more persistent data that is used over multiple visits. Session: when you close the browser the session gets flushed. Which means the browser will not recognize the user next time he/s

[PHP-WIN] Did anyone receive the same email

2007-04-09 Thread sam rumaizan
Did anyone receive the same email? I did not ask to be unsubscript(removed) from php-windows mailing list. Is this another problem in this website? [EMAIL PROTECTED] wrote: Hi! This is the ezmlm program. I'm managing the php-windows@lists.php.net mailing list. I'm working for my owner, who ca

RE: [PHP-WIN] Warning: Cannot modify header information

2007-04-08 Thread sam rumaizan
Thank you George, it works fine. as you said. there was a blank line bofeore wrote: Sam, > I have to different pages (forms) one.php and two.php I created > two different pages (onemysql.php and twomysql.php) to handle > myql data for each of them I add header("Location: one.php"); > to onemy

[PHP-WIN] Warning: Cannot modify header information

2007-04-08 Thread sam rumaizan
I have to different pages (forms) one.php and two.php I created two different pages (onemysql.php and twomysql.php) to handle myql data for each of them I add header("Location: one.php"); to onemysql.php And header("Location: two.php"); to twomysql.php one.php works fine. two.php give me

Re: [PHP-WIN] duplicate entry

2007-04-07 Thread sam rumaizan
Thank you it works fine Stut <[EMAIL PROTECTED]> wrote: sam rumaizan wrote: > *"If the user hits refresh after submitting the form they will refresh > nextpage.php. If they hit back they will be taken back to form.php"* > Yes, *If the user hits refresh after subm

[PHP-WIN] How to read the username

2007-04-07 Thread sam rumaizan
I need my webpage to read the username of the PC (machine). Is it possible to do this with PHP? - The fish are biting. Get more visitors on your site using Yahoo! Search Marketing.

[PHP-WIN] duplicate entry

2007-04-05 Thread sam rumaizan
How do I disable Refresh and Back button. to Prevent duplicate entry - Don't be flakey. Get Yahoo! Mail for Mobile and always stay connected to friends.

Re: [PHP-WIN] insert data in to columns base on the selection of the list box.

2007-04-03 Thread sam rumaizan
bedul, This is what I need (don't worry about the variable names since they are different from my previous email.) '; $query = "SELECT Assign_Engineer FROM lodata"; $result = mysql_query($query); echo""; echo""; echo""; echo""; echo"Choose Name : "; while ($line = m

RE: [PHP-WIN] insert data in to columns base on the selection of the list box.

2007-04-03 Thread sam rumaizan
<[EMAIL PROTECTED]> wrote: When you say "update in to column2, column3..." are you referring to the list boxes or database tables? If it's the list boxes, are you wanting this to happen on the client side? Or are you putting the data all out at once? -Original Message---

[PHP-WIN] insert data in to columns base on the selection of the list box.

2007-04-03 Thread sam rumaizan
Can you help me please? 1-I have created a while loop to populate the list box with the information of column1. 2-I need to update (add data) in to column2, column3, column4 base on the selection of the list box. echo''; $query = "SELECT column1 FROM table"; $re

[PHP-WIN] Help with this error please: no MySQL-Link resource supplied

2007-04-01 Thread sam rumaizan
When I run my PHP page I get this error: An error occurred in script 'C:\Program Files\xampp\htdocs\xampp\Activity_Log\html\ucd.php' on line 114: mysql_close(): no MySQL-Link resource supplied Date/Time: 4-2-2007 09:29:34 - Don't be flakey. Get Yaho