Re: [PHP] Class function calling another function in class

2005-05-18 Thread Chris
You keep on appending $this->str to itself. Comments are inline. Charles Kline wrote: Hi all, Not sure if I am doing this right and I can't figure it out, was hoping someone here can help. I have an organization table in mySQL. Pretty standard. My first function getDepts() is working as I inte

RE: [PHP] html editor written in PHP

2005-05-18 Thread Murray @ PlanetThoughtful
> Has anyone seen an example of a HTML editor written in PHP (no JS)? > You know the ones - for adding HTML tags to a text field, etc. > > Thanks! You've already received a number of responses indicating that it's not possible to have a pure PHP browser enabled HTML editor, mainly due to the fact

[PHP] multiple inserts into a db

2005-05-18 Thread mayo
I'm putting ordered items into a db. The information is stored in session variables. Session_variable_with_itemID_has(1001,1002,1003,1004) however when inserted into the db only 0,0,0,0 is recorded. Assuming that this was the 40th recorded order the table should look like this TABLE: orderedI

Re: [PHP] array_diff odities

2005-05-18 Thread José Luis Palacios Vergara
-unsubscribe-digest- - Original Message - From: "Pablo Gosse" <[EMAIL PROTECTED]> To: "PHP" Sent: Wednesday, May 18, 2005 11:03 PM Subject: [PHP] array_diff odities Howdy folks. I'm running into something strange with array_diff that I'm hoping someone can shed some light on. I have t

[PHP] array_diff odities

2005-05-18 Thread Pablo Gosse
Howdy folks. I'm running into something strange with array_diff that I'm hoping someone can shed some light on. I have two tab-delimited text files, and need to find the lines in the first that are not in the second, and vice-versa. There are 794 records in the first, and 724 in the second. S

Re: [PHP] libxml_set_streams_context

2005-05-18 Thread Bill Hoffman
On May 18, 2005, at 7:07 PM, Jared Williams wrote: Heh, yes indeed most baffling... Libxml must be performing some sort of cacheing, I guess. Doesn't appear to be requesting twice (once with the if-modified-since header, and again without atleast) well, thanks for the confirm on that. I thought o

Re: [PHP] Responses in my email.

2005-05-18 Thread Greg Donald
On 5/18/05, Rob Agar <[EMAIL PROTECTED]> wrote: > because remembering > to hit reply-to-all gets on my nerves too.. It's fairly painless once you get used to it. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] libxml_set_streams_context

