Re: [PHP] Strange charecters

2009-03-03 Thread Paul Scott
On Wed, 2009-03-04 at 10:09 +0530, Chetan Rane wrote: > I am using ob_start() in my application. However I am getting this error > about headers already sent. > _Any_ output will set that error off. Check for Notices, Warnings, echo's, prints and var_dumps in your code. -- Paul -- PHP General

Re: [PHP] ruby / rails within a php site

2009-03-03 Thread dg
If it's html that Ruby generates, you could probably call that file as an include? Something like... $ruby = file_get_contents('rubyfile.html'); then where ever in the document you want that content use: On Mar 3, 2009, at 9:56 PM, ravi Ruddarraju wrote: I have a regular php site. I also h

Re: [PHP] whoami explanation

2009-03-03 Thread PJ
Daniel Brown wrote: > On Tue, Mar 3, 2009 at 18:56, PJ wrote: >> But I'm sorry I missed the fun earlier about the American foibles... >> unfortunately that should go on some other list and I wish I knew which >> one - one that had some smarts to it (like this one) and I'd like to >> really hear wh

[PHP] ruby / rails within a php site

2009-03-03 Thread ravi Ruddarraju
I have a regular php site. I also have a ruby / rails application. Now I want to put the HTML generated by ruby / rails application within a section of a php page. This should be similar to like calling a php function within a section, which would produce the HTML output of the php function. Is s

Re: [PHP] whoami explanation

2009-03-03 Thread PJ
Michael A. Peters wrote: > PJ wrote: > >>> >> Gee, thanks. So, when was I supposed to have used this alias? Hell, I >> can live with my ignorance. What's a POSIX system and why is it a POSIX >> - a language, I think I heard > > cd ~ > > brings you to your home directory. > > cd ~/stuff > > b

[PHP] Strange charecters

2009-03-03 Thread Chetan Rane
Hi gang I am using ob_start() in my application. However I am getting this error about headers already sent. I have put ob_start at the beginning of the script. I think this has to do something with Unicode. Can anyone explain why this happens. And whats the solution for this Chetan Dat

Re: [PHP] Re: Intermittent problem sending mail with PHP

2009-03-03 Thread Jim Lucas
Stephen Hutchison wrote: I'll check with my ISP but if is that then it's a very low limit. I'm finding it's only allowing two or three through before hanging. Is there something i can put in my code so that it at least fails gracefully? It's not a good look just hanging like that. Thanks Ste

RE: [PHP] Re: Question about template systems

2009-03-03 Thread Chetan Rane
Hi I think what you are looking for is static Header Footer and dynamic content. One way of doing this is by having the front controller pattern For example : consider the following list of files in your application 1000.php 2000.php 1001.php 3000.php In the front controller Pattern we usually

[PHP] Re: Question about template systems

2009-03-03 Thread Shawn McKenzie
Shawn McKenzie wrote: > Matthew Croud wrote: >> Hello, >> >> First post here, I'm in the process of learning PHP , I'm digesting a >> few books as we speak. >> I'm working on a content heavy website that provides a lot of >> information, a template system would be great and so i've been looking >>

[PHP] Re: Question about template systems

2009-03-03 Thread Shawn McKenzie
Matthew Croud wrote: > Hello, > > First post here, I'm in the process of learning PHP , I'm digesting a > few books as we speak. > I'm working on a content heavy website that provides a lot of > information, a template system would be great and so i've been looking > at ways to create dynamic data

Re: [PHP] whoami explanation

2009-03-03 Thread Michael A. Peters
Michael A. Peters wrote: With respect to value of issuing shell commands from within php - I'm sure there are some legitimate uses. I use to do it all the time but now I really try not to because it makes the php less portable. You also have to be super careful with your code so that use of

Re: [PHP] whoami explanation

2009-03-03 Thread Michael A. Peters
PJ wrote: Gee, thanks. So, when was I supposed to have used this alias? Hell, I can live with my ignorance. What's a POSIX system and why is it a POSIX - a language, I think I heard cd ~ brings you to your home directory. cd ~/stuff brings you to the stuff sub-directory of your home

Re: [PHP] whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 18:56, PJ wrote: > > But I'm sorry I missed the fun earlier about the American foibles... > unfortunately that should go on some other list and I wish I knew which > one - one that had some smarts to it (like this one) and I'd like to > really hear what people think about "u

Re: [PHP] whoami explanation

