Re: [PHP] Still need help with regex function

2004-08-02 Thread Jason Wong
On Sunday 01 August 2004 08:07, C.F. Scheidecker Antunes wrote: In order to get the filenames from the output below I have tried the following: preg_match_all('/inflating:(.*?)/', $stdout, $matches); print_r($matches); return $matches[1]; But I only get empty arrays with it. Try:

Re: [PHP] Variables not passed to next page

2004-08-02 Thread Jason Wong
On Sunday 01 August 2004 02:28, Andre Dubuc wrote: Yes the first page has the appropriate form tags: {edit-news.php] form action=edit-news-x.php method=post . . . /form Good. The second and third pages [edit-news-x.php/ edit-submit.php] are pure php (a pass-through page) -- I wasn't aware

Re: [PHP] Re: regex help needed -- Solved! Thanks!

2004-08-02 Thread Fabrice Lezoray
Kathleen Ballard a écrit : Thanks! Works like a charm! I am the very lowest of newbies when it comes to regex and working through your solutions has been very educational. I have one question about something I couldn't figure out: #h[1-9](.*)/h[1-9]#Uie `h([1-6]).*?/h\1)`sie What is the

Re: [PHP] xored TruStudio PHP Editor

2004-08-02 Thread aka MacGuru
Hi, Quite surprised to see any news about xored trustudio. I used it some time ago, but switched to phpeclipse. xored was developed by a Russian company located in Siberia, city of Novosibirsk. Are they still alive? I have tried their latest M1, it did not work for me. Does anyone know how to

Re: [PHP] Should I wait for PHP 5.1?

2004-08-02 Thread Aidan Lister
http://php.net/migration5 5.0.1 is coming out shortly, wait for that. Gerard Samuel [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Sunday 01 August 2004 12:19 pm, Randall Perry wrote: Any major gotchas going from 4 to 5? Any problems with PostgreSQL connectivity? Will I have

[PHP] script error

2004-08-02 Thread me2resh
i am using this script as a form to enter articles into databas, the variable post_content comes from wysiwyg script but when i execute the script everything goes fine except it doesn't insert any rown in the databse can anyone tell me what is wrong with my code ? ?php ob_start();

Re: [PHP] script error