2005-05-18 Thread Jared Williams
> -Original Message- > From: Bill Hoffman [mailto:[EMAIL PROTECTED] > Sent: 19 May 2005 00:46 > To: php-general@lists.php.net > Subject: Re: [PHP] libxml_set_streams_context > > > On May 18, 2005, at 4:10 PM, Jared Williams wrote: > > > Sure the server is checking if modified since h

Re: [PHP] Responses in my email.

2005-05-18 Thread Esteamedpw
Yeah, I think I've replied to people rather than the list, sorry to those I sent mail to... 8-(

RE: [PHP] html editor written in PHP

2005-05-18 Thread Pablo Gosse
Has anyone seen an example of a HTML editor written in PHP (no JS)? You know the ones - for adding HTML tags to a text field, etc. I think what you're asking for is a logical impossibility. PHP is server side, so without javascript a browser-based wysiwyg editor would be impossible, since the

Re: [PHP] html editor written in PHP

2005-05-18 Thread Mark Cain
I have not seen any and I know that you don't have time to read the replies of everyone who hasn't seen something. So let me tell you why it's most likely that there is not one (PHP HTML editor w/o JS). PHP is server side. Every click of the mouse would have to cause a page to be refreshed (a tr

[PHP] cancel <20050519000845.2346.qmail@lists.php.net>

2005-05-18 Thread herojoker
This message was cancelled from within Mozilla. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: html editor written in PHP

2005-05-18 Thread Manuel Lemos
Hello, on 05/18/2005 07:02 PM Dustin Krysak said the following: Has anyone seen an example of a HTML editor written in PHP (no JS)? You know the ones - for adding HTML tags to a text field, etc. You may want to take a look at these PHP classes that generate the necessary HTML and Javascript to e

[PHP] Mindbuster - uploading works in some directories

2005-05-18 Thread Mario netMines
Hi all this is so weird but here it goes: PHP version: 4.3.11 Operating system: win XP SP2 I have been using the same uploading script for a while. I just got a new Athlon 64bit and I installed PHP and the rest as always. The only problem is that now my images are not getting to the directory I

[PHP] Class function calling another function in class

2005-05-18 Thread Charles Kline
Hi all, Not sure if I am doing this right and I can't figure it out, was hoping someone here can help. I have an organization table in mySQL. Pretty standard. My first function getDepts() is working as I intend and returning the tree just as I like it. The new piece I added in there that is

RE: [PHP] Responses in my email.

2005-05-18 Thread Rob Agar
> From: Rory Browne > This is primarly a mailing list. Not a news group. The whole idea of a > mailing list is that you get every message mailed to you. uh, I think the OP is complaining about the emails that *don't* go via the list, because this list is set up so that hitting reply goes to the

[PHP] Re: html editor written in PHP

2005-05-18 Thread Hero Wanders
Hello! Has anyone seen an example of a HTML editor written in PHP (no JS)? You know the ones - for adding HTML tags to a text field, etc. I think the FCKEditor on http://www.fckeditor.net is quite good, but it uses JS. Hero Wanders -- PHP General Mailing List (http://www.php.net/) To unsubscrib

Re: [PHP] libxml_set_streams_context

2005-05-18 Thread Bill Hoffman
On May 18, 2005, at 4:10 PM, Jared Williams wrote: Sure the server is checking if modified since headers? I'm capturing the response headers from the remote server, so I can see that. Just tried a bit of code here and it seems to be working as expected (5.0.4 Win32) 1) I made an initial mistak

Re: Fwd: [PHP] Display a database image from MSSQL database

2005-05-18 Thread Richard Lynch
On Wed, May 18, 2005 3:10 pm, Alaor Barroso said: > I try to cut out the stripslashes and it also not work, and yes, the > images are valid, i can use it in delphi apps with no errors. Okay, take one of the images you get out of Delphi. Open it in a text editor. Take one of the images you get ou

Re: [PHP] Image Verification - Problems in Safari, Mac OS X

2005-05-18 Thread Richard Lynch
Your image is *NOT* a DOCTYPE HTML PUBLIC blah blah!!! It's a *IMAGE* Get rid of all the HMTL stuff. You actually need to separate this into two different files. One has all the HTML in it, with a SRC=/URL/to/image.php/image.png The other is JUST the image stuff. If IE actually displays it as

RE: [PHP] libxml_set_streams_context

2005-05-18 Thread Jared Williams
> > I'm trying to use libxml_set_streams_context() to load a > remote xml file via HTTP conditional GET with > DOMDocument::load() by stuffing an > 'If-Modified-Since: --- " HTTP header into the stream, but no > matter how I try it I always get an HTTP 200 response when I > know the last- modi

Re: [PHP] PHP Applications?

2005-05-18 Thread Rasmus Lerdorf
> I can't say for sure, but I'm betting that APC doesn't support the version of PHP that you are > trying to use. Specifically, I don't think it supports PHP5+ Correct, APC is currently PHP4 only. -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.ne

Re: [PHP] PHP Applications?

2005-05-18 Thread Rasmus Lerdorf
Evert | Rooftop wrote: Chris Shiflett wrote: Danny Brow wrote: > Zend sells a compiler to speed up your PHP code. Since it's compiled, > it also does not contain the source code in readable form. You should > visit the Zend website. Any free ones? http://pecl.php.net/package/APC APC won't work for

Re: [PHP] gather reply from POST

2005-05-18 Thread Jeremy Reynolds
On Wed, May 18, 2005 11:55 am, Jeremy Reynolds said: I received this useful bit of code for storing a page into a variable instead of loading it as an include. But how can I modify this to submit some parameters to a page and collect the returned page / HTML into a variable?? Jeremy

Re: [PHP] Image Verification - Problems in Safari, Mac OS X

2005-05-18 Thread Marek Kilimajer
Rahul S. Johari wrote: Ave, A simple Image Verification script is working perfect in IE on Windows... But isn¹t working in Safari on Mac OS X! It displays a blank page instead of the image with the form. Here¹ s the Script: Because only Safari gets it right. With the above line you are saing this

[PHP] html editor written in PHP

2005-05-18 Thread Dustin Krysak
Has anyone seen an example of a HTML editor written in PHP (no JS)? You know the ones - for adding HTML tags to a text field, etc. Thanks! d -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Blank page in browser

2005-05-18 Thread zzapper
On Tue, 17 May 2005 11:41:56 +0300, wrote: >Dear All, > >I'm new to PHP programming and I just try to display small information from >database on web page but its shows blank page. So my code is mention below >and let me know what's wrong in it but when I execute same program on >command prompt t

[PHP] Re: PHP Complex Data Structures

2005-05-18 Thread zzapper
On Wed, 18 May 2005 09:02:01 -0400, wrote: >I find PHP arrays easier than Perl's data structures. Probably because >PHP just has arrays, there really is no differentiation between arrays >(Perl @) and hashes (Perl %). And PHP references arrays the same way as >variables ($), which may or may n

Re: [PHP] Image Verification - Problems in Safari, Mac OS X

2005-05-18 Thread Jason Wong
On Thursday 19 May 2005 03:51, Rahul S. Johari wrote: > A simple Image Verification script is working perfect in IE on > Windows... But isnÂt working in Safari on Mac OS X! It displays a blank > page instead of the image with the form. Here s the Script: That's because IE is severely broken? In

Fwd: [PHP] Display a database image from MSSQL database

2005-05-18 Thread Alaor Barroso
Thankz the atention. I try to cut out the stripslashes and it also not work, and yes, the images are valid, i can use it in delphi apps with no errors. ={ 2005/5/18, Richard Lynch <[EMAIL PROTECTED]>: > On Wed, May 18, 2005 10:28 am, Alaor Barroso said: > > Hi... I need to display some images th

Re: [PHP] Responses in my email.

2005-05-18 Thread Jason Barnett
Rory Browne wrote: This is primarly a mailing list. Not a news group. The whole idea of a mailing list is that you get every message mailed to you. I use this solely as a news group. The news group seems to lag the email responses a little, but not too badly. For those that are interested I use

Re: [PHP] novice: char to varchar

2005-05-18 Thread Philip Hallstrom
On Wed, May 18, 2005 11:15 am, tony yau said: Hi all, I try to do the following: CREATE TABLE IF NOT EXISTS Invoice( PKey INTEGER, Received DATETIME, Cost DECIMAL(10,2), FileName VARCHAR(50), RefNum CHAR(10), PRIMARY KEY (PKey) ) TYPE=MyISAM COMMENT='Invoice Data'; but it keep generatin

Re: [PHP] libxml_set_streams_context

2005-05-18 Thread Bill Hoffman
On May 18, 2005, at 1:20 PM, Richard Lynch wrote: *YOU* have check their return value to see if it's 'false' or -1 or 0 and, if so, *YOU* have to call another function to get the error message and error code. This is what I am suggesting is missing big-time in your code. Yes, you made your poi

Re: [PHP] libxml_set_streams_context

2005-05-18 Thread Richard Lynch
On Tue, May 17, 2005 11:12 pm, Bill Hoffman said: > > > On May 17, 2005, at 10:24 PM, Richard Lynch wrote: > >> I don't know much about that fancy new stream stuff, or the XML >> crap, but >> you've got zero (0) lines of code in there to do anything useful >> when the >> functions fail. > > no func

Re: [PHP] gather reply from POST

2005-05-18 Thread Richard Lynch
On Wed, May 18, 2005 11:55 am, Jeremy Reynolds said: > I received this useful bit of code for storing a page into a variable > instead of loading it as an include. But how can I modify this to > submit some parameters to a page and collect the returned page / HTML > into a variable?? > > Jeremy >

RE: [PHP] Blank page in browser

2005-05-18 Thread Richard Lynch
On Tue, May 17, 2005 10:59 pm, Nayeem said: > I found same error in error_log file which I face on command prompt before > then I install PHP 5.0 with --with-oci8=$ORACLE_HOME compilation so that > problem solved. Now I'm facing same problem on Apache. So can you tell me > where should I define the

[PHP] Tomcat and PHP

2005-05-18 Thread Richard Lynch
To the guy trying to use PHP with Tomcat... I thought of this after deleting all those posts, naturally. :-( In the distant past, when people said "You can use PHP with XYZ web server" I was able to successfully use PHP with those other web-servers by finding good documentation for installing Per

Re: [PHP] directory listing from text file

2005-05-18 Thread Richard Lynch
What I know about Windows mapped drives could fit in a matchbook with room for every Playmate's phone number... But the answer I always hear when people are trying to do what you are trying to do is "Samba" HTH On Wed, May 18, 2005 7:37 am, dreiph said: > Thank you Chris, > > but this is not I n

Re: [PHP] PHP and PayPal

2005-05-18 Thread Andy Pieters
Hi Robert I am just in implementing PayPal as one of the Payment providers on an order. I realize the PayPal documention is a bit too exhausive and is easy to lose track of what is important. I will introduce two items to you: IPN (Instant Payment Notification) You should have a script that h

[PHP] Re: gather reply from POST

2005-05-18 Thread Jason Barnett
Jeremy Reynolds wrote: I received this useful bit of code for storing a page into a variable instead of loading it as an include. But how can I modify this to submit some parameters to a page and collect the returned page / HTML into a variable?? Jeremy -- $text = file_get_content

Re: [PHP] Reprocessing text

2005-05-18 Thread Richard Lynch
On Wed, May 18, 2005 6:25 am, Michael Satterwhite said: > I have a site that extracts HTML page code from a database and prints it > to the page being generated. A user has requested that I allow this text > to be dynamic. I can code process functions for the code that I pull > from the database, b

Re: [PHP] Responses in my email.

2005-05-18 Thread Rory Browne
This is primarly a mailing list. Not a news group. The whole idea of a mailing list is that you get every message mailed to you. If you don't want this then unsubscribe. You could always filter out any email sent to php-general, or containing the term [PHP] in the subject. On 5/18/05, Robert Me

Re: [PHP] RSS news feed (slightly 0T)

2005-05-18 Thread Richard Lynch
On Wed, May 18, 2005 6:26 am, Ryan A said: > Can anyone suggest a few places where i can get some decent > tech/programming/php news feeds? The New York PHP User Group seems to have a pretty hip PHP news feed on their home page, last time I checked. Figure out where they get their news, if you ca

[PHP] Image Verification - Problems in Safari, Mac OS X

2005-05-18 Thread Rahul S. Johari
Ave, A simple Image Verification script is working perfect in IE on Windows... But isn¹t working in Safari on Mac OS X! It displays a blank page instead of the image with the form. Here¹ s the Script: http://www.w3.org/TR/html4/loose.dtd";> Verification : IMSAFM Type the code you see in

Re: [PHP] Display a database image from MSSQL database

2005-05-18 Thread Richard Lynch
On Wed, May 18, 2005 10:28 am, Alaor Barroso said: > Hi... I need to display some images that exists inside one MSSQL > server in a BLOB datatype field, but my code don't work... > > My code: ... contains NO error checking. That's bad. > $arg = $_GET["codPessoa"]; > mssql_connect("server", "web

Re: [PHP] novice: char to varchar

2005-05-18 Thread Richard Lynch
On Wed, May 18, 2005 11:15 am, tony yau said: > Hi all, > > I try to do the following: > > CREATE TABLE IF NOT EXISTS Invoice( > PKey INTEGER, > Received DATETIME, > Cost DECIMAL(10,2), > FileName VARCHAR(50), > RefNum CHAR(10), > > PRIMARY KEY (PKey) > ) TYPE=MyISAM COMMENT='Invoice Da

[PHP] Re: novice: char to varchar

2005-05-18 Thread tony yau
found the answer sorry about this "Tony Yau" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi all, > > I try to do the following: > > CREATE TABLE IF NOT EXISTS Invoice( > PKey INTEGER, > Received DATETIME, > Cost DECIMAL(10,2), > FileName VARCHAR(50), > RefNum CHAR(10),

Re: [PHP] novice: char to varchar

2005-05-18 Thread John Nichel
tony yau wrote: Hi all, I try to do the following: CREATE TABLE IF NOT EXISTS Invoice( PKey INTEGER, Received DATETIME, Cost DECIMAL(10,2), FileName VARCHAR(50), RefNum CHAR(10), PRIMARY KEY (PKey) ) TYPE=MyISAM COMMENT='Invoice Data'; but it keep generating RefNum VARCHAR(10) instead

RE: [PHP] novice: char to varchar

2005-05-18 Thread Jay Blanchard
[snip] I try to do the following: CREATE TABLE IF NOT EXISTS Invoice( PKey INTEGER, Received DATETIME, Cost DECIMAL(10,2), FileName VARCHAR(50), RefNum CHAR(10), PRIMARY KEY (PKey) ) TYPE=MyISAM COMMENT='Invoice Data'; but it keep generating RefNum VARCHAR(10) instead of CHAR(10)

Re: [PHP] Sending a string with $_POST/$_GET

2005-05-18 Thread Rory Browne
You don't set $_GET variables, like $_GET['name'] = whaever and expect to do something along the lines of echo $_GET['name'] in another page. To assign a value as a GET variable on another page, then you make the url of the other page whatever.php?name=value Then in whatever.php you can do someth

[PHP] gather reply from POST

2005-05-18 Thread Jeremy Reynolds
I received this useful bit of code for storing a page into a variable instead of loading it as an include. But how can I modify this to submit some parameters to a page and collect the returned page / HTML into a variable?? Jeremy -- $text = file_get_contents('DocumentA.php'); ech

Re: [PHP] Jakarta Tomcat and PHP

2005-05-18 Thread Rory Browne
I don't know if you checked out www.php.net/java but it seems to be what you're looking for. On 5/18/05, Evert | Rooftop <[EMAIL PROTECTED]> wrote: > My guess would be looking for how to use PHP as a CGI in tomcat. So > check out the manual for CGI stuff. > > grt, > Evert > > Chris Holden wrote:

[PHP] Pfpro PHP

2005-05-18 Thread Rezk Mekhael
> > I am getting this error when I try to run configure pfpro with PHP, > > any idea? > > > > mkdir: too few arguments > > Try `mkdir --help' for more information. > > configure: creating ./config.status > > config.status: creating config.h > > config.status: config.h is unchanged > > > > ---

Re: [PHP] Re: why are session only working with cookies?

2005-05-18 Thread Jason Barnett
Please keep questions regarding PHP problems on the list instead of in my inbox. Thanks. Brian V Bonini wrote: > On Wed, 2005-05-18 at 12:58, Jason Barnett wrote: > >>Brian V Bonini wrote: >> >>>On Mon, 2005-05-16 at 22:10, Richard Lynch wrote: >>> >>> Let him fight with phpIniDir some other

Re: [PHP] hey dip shit

2005-05-18 Thread John Nichel
Jay Blanchard wrote: [snip] John has my vote for what it's worth :-) [/snip] So, you're voting John in as dip shit? I second that. :) Thanks professor. ;) You knew it wasn't going to be too long before I weighed in on this. Agree with not releasing every post (posts are taking a long time to show u

[PHP] novice: char to varchar

2005-05-18 Thread tony yau
Hi all, I try to do the following: CREATE TABLE IF NOT EXISTS Invoice( PKey INTEGER, Received DATETIME, Cost DECIMAL(10,2), FileName VARCHAR(50), RefNum CHAR(10), PRIMARY KEY (PKey) ) TYPE=MyISAM COMMENT='Invoice Data'; but it keep generating RefNum VARCHAR(10) instead of CHAR(10)

Re: [PHP] hey dip shit

2005-05-18 Thread Rory Browne
> > Hell, I'll do it...if there are no objections from the established list > > members (like that will happen ;) > > John has my vote for what it's worth :) Ah why not? The man has a vision. /me seconds Jochams vote for John. > > > > > -- > PHP General Mailing List (http://www.php.net/) > To

Re: [PHP] hey dip shit

2005-05-18 Thread Ryan A
mine too On 5/18/2005 6:05:46 PM, Jochem Maas ([EMAIL PROTECTED]) wrote: > John Nichel wrote: > > Jason Barnett wrote: > > > >> John Nichel wrote: > >> > >>> Jason Motes wrote: > >>> > HAH > > >>> > >>> This list could really use an active moderator. > >>> > >> > >> Did Mr. Nichel just

[PHP] Display a database image from MSSQL database

2005-05-18 Thread Alaor Barroso
Hi... I need to display some images that exists inside one MSSQL server in a BLOB datatype field, but my code don't work... My code: And I access this page sending in the URL the text: .../showimage.php?codPessoa=xxx. I receive a strange code like Fh54757eFg554257eFrgtth547d54e7t8h54j87j85fd5

Re: [PHP] Building array ?

2005-05-18 Thread Brian V Bonini
On Wed, 2005-05-18 at 12:00, Paul Nowosielski wrote: > HI All, > > I'm trying to build an array of user id's. This is the code I've written > that does not work. > > > while($row=mysql_fetch_array($result)){ >// put user ID's into an array; >$uidToAdmin .= array ("$row[user_id]"); > >

Re: [PHP] Re: Sending a string with $_POST/$_GET

2005-05-18 Thread Brian V Bonini
On Wed, 2005-05-18 at 11:53, Luis wrote: > Ross wrote: > > I want to write a string to a variable and use $_POST or $_GET to retrieve > > it on another page. $string = 'this is a string'; echo 'Next page'; another_page.php: echo $_GET["val"]; -- s/:-[(/]/:-)/g BrianGnuPG -> KeyI

Re: [PHP] Building array ?

2005-05-18 Thread Philip Hallstrom
I'm trying to build an array of user id's. This is the code I've written that does not work. while($row=mysql_fetch_array($result)){ // put user ID's into an array; $uidToAdmin .= array ("$row[user_id]"); $uidToAdminArray[] = $row[user_id]; // for debugging echo "UID $row[user_id]"; echo

Re: [PHP] Building array ?

2005-05-18 Thread Jochem Maas
Paul Nowosielski wrote: HI All, I'm trying to build an array of user id's. This is the code I've written that does not work. while($row=mysql_fetch_array($result)){ thereisnothingwrongwithwhitespaceitcanhelplegebilityofyourcode:-) // put user ID's into an array; $uidToAdmin .= array ("$row[

RE: [PHP] hey dip shit

2005-05-18 Thread Jay Blanchard
[snip] John has my vote for what it's worth :-) [/snip] So, you're voting John in as dip shit? I second that. :) You knew it wasn't going to be too long before I weighed in on this. Agree with not releasing every post (posts are taking a long time to show up NOW), but handling all that little a

Re: [PHP] Re: why are session only working with cookies?

2005-05-18 Thread Jason Barnett
Brian V Bonini wrote: On Mon, 2005-05-16 at 22:10, Richard Lynch wrote: Let him fight with phpIniDir some other day. Something interesting maybe: http://gfx.gfx-design.com/session_test.php Hit your browsers refresh button. I would think SID is NOT supposed to change with every page refresh..?? Exc

[PHP] Re: Building array ?

2005-05-18 Thread rush
"Paul Nowosielski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > HI All, > > I'm trying to build an array of user id's. This is the code I've written > that does not work. > > while($row=mysql_fetch_array($result)){ >// put user ID's into an array; >$uidToAdmin .= array ("$r

Re: [PHP] "From" in mail() header problem. - Solved!

2005-05-18 Thread Rahul S. Johari
Ave, On 5/18/05 10:55 AM, "Philip Hallstrom" <[EMAIL PROTECTED]> wrote: > What happens if you do it like this: > > $headers = "Content-type: text/html; charset=iso-8859-1\r\n"; > $headers .= "From: SOMETHING <[EMAIL PROTECTED]>\r\n"; > $headers .= "Reply-To: [EMAIL PROTECTED]"; > $headers .= "

Re: [PHP] PHP and PayPal

2005-05-18 Thread Duncan Hill
On Wednesday 18 May 2005 16:33, Robert Meyer wrote: > Here is one way I would like it to work: > > 1) User fills out a form (user email address, etc.) then clicks the "Buy > Key" button. > 2) User, along with a link, unique ID (not Key), cost, and form data is > sent to PayPal. Paypal document th

Re: [PHP] PHP Applications?

2005-05-18 Thread Jason Barnett
Evert | Rooftop wrote: Chris Shiflett wrote: Danny Brow wrote: > Zend sells a compiler to speed up your PHP code. Since it's compiled, > it also does not contain the source code in readable form. You should > visit the Zend website. Any free ones? http://pecl.php.net/package/APC APC won't work for

RE: [PHP] RSS news feed (slightly 0T)

2005-05-18 Thread Jared Williams
> > Hey, > > Can anyone suggest a few places where i can get some decent > tech/programming/php news feeds? > > I presently have the PHP.net feed (but its not too good > because the news does not change much in days) and I am using > yahoo's feeds for "software", "digital music" and "internet

RE: [PHP] RSS news feed (slightly 0T)

2005-05-18 Thread Jared Williams
> Hey, > > Can anyone suggest a few places where i can get some decent > tech/programming/php news feeds? > > I presently have the PHP.net feed (but its not too good > because the news does not change much in days) and I am using > yahoo's feeds for "software", "digital music" and "internet".

Re: [PHP] imap_open with variable fails

2005-05-18 Thread Michael Baas
Hi, just did want to let this sink unanswered, but I see that 6 days means quite a lot of messages piled up. Should have answered earlier, but... Anyway, I think I had tried the "\{" or '{"-combinations as well and it didn't work - but I can't remember exactly and can't reproduce now, since I was

Re: [PHP] hey dip shit

2005-05-18 Thread Rory Browne
> I didn't say anything about approval before delivery, and I really can't > see how an active moderator would screw up the list. You mean having > someone around who can remove email addresses subscribed to the list > that generate bounces would be a bad thing? Fair enough. That just wasn't my

Re: [PHP] hey dip shit

2005-05-18 Thread Jochem Maas
John Nichel wrote: Jason Barnett wrote: John Nichel wrote: Jason Motes wrote: HAH This list could really use an active moderator. Did Mr. Nichel just volunteer for that task... Hell, I'll do it...if there are no objections from the established list members (like that will happen ;) John has my vot

[PHP] Building array ?

2005-05-18 Thread Paul Nowosielski
HI All, I'm trying to build an array of user id's. This is the code I've written that does not work. while($row=mysql_fetch_array($result)){ // put user ID's into an array; $uidToAdmin .= array ("$row[user_id]"); // for debugging echo "UID $row[user_id]"; echo "AUID $uidToAdmin

[PHP] Re: Sending a string with $_POST/$_GET

2005-05-18 Thread Luis
Ross wrote: I want to write a string to a variable and use $_POST or $_GET to retrieve it on another page. I keep gettting an undefined index errror. Can someone show me how this is done? Do I have to use session_start() ? or just use cookies: setcookie('myvarname', 'some value'); and in the ot

Re: [PHP] RSS news feed (slightly 0T)

2005-05-18 Thread Philip Hallstrom
Can anyone suggest a few places where i can get some decent tech/programming/php news feeds? I don't know if they have RSS feeds on them or not, but I'd try... http://www.zend.com/ http://www.devshed.com/c/b/PHP/ http://www.phpbuilder.com/ And all or none of the sites listed here: http://www.php.ne

[PHP] PHP and PayPal

2005-05-18 Thread Robert Meyer
Hello, I am about ready to start my investigation into this matter, but thought I'd ask here first. Here is the scenario I would like to implement. 1) User wants to buy a key that allows them to do a particular task on my web site. 2) I do not want to release the key to the user until payment

Re: [PHP] Re: why are session only working with cookies?

2005-05-18 Thread Brian V Bonini
On Mon, 2005-05-16 at 22:10, Richard Lynch wrote: > Let him fight with phpIniDir some other day. Something interesting maybe: http://gfx.gfx-design.com/session_test.php Hit your browsers refresh button. I would think SID is NOT supposed to change with every page refresh..?? '; print_r($_SESSION)

[PHP] Responses in my email.

2005-05-18 Thread Robert Meyer
Hello, When I post a question here, I get an email for every response posted. I only want the response posted, not emailed to me. The other newsgroups I belong to don't send me an email. What are my options if any and how do I implement them? Regards, Robert -- PHP General Mailing List (

Re: [PHP] "From" in mail() header problem.

2005-05-18 Thread Philip Hallstrom
I¹ve written a simple script to send a mail out in HTML format to the recipient. Everything is working fine... Except the ³From² header. The recipient receives the email from ³World Wide Web Server <[EMAIL PROTECTED]>² instead of what I have specified. Here¹s my code... [snip] $message = stripslas

[PHP] Re: Refresh (F5) adds another SQL record.

2005-05-18 Thread Robert Meyer
Hello to all that responded. Thanks very much for your help. I implemented and thoroughly tested the following: header("Location: ".$_SERVER['PHP_SELF']); exit; And is works great for this particular need.. Regards, Robert "Robert Meyer" <[EMAIL PROTECTED]> wrote in m

Re: [PHP] Jakarta Tomcat and PHP

2005-05-18 Thread Evert | Rooftop
My guess would be looking for how to use PHP as a CGI in tomcat. So check out the manual for CGI stuff. grt, Evert Chris Holden wrote: Hi, I hope this is the right place to ask... I am running Tomcat 5.5.7 (jdk 1.5) on Windows XP quite happily. I have MySQL set up and that all works fine too. But

Re: [PHP] PHP Applications?

2005-05-18 Thread Evert | Rooftop
Chris Shiflett wrote: Danny Brow wrote: > Zend sells a compiler to speed up your PHP code. Since it's compiled, > it also does not contain the source code in readable form. You should > visit the Zend website. Any free ones? http://pecl.php.net/package/APC APC won't work for me, segmentation fault

Re: [PHP] Basic PHP/HTML code question

2005-05-18 Thread Michael Satterwhite
Carlos Palomino wrote: Hi, I have been trying to write or find a pre-written script of a combo-box which would allow one to select a category from one drop-down list, then be given related options within a secondary list before clicking a submit button. Is there anyone who knows where I can fin

Re: [PHP] server taking long time to make graph

2005-05-18 Thread Philip Hallstrom
I am making graph in PHP using JPGRAPH. I am not taking big data, my data is only 48 points. Through TOP command in linux, I found that httpd is taking lot of time to make the simple x-y graph. I found that the graph size is 47.75kb only. May pls suggest if any setting needs to be done in

Re: [PHP] "From" in mail() header problem.

2005-05-18 Thread Chris
Rahul S. Johari wrote: Ave, I¹ve written a simple script to send a mail out in HTML format to the recipient. Everything is working fine... Except the ³From² header. The recipient receives the email from ³World Wide Web Server <[EMAIL PROTECTED]>² instead of what I have specified. Here¹s my code...

[PHP] Re: Basic PHP/HTML code question

2005-05-18 Thread Matthew Weier O'Phinney
* Carlos Palomino <[EMAIL PROTECTED]>: > I have been trying to write or find a pre-written script of a > combo-box which would allow one to select a category from one > drop-down list, then be given related options within a secondary list > before clicking a submit button. Is there anyone who know

Re: [PHP] Help with using SPL to build a MySQL Iterator

2005-05-18 Thread Chris
V Kam wrote: Hello all I was trying to write an SPL Iterator for a MySQL result set but not having any luck. Specifically I'm not sure how to overload the key() and current/next() methods. Does anyone here have a working code sample that does this, or can offer some guidance on how to overload th

Re: [PHP] hey dip shit

2005-05-18 Thread John Nichel
Jason Barnett wrote: John Nichel wrote: Jason Motes wrote: HAH This list could really use an active moderator. Did Mr. Nichel just volunteer for that task... Hell, I'll do it...if there are no objections from the established list members (like that will happen ;) -- John C. Nichel ÜberGeek KegWor

Re: [PHP] directory listing from text file

2005-05-18 Thread dreiph
Thank you Chris, but this is not I needed. Let me explain my situation. I have a big server with a lot of audio files, working within LAN, with Windows 2000 Pro on it. Let's call it as "FileServer". Also I have another server with Apache2 and PHP installed, windows 2000 PRO too, let's say it is

[PHP] Re: RSS news feed (slightly 0T)

2005-05-18 Thread Matthew Weier O'Phinney
* Ryan A <[EMAIL PROTECTED]>: > Can anyone suggest a few places where i can get some decent > tech/programming/php news feeds? http://planet-php.net/ Planet PHP is an aggregation of newsfeeds from PHP developers and programmers. Not everything will necessarily be programming or PHP oriented, but

Re: [PHP] hey dip shit

2005-05-18 Thread John Nichel
Rory Browne wrote: This list could really use an active moderator. Um no. You can't moderate what's already in peoples mailboxes, and if you're going to have all posts manually approved before delivery, then you're going to seriously affect the responsiveness of the list. Besides that post was har

RE: [PHP] version difference or server difference?

2005-05-18 Thread Jay Blanchard
[snip] Why does a Win2K installation of PHP honor max_input_time and a FreeBSD machine does not? I am running version 5.0.0b2-dev on the windows machine and version 4.3.10 on the BSD machine would the version difference cause this problem? [/snip] According to http://us3.php.net/ref.info max_inpu

[PHP] RSS news feed (slightly 0T)

2005-05-18 Thread Ryan A
Hey, Can anyone suggest a few places where i can get some decent tech/programming/php news feeds? I presently have the PHP.net feed (but its not too good because the news does not change much in days) and I am using yahoo's feeds for "software", "digital music" and "internet". I was using slashd

Re: [PHP] Basic PHP/HTML code question

2005-05-18 Thread tg-php
Since PHP is server-side, it's probably not the best option for doing what you're describing. It IS possible to use a javascript "onchange" event and use that to trigger a new page load which would change your second select box, but that's kind of slow and sloppy and should probably only be use

[PHP] Reprocessing text

2005-05-18 Thread Michael Satterwhite
I have a site that extracts HTML page code from a database and prints it to the page being generated. A user has requested that I allow this text to be dynamic. I can code process functions for the code that I pull from the database, but it would be so much better if I could simply get PHP to proce

[PHP] "From" in mail() header problem.

2005-05-18 Thread Rahul S. Johari
Ave, I¹ve written a simple script to send a mail out in HTML format to the recipient. Everything is working fine... Except the ³From² header. The recipient receives the email from ³World Wide Web Server <[EMAIL PROTECTED]>² instead of what I have specified. Here¹s my code... Hi, You have rec

Re: [PHP] hey dip shit

2005-05-18 Thread Jason Barnett
John Nichel wrote: Jason Motes wrote: HAH This list could really use an active moderator. Did Mr. Nichel just volunteer for that task... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] server taking long time to make graph

2005-05-18 Thread Jason Barnett
Balwant Singh wrote: Hi I am making graph in PHP using JPGRAPH. I am not taking big data, my data is only 48 points. Through TOP command in linux, I found that httpd is taking lot of time to make the simple x-y graph. I found that the graph size is 47.75kb only. May pls suggest if any set

  1   2   >