Re: [PHP] Problem using return from a class.

2005-02-09 Thread Jason Wong
On Wednesday 09 February 2005 01:33, Ben Edwards (lists) wrote: Maybe you should post a bit of code to illustrate your problem ;) I'me just doing:- return $radio_html; as the last line of the method. If I do echo $radio_html; The condense of the variable gets outputted. I

RE: [PHP] Apache 2.0.52, PHP 5.03, FreeBSD 4.10 memory problems

2005-02-09 Thread Mikey
[snip] Hope everybody else is sending this guy read receipts? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Using

2005-02-09 Thread Jochem Maas
Richard Lynch wrote: Jochem Maas wrote: Dan Trainor wrote: Hello, all - Being still fairly new to PHP, I thought I'd ask a few more questions and get on to the right track here, developing correct coding habits before I start to teah myself incorrect habits. 7. let others review your code if

[PHP] perl's Config::Ini File Module equivalent in PHP

2005-02-09 Thread Nikhil M
Hi All, I just wanted to know if there is an equivalent of Perl's Config::Ini = Module in PHP Thanks, Nikhil. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Using

2005-02-09 Thread Dan Trainor
Jochem Maas wrote: Richard Lynch wrote: Jochem Maas wrote: Dan Trainor wrote: Hello, all - Being still fairly new to PHP, I thought I'd ask a few more questions and get on to the right track here, developing correct coding habits before I start to teah myself incorrect habits. 7. let others

Re: [PHP] ability to use extract to $this vars in a class

2005-02-09 Thread Jochem Maas
Guillermo Rauch wrote: If i understand you correctly, you want to extract all the keys and generate class members with them.. // Define class test class test { // We pass an array to the constructor function __construct( $arr ) { foreach($arr as $key = $val ) {

Re: [PHP] perl's Config::Ini File Module equivalent in PHP

2005-02-09 Thread Abdul-Wahid Paterson
Hi, http://uk2.php.net/function.parse-ini-file On Wed, 9 Feb 2005 14:57:33 +0530, Nikhil M [EMAIL PROTECTED] wrote: Hi All, I just wanted to know if there is an equivalent of Perl's Config::Ini = Module in PHP Thanks, Nikhil. -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] perl's Config::Ini File Module equivalent in PHP

2005-02-09 Thread Mikey
Hi All, I just wanted to know if there is an equivalent of Perl's Config::Ini = Module in PHP Try parse_ini_file() in the manual... Mikey -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Fatal Error Handling

2005-02-09 Thread James Taylor
Hi, I have a set of functions which are potentially dangerous in terms of memory hogging, and need to protect from memory overflow - this is I want to detect when the memory overflow occurs. The manual says that eval() will return false on a fatal error, so I thought I could do something like

RE: [PHP] FTP script and project

2005-02-09 Thread Jay Blanchard
[snip] I'm in need of some fully functional stand-alone php FTP scripts, I've searched the web, have downloaded a couple but they don't work. While this looks valid and appears to be uploading the file, no file is ever saved other than a temporary file that vanishes as soon as the file has

Re: [PHP] Re: stream_set_timeout() stream_get_meta_data() etc...