2009-03-03 Thread PJ
Boyd, Todd M. wrote: >> -Original Message- >> From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] >> Sent: Tuesday, March 03, 2009 2:07 PM >> To: PJ >> Cc: Daniel Brown; Per Jessen; php-general@lists.php.net >> Subject: Re: [PHP] whoami explanation >> >> On Tue, 2009-03-03 at 11:16 -05

Re: [PHP] whoami explanation

2009-03-03 Thread Clancy
On Tue, 3 Mar 2009 11:09:48 -0500, danbr...@php.net (Daniel Brown) wrote: >On Tue, Mar 3, 2009 at 11:03, PJ wrote: >>> >> ok, ok, I found it but you guys are assuming that this is something >> everybody should know... hell, I've been tinkering with programming and >> unix etc. for many, many year

Re: [PHP] Question about template systems

2009-03-03 Thread Ross McKay
On Tue, 3 Mar 2009 20:46:40 +, stuttle wrote: >[...] >As far as templating systems go I personally don't think they add anything >to the equation unless you're working with designers who are already >familiar with something. Separation of logic and content is important, >abstraction away from

Re: [PHP] Re: Intermittent problem sending mail with PHP

2009-03-03 Thread Stephen Hutchison
I'll check with my ISP but if is that then it's a very low limit. I'm finding it's only allowing two or three through before hanging. Is there something i can put in my code so that it at least fails gracefully? It's not a good look just hanging like that. Thanks Stephen "Chris" wrote in m

Re: [PHP] 0.T Java IDE

2009-03-03 Thread 9el
--- Use FreeOpenSourceSoftwares, Stop piracy, Let the developers live. Get a Free CD of Ubuntu mailed to your door without any cost. Visit : www.ubuntu.com -- On

RE: [PHP] whoami explanation

2009-03-03 Thread Boyd, Todd M.
> -Original Message- > From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] > Sent: Tuesday, March 03, 2009 2:07 PM > To: PJ > Cc: Daniel Brown; Per Jessen; php-general@lists.php.net > Subject: Re: [PHP] whoami explanation > > On Tue, 2009-03-03 at 11:16 -0500, PJ wrote: > > Daniel Bro

RE: [PHP] 0.T Java IDE

2009-03-03 Thread Boyd, Todd M.
> -Original Message- > From: Almog Friedman [mailto:ter...@gmail.com] > Sent: Tuesday, March 03, 2009 7:55 AM > To: php-general@lists.php.net > Subject: [PHP] 0.T Java IDE > > Since I know theres alot of Java progarammers in this list and I don't > want > to sign upo to another mailing lis

Re: [PHP] allow_url_fopen & allow_url_include