2004-08-02 Thread John Holmes
$query = insert into 'posts' ( `post_id` , `post_title` , `post_date` , `post_author` , `post_content` , `m_cat_id` , `s_cat_id` , `post_pic`) values (\'\', \'$post_title, \'$post_title, \'$post_author, \'$post_content, \'\', \'\', \'subject.gif\' ); mysql_query($query); Change that last line

Re: [PHP] Graphing Webstats using MRTG/PHP/MYSQL?

2004-08-02 Thread Fernando Gutierrez
see cacti: http://www.raxnet.net/products/cacti/ On Thu, 29 Jul 2004 14:03:08 +0800, Louie Miranda [EMAIL PROTECTED] wrote: has anyone know any tools related to this? Graphing Webstats using MRTG/PHP/MYSQL? -- Louie Miranda http://www.axishift.com -- PHP General Mailing List

Re: [PHP] script error

2004-08-02 Thread me2resh
thanks for your help i did that and here is the error message returned You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ''posts' ( `post_id` , `post_title` , `post_date` , `post_author how can i fix it ?

[PHP] langauage error

2004-08-02 Thread me2resh
i am usinga form toenter articles into mysql databse in Arabic language when i enter the data from Phpmyadmin it converts the letters to the unicode they match like #1610;#1576;#1604;#1610; but when i enter it from my form it returns strange letters which is not usefull like OE??C?EO??CO?E?

Re: [PHP] script error

2004-08-02 Thread Andre Dubuc
Maybe unquote 'posts' -- I would write: $query = INSERT INTO posts ( `post_id` , `post_title` , `post_date` , .. On Monday 02 August 2004 06:49 am, me2resh wrote: thanks for your help i did that and here is the error message returned You have an error in your SQL syntax. Check the

[PHP] php coding software

2004-08-02 Thread Brad Ciszewski
Does anyone know any good software for PHP/mysql coding? I currently use DreamWeaver MX, however it doesn't have much PHP support, and no MySQL support. I just want an easy program to script in, and upload on to my webserver. Please help! :o

Re: [PHP] php coding software

2004-08-02 Thread Matt M.
On Mon, 2 Aug 2004 09:26:18 -0500, Brad Ciszewski [EMAIL PROTECTED] wrote: Does anyone know any good software for PHP/mysql coding? I currently use DreamWeaver MX, however it doesn't have much PHP support, and no MySQL support. I just want an easy program to script in, and upload on to my

[PHP] php textbook

2004-08-02 Thread Anthony Ritter
Reading Creating Interactive Websites with PHP and Web Services (Sybex) by Eric Rosebrock. I've found it a good textbook and wanted to get some feedback from the group about two things I noticed in most of the code throughout the book which has helped me. 1. The author separtares .html form from

Re: [PHP] php coding software

2004-08-02 Thread John Nichel
Brad Ciszewski wrote: Does anyone know any good software for PHP/mysql coding? I currently use DreamWeaver MX, however it doesn't have much PHP support, and no MySQL support. I just want an easy program to script in, and upload on to my webserver. Please help! :o quote from Newbie Guide For

Re: [PHP] php coding software

2004-08-02 Thread Paul Kain
php expert editor VERY nice look it up at http://www.ankord.com/ $35 though but worth it. On Mon, 2 Aug 2004 09:26:18 -0500, Brad Ciszewski [EMAIL PROTECTED] wrote: Does anyone know any good software for PHP/mysql coding? I currently use DreamWeaver MX, however it doesn't have much PHP

[PHP] Re: langauage error

2004-08-02 Thread M. Sokolewicz
try using htmlentities() - Tul Me2resh wrote: i am using a form to enter articles into mysql databse in Arabic language when i enter the data from Phpmyadmin it converts the letters to the unicode they match like #1610;#1576;#1604;#1610; but when i enter it from my form it returns strange

Re: [PHP] php coding software

2004-08-02 Thread Jordi Canals
Brad Ciszewski wrote: Does anyone know any good software for PHP/mysql coding? I currently use DreamWeaver MX, however it doesn't have much PHP support, and no MySQL support. I just want an easy program to script in, and upload on to my webserver. Please help! :o Sorry, but you're wrong.

[PHP] pconnect...

2004-08-02 Thread bruce
hi... since pconnect is not supported in php5, i'm wondering if the issue is that mysql no longer supports the underlying functions to implement pconnect, or if the decision to leave it out was based upon other factors. also, is there anybody i can talk to who has looked at the actual code

Re: [PHP] pconnect...

2004-08-02 Thread John W. Holmes
From: bruce [EMAIL PROTECTED] since pconnect is not supported in php5, i'm wondering if the issue is that mysql no longer supports the underlying functions to implement pconnect, or if the decision to leave it out was based upon other factors. also, is there anybody i can talk to who has

Re: [PHP] pconnect...

2004-08-02 Thread Curt Zirzow
* Thus wrote bruce: hi... since pconnect is not supported in php5, i'm wondering if the issue is that mysql no longer supports the underlying functions to implement pconnect, or if the decision to leave it out was based upon other factors. php5 has pconnect. You're getting mysql/mysqli

[PHP] php inventory control software

2004-08-02 Thread Alex Shi
Hello, Any one can suggest me a php template (or modules) of a web-based inventory control software including a web-store. Thanks in advance! Alex -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: php inventory control software

2004-08-02 Thread Steve Douville
Take a look at www.oscommerce.com Any one can suggest me a php template (or modules) of a web-based inventory control software including a web-store. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] pconnect...

2004-08-02 Thread bruce
i meant mysqli/php5 regarding pconnect. although, i've since seen information that leads me to believe htat pconnect would necessarily in and of itself be my solution. i'm starting to believe that a real solution for this would have to be implemented within mysql itself... -bruce -Original

Re: [PHP] Re: php inventory control software

2004-08-02 Thread John Nichel
Steve Douville wrote: Take a look at www.oscommerce.com Does oscommerce still require register_globals to be on? http://php.resourceindex.com/Complete_Scripts/Shopping_Carts/ -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] pconnect...

2004-08-02 Thread Ford, Mike [LSS]
-Original Message- From: bruce To: 'Curt Zirzow'; [EMAIL PROTECTED] Subject: RE: [PHP] pconnect... i meant mysqli/php5 regarding pconnect. although, i've since seen information that leads me to believe htat pconnect would necessarily in and of itself be my solution.

[PHP] Spellchecking using MS Office spellchecker

2004-08-02 Thread George E. Papadakis
Hi all, Do you know if there is a way, class or anything else that could be used in order to use Microsoft's spell checker with php to spell check text? Aspell and Pspell are good alternatives, yet not as good as expected. Thanks in advance, GP -- PHP General Mailing List (http://www.php.net/)

RE: [PHP] Upgrade PHP?

2004-08-02 Thread Will Collins
Well I uninstalled PHP, Apache, and all dependant RPMs. I compiled both from source, and although the compile went well, I'm having problems getting modules installed into PHP. For example, when using phpinfo(), I am told that GD is installed, but trying to use GD functions won't work. What

RE: [PHP] Spellchecking using MS Office spellchecker

2004-08-02 Thread Jay Blanchard
[snip] Do you know if there is a way, class or anything else that could be used in order to use Microsoft's spell checker with php to spell check text? Aspell and Pspell are good alternatives, yet not as good as expected. [/snip] Why? What did you expect? -- PHP General Mailing List

RE: [PHP] pconnect...

2004-08-02 Thread bruce
i meant mysqli/php5 regarding pconnect. although, i've since seen information that leads me to believe that pconnect would not necessarily in and of itself be my solution. i'm starting to believe that a real solution for this would have to be implemented within mysql itself... -bruce

Re: [PHP] Re: php inventory control software

2004-08-02 Thread John W. Holmes
From: John Nichel [EMAIL PROTECTED] Steve Douville wrote: Take a look at www.oscommerce.com Does oscommerce still require register_globals to be on? http://php.resourceindex.com/Complete_Scripts/Shopping_Carts/ Even if it does, you can't instantly equate that as being a Bad Thing. I'm sure

Re: [PHP] Re: php inventory control software

2004-08-02 Thread John Nichel
John W. Holmes wrote: From: John Nichel [EMAIL PROTECTED] Steve Douville wrote: Take a look at www.oscommerce.com Does oscommerce still require register_globals to be on? http://php.resourceindex.com/Complete_Scripts/Shopping_Carts/ Even if it does, you can't instantly equate that as being a Bad

[PHP] COUNT(*) Output Question

2004-08-02 Thread Tom Ray [Lists]
Hey- I'm query my mySQL database to see how many of each Sku has been ordered. I am doing my query as: $count=mysql_query(SELECT sku, COUNT(*) FROM orders GROUP BY sku); But my question is how do I use PHP to output the COUNT(*) results? When I run the command when I'm logged into mySQL I get

[PHP] multiple checkboxes

2004-08-02 Thread Josh Close
Very simple question. When making multiple checkboxes, you put the name the same for a few to group them together form action=process.php method=post input type=checkbox name=checkBoxGroup value=first / input type=checkbox name=checkBoxGruop value=second / /form So they are grouped but

RE: [PHP] COUNT(*) Output Question

2004-08-02 Thread Brad Ciszewski
Wouldn't count(sku) work? -Original Message- From: Tom Ray [Lists] [mailto:[EMAIL PROTECTED] Sent: Monday, August 02, 2004 3:20 PM To: [EMAIL PROTECTED] Subject: [PHP] COUNT(*) Output Question Hey- I'm query my mySQL database to see how many of each Sku has been ordered. I am doing

Re: [PHP] COUNT(*) Output Question

2004-08-02 Thread Curt Zirzow
* Thus wrote Tom Ray [Lists]: Hey- I'm query my mySQL database to see how many of each Sku has been ordered. I am doing my query as: $count=mysql_query(SELECT sku, COUNT(*) FROM orders GROUP BY sku); alias the count(*) column: SELECT sku, COUNT(*) as qty FROM orders GROUP BY sku

Re: [PHP] COUNT(*) Output Question

2004-08-02 Thread John W. Holmes
From: Tom Ray [Lists] [EMAIL PROTECTED] $count=mysql_query(SELECT sku, COUNT(*) FROM orders GROUP BY sku); But my question is how do I use PHP to output the COUNT(*) results? When I run the command when I'm logged into mySQL I get the following: I assume you're fetching associative arrays

Re: [PHP] multiple checkboxes

2004-08-02 Thread John W. Holmes
From: Josh Close [EMAIL PROTECTED] Very simple question. When making multiple checkboxes, you put the name the same for a few to group them together form action=process.php method=post input type=checkbox name=checkBoxGroup value=first / input type=checkbox name=checkBoxGruop

Re: [PHP] multiple checkboxes

2004-08-02 Thread Curt Zirzow
* Thus wrote Josh Close: Very simple question. When making multiple checkboxes, you put the name the same for a few to group them together form action=process.php method=post input type=checkbox name=checkBoxGroup value=first / input type=checkbox name=checkBoxGruop value=second /

Re: [PHP] multiple checkboxes

2004-08-02 Thread John Nichel
Josh Close wrote: Very simple question. When making multiple checkboxes, you put the name the same for a few to group them together form action=process.php method=post input type=checkbox name=checkBoxGroup value=first / input type=checkbox name=checkBoxGruop value=second / /form Use a naming

Re: [PHP] multiple checkboxes

2004-08-02 Thread Matt M.
How would I get all the boxes check when grouping them by using the same name for all checkboxes in the name field? there are a number of ways, try: form action=process.php method=post input type=checkbox name=checkBoxGroup[] value=first / input type=checkbox name=checkBoxGruop[] value=second

Re: [PHP] COUNT(*) Output Question

2004-08-02 Thread Tom Ray [Lists]
Thanks JohnI didn't think of thatI've been working on this catalog admin interface for to long..my brain is mush. John W. Holmes wrote: From: Tom Ray [Lists] [EMAIL PROTECTED] $count=mysql_query(SELECT sku, COUNT(*) FROM orders GROUP BY sku); But my question is how do I use PHP to

Re: [PHP] multiple checkboxes

2004-08-02 Thread José de Paula
On Mon, 2 Aug 2004 15:21:31 -0500, Josh Close [EMAIL PROTECTED] wrote: Very simple question. When making multiple checkboxes, you put the name the same for a few to group them together form action=process.php method=post input type=checkbox name=checkBoxGroup value=first / input

Re: [PHP] multiple checkboxes

2004-08-02 Thread John Nichel
Like I had a shot in hell of getting the answer in first with John and Curt trolling the list. ;) -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Upgrade PHP?

