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

2009-03-03 Thread Ashley Sheridan
On Mon, 2009-03-02 at 18:35 -0800, mike wrote: On Mon, Mar 2, 2009 at 3:29 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: There are a lot of free FTP Java applets out there, which you could easily integrate with a web page and your hosting. You'll have the advantage of a familiar

[PHP] Question about template systems

2009-03-03 Thread Matthew Croud
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 static navigation

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

2009-03-03 Thread mike
On Tue, Mar 3, 2009 at 12:02 AM, Ashley Sheridan a...@ashleysheridan.co.uk 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 of it, kinda requires the user to have

Re: [PHP] Question about template systems

2009-03-03 Thread Marcus Gnaß
Marcus Gnaß wrote: like with programming questions in general. Should have read my own post before sending! ;) Should be programming languages! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Question about template systems

2009-03-03 Thread Matthew Croud
Excellent, thanks for your help guys, you've been really helpful :) On 3 Mar 2009, at 10:20, Marcus Gnaß 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

Re: [PHP] Question about template systems

2009-03-03 Thread Richard Heyes
Hi, 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 static navigation

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

[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 block number=1.1.1 below 1.1.3 and it's number gets changed from 1.1.1 1.1.3

[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] 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

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

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 been

[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

[PHP] whoami explanation

2009-03-03 Thread PJ
This really needs some explanation I found this on the web: ?php echo `whoami`; ? 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: |?php

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: ?php echo `whoami`; ? 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

Re: [PHP] whoami explanation

2009-03-03 Thread Per Jessen
PJ wrote: This really needs some explanation I found this on the web: ?php echo `whoami`; ? 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

Re: [PHP] whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 10:42, PJ af.gour...@videotron.ca wrote: This really needs some explanation I found this on the web: ?php echo `whoami`; ? with it there was the comment the direction of those single-quotes matters (WHY ?) Those are called backtick operators. Like in BASh and most

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: ?php echo `whoami`; ? 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

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: ?php echo `whoami`; ? 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

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: PJ

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 back

[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 Daniel Brown
On Tue, Mar 3, 2009 at 10:57, PJ af.gour...@videotron.ca 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

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: ?php echo `whoami`; ? 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

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: ?php echo `whoami`; ? with it there was the comment the direction of those single-quotes matters (WHY ?) and it works GIYF -

Re: [PHP] whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 11:03, PJ af.gour...@videotron.ca 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!

[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 =

Re: [PHP] whoami explanation

2009-03-03 Thread PJ
Daniel Brown wrote: On Tue, Mar 3, 2009 at 10:57, PJ af.gour...@videotron.ca 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

[PHP] Re: whoami explanation

2009-03-03 Thread Shawn McKenzie
PJ wrote: This really needs some explanation I found this on the web: ?php echo `whoami`; ? 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,

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, it is

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

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? I don't

Re: [PHP] whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 11:16, PJ af.gour...@videotron.ca 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

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: ?php echo `whoami`; ? 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

Re: [PHP] whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 11:22, PJ af.gour...@videotron.ca 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

Re: [PHP] Re: whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 11:27, PJ af.gour...@videotron.ca 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 P. Brown daniel.br...@parasane.net || danbr...@php.net

[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 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

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: ?php echo `whoami`; ? with it there was the comment the direction of those single-quotes matters (WHY ?) and it works But this

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: ?php echo `whoami`; ? 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

Re: [PHP] whoami explanation

2009-03-03 Thread PJ
Daniel Brown wrote: On Tue, Mar 3, 2009 at 11:22, PJ af.gour...@videotron.ca 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?

Re: [PHP] whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 11:41, PJ af.gour...@videotron.ca 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

Re: [PHP] Re: whoami explanation

2009-03-03 Thread PJ
Daniel Brown wrote: On Tue, Mar 3, 2009 at 11:27, PJ af.gour...@videotron.ca 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

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. They just slow

Re: [PHP] Re: whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 11:48, PJ af.gour...@videotron.ca 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

Re: [PHP] whoami explanation

2009-03-03 Thread PJ
Daniel Brown wrote: On Tue, Mar 3, 2009 at 11:41, PJ af.gour...@videotron.ca 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

Re: [PHP] Re: Problems with displaying results

2009-03-03 Thread Kyle Terry
On Tue, Mar 3, 2009 at 8:32 AM, Shawn McKenzie nos...@mckenzies.net 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

Re: [PHP] whoami explanation

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

Re: [PHP] Re: whoami explanation

2009-03-03 Thread PJ
Daniel Brown wrote: On Tue, Mar 3, 2009 at 11:48, PJ af.gour...@videotron.ca 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

[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 nos...@mckenzies.netwrote: 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

Re: [PHP] whoami explanation

2009-03-03 Thread PJ
Daniel Brown wrote: On Tue, Mar 3, 2009 at 11:59, PJ af.gour...@videotron.ca 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

Re: [PHP] whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 12:13, PJ af.gour...@videotron.ca 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

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 af.gour...@videotron.ca 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

Re: [PHP] whoami explanation

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

Re: [PHP] whoami explanation

2009-03-03 Thread Paul M Foster
On Tue, Mar 03, 2009 at 10:57:21AM -0500, PJ wrote: snip 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

[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,

Re: [PHP] Re: whoami explanation

2009-03-03 Thread Paul M Foster
On Tue, Mar 03, 2009 at 11:27:08AM -0500, PJ wrote: snip 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

[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

[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] 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

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 a

[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

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,

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 (as

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 af.gour...@videotron.ca 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?

[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 query

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 a...@ashleysheridan.co.uk 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

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 system would be

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 PHP.

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] 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 a...@ashleysheridan.co.ukwrote: 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,

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 ($row1

Re: [PHP] Question about template systems

2009-03-03 Thread Stuart
2009/3/3 Matthew Croud m...@obviousdigital.com 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

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 this would

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 a...@ashleysheridan.co.ukwrote: 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

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 a...@ashleysheridan.co.ukwrote: 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.ukwrote: On Tue, 2009-03-03 at 14:09 -0600, Terion Miller wrote: I'm

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 nos...@mckenzies.netwrote: 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

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 a...@ashleysheridan.co.ukwrote: 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.ukwrote: On

[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

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 kaushalshri...@gmail.com mailto:kaushalshri...@gmail.com wrote: On Tue, Mar 3, 2009 at 11:52 AM, Chris dmag...@gmail.com mailto:dmag...@gmail.com wrote: Kaushal Shriyan wrote: Hi,

[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 'Succeededbr'; else echo 'Error - please check your e-mail addressbr'; and replace them with: echo $recipient . 'brbr'; echo $subject .

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 'Succeededbr'; else echo 'Error - please check your e-mail addressbr'; More likely a mail server issue rather than the

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 a...@ashleysheridan.co.ukwrote: 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.ukwrote: On Tue, 2009-03-03 at 14:09 -0600, Terion Miller wrote: I'm trying

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 --

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

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

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 list i ask

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 Brown wrote:

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 --

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

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 PHP

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 af.gour...@videotron.ca 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

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 -0500, PJ wrote:

Re: [PHP] whoami explanation

2009-03-03 Thread Daniel Brown
On Tue, Mar 3, 2009 at 18:56, PJ af.gour...@videotron.ca 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

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 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

[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 with

[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 at ways to

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

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

  1   2   >