[PHP] Open a stream to the shell..

2004-08-28 Thread Joel Kitching
($fp); Now this obviously wouldn't work, as it would overwrite the bash 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
mpty. I tried changing it to static, but it didn't inherit the $db variable for some reason. So, how can 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 constr

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

2004-06-30 Thread Joel Kitching
exist and you therefore do not need to perform stripslashes(). I tried using addslashes() on the string in the query, and then SELECTing it, and the slashes are included. Does mysql_escape_string() not do this? > > and now to the second part... why use htmlentities()? that is for > di

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] OOP, Classes, Sharing Code

2004-06-28 Thread Joel Kitching
27;m just starting to get it. -- Joel Kitching http://midgardmanga.keenspace.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] OOP, Classes, Sharing Code

2004-06-28 Thread Joel Kitching
duplicate the code in each class (Portfolio and Album), 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] 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] 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 la

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] 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] > > >

Re: [PHP] cookie question

2004-06-19 Thread Joel Kitching
yy dont expire (maby 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) > &

Re: [PHP] cookie question

2004-06-19 Thread Joel Kitching
Are you sure you're trying to access them properly, and on the next page refresh? ex) On Sat, 19 Jun 2004 15:56:36 -0600, water_foul <[EMAIL PROTECTED]> wrote: > > all i did was a function and some conditionals > "Joel Kitching" <[EMAIL PROTECTED]> wrot

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*20

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