[PHP] OOP Yea you know me... OOP yea you know me...

2001-09-26 Thread Joel Ricker
Hey all, I've been working on my first OPP driven PHP code and wanted to see what everyone thought and any ideas anybody can add to the code that I'm working on. I've had to make some concessions due to the limitations of PHP's OOP model and the fact that I'm using PHP3 which doesn't functions

Re: [PHP] quick question.

2001-09-26 Thread Joel Ricker
: I was just wondering if I could call some functions out side of the class : I'm making? The reason why I want to do this is so that I don't have to : rewrite the functions as methods in the class and I don't want to get too : far into what I'm doing before I find out it doesn't work. Sure

Re: [PHP] session class driving me nuts

2001-09-30 Thread Joel Ricker
: hi , : : gallerie.php: : : Fatal error: Call to a member function on a non-object in : /home/sites/site76/web/galerie/shop.php on line XX If I'm following you right and the class code you are trying to run is in gallerie.php, then your error is in shop.php. Joel -- PHP General Mailing

Re: [PHP] Namo Web Editor

2001-10-04 Thread Joel Ricker
I always depreciated WYSIWYG software, especially when they mention those things about HTML. HTML is the alphabet of the internet and as such should be well known by any webmaster and whoever else is interested in this kind of software. Still, it feels like it is better than Dreamveawer

Re: [PHP] Re: images no appearing

2001-10-04 Thread Joel Ricker
To see exactly what image functions that are or aren't available to you, try running this script. ?php $func= array(GetImageSize, ImageArc, ImageChar, ImageCharUp, ImageColorAllocate, ImageColorDeAllocate, ImageColorAt, ImageColorClosest, ImageColorExact, ImageColorResolve , ImageGammaCorrect,

[PHP] crypt and decrypt a string

2001-10-05 Thread Joel Ricker
Does anybody have an easy way to crypt and decrypt a string? I see the Mcrypt Encryption module but thats a little more gung-ho than I'm looking for. I'm not trying to encrypt sensitive data rather I'm more trying obfuscate it a variable for a hidden tag. Thought I remember seeing something

Re: [PHP] crypt and decrypt a string

2001-10-05 Thread Joel Ricker
From: Nathan [EMAIL PROTECTED] Here are some simple xor encoding functions that I wrote. This will keep the average joe from peaking at your data. Exactly what I was looking for. Thanks Joel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] crypt and decrypt a string

2001-10-05 Thread Joel Ricker
On Friday 05 October 2001 18:10, you wrote: Use crypt()/decrypt() couple. Andrey Hristov From the PHP doumentation on crypt: There is no decrypt function, since crypt() uses a one-way algorithm. so that wouldn't have worked. Joel -- PHP General Mailing List

Re: [PHP] Paging through MySQL results

2001-10-05 Thread Joel Ricker
- Original Message - From: Andrey Hristov [EMAIL PROTECTED] select * from some_table Limit 10,30; Something to point out, in some of the older versions of MySQL, Offset starts counting at 0, while in the newer versions, it starts counting at 1. You'll want to check the documentation

Re: [PHP] Easy Question

2001-10-05 Thread Joel Ricker
My Database functions are all wrapped up in an easy to use class. The methods look something like this: $db = new DB; $q = SELECT * FROM ATable; $db-query($q); while ($db-next_record()) { $db-p(SomethingOrOther); } For the PHP script itself, the content management system I wrote up uses

Re: [PHP] New lists (was [PHP] Attitude of B van Ouwerkerk)

2001-08-04 Thread Joel Ricker
Similarly the FAQ is easy to find, and I do believe the words support suggest where help may be found. Actually my suggestion would be to take a page from way the Python lists are and call it tutor or PHP-tutor. Joel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] New lists (was [PHP] Attitude of B van Ouwerkerk)

2001-08-06 Thread Joel Ricker
From: Andreas D. Landmark [EMAIL PROTECTED] I'd second this suggestion, the general list has become flooded with posts that seems like a pop-quiz taken straight from the manual... Right. I've just signed up the list and I've all but given up on trying to follow things. Just way too much

Re: [PHP] What would you want in a PHP web host?

2001-08-06 Thread Joel Ricker
- Original Message - From: Ryan Fischer [EMAIL PROTECTED] Are hosting companies reluctant to give you more access rights? Usually, and that really sucks, because I've found myself having to set up my own pseudo-server on my computer, with PHP4, Apache, and MySQL, just to develop,

[PHP] Pretty Formatter for PHP?

2001-08-27 Thread Joel Ricker
While I try and adhere to good formatting and punctuation practice in my coding, sometimes in my haste to write code I don't have time to properly format my code especially when I do a copy and paste and the indents don't follow the new code. Are there any apps available that will properly

Re: [PHP] About PHP Oracle

2001-08-30 Thread Joel Ricker
Dear all, Now i have an Oracle database. I have created a table contains 43 rows for example. I use PHP to contact with my oracle. I want to write a script access my Oracle for display data into table. Each time display 9 rows. So I dont't know how to program such as Page 1 2 3 4 Next.Can

[PHP] Am I doing this right? (PHP3/Login system)

2001-09-03 Thread Joel Ricker
I'm tring to get a login system going using PHP3 and MySQL. I'll have two tables -- one containing the username and passwords of each user plus a variable called Access which will hold what other parts of the scripts they'll have access to and another containing the actual logged in sessions.

Re: [PHP] Side Comment (was: Newbie Question: Converting PHP3 files to PHP4?)

2001-09-03 Thread Joel Ricker
: On Tue, 4 Sep 2001, Jason Murray wrote: : : Nah, in Illegal Monopoly OS, its just as easy as Apache. : : Rather than the web server config, I was referring to renaming all the : .php3 files to have .php extensions, and combing through all the files, : finding all references to .php3 files, and