2005-02-09 Thread Skippy
Quoting Al [EMAIL PROTECTED]: Darn, I left out an important function, the fread(). Code snip should be: $fp= fopen(http://www.anything.com/foo.html, 'rb'); if(!fp) {do something different} stream_set_timeout($fp, 2); $contents= fread($fp, 20); $status=

[PHP] Re: Storing CCN's Again...

2005-02-09 Thread Daniel Bowett
Richard Lynch wrote: Tony Di Croce wrote: First I should say that I have NO plans to store CCN's on my site, but I do have a related question: Right now I accept CC info from a posted form and then from a PHP script submit that to authorize.net... Is their any way to get PHP to clean up any

Re: [PHP] Re: Storing CCN's Again...

2005-02-09 Thread daniel
Amazon store Credit Card Number in their databases. Are we saying that someone could hack into their database server and steal the numbers? Or have Amazon gone far enough to protect their data? -- I supose they use a similar tactic as i have, and have a two way encryption method. -- PHP

[PHP] Shared variable

2005-02-09 Thread Mario Stiffel
Hello. Is there any oppertunity to create varaibles that can accessed by more than one instances? I need a way to communicate between many php-instances. It can be, that they are not active to the same time. Is there any way without using a file or a database? Mario -- PHP General Mailing List

[PHP] Student Suspended Over PHP use.

2005-02-09 Thread Bosky, Dave
I just ran across this interesting article from awhile back. Pretty funny http://bbspot.com/News/2000/6/php_suspend.html Topeka, KS - High school sophomore Brett Tyson was suspended today after teachers learned he may be using PHP. A teacheroverheard him say that he was using PHP, and

RE: [PHP] Shared variable

2005-02-09 Thread Jay Blanchard
[snip] Is there any oppertunity to create varaibles that can accessed by more than one instances? I need a way to communicate between many php-instances. It can be, that they are not active to the same time. Is there any way without using a file or a database? [/snip] No, in this case you must

Re: [PHP] Student Suspended Over PHP use.

2005-02-09 Thread abrea
Aha I knew you guys were up to something Cheers Alberto Brea :-) -Original Message- From: Bosky, Dave [EMAIL PROTECTED] To: php-general@lists.php.net Date: Wed, 9 Feb 2005 08:53:24 -0500 Subject: [PHP] Student Suspended Over PHP use. I just ran across this

Re: [PHP] Shared variable

2005-02-09 Thread Bostjan Skufca @ domenca.com
SHM On Wednesday 09 February 2005 14:51, Mario Stiffel wrote: Hello. Is there any oppertunity to create varaibles that can accessed by more than one instances? I need a way to communicate between many php-instances. It can be, that they are not active to the same time. Is there any way

Re: [PHP] Student Suspended Over PHP use.

2005-02-09 Thread daniel
PHP is bad Mkay. I just ran across this interesting article from awhile back. Pretty funny http://bbspot.com/News/2000/6/php_suspend.html http://bbspot.com/News/2000/6/php_suspend.html Topeka, KS - High school sophomore Brett Tyson was suspended today after teachers learned he may be

[PHP] Weighted Lists

2005-02-09 Thread W Luke
Hi, I've been fascinated by Flickr's, del.icio.us and other sites' usage of these Weighted Lists. It's simple but effective and I really want to use it for a project I'm doing. So I had a look at Nick Olejniczak's plugin for Wordpress (available here: www.nicholasjon.com) but am struggling to

Re: [PHP] How do I collect the keywords a user entered when searching for my site

2005-02-09 Thread Tim Burgan
Hello, My original post: I want to write some code that will retrieve the keywords entered in a search engine that were used to find my site. I found this article [1] was a solution that I successfully implemented. [1] http://www.ilovejackdaniels.com/php/google-style-keyword-highlighting/ Tim --

Re: [PHP] Secure system calls -- how

2005-02-09 Thread Greg Donald
On Wed, 09 Feb 2005 05:42:21 +0100, Niels [EMAIL PROTECTED] wrote: So my question is: Is sudo the best solution? It all comes down to the fact that to do certain tasks you require elevated permissions above and beyond what your web server user has as it runs the web server. There are many

Re: [PHP] Shared variable

2005-02-09 Thread Richard Lynch
Mario Stiffel wrote: Is there any oppertunity to create varaibles that can accessed by more than one instances? I need a way to communicate between many php-instances. It can be, that they are not active to the same time. Is there any way without using a file or a database?

[PHP] Multi-Page Forms