2009-03-03 Thread Chris
allow_url_fopen is not a security issue - it only returns the code, it does not execute it. But yes you can use curl instead of relying on allow_url_fopen. Well, allow_url_fopen is really a security issue. A renowned programmer (http://hasin.wordpress.com) said it could even cau

Re: [PHP] 0.T Java IDE

2009-03-03 Thread German Geek
Give the free eclipse a go. If you need an easy to use gui editor IBM Websphere (which is also based on Eclipse): http://www-01.ibm.com/software/websphere/ Eclipse is great, has PDT (PHP Development Tools) too... Regards, Tim Tim-Hinnerk Heuer http://www.ihostnz.com Dick Cavett - "If your pare

Re: [PHP] allow_url_fopen & allow_url_include

2009-03-03 Thread 9el
--- Use FreeOpenSourceSoftwares, Stop piracy, Let the developers live. Get a Free CD of Ubuntu mailed to your door without any cost. Visit : www.ubuntu.com -- On

Re: [PHP] Whats the correct syntax for using query results in a new query

2009-03-03 Thread Terion Miller
On Tue, Mar 3, 2009 at 2:51 PM, Ashley Sheridan wrote: > On Tue, 2009-03-03 at 14:36 -0600, Terion Miller wrote: > > On Tue, Mar 3, 2009 at 2:20 PM, Ashley Sheridan < > a...@ashleysheridan.co.uk>wrote: > > > > > On Tue, 2009-03-03 at 14:09 -0600, Terion Miller wrote: > > > > I'm trying to use the

Re: [PHP] Re: Intermittent problem sending mail with PHP

2009-03-03 Thread Chris
Stephen Hutchison wrote: This appears to by a problem with the mail function. When I comment out the lines: if (mail($recipient, $subject, $message, $headers)) echo 'Succeeded'; else echo 'Error - please check your e-mail address'; More likely a mail server issue rather than the mail

[PHP] Re: Intermittent problem sending mail with PHP

2009-03-03 Thread Stephen Hutchison
This appears to by a problem with the mail function. When I comment out the lines: if (mail($recipient, $subject, $message, $headers)) echo 'Succeeded'; else echo 'Error - please check your e-mail address'; and replace them with: echo $recipient . ''; echo $subject . ''; echo $

Re: [PHP] allow_url_fopen & allow_url_include

2009-03-03 Thread Chris
Kaushal Shriyan wrote: On Tue, Mar 3, 2009 at 12:21 PM, Kaushal Shriyan mailto:kaushalshri...@gmail.com>> wrote: On Tue, Mar 3, 2009 at 11:52 AM, Chris mailto:dmag...@gmail.com>> wrote: Kaushal Shriyan wrote: Hi, I have enabled allow_url_fopen & allow_url_

[PHP] Intermittent problem sending mail with PHP

2009-03-03 Thread Stephen Hutchison
I've set up a small website which allows users to create a form letter and email it to their local candidates in the upcoming state election. The user enters their email address, town/suburb and message into an html form and clicks the Send button. The site then sends an email to each candidat

Re: [PHP] Whats the correct syntax for using query results in a new query

2009-03-03 Thread Ashley Sheridan
On Tue, 2009-03-03 at 15:54 -0500, Bastien Koert wrote: > On Tue, Mar 3, 2009 at 3:51 PM, Ashley Sheridan > wrote: > > > On Tue, 2009-03-03 at 14:36 -0600, Terion Miller wrote: > > > On Tue, Mar 3, 2009 at 2:20 PM, Ashley Sheridan < > > a...@ashleysheridan.co.uk>wrote: > > > > > > > On Tue, 2009

Re: [PHP] Re: [PHP-DB] Re: Problems with displaying results

2009-03-03 Thread Ashley Sheridan
On Tue, 2009-03-03 at 11:08 -0600, Terion Miller wrote: > On Tue, Mar 3, 2009 at 10:32 AM, Shawn McKenzie wrote: > > > Terion Miller wrote: > > > I have two queries one pulls out which users to use and the second pulls > > > those users orders > > > Looks something like this but is only pullin

Re: [PHP] Whats the correct syntax for using query results in a new query

2009-03-03 Thread Bastien Koert
On Tue, Mar 3, 2009 at 3:51 PM, Ashley Sheridan wrote: > On Tue, 2009-03-03 at 14:36 -0600, Terion Miller wrote: > > On Tue, Mar 3, 2009 at 2:20 PM, Ashley Sheridan < > a...@ashleysheridan.co.uk>wrote: > > > > > On Tue, 2009-03-03 at 14:09 -0600, Terion Miller wrote: > > > > I'm trying to use th

Re: [PHP] Whats the correct syntax for using query results in a new query

2009-03-03 Thread Ashley Sheridan
On Tue, 2009-03-03 at 14:36 -0600, Terion Miller wrote: > On Tue, Mar 3, 2009 at 2:20 PM, Ashley Sheridan > wrote: > > > On Tue, 2009-03-03 at 14:09 -0600, Terion Miller wrote: > > > I'm trying to use the AdminID that returns from query #1 in the WHERE > > > AdminID = AdminID from Query 1 > > > >

RE: [PHP] Cache engines in a multi-tenant environment (a bit long)

2009-03-03 Thread Damon Miller
On Tue, 2009-03-03 at 14:52 -0500, Robert Cummings wrote: > > > > My question then becomes the following: Is there a cache engine > > available which can store multiple (different) copies of a source file > > and serve them only to the appropriate request? Perhaps a better way > > to describe thi

Re: [PHP] Question about template systems

2009-03-03 Thread Stuart
2009/3/3 Matthew Croud > First post here, I'm in the process of learning PHP , I'm digesting a few > books as we speak. > I'm working on a content heavy website that provides a lot of information, > a template system would be great and so i've been looking at ways to create > dynamic data with a

Re: [PHP] Whats the correct syntax for using query results in a new query

2009-03-03 Thread Dan Shirah
> > I'm trying to use the AdminID that returns from query #1 in the WHERE > AdminID = AdminID from Query 1 Okay, I think I understand what you are trying to do. //query 1 $query1 = "SELECT UserName, AdminID FROM admin WHERE Retail1 = 'YES'"; $result1 = mysql_query ($query1) ; while ($r

Re: [PHP] Whats the correct syntax for using query results in a new query

2009-03-03 Thread Terion Miller
On Tue, Mar 3, 2009 at 2:20 PM, Ashley Sheridan wrote: > On Tue, 2009-03-03 at 14:09 -0600, Terion Miller wrote: > > I'm trying to use the AdminID that returns from query #1 in the WHERE > > AdminID = AdminID from Query 1 > > > > $sql= "SELECT WorkOrderID, CreatedDate, Location, WorkOrderName

Re: [PHP] Whats the correct syntax for using query results in a new query

2009-03-03 Thread Ashley Sheridan
On Tue, 2009-03-03 at 14:09 -0600, Terion Miller wrote: > I'm trying to use the AdminID that returns from query #1 in the WHERE > AdminID = AdminID from Query 1 > > $sql= "SELECT WorkOrderID, CreatedDate, Location, WorkOrderName, > AdminID, FormName, Status, Notes, pod FROM `workorders` WHERE

Re: [PHP] possible session bug - Mantis Bug Tracker

2009-03-03 Thread Ashley Sheridan
On Tue, 2009-03-03 at 11:18 -0500, Robert Cummings wrote: > On Tue, 2009-03-03 at 11:01 -0500, Edsall, William (WJ) wrote: > > Hello list! > > I'm having a strange problem with php after installing Mantis Bug > > Tracker. I'm not sure if this is a Mantis bug or a PHP bug but I'm > > leaning toward

Re: [PHP] Re: Question about template systems

2009-03-03 Thread Ashley Sheridan
On Tue, 2009-03-03 at 20:53 +0100, Martin Zvarík wrote: > Matthew Croud napsal(a): > > Hello, > > > > First post here, I'm in the process of learning PHP , I'm digesting a > > few books as we speak. > > I'm working on a content heavy website that provides a lot of > > information, a template sys

Re: [PHP] upload progress (was www.soongy.com)

2009-03-03 Thread Ashley Sheridan
On Tue, 2009-03-03 at 02:20 -0800, mike wrote: > On Tue, Mar 3, 2009 at 12:02 AM, Ashley Sheridan > wrote: > > > Whoever said anything about open FTP? > > how else do you do it? > > either it's open/anonymous, or some hardcoded account info. either > way, not very secure, and due to the nature

[PHP] Whats the correct syntax for using query results in a new query

2009-03-03 Thread Terion Miller
I'm trying to use the AdminID that returns from query #1 in the WHERE AdminID = AdminID from Query 1 $sql= "SELECT WorkOrderID, CreatedDate, Location, WorkOrderName, AdminID, FormName, Status, Notes, pod FROM `workorders` WHERE AdminID = '".$row['AdminID']."' "; that isn't working and the que

Re: [PHP] whoami explanation

2009-03-03 Thread Ashley Sheridan
On Tue, 2009-03-03 at 11:16 -0500, PJ wrote: > Daniel Brown wrote: > > On Tue, Mar 3, 2009 at 10:57, PJ wrote: > > > >> forgot to add: > >> What's the difference between back ticks or quotes and regular single > >> quotes? > >> How does one enter back quotes from the keyboard? > >> > > > >

Re: [PHP] Re: Can't set expect.timeout

2009-03-03 Thread Clement Yui-Wah Lee
Dear Rob, The default value of expect.timeout is 10 (minutes), which is what I would get if I don't do any ini_set(). I could set the value to 0 but not to any values. What do you mean by "inaccessible at runtime"? I could set another related parameter expect.logfile to, say, "/tmp/tmp"

Re: [PHP] Re: Can't set expect.timeout

2009-03-03 Thread Robert Cummings
On Tue, 2009-03-03 at 14:49 -0500, Clement Yui-Wah Lee wrote: > Dear friends, > > I am still hoping to get an answer to this question (see > below). Kindly please see if you can run the test on your site. > > Any insight is very much welcome! > > Clement > > Clement Yui-Wah Lee wrote: > > Hi,

[PHP] Re: Question about template systems

2009-03-03 Thread Martin Zvarík
Matthew Croud napsal(a): Hello, First post here, I'm in the process of learning PHP , I'm digesting a few books as we speak. I'm working on a content heavy website that provides a lot of information, a template system would be great and so i've been looking at ways to create dynamic data with

Re: [PHP] Cache engines in a multi-tenant environment (a bit long)

2009-03-03 Thread Robert Cummings
On Tue, 2009-03-03 at 11:41 -0800, Damon Miller wrote: > > My question then becomes the following: Is there a cache engine > available which can store multiple (different) copies of a source file > and serve them only to the appropriate request? Perhaps a better way > to > describe this would be

[PHP] Re: Can't set expect.timeout

2009-03-03 Thread Clement Yui-Wah Lee
Dear friends, I am still hoping to get an answer to this question (see below). Kindly please see if you can run the test on your site. Any insight is very much welcome! Clement Clement Yui-Wah Lee wrote: Hi, Apparently I can't set the value for expect.timeout to any values other than 0 (

[PHP] Cache engines in a multi-tenant environment (a bit long)

2009-03-03 Thread Damon Miller
Hi all. I need some guidance on implementing a PHP cache engine in a "multi-tenant" environment. I've done some research on the open-source cache engines available--specifically, APC, XCache, and eAccelerator--but I haven't found anything that speaks to my use case. Hopefully someone will be able

[PHP] How important is your Express or Web Edition database? Please weigh in--

2009-03-03 Thread Stan Stadelman
Thank you to everyone who participated in the survey, or who posted to the thread! To cover some of the responses: Yes, web-edition is a reduced-functionality version. Typically they're capped at 4GB, a la MSSQL Express Edition. Our (Sybase) Web-Edition has no volume restriction, but access is

Re: [PHP] Re: whoami explanation

2009-03-03 Thread Paul M Foster
On Tue, Mar 03, 2009 at 11:27:08AM -0500, PJ wrote: > What is not clear to me is why would I need to use a shell? What kind of > situations call for it's use? If you don't know the answer to that question, why would you ask the original question? If you don't believe you don't have a use for th

[PHP] IasisNet.org Free Medical Resources-Doctors Online Community! Newsletter for 03/03/2009

2009-03-03 Thread IasisNet
This is not SPAM, if you want to unsubscribe just reply to this message with subject "unsubscribe". IasisNet.org Free Medical Resources-Doctors Online Community! Newsletter for 03/03/2009: News Young ex-servicemen at increased risk of suicide News Alcohol abuse may lead to depression risk, r

Re: [PHP] whoami explanation

2009-03-03 Thread Paul M Foster
On Tue, Mar 03, 2009 at 10:57:21AM -0500, PJ wrote: > How does one enter back quotes from the keyboard? Tell me you didn't seriously just ask that question. Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 12:37, Robert Cummings wrote: > > You have an extraneous "sometimes" in the above sentence! Yeah, I was waiting for that ;-P -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ 50% Off All Shared Hosting Plans at

Re: [PHP] whoami explanation

2009-03-03 Thread Robert Cummings
On Tue, 2009-03-03 at 12:17 -0500, Daniel Brown wrote: > On Tue, Mar 3, 2009 at 12:13, PJ wrote: > >> > > Let's not get too personnal here... it was meant to blow a kiss of > > appreciation to all... ;-) > > I may not be gay, but I love my gay friends... and I do not mean in the > > way Jimmy Car

Re: [PHP] whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 12:13, PJ wrote: >> > Let's not get too personnal here... it was meant to blow a kiss of > appreciation to all... ;-) > I may not be gay, but I love my gay friends... and I do  not mean in the > way Jimmy Carter's translators goofed when he went to Poland and > announced tha

Re: [PHP] whoami explanation

2009-03-03 Thread PJ
Daniel Brown wrote: > On Tue, Mar 3, 2009 at 11:59, PJ wrote: > >> :-* >> > > Umm thanks? > > (You do know that's the emoticon to symbolize kissing, right?) > > Let's not get too personnal here... it was meant to blow a kiss of appreciation to all... ;-) I may not be gay, bu

[PHP] Re: [PHP-DB] Re: Problems with displaying results

2009-03-03 Thread Terion Miller
On Tue, Mar 3, 2009 at 10:32 AM, Shawn McKenzie wrote: > Terion Miller wrote: > > I have two queries one pulls out which users to use and the second pulls > > those users orders > > Looks something like this but is only pulling the first record: > > > > > > $query = "SELECT `UserName`, `A

Re: [PHP] Re: whoami explanation

2009-03-03 Thread PJ
Daniel Brown wrote: > On Tue, Mar 3, 2009 at 11:48, PJ wrote: > > [snip!] > >> Now I'm trying to modify my daughter's ptahhotep.com to use MySql. It's >> a learning experience. >> > > Through the years I've probably sounded like a broken record or > like I'm paid to endorse them or

Re: [PHP] whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 11:59, PJ wrote: >> > :-* Umm thanks? (You do know that's the emoticon to symbolize kissing, right?) -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ 50% Off All Shared Hosting Plans at PilotPig: Use Coupo

Re: [PHP] Re: Problems with displaying results

2009-03-03 Thread Kyle Terry
On Tue, Mar 3, 2009 at 8:32 AM, Shawn McKenzie wrote: > Terion Miller wrote: > > I have two queries one pulls out which users to use and the second pulls > > those users orders > > Looks something like this but is only pulling the first record: > > > > > > $query = "SELECT `UserName`, `A

Re: [PHP] whoami explanation

2009-03-03 Thread PJ
Daniel Brown wrote: > On Tue, Mar 3, 2009 at 11:41, PJ wrote: > >> I appreciate the input and I take the chastizing with a ton of salt. >> > > It's all in good fun and being the new guy, it's at your expense. ;-P > > Having thick skin means you'll stick around and probably lea

Re: [PHP] Re: whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 11:48, PJ wrote: >> [snip!] > Now I'm trying to modify my daughter's ptahhotep.com to use MySql. It's > a learning experience. Through the years I've probably sounded like a broken record or like I'm paid to endorse them or something, but I'd recommend checking out PHPB

Re: [PHP] Re: whoami explanation

2009-03-03 Thread PJ
Bob McConnell wrote: > From: PJ > >> What is not clear to me is why would I need to use a shell? What kind >> > of > >> situations call for it's use? >> > > It's a matter of expectations. I am still trying to figure out why > anyone would want a GUI on any version of Unix or Linux.

Re: [PHP] Re: whoami explanation

2009-03-03 Thread PJ
Daniel Brown wrote: > On Tue, Mar 3, 2009 at 11:27, PJ wrote: > >> What is not clear to me is why would I need to use a shell? What kind of >> situations call for it's use? >> > > On what kind of programming did you spend those years? > Not really programming, more like overseeing t

Re: [PHP] whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 11:41, PJ wrote: > > I appreciate the input and I take the chastizing with a ton of salt. It's all in good fun and being the new guy, it's at your expense. ;-P Having thick skin means you'll stick around and probably learn a lot from the folks on this list. S

Re: [PHP] whoami explanation

2009-03-03 Thread PJ
Daniel Brown wrote: > On Tue, Mar 3, 2009 at 11:22, PJ wrote: > >> Ok, but how does this relate to a command passed from a php Web page? >> I don't understand the processus. >> I use bash on my FreeBSD and have not needed a back quote yet that I can >> recall... and on WinXP? >> > > As

Re: [PHP] Re: whoami explanation

2009-03-03 Thread Shawn McKenzie
PJ wrote: > Shawn McKenzie wrote: >> PJ wrote: >> >>> This really needs some explanation >>> I found this on the web: >>> >>> with it there was the comment "the direction of those single-quotes matters" >>> (WHY ?) >>> and it works >>> >>> But this (_*FROM THE PHP MANUAL***_ * - exec()* ex

Re: [PHP] Re: whoami explanation

2009-03-03 Thread Robert Cummings
On Tue, 2009-03-03 at 11:27 -0500, PJ wrote: > Shawn McKenzie wrote: > > PJ wrote: > > > >> This really needs some explanation > >> I found this on the web: > >> > >> with it there was the comment "the direction of those single-quotes > >> matters" > >> (WHY ?) > >> and it works > >> > >>

RE: [PHP] Re: whoami explanation

2009-03-03 Thread Bob McConnell
From: PJ > > What is not clear to me is why would I need to use a shell? What kind of > situations call for it's use? It's a matter of expectations. I am still trying to figure out why anyone would want a GUI on any version of Unix or Linux. They just slow me down and make it very difficult to do

[PHP] Re: Problems with displaying results

2009-03-03 Thread Shawn McKenzie
Terion Miller wrote: > I have two queries one pulls out which users to use and the second pulls > those users orders > Looks something like this but is only pulling the first record: > > > $query = "SELECT `UserName`, `AdminID` FROM admin > WHERE Key1 = 'YES' "; > > $result

Re: [PHP] Re: whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 11:27, PJ wrote: >> > What is not clear to me is why would I need to use a shell? What kind of > situations call for it's use? On what kind of programming did you spend those years? -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://w

Re: [PHP] whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 11:22, PJ wrote: >> > Ok, but how does this relate to a command passed from a php Web page? > I don't understand the processus. > I use bash on my FreeBSD and have not needed a back quote yet that I can > recall... and on WinXP? As in the email I just sent, remember to

Re: [PHP] Re: whoami explanation

2009-03-03 Thread PJ
Shawn McKenzie wrote: > PJ wrote: > >> This really needs some explanation >> I found this on the web: >> >> with it there was the comment "the direction of those single-quotes matters" >> (WHY ?) >> and it works >> >> But this (_*FROM THE PHP MANUAL***_ * - exec()* executes the given >> /c

Re: [PHP] whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 11:16, PJ wrote: >> > I don't think it's necessary to be sarcastic... That's okay, I'll allow it anyway. > Hate to disappoint you, but on my computer (FreeBSD 7.0) on Firefox > Google does not go directly to the php manual... it goes to some nitwit > site thinkexist.co

Re: [PHP] whoami explanation

2009-03-03 Thread PJ
Per Jessen wrote: > PJ wrote: > > >> forgot to add: >> What's the difference between back ticks or quotes and regular single >> quotes? >> > > text in back ticks is executed via a shell, text in single quotes isn't. > Ok, but how does this relate to a command passed from a php Web page?

Re: [PHP] whoami explanation

2009-03-03 Thread Robert Cummings
On Tue, 2009-03-03 at 11:03 -0500, PJ wrote: > > ok, ok, I found it but you guys are assuming that this is something > everybody should know... hell, I've been tinkering with programming and > unix etc. for many, many years and this is the first time I ran into > back quotes. > SORRY! You're not t

Re: [PHP] possible session bug - Mantis Bug Tracker

2009-03-03 Thread Robert Cummings
On Tue, 2009-03-03 at 11:01 -0500, Edsall, William (WJ) wrote: > Hello list! > I'm having a strange problem with php after installing Mantis Bug > Tracker. I'm not sure if this is a Mantis bug or a PHP bug but I'm > leaning toward PHP. > > Here's what's going on. When I view an issue in Mantis,

[PHP] Re: whoami explanation

2009-03-03 Thread Shawn McKenzie
PJ wrote: > This really needs some explanation > I found this on the web: > > with it there was the comment "the direction of those single-quotes matters" > (WHY ?) > and it works > > But this (_*FROM THE PHP MANUAL***_ * - exec()* executes the given > /command/ ) does not, > COPIED AND PAST

Re: [PHP] whoami explanation

2009-03-03 Thread PJ
Daniel Brown wrote: > On Tue, Mar 3, 2009 at 10:57, PJ wrote: > >> forgot to add: >> What's the difference between back ticks or quotes and regular single >> quotes? >> How does one enter back quotes from the keyboard? >> > > Welcome to the Internet! > > The first place you should

[PHP] Problems with displaying results

2009-03-03 Thread Terion Miller
I have two queries one pulls out which users to use and the second pulls those users orders Looks something like this but is only pulling the first record: $query = "SELECT `UserName`, `AdminID` FROM admin WHERE Key1 = 'YES' "; $result = mysql_query ($query) ; $row = my

Re: [PHP] whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 11:03, PJ wrote: >> > ok, ok, I found it but you guys are assuming that this is something > everybody should know... hell, I've been tinkering with programming and > unix etc. for many, many years and this is the first time I ran into > back quotes. > SORRY! You're assu

Re: [PHP] whoami explanation

2009-03-03 Thread Robert Cummings
On Tue, 2009-03-03 at 10:57 -0500, PJ wrote: > Per Jessen wrote: > > PJ wrote: > > > > > >> This really needs some explanation > >> I found this on the web: > >> > >> with it there was the comment "the direction of those single-quotes > >> matters" (WHY ?) and it works > >> > >> > > >

Re: [PHP] whoami explanation

2009-03-03 Thread PJ
Per Jessen wrote: > PJ wrote: > > >> This really needs some explanation >> I found this on the web: >> >> with it there was the comment "the direction of those single-quotes >> matters" (WHY ?) and it works >> >> > > GIYF - look up "back quotes". > > >> But this (_*FROM THE PHP MANU

Re: [PHP] whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 10:57, PJ wrote: >> > forgot to add: > What's the difference between back ticks or quotes and regular single > quotes? > How does one enter back quotes from the keyboard? Welcome to the Internet! The first place you should look when you have a question is on Google

[PHP] possible session bug - Mantis Bug Tracker

2009-03-03 Thread Edsall, William (WJ)
Hello list! I'm having a strange problem with php after installing Mantis Bug Tracker. I'm not sure if this is a Mantis bug or a PHP bug but I'm leaning toward PHP. Here's what's going on. When I view an issue in Mantis, it is slow to spit out the text and often does not finish spitting out the

Re: [PHP] whoami explanation

2009-03-03 Thread Per Jessen
PJ wrote: > forgot to add: > What's the difference between back ticks or quotes and regular single > quotes? text in back ticks is executed via a shell, text in single quotes isn't. > How does one enter back quotes from the keyboard? > Depends on your keyboard - on my current keyboard, the ba

RE: [PHP] whoami explanation

2009-03-03 Thread bruce
hi pj... single quotes are entered via the key directly left from the "return/enter" key on most/all qwerty keyboards... the 'backtic' is normally the shift '~' key... the key, right to the left of the '1' key... in the upper left position of the keyboard... -Original Message- From: P

Re: [PHP] whoami explanation

2009-03-03 Thread PJ
Per Jessen wrote: > PJ wrote: > > >> This really needs some explanation >> I found this on the web: >> >> with it there was the comment "the direction of those single-quotes >> matters" (WHY ?) and it works >> >> > > GIYF - look up "back quotes". > > >> But this (_*FROM THE PHP MANU

Re: [PHP] whoami explanation

2009-03-03 Thread PJ
Per Jessen wrote: > PJ wrote: > > >> This really needs some explanation >> I found this on the web: >> >> with it there was the comment "the direction of those single-quotes >> matters" (WHY ?) and it works >> >> > > GIYF - look up "back quotes". > > >> But this (_*FROM THE PHP MANU

Re: [PHP] whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 10:42, PJ wrote: > This really needs some explanation > I found this on the web: > > with it there was the comment "the direction of those single-quotes matters" > (WHY ?) Those are called "backtick operators." Like in BASh and most other *NIX shells, that instructs t

Re: [PHP] whoami explanation

2009-03-03 Thread Per Jessen
PJ wrote: > This really needs some explanation > I found this on the web: > > with it there was the comment "the direction of those single-quotes > matters" (WHY ?) and it works > GIYF - look up "back quotes". > But this (_*FROM THE PHP MANUAL***_ * - exec()* executes the given > /command

Re: [PHP] whoami explanation

2009-03-03 Thread Robert Cummings
On Tue, 2009-03-03 at 10:42 -0500, PJ wrote: > This really needs some explanation > I found this on the web: > > with it there was the comment "the direction of those single-quotes matters" > (WHY ?) > and it works > > But this (_*FROM THE PHP MANUAL***_ * - exec()* executes the given > /com

[PHP] whoami explanation

2009-03-03 Thread PJ
This really needs some explanation I found this on the web: with it there was the comment "the direction of those single-quotes matters" (WHY ?) and it works But this (_*FROM THE PHP MANUAL***_ * - exec()* executes the given /command/ ) does not, COPIED AND PASTED: | | What is going on here?

[PHP] RE: file locking...

2009-03-03 Thread bruce
Hi Dennis... Thanks for the reply... Here's my solution up to now.. might change in the future... The problem: App has a bunch of clients that need to get a separate/unique list of files from a master server app. The files are created by the master server process, and reside on the filesystem beh

Re: [PHP] Question about template systems

2009-03-03 Thread Paul M Foster
On Tue, Mar 03, 2009 at 09:01:06AM +, Matthew Croud wrote: > Hello, > > First post here, I'm in the process of learning PHP , I'm digesting a > few books as we speak. > I'm working on a content heavy website that provides a lot of > information, a template system would be great and so i've bee

Re: [PHP] ldap_search filter with memberOf

2009-03-03 Thread Romer Ventura
If you notice when you get the "memberOf" back from the server you ll see it is an array with full CN; so if you dont want to loop through the array returned you can try to see if filtering with the full CN will work. I found it easier to just get all of "memberOf" and then use PHP to get

[PHP] 0.T Java IDE

2009-03-03 Thread Almog Friedman
Since I know theres alot of Java progarammers in this list and I don't want to sign upo to another mailing list i ask it here I'm searching for a Java ide (not netbeans, I'm sick of netbeans) which does gui in swing the best(i come from C# with visual studio and i'm searching for something that is

[PHP] Re: Fwrite() vs file_put_contents()

2009-03-03 Thread RottenEye
I Clancy, Have you tried to convert your content to an .ini file? I heard that the php function "parse_ini_file" is very fast for reading this kind of files, although for writing you have to use some sort of php class, that can be slower than your method. Depends what you trying to do I guess

[PHP] XML manipulation

2009-03-03 Thread Raido
Hi! Manipulating XML files with PHP is quite new thing to me, so I could need a bit help with it. Here are the questions(and below are XML schema): 1) Is it possible to change those blocks order? For example I move below 1.1.3 and it's number gets changed from 1.1.1 > 1.1.3 and 1.1.2 > 1.1.1

Re: [PHP] Question about template systems

2009-03-03 Thread Marcus Gnaß
Matthew Croud wrote: Hello, First post here, I'm in the process of learning PHP , I'm digesting a few books as we speak. I'm working on a content heavy website that provides a lot of information, a template system would be great and so i've been looking at ways to create dynamic data with a s

  1   2   >