2004-08-02 Thread bruce
provide us with a copy of the attributes you used when you compiled... ie ./configure --attributeA --ldapetc... -Original Message- From: Will Collins [mailto:[EMAIL PROTECTED] Sent: Monday, August 02, 2004 12:21 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] Upgrade PHP? Well I

[PHP] biff_decode function

2004-08-02 Thread Richard Lynch
[de-lurk] For some time now, the amount of unwanted email has been increasing in my Inbox. The server has 'Assassin, and I've been using some Eudora hand-crafted filters to trash 'Assassin-marked emails, as well as re-directing various mailing lists to sub-folders. Alas, that recently reached

[PHP] Re: Spellchecking using MS Office spellchecker

2004-08-02 Thread M. Sokolewicz
well, you could use the win32std extension (found in PECL), connect to the right dll and then you could feed it and get stuff back from it. Exact data on the way to handle the connection would be available via MSDN (msdn.microsoft.com). when using 4.2.0 = PHP = PHP 4.2.3 you could also try the

RE: [PHP] Upgrade PHP?

2004-08-02 Thread Will Collins
To test it, I used: ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-gd --with-zlib-dir=/usr/include -Original Message- From: bruce [mailto:[EMAIL PROTECTED] Sent: Monday, August 02, 2004 3:39 PM To: 'Will Collins'; [EMAIL PROTECTED] Subject: RE: [PHP] Upgrade

Re: [PHP] pconnect...

2004-08-02 Thread Tom Rogers
Hi, Tuesday, August 3, 2004, 2:24:49 AM, you wrote: b hi... b since pconnect is not supported in php5, i'm wondering if the issue is that b mysql no longer supports the underlying functions to implement pconnect, or b if the decision to leave it out was based upon other factors. b also, is

Re: [PHP] Upgrade PHP?

2004-08-02 Thread Jason Wong
On Tuesday 03 August 2004 03:21, Will Collins wrote: Well I uninstalled PHP, Apache, and all dependant RPMs. I compiled both from source, and although the compile went well, I'm having problems getting modules installed into PHP. For example, when using phpinfo(), I am told that GD is

[PHP] Re: php coding software

2004-08-02 Thread Chris Martin
Jordi Canals wrote: Brad Ciszewski wrote: Does anyone know any good software for PHP/mysql coding? I currently use DreamWeaver MX, however it doesn't have much PHP support, and no MySQL support. I just want an easy program to script in, and upload on to my webserver. Please help! :o Sorry, but

RE: [PHP] Upgrade PHP?

2004-08-02 Thread Will Collins
Won't work: Fatal error: Call to undefined function: imagecreatefromjpeg() -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED] Sent: Monday, August 02, 2004 4:09 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Upgrade PHP? On Tuesday 03 August 2004 03:21, Will Collins wrote:

RE: [PHP] Re: php inventory control software

2004-08-02 Thread Ralph G
See www.eshox.com -Original Message- From: John Nichel [mailto:[EMAIL PROTECTED] Sent: Monday, August 02, 2004 1:16 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Re: php inventory control software John W. Holmes wrote: From: John Nichel [EMAIL PROTECTED] Steve Douville wrote: Take a

[PHP] Re: php coding software

2004-08-02 Thread Harlequin
Brad I use HTML-Kit for HTML, ASP, Java, CSS, PHP and MySQL. Free too :) -- - Michael Mason Arras People www.arraspeople.co.uk - Brad Ciszewski [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Does anyone know any good

Re: [PHP] multiple checkboxes

2004-08-02 Thread PHP Gen
--- John Nichel [EMAIL PROTECTED] wrote: Like I had a shot in hell of getting the answer in first with John and Curt trolling the list. ;) Yep, those two guys are the highrollers here...also known as the big guns so when they are aroundI keep my little pistol voice out of it :-) Not