2005-02-09 Thread trlists
I have a form which is too long to be useful displayed on one page. I have it broken up into 7 sections. All 7 are generated by the same PHP source file, from data in a database. When the user updates a section they can submit it and go to the next section, or submit it and finish (return to

Re: [PHP] phpBB alternatives?

2005-02-09 Thread Dennis Lahay
Yes, please read that page again. It had nothing to do with the phpBB software itself, but with the AWstats that run on their server. The vulnerabilities that phpBB a few months back had were quickly patched. The phpBB community is huge and offer fantastic support. Other alternatives include

Re: [PHP] Re: Storing CCN's Again...

2005-02-09 Thread Richard Lynch
[EMAIL PROTECTED] wrote: Amazon store Credit Card Number in their databases. Are we saying that someone could hack into their database server and steal the numbers? YES! Wasn't PayPal widely publicized as a victim of such an event? Why would you think Amazon would be any better/safer? No

Re: [PHP] Fatal Error Handling

2005-02-09 Thread Richard Lynch
James Taylor wrote: So finally quit that music thing and got a real job? :-) [Sorry. I'm sure you've heard them all, but I couldn't resist...] I have a set of functions which are potentially dangerous in terms of memory hogging, and need to protect from memory overflow - this is I want to

Re: [PHP] reading/writing files outside of web root

2005-02-09 Thread Richard Lynch
Jason Wong wrote: On Wednesday 09 February 2005 02:31, Richard Lynch wrote: Phil Ewington - 43 Plc wrote: For some reason user_prefs will not open for read/write even when I tested it under apache.apache and chmod'd to 755, perhaps because /home is owned by root? Something went

Re: [PHP] Secure system calls -- how

2005-02-09 Thread Richard Lynch
Niels wrote: Jennifer Goodie wrote: Should web applications have access to areas on the file system that the apache user doesn't? I personally only allow my web applications access to certain areas on purpose and set my permissions to accomplish this. If I need to be a user other than

Re: [PHP] phpBB alternatives?

2005-02-09 Thread Richard Lynch
Give them all a trial run and see which one you like: http://www.opensourcecms.com/ -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Fatal Error Handling

2005-02-09 Thread James Taylor
Richard Lynch wrote: James Taylor wrote: So finally quit that music thing and got a real job? :-) [Sorry. I'm sure you've heard them all, but I couldn't resist...] /me adds Richard Lynch onto the list of those who must die when the revolution comes... I have a set of functions which are

Re: [PHP] Fatal Error Handling

2005-02-09 Thread Guillermo Rauch
On Wed, 9 Feb 2005 08:21:25 -0800 (PST), Richard Lynch [EMAIL PROTECTED] wrote: James Taylor wrote: So finally quit that music thing and got a real job? :-) [Sorry. I'm sure you've heard them all, but I couldn't resist...] I have a set of functions which are potentially dangerous in

Re: [PHP] Apache 2.0.52, PHP 5.03, FreeBSD 4.10 memory problems

2005-02-09 Thread Wil Hitchman
I definetly amIRRITATING! - Original Message - From: Mikey [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Wednesday, February 09, 2005 6:10 AM Subject: RE: [PHP] Apache 2.0.52, PHP 5.03, FreeBSD 4.10 memory problems [snip] Hope everybody else is sending this guy read

Re: [PHP] Re: [users@httpd] Favorite Linux Distribution

2005-02-09 Thread Rory Browne
And if you question the political motivations jfgi for osama bin linux. On Wed, 9 Feb 2005 17:22:47 +, Rory Browne [EMAIL PROTECTED] wrote: In all my years of attending Church I never once heard anyone discussing Linux. Must be a denominational thing. Dear Brethren, As a follower of

Re: [PHP] Re: stream_set_timeout() stream_get_meta_data() etc...

2005-02-09 Thread Al
Many thanks to Richard and Skippy. Skippy: Your suggestion to set non-blocking mode (stream_set_blocking) was the magic key to success. Here is the code I ended up with, I left some test stuff included so anyone who may need it has a good start. $fp= fopen($file, 'rb' ); if (!$fp) {die

[PHP] Prevent browser back...

2005-02-09 Thread Ashley M. Kirchner
This is probably something that comes up every so often and it's generally related to PHP scripts, however I have a different setup and am now trying to figure out what to do. On our company site, we have a section that clients use to upload files to us through a Java applet. The way I

Re: [PHP] Apache 2.0.52, PHP 5.03, FreeBSD 4.10 memory problems

2005-02-09 Thread John Nichel
Wil Hitchman wrote: I definetly amIRRITATING! - Original Message - From: Mikey [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Wednesday, February 09, 2005 6:10 AM Subject: RE: [PHP] Apache 2.0.52, PHP 5.03, FreeBSD 4.10 memory problems [snip] Hope everybody else is sending this

RE: [PHP] Prevent browser back...

2005-02-09 Thread Mikey
[snip] Can I rely on referrers on upload.php to see where a hit came from? Or should I redirect to an interim page that simply redirects again to the thankyou.php one (which won't stop someone from hitting back twice, but it's just an extra thing.) What (other) ways have people

Re: [PHP] Prevent browser back...

2005-02-09 Thread John Nichel
Ashley M. Kirchner wrote: snip I know I can't disable the back button, or clean out someone's browser history, so I'm looking for other ways, server-side perhaps, that I can implement to prevent someone from reloading the upload.php page and try to upload another file (which will generate an

RE: [PHP] Prevent browser back...

2005-02-09 Thread Jay Blanchard
[snip] I know I can't disable the back button, or clean out someone's browser history, so I'm looking for other ways, server-side perhaps, that I can implement to prevent someone from reloading the upload.php page and try to upload another file (which will generate an error because the

[PHP] Re: Weighted Lists

2005-02-09 Thread Matthew Weier O'Phinney
* W Luke [EMAIL PROTECTED]: I've been fascinated by Flickr's, del.icio.us and other sites' usage of these Weighted Lists. It's simple but effective and I really want to use it for a project I'm doing. So I had a look at Nick Olejniczak's plugin for Wordpress (available here:

Re: [PHP] Prevent browser back...

2005-02-09 Thread Robert Sossomon
You can try an open/close window function, or my personal favorite is just a couple of pages that use the meta-refresh to jump people to a new page and dump them through a couple which they would never see, normally 2 is enough to stop someone from doing it (as well as a logout and making them

Re: [PHP] Re: [users@httpd] Favorite Linux Distribution

2005-02-09 Thread Rory Browne
In all my years of attending Church I never once heard anyone discussing Linux. Must be a denominational thing. Dear Brethren, As a follower of st iGNUtious I am troubled by the spiritual blindness I see evident in the comment I see here before me. Did not the prophet RMS teach the true path?

[PHP] Primer for working with arrays

2005-02-09 Thread Robert Sossomon
I need a really good primer for working with arrays in PHP and with MySQL. I can do what I need to do without them right now, but I would really like to get arrays figured out. Any have some good ones? Thanks! Robert -- Robert Sossomon, Business and Technology Application Technician 4-H Youth

Re: [PHP] Fatal Error Handling

2005-02-09 Thread Richard Lynch
James Taylor wrote: Richard Lynch wrote: James Taylor wrote: Ok, using the @ that would get rid of the error message agreed, but it still crashes the script (as a fatal error would and should). I took the code from set_error_handler and that does not seem to work in this instance - if I

[PHP] File upload, suid directory and temporary dir

2005-02-09 Thread ADNET Ghislain
Hi, I am trying to make upload files to belong to the ftp user of the website and not the apache user. As i run in module i tried to do this: 1/ create a temp dir on the website outside the documentroot, chown the temp dir to my ftp user and allow the group to write,, put the same group as

[PHP] Upgrade PHP 4.3.4 to PHP 5.0.3 (Windows 2k IIS5), I recieve a Blank Page and Session errors

2005-02-09 Thread Fabian I. Cuesta
Hi, I'm trying to upgrade the PHP version of my dev enviroment. After installing PHP5 I've just recieve a blank page. I activated the error log of PHP and recieve a couple of errors like this one: [09-Feb-2005 13:38:20] PHP Notice: Undefined index: sitedesc in

RE: [PHP] Primer for working with arrays

2005-02-09 Thread Chris W. Parker
Robert Sossomon mailto:[EMAIL PROTECTED] on Wednesday, February 09, 2005 10:50 AM said: I need a really good primer for working with arrays in PHP and with MySQL. I can do what I need to do without them right now, but I would really like to get arrays figured out. Any have some good

Re: [PHP] Secure system calls -- how

2005-02-09 Thread Niels
Hi! Richard Lynch wrote: Don't take the wrong but you're probably not really skilled enough (yet) to do what you want to do... You're right, but we all have to start somewhere. And I don't take the wrong, I appreciate your answer. sudo is probably the best solution, Well, it's the only one

RE: [PHP] Primer for working with arrays

2005-02-09 Thread Jay Blanchard
[snip] I need a really good primer for working with arrays in PHP and with MySQL. I can do what I need to do without them right now, but I would really like to get arrays figured out. Any have some good ones? [/snip] http://www.php.net/array -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Prevent browser back...

2005-02-09 Thread Richard Lynch
Ashley M. Kirchner wrote: This is probably something that comes up every so often and it's generally related to PHP scripts, however I have a different setup and am now trying to figure out what to do. On our company site, we have a section that clients use to upload files to us through a

Re: [PHP] Primer for working with arrays

2005-02-09 Thread Matt M.
I need a really good primer for working with arrays in PHP and with MySQL. I can do what I need to do without them right now, but I would really like to get arrays figured out. Any have some good ones? http://www.php.net/array http://us4.php.net/mysql -- PHP General Mailing List

Re: [PHP] Re: stream_set_timeout() stream_get_meta_data() etc...

2005-02-09 Thread Richard Lynch
Al wrote: I've always been told you can't make a progress bar or list with php. Well here it is, at least it works with IE6 and Mozilla. A progress bar for download/transfer/processing can be done nicely, but not for, say, file upload. Unless you want to use this one which relies on

Re: [PHP] File upload, suid directory and temporary dir

2005-02-09 Thread Richard Lynch
ADNET Ghislain wrote: I am trying to make upload files to belong to the ftp user of the website and not the apache user. As i run in module i tried to do this: 1/ create a temp dir on the website outside the documentroot, chown the temp dir to my ftp user and allow the group to write,,

Re: [PHP] Primer for working with arrays

2005-02-09 Thread Mattias Thorslund
Robert Sossomon wrote: I need a really good primer for working with arrays in PHP and with MySQL. I can do what I need to do without them right now, but I would really like to get arrays figured out. The PHP Cookbook (O'Reilly book) has this, both in the Arrays and Databases chapters.

[PHP] Re: [users@httpd] Favorite Linux Distribution

2005-02-09 Thread Joseph A Nagy Jr
The Disguised Jedi wrote: Hello all - I've been a list member for a while, helped out some people, and asked some questions. But, today I have a completely off topic, but somewhat relevant question for y'all. What is your favorite Linux distribution? What would you recommend for my situation?

Re: [PHP] Secure system calls -- how

2005-02-09 Thread Richard Lynch
Niels wrote: Richard Lynch wrote: One of the things I've asked for is articles and tutorials, but there apparently aren't any on this subject. I can find many on validating user input, securing sessions and that kind of thing. But not this, no howto make php run useradd safely. I've seen many

Re: [PHP] Upgrade PHP 4.3.4 to PHP 5.0.3 (Windows 2k IIS5), I recieve a Blank Page and Session errors

2005-02-09 Thread Richard Lynch
Fabian I. Cuesta wrote: Hi, I'm trying to upgrade the PHP version of my dev enviroment. After installing PHP5 I've just recieve a blank page. I activated the error log of PHP and recieve a couple of errors like this one: [09-Feb-2005 13:38:20] PHP Notice: Undefined index: sitedesc in

[PHP] Parsing pdf file

2005-02-09 Thread Mirco Blitz
Hello, For a project of a customer i need to know if a pdf file contains special functions and buttons. Is there a way to parse a PDF file in php? Thank you very much Mirco Blitz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Proof of concept

2005-02-09 Thread troels
The sample is attached! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Parsing pdf file

2005-02-09 Thread Matt M.
For a project of a customer i need to know if a pdf file contains special functions and buttons. Is there a way to parse a PDF file in php? you might be able to find something at http://us3.php.net/pdf -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

AW: [PHP] Parsing pdf file

2005-02-09 Thread Mirco Blitz
Hi, Sorry i don't really find something useful there. Greetings Mirco Blitz -Ursprüngliche Nachricht- Von: Matt M. [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 9. Februar 2005 22:09 An: Mirco Blitz Cc: php-general@lists.php.net Betreff: Re: [PHP] Parsing pdf file For a project of a

[PHP] mail() function

2005-02-09 Thread Bosky, Dave
I can't seem to get the mail function to work. Is there a way to authenticate before sending mail, I believe this is my issue. Also in my php.ini file the parameter sendmail_path is empty. Is this a required parameter for sending mail? I'm using Windows/IIS. Thanks, Dave HTC

Re: [PHP] mail() function

2005-02-09 Thread John Holmes
Bosky, Dave wrote: I can't seem to get the mail function to work. Is there a way to authenticate before sending mail, I believe this is my issue. No. Manuel will be along soon to tell you to look at the SMTP classes on phpclasses.org, though. ;) There are classes there that do this, so try them.

Re: [PHP] Re: [users@httpd] Favorite Linux Distribution

2005-02-09 Thread Greg Donald
On Wed, 09 Feb 2005 11:30:07 -0600, Joseph A Nagy Jr [EMAIL PROTECTED] wrote: Gentoo is another good one, but rather more advanced the Slack although the tools are very well documented and once you learn them you'll never consider going to another distro. I really think Gentoo is that good. I

RE: [PHP] Parsing pdf file

2005-02-09 Thread Mikey
Hi, Sorry i don't really find something useful there. That is cos pdflib is for making pdfs and not parsing them. AFAIK you are on your own with parsing a pdf, or you may have to result to third party libraries. HTH, Mikey -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Parsing pdf file

2005-02-09 Thread Matt M.
did you try this? ?php $test = pdf2string(pathtoPDFfile); echo $test; # Returns a -1 if uncompression failed function pdf2string($sourcefile) { $fp = fopen($sourcefile, 'rb'); $content = fread($fp, filesize($sourcefile)); fclose($fp); # Locate all text hidden within the stream and

RE: [PHP] Parsing pdf file

2005-02-09 Thread Mikey
-Original Message- From: Matt M. [mailto:[EMAIL PROTECTED] Sent: 09 February 2005 21:39 To: Mirco Blitz Cc: php-general@lists.php.net Subject: Re: [PHP] Parsing pdf file did you try this? [huge snip] I stand corrected :-) -- PHP General Mailing List (http://www.php.net/) To

AW: [PHP] Parsing pdf file

2005-02-09 Thread Mirco Blitz
Thank you for that huge code. I will try. Greetings Mirco Blitz -Ursprüngliche Nachricht- Von: Matt M. [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 9. Februar 2005 22:39 An: Mirco Blitz Cc: php-general@lists.php.net Betreff: Re: [PHP] Parsing pdf file did you try this? ?php $test =

Re: AW: [PHP] Parsing pdf file

2005-02-09 Thread Jason Barnett
Mirco Blitz wrote: Thank you for that huge code. I will try. Greetings Mirco Blitz -Ursprüngliche Nachricht- Von: Matt M. [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 9. Februar 2005 22:39 An: Mirco Blitz Cc: php-general@lists.php.net Betreff: Re: [PHP] Parsing pdf file did you try this?

[PHP] Foreach problem.

2005-02-09 Thread Mirco Blitz
HI, I am really confused. I have an array, that looks like this: print_r($elementsarr) = Array ( [0] = knr [1] = subject [2] = title [3] = kat [4] = pages [5] = access [6] = dofile [7] = MAX_FILE_SIZE [8] = pdf [9] = dolink [10] = link [11] = erstam [12] = endless [13] = from [14] = until [15] =

[PHP] Foreach problem.

2005-02-09 Thread Mirco Blitz
HI, I am really confused. I have an array, that looks like this: print_r($elementsarr) = Array ( [0] = knr [1] = subject [2] = title [3] = kat [4] = pages [5] = access [6] = dofile [7] = MAX_FILE_SIZE [8] = pdf [9] = dolink [10] = link [11] = erstam [12] = endless [13] = from [14] = until [15] =

RE: [PHP] Foreach problem.

2005-02-09 Thread Mikey
HI, I am really confused. I have an array, that looks like this: print_r($elementsarr) = Array ( [0] = knr [1] = subject [2] = title [3] = kat [4] = pages [5] = access [6] = dofile [snip] = s [31] = sa [32] = sh [33] = sn [34] = t [35] = bund ) Now i try to work with this array in a

Re: [PHP] Re: [users@httpd] Favorite Linux Distribution

2005-02-09 Thread Dotan Cohen
On Wed, 09 Feb 2005 11:30:07 -0600, Joseph A Nagy Jr [EMAIL PROTECTED] wrote: The Disguised Jedi wrote: Hello all - I've been a list member for a while, helped out some people, and asked some questions. But, today I have a completely off topic, but somewhat relevant question for y'all.

[PHP] Re: Foreach problem.

2005-02-09 Thread Jason Barnett
Since you didn't post how you created the array, I went ahead and (ugh!) did it myself. This works fine. ?php $elementsarr = Array ('knr', 'subject', 'title', 'kat', 'pages', 'access', 'dofile', MAX_FILE_SIZE, 'pdf', 'dolink', 'link', 'erstam', 'endless', 'from', 'until', 'openbem', 'history',

Re: [PHP] Foreach problem.

2005-02-09 Thread Matthew Fonda
remove the semi-colon at after foreach(...) On Wed, 2005-02-09 at 14:22, Mirco Blitz wrote: HI, I am really confused. I have an array, that looks like this: print_r($elementsarr) = Array ( [0] = knr [1] = subject [2] = title [3] = kat [4] = pages [5] = access [6] = dofile [7] =

[PHP] $GLOBALS, any probolems?

2005-02-09 Thread Bruno B B Magalhães
Hi guys, is there any problems using $GLOBALS superglobal to carry all my global classes instances? For example: $GLOBALS['myclass'] = new myclass(); Regards, Bruno B B Magalhaes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

AW: [PHP] Foreach problem.

2005-02-09 Thread Mirco Blitz
Oh damn I am dumb thank you. That it was. -Ursprüngliche Nachricht- Von: Mikey [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 10. Februar 2005 00:07 An: php-general@lists.php.net Betreff: RE: [PHP] Foreach problem. HI, I am really confused. I have an array, that looks like this:

Re: [PHP] Re: [users@httpd] Favorite Linux Distribution

2005-02-09 Thread Greg Donald
On Thu, 10 Feb 2005 01:01:18 +0200, Dotan Cohen [EMAIL PROTECTED] wrote: I very much disagree. I am writing this on my Fedora Core 3 box and am very happy with it's 'bloat'. As a new convert form windows I am kinda used to everything being there at my fingertips. And in Fedora, everything is,

Re: [PHP] mail() function

2005-02-09 Thread Manuel Lemos
Hello, on 02/09/2005 07:31 PM John Holmes said the following: Bosky, Dave wrote: I can't seem to get the mail function to work. Is there a way to authenticate before sending mail, I believe this is my issue. No. Manuel will be along soon to tell you to look at the SMTP classes on phpclasses.org,

[PHP] Re: Multi-Page Forms

2005-02-09 Thread Manuel Lemos
Hello, on 02/09/2005 01:38 PM [EMAIL PROTECTED] said the following: I have a form which is too long to be useful displayed on one page. I have it broken up into 7 sections. All 7 are generated by the same PHP source file, from data in a database. When the user updates a section they can

[PHP] explanation

2005-02-09 Thread Pagongski
Hi, I looked everywhere for a nice explanation of this darn simple thing, but had no luck. I am working with some code made by a different person thats why i am running into these sorts of things. (yes, i am kinda newbie) I have a file named blah.php with this line:

Re: [PHP] Re: [users@httpd] Favorite Linux Distribution

2005-02-09 Thread Dotan Cohen
On Wed, 9 Feb 2005 17:42:10 -0600, Greg Donald [EMAIL PROTECTED] wrote: On Thu, 10 Feb 2005 01:01:18 +0200, Dotan Cohen [EMAIL PROTECTED] wrote: I very much disagree. I am writing this on my Fedora Core 3 box and am very happy with it's 'bloat'. As a new convert form windows I am kinda used

Re: [PHP] explanation

2005-02-09 Thread Zareef Ahmed
On Wed, 09 Feb 2005 18:15:28 -0800 (PST), Pagongski [EMAIL PROTECTED] wrote: Hi, I looked everywhere for a nice explanation of this darn simple thing, but had no luck. I am working with some code made by a different person thats why i am running into these sorts of

Re: [PHP] Student Suspended Over PHP use.

2005-02-09 Thread Dotan Cohen
Maybe it's not People Hate Perl after all... Pot, Heroin, Pussy?!? I think I got suspended for at leat two of those on campus grounds at some point or another. Dotan On Thu, 10 Feb 2005 01:31:43 +1100 (EST), [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: PHP is bad Mkay. I just ran across this

Re: [PHP] Problem using return from a class.

2005-02-09 Thread Ben Edwards
On Wed, 9 Feb 2005 16:12:58 +0800, Jason Wong [EMAIL PROTECTED] wrote: On Wednesday 09 February 2005 01:33, Ben Edwards (lists) wrote: Maybe you should post a bit of code to illustrate your problem ;) I'me just doing:- return $radio_html; as the last line of the method. If I

Re: [PHP] Secure system calls -- how

2005-02-09 Thread Niels
Richard Lynch wrote: Perhaps the reason there is no article or tutorial is that it would be a book, not an article or tutorial :-) There are so MANY affected/related software system pieces that you can't do it justice in an article or tutorial, I suspect. Quite true. However, warnings about

[PHP] PHP Development IDE's/Editors

2005-02-09 Thread Darren Linsley
I will apologise for this questions now, but everyone has to start somewhere. I am just starting out with PHP and wanted to know what development environments/editors that you guys are using for your PHP development. (On Windows) I know that you can use good ol Visual Notepad, but i was

Re: [PHP] PHP Development IDE's/Editors

2005-02-09 Thread Richard Davey
Hello Darren, Thursday, February 10, 2005, 3:56:04 AM, you wrote: DL I am just starting out with PHP and wanted to know what DL development environments/editors that you guys are using for your DL PHP development. (On Windows) Zend Studio 4.0 (Beta) It's not cheap, but it does everything I

Re: [PHP] PHP Development IDE's/Editors

2005-02-09 Thread Matthew Fonda
Personally I use either emacs or kate. On Wed, 2005-02-09 at 19:56, Darren Linsley wrote: I will apologise for this questions now, but everyone has to start somewhere. I am just starting out with PHP and wanted to know what development environments/editors that you guys are using for your

[PHP] Parsing whois lookup information

2005-02-09 Thread Harish Rao K
Hello, For a project I need to parse whois domain lookup data. Have some one parsed these data in PHP? Please let me know where can I find them. I have already gone through google and couldn't find anything useful. There is one .NET library (http://www.hexillion.com/whois/) available, but it is

Re: [PHP] Parsing whois lookup information

2005-02-09 Thread Matthew Fonda
You might want to check out PEAR::Net_Whois http://pear.php.net/package/Net_Whois On Wed, 2005-02-09 at 20:13, Harish Rao K wrote: Hello, For a project I need to parse whois domain lookup data. Have some one parsed these data in PHP? Please let me know where can I find them. I have already

Re: [PHP] PHP Development IDE's/Editors

2005-02-09 Thread daniel
Personally I use either emacs or kate. Bah , phpeclipse.de It has its odd issues with file syncing with the sftp exporter and modification times but its rare. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] errors not reported

2005-02-09 Thread D_C
Hiya - My parse errors have disappeared from my development environment. Now whenever php cannot run a page, it just stops with a blank page in the browser and no clues. Running the same code on another server will give a fatal error class not found etc type output to the browser. Can someone

Re: [PHP] PHP Development IDE's/Editors

2005-02-09 Thread Kaspars Bankovskis
notepad forever. but if you prefer syntax highlighting there is a freeware soft called notepad2. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php