[PHP] Open a stream to the shell..

2004-08-28 Thread Joel Kitching
executable if you had proper access, but it's just to get the idea across. So, does anyone know how I can do this? -- Joel Kitching http://midgardmanga.keenspace.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP5 OOP

2004-08-10 Thread Joel Kitching
I make this work, so I can write a bunch of classes that can blindly use $this-db or something similar without having to worry about setting it in the constructor? I thought about setting it as a global, but that didn't seem very... OOP. -- Joel Kitching http://midgardmanga.keenspace.com

Re: [PHP] Re: How to escape apostrophe in HTML textbox exactly???

2004-06-30 Thread Joel Kitching
What's wrong with addslashes() on the way in and stripslashes() on the way out? Why would you want to convert it to it's HTML entity? -- Joel Kitching http://midgardmanga.keenspace.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: How to escape apostrophe in HTML textbox exactly???

2004-06-30 Thread Joel Kitching
... why use htmlentities()? that is for displaying data within a form element OR (i hope i have this right) preventing XSS (Cross Site Scripting attacks). hope this helps! chris. -- Joel Kitching http://midgardmanga.keenspace.com/ -- PHP General Mailing List (http://www.php.net

[PHP] OOP, Classes, Sharing Code

2004-06-28 Thread Joel Kitching
), or is there a better way of organizing all of this? -- Joel Kitching http://midgardmanga.keenspace.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] OOP, Classes, Sharing Code

2004-06-28 Thread Joel Kitching
can't see how I would link the two together. Also, they would have to use fairly generic variables names if I were to do this. Like using the variable $items for the array of classes of either albums or photos. Or maybe this is exactly what OOP is about and I'm just starting to get it. -- Joel

Re: [PHP] Re: Php survey+database

2004-06-23 Thread Joel Kitching
I think he wants us to tell him how to set up PHP and a database, and then write some PHP code to add survey results to the database. So, get on it! On Thu, 24 Jun 2004 13:07:28 +1000, Ligaya Turmelle [EMAIL PROTECTED] wrote: So what is your question. Respectfully, Ligaya Turmelle

Re: [PHP] hi all can you read me ?

2004-06-20 Thread Joel Kitching
I'm not quite sure, do you have something written on you? On Mon, 21 Jun 2004 01:51:51 +0200, Pierre [EMAIL PROTECTED] wrote: Hi all just wanna check if you can read me Thx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] plz help!compiled php but iam still getting old version ???

2004-06-20 Thread Joel Kitching
Try looking in your apache configuration files for a reference to a PHP library file or something... Though I don't see the logic in installing an older version either. On Sun, 20 Jun 2004 21:53:37 -0400, Michael Lauzon [EMAIL PROTECTED] wrote: Why do you want to install 4.3.3, when the

Re: [PHP] Regular Expressions Tester/designer

2004-06-19 Thread Joel Kitching
On Sat, 19 Jun 2004 17:23:53 -0400, Al [EMAIL PROTECTED] wrote: Anyone know of a good regular expressions tester/designer for php coding running windows. I've looked at the Rad Software Regular Expressions Designer and it looks pretty good except that it is intended for .net and it really

Re: [PHP] cookie question

2004-06-19 Thread Joel Kitching
Did you do this before you sent some outut? This would send headers, therefore causing you to not be able to send the cookie header. On Sat, 19 Jun 2004 15:51:00 -0600, water_foul [EMAIL PROTECTED] wrote: whats wrong with this script setcookie('link' . $loopnum . '',$url,time()+3600*200);

Re: [PHP] cookie question

2004-06-19 Thread Joel Kitching
, water_foul [EMAIL PROTECTED] wrote: all i did was a function and some conditionals Joel Kitching [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Did you do this before you sent some outut? This would send headers, therefore causing you to not be able to send the cookie header

Re: [PHP] cookie question

2004-06-19 Thread Joel Kitching
the expiration is set wrong.. i'm a newb with cookies Joel Kitching [EMAIL PROTECTED] wrote Are you sure you're trying to access them properly, and on the next page refresh? ex) ?php // Print an individual cookie echo $_COOKIE[TestCookie]; echo $HTTP_COOKIE_VARS[TestCookie

Re: [PHP] Re: hellllppp my php kills the browser

2004-06-19 Thread Joel Kitching
Perhaps you would be better off going to IRC, as you seem to have many (smaller) questions... On Sat, 19 Jun 2004 17:42:26 -0600, water_foul [EMAIL PROTECTED] wrote: i fixed it i had an endless loop oops :) Water_foul [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] i dont