RE: [PHP] Re: php coding software

2004-08-02 Thread Vail, Warren
For what it's worth, I use HTML-Kit as well. Feature I like best is the ability to seamlessly edit content of remote sites and local (folder based) sites. Warren Vail -Original Message- From: Harlequin [mailto:[EMAIL PROTECTED] Sent: Monday, August 02, 2004 5:15 PM To: [EMAIL

[PHP] Re: php coding software

2004-08-02 Thread Oliver John V. Tibi
in addition to brad's post, does anyone know of coding software that supports team development environments and/or a versioning server for windows? TIA! -- Running 'ojtibi' on '127.0.0.1' (BATCH_OPTIMISTIC mode). Live free() or die(). -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Upgrade PHP?

2004-08-02 Thread Jason Wong
On Tuesday 03 August 2004 07:42, Will Collins wrote: Won't work: Fatal error: Call to undefined function: imagecreatefromjpeg() ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-gd --with-zlib-dir=/usr/include Read manual Image Functions to see how to get jpeg

Re: [PHP] biff_decode function

2004-08-02 Thread Jason Wong
On Tuesday 03 August 2004 04:20, Richard Lynch wrote: Perhaps a function which, given a short (subject length) input of text, and a dictionary of bad words, would return some kind of value indicating a percent match of how close the text was to any of the bad words. PHP has a number of

