Re: [PHP] Q on class failure...

2003-09-22 Thread jsWalter
Raditha Dissanayake [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] hi, It's generaly considered that constructors are supposed return an instance of that class. Use a factory instead if you want to return nulls; A Factory? OK, I'll look that up, do some readng and try that

Re: [PHP] Q on class failure...

2003-09-22 Thread jsWalter
Curt Zirzow [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] The constructor should be as quick as possible and have as little logic as possible. What kind of failure are you trying to catch? not really trying to 'catch' a failure. I have to parse the given string format and

Re: [PHP] Classes Tutorials

2003-09-22 Thread jsWalter
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Although i dont code for pear standards, i must recommend learning the pear code, its how i taught myself classes. I concur. It is how I am learning this stuff. That and my stupid questions to this list (see previous posts just

Re: [PHP] Q on class failure...

2003-09-22 Thread Robert Cummings
On Mon, 2003-09-22 at 13:25, jsWalter wrote: Raditha Dissanayake [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] hi, It's generaly considered that constructors are supposed return an instance of that class. Use a factory instead if you want to return nulls; A Factory?

[PHP] Re: Working with PHP Class Within Javascript

2003-09-22 Thread jsWalter
Harry Yau [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, I am writing a HTML page to gather whole bunch of information provided by user and pass it to the PHP script to generate a report base on these information. Namely, user inputs data in textfields of a HTML FORM.

[PHP] Re: PHP Editor - which to use?

2003-09-22 Thread jsWalter
I use Homesite. It has plug-ins for PHP so you have tps and cose completion. I just modified another plug it has so I can see then entire list of methods a script has in a window, which can then jump to, scroll to, insert here. And I can hit F-12 and it will talk to my apache server and run the

[PHP] POST Parameters

2003-09-22 Thread Stephan Becker
Maybe my problem ist simple to solve, but I can´t. Here it is: A special PHP CGI Script, let´s say 'phpscript.cgi' might be called with GET or POST Parameters. Though I will never now which kind and how many of such parameters will be passed to that script, I have to do some work of mine with

Re: [PHP] POST Parameters

2003-09-22 Thread Brent Baisley
All POST value are stored in the $_POST[] array, all GET values are stored in the $_GET[] array. Both POST and GET values are stored in the $_REQUEST[] array. So if you don't know whether it will be a post or a get, grab the data by accessing the $_REQUEST[] array. On Monday, September 22,

Re: [PHP] POST Parameters

2003-09-22 Thread Chris Shiflett
--- Stephan Becker [EMAIL PROTECTED] wrote: A special PHP CGI Script, let´s say 'phpscript.cgi' might be called with GET or POST Parameters. Though I will never now which kind and how many of such parameters will be passed to that script, I have to do some work of mine with them and after that

Re: [PHP] Problem's addign a script to my web page.

2003-09-22 Thread Marek Kilimajer
Yes, it will get rid of the permission problems. Example of creating a directory: $fp=ftp_connect('localhost'); if(ftp_login($fp, $ftpuser, $ftppass)) { if(ftp_mkdir($fp, $ftpbasedir .'members/'.$iid)) { /*if(!ftp_site($fp, 'chmod 0777 '.$ftpbasedir .'members/'.$iid)) die('Could not change

[PHP] Shopping Cart Solutions

2003-09-22 Thread Charles Kline
Anyone have suggestions for open source shopping cart apps in PHP? Thanks, Charles -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] bugs.php.net

2003-09-22 Thread Amith Varghese
Can anyone tell me where I can download the bug tracking system used for bugs.php.net? I don't see any links on the PHP site (or i'm probably missing something quite obvious) Thanks Amith -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Shopping Cart Solutions

2003-09-22 Thread Ray Hunter
Anyone have suggestions for open source shopping cart apps in PHP? Check out sourceforge.net...there are many there. Also try google and you will get tons of info. -- Ray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Shopping Cart Solutions

2003-09-22 Thread Adrian Teasdale
Charles Try oscommerce.org - it's an open source app written in PHP that has a fantastic community and is incredibly feature-rich. I'm not associated with the project, but I have used it Best regards Ade Sourceguardian.com -Original Message- From: Charles Kline [mailto:[EMAIL

Re: [PHP] Shopping Cart Solutions

2003-09-22 Thread Henrik Hudson
On Monday 22 September 2003 15:42, Adrian Teasdale wrote: Charles Try oscommerce.org - it's an open source app written in PHP that has a fantastic community and is incredibly feature-rich. I'm not associated with the project, but I have used it My 2 cents. OSCommerce is great if you want to

RE: [PHP] Shopping Cart Solutions

2003-09-22 Thread Chris W. Parker
Henrik Hudson mailto:[EMAIL PROTECTED] on Monday, September 22, 2003 3:09 PM said: My 2 cents. OSCommerce is great if you want to use it out of the box, but we tried to extend it and alter some of it's functions and the code is very obtuse and making changes in one spot can lead to

Re: [PHP] PHP Editor - which to use?

2003-09-22 Thread Jason Sheets
PHP eclipse is also nice, you need eclipse from http://www.eclipse.org and then you install the PHP Eclipse module http://phpeclipse.sourceforge.net. Very easy to install, I am a big fan of Komodo, I also like Vim, Kate and Eclipse. I tried Zend Studio 1 and 2 but it didn't live up to the

RE: [PHP] PHP Editor - which to use?

2003-09-22 Thread Chris W. Parker
Binay mailto:[EMAIL PROTECTED] on Monday, September 22, 2003 1:58 AM said: Please suggest me a good PHP editor like ( Microsoft's Interdev for ASP) to write my php programs/scripts and get a visual feel. Doesn't fit in the visual feel category but I really like HTML-Kit available at

[PHP] speaking of php editors

2003-09-22 Thread Chris W. Parker
Hey everyone. I am looking for an editor that will highlight the string {$array['index']['index']} within a string. For example: +- gray + | | | +-- red ---+ | | | |

RE: [PHP] Subcategories in php

2003-09-22 Thread Chris W. Parker
phpu mailto:[EMAIL PROTECTED] on Saturday, September 20, 2003 7:41 AM said: I have been trying to do this for weeks but i just cant figure this out. I have categories that have subcategories and i want to insert them into database. If you need more than two levels of classification I

Re: [PHP] speaking of php editors

2003-09-22 Thread Curt Zirzow
* Thus wrote Chris W. Parker ([EMAIL PROTECTED]): Hey everyone. I am looking for an editor that will highlight the string {$array['index']['index']} within a string. For example: +- gray + | | |

[PHP] PHP5 interfaces?

2003-09-22 Thread Javier Muniz
Wondering if maybe someone famililar with php5 can respond to this. I am reading about PHP5 and it's interface support, and i have a concern. The purpose of interfaces is to handle multiple inheritance in a fashion that resolves a number of conflicts that arise when performing true multiple

Re: [PHP] Problem's addign a script to my web page.

2003-09-22 Thread Stratis Aftousmis
--- Marek Kilimajer [EMAIL PROTECTED] wrote: Yes, it will get rid of the permission problems. Example of creating a directory: $fp=ftp_connect('localhost'); if(ftp_login($fp, $ftpuser, $ftppass)) { if(ftp_mkdir($fp, $ftpbasedir .'members/'.$iid)) { /*if(!ftp_site($fp, 'chmod 0777

[PHP] Auto load data

2003-09-22 Thread ascll
Greetings, I'm designing a table with 21 columns and 3 rows (1-row column header, 2-row data) store in .php file, and each cell of this table storing a value, that I stored it using MySQL database. Now, I want all the values (just the values, but NOT the table) shown on this page automatic update

[PHP] Calling PHP shell scripts with exec from within PHP goes awry?

2003-09-22 Thread uvm
I'm beggining to develop the theory that things go awry when using exec from within a webserver-executed PHP script to call a shell script itself written in PHP. The example that I'm really trying to do might be too complicated for presentation here, but here's a simplified version. Take the

Re: [PHP] speaking of php editors

2003-09-22 Thread Ray Hunter
Check out vim or emacs... -- BigDog On Mon, 2003-09-22 at 17:41, Chris W. Parker wrote: Hey everyone. I am looking for an editor that will highlight the string {$array['index']['index']} within a string. For example: +- gray + |

Re: [PHP] PHP Editor - which to use?

2003-09-22 Thread Ray Hunter
PHP eclipse is also nice, you need eclipse from http://www.eclipse.org and then you install the PHP Eclipse module http://phpeclipse.sourceforge.net. Very easy to install, I am a big fan of Komodo, I also like Vim, Kate and Eclipse. I tried Zend Studio 1 and 2 but it didn't live up to

Re: [PHP] Calling PHP shell scripts with exec from within PHP goes awry?

2003-09-22 Thread Ray Hunter
On Mon, 2003-09-22 at 19:50, uvm wrote: I'm beggining to develop the theory that things go awry when using exec from within a webserver-executed PHP script to call a shell script itself written in PHP. Why are you trying to call a php script with exec...since it is php why not just call

Re: [PHP] PHP Editor - which to use?

2003-09-22 Thread NukedWeb
Best PHP Editor on the market: called Notepad. Written by a tiny little software dev company called Microsoft. Very nicely written, compared to the rest of their software.

Re: [PHP] Calling PHP shell scripts with exec from within PHP goes awry?

2003-09-22 Thread Robert Cummings
On Sun, 2003-09-21 at 22:00, Ray Hunter wrote: On Mon, 2003-09-22 at 19:50, uvm wrote: I'm beggining to develop the theory that things go awry when using exec from within a webserver-executed PHP script to call a shell script itself written in PHP. Why are you trying to call a php

Re: [PHP] Calling PHP shell scripts with exec from within PHP goes

2003-09-22 Thread uvm
On Mon, 2003-09-22 at 19:50, uvm wrote: I'm beggining to develop the theory that things go awry when using exec from within a webserver-executed PHP script to call a shell script itself written in PHP. Why are you trying to call a php script with exec...since it is php why not just

Re: [PHP] PHP Editor - which to use?

2003-09-22 Thread Robert Cummings
On Mon, 2003-09-22 at 22:08, [EMAIL PROTECTED] wrote: Best PHP Editor on the market: called Notepad. Written by a tiny little software dev company called Microsoft. Very nicely written, compared to the rest of their software. Nh, a slightly larger company named Microsoft Inc. created an

Re: [PHP] PHP Editor - which to use?

2003-09-22 Thread Dan Anderson
Best PHP Editor on the market: called Notepad. Written by a tiny little software dev company called Microsoft. Very nicely written, compared to the rest of their software. You must either be insane, a genius, or joking. I couldn't imagine writing code without context sensitive highlighting

Re: [PHP] PHP Editor - which to use?

2003-09-22 Thread NukedWeb
You must either be insane, a genius, or joking. Some of the most gifted people in the world are all three! Not that I'm claiming to be one, but yes I'm all three. :-D I couldn't imagine writing code without context sensitive highlighting -- there are so many bugs that would be overlooked. -

[PHP] passing parameters to a script doesn't work

2003-09-22 Thread Sol
Hi, I'm trying to pass parameters to a PHP script and it's not working. Whilst this is the first time I've tried to use this, I'm basically copying an example straight out of a text book and can't understand why this doesn't work. In one script I have a (static) link:

Re: [PHP] passing parameters to a script doesn't work

2003-09-22 Thread John Nichel
Sol wrote: Hi, I'm trying to pass parameters to a PHP script and it's not working. Whilst this is the first time I've tried to use this, I'm basically copying an example straight out of a text book and can't understand why this doesn't work. In one script I have a (static) link:

[PHP] Formatting a string for entry into MySQL

2003-09-22 Thread James Johnson
Hi, I'm trying to generate a string that contains a br, to insert into a MySQL table. It appears the br is being stripped out either just before or during the update. ** code ** // has both info, update both $ad_contact = $tr_email; $ad_contact .= br; $pSep = -; $ad_contact .= $tr_p1AC;

[PHP] javascript open window and a PHP script...

2003-09-22 Thread jsWalter
I have a link on a page... a href=./admin/?listType=event_listaction=item_add target=_blank Add or Update Your Event /a This open the PHP file just fine and passes the vars fine. But I need a new window to open via JavaScript. Why? Because I have a RETURN link on the opening page

[PHP] CAN I CASH the output of PHP SCRIPT?

2003-09-22 Thread Nabil
Hi all; I would like to cash all the output of PHP files on my apache .. to increase the performance. To prevent PHP to work all the time to interpret and connect to myself which is slow the performance and use the CPU .. as I have very heavy loaded server.. I thought there might be a way to

Re: [PHP] CAN I CASH the output of PHP SCRIPT?

2003-09-22 Thread Curt Zirzow
* Thus wrote Nabil ([EMAIL PROTECTED]): Hi all; I would like to cash all the output of PHP files on my apache .. to increase the performance. To prevent PHP to work all the time to interpret and connect to myself which is slow the performance and use the CPU .. as I have very heavy loaded

Re: [PHP] CAN I CASH the output of PHP SCRIPT?

2003-09-22 Thread Becoming Digital
The correct spelling is cache. I'm not trying to be a spelling and grammar freak (though I am), simply aiding your future searches on the topic. PEAR has a very nice output caching class. I haven't used it myself, but I've heard good things. I believe it was discussed recently on this very

<    1   2