[PHP] I need ob_write($string, $start, $length)

2004-08-02 Thread jtl_phpdotnet
The guys in the internals list sent me to this forum. I am trying to write some serious parsing software in PHP. I need to use plain, vanilla PHP and no add-on modules, because I need to be able to distribute to people who don't have sufficient privileges. In the process of parsing I create a

[PHP] Handles for multiple output buffers?

2004-08-02 Thread jtl_phpdotnet
Again, the internals list sent me to this forum for help. In trying to create a series of parsers in PHP, using only PHP core and no non-standard add-ons, I find myself emulating multiple character streams in a class that wraps the output buffer. Every time I open a new stream, I first save

RE: [PHP] Upgrade PHP? [SOLVED]

2004-08-02 Thread Will Collins
Yeah, actually, you were right. I must have misunderstood the instructions - probably because of the press for time, reading too quickly. I wasn't using --with-jpeg-dir, etc. Sorry for the mess, and thanks for all the help. At least some good came out of this -- I now have a working Slackware

Re: [PHP] Handles for multiple output buffers?

2004-08-02 Thread Justin Patrin
On Tue, 03 Aug 2004 00:11:09 -0400, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Again, the internals list sent me to this forum for help. In trying to create a series of parsers in PHP, using only PHP core and no non-standard add-ons, I find myself emulating multiple character streams in a

Re: [PHP] Handles for multiple output buffers?

2004-08-02 Thread Robert Cummings
On Tue, 2004-08-03 at 00:44, Justin Patrin wrote: On Tue, 03 Aug 2004 00:11:09 -0400, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Again, the internals list sent me to this forum for help. In trying to create a series of parsers in PHP, using only PHP core and no non-standard add-ons, I

Re: [PHP] I need ob_write($string, $start, $length)

2004-08-02 Thread Curt Zirzow
* Thus wrote [EMAIL PROTECTED]: The guys in the internals list sent me to this forum. I am trying to write some serious parsing software in PHP. I need to use plain, vanilla PHP and no add-on modules, because I need to be able to distribute to people who don't have sufficient privileges.