[PHP] Apache Error After Running Config PEAR-Package Application

2003-09-07 Thread Nilaab Y.
it's so public and out-in-the-open. Anyone can improve on these packages at any time. So, there's my two cents worth... Thanks, Nilaab -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Merging Multi-Dimensional Arrays Into Another Array

2003-08-21 Thread Nilaab Y.
Ok, here goes... I have an multi-dimensional array extracted from the database ($units) that is listed at the bottom of this e-mail. What I want to do is take this multi-dimensional array $units and maybe merge or extract it to a different array called $options. I want to group similar units into

[PHP] Best Merchant Account For PHP Users

2003-06-25 Thread Nilaab Y.
Hello everyone, I want to start learning about e-commerce, shopping carts, SSL encryption methods, etc. I have built a catalog system for my clients and I want to built a fully integrated store on top of it. I need a merchant provider that can allow me to integrate the credit card proccessing

[PHP] Image Border Help

2003-06-19 Thread Nilaab Y.
Hey guys, I want to know how I can add different border styles around an image. Here's what I do to create an image: function output_new_img () { $new = $this-calc_new_size ($this-max_w, $this-max_h); $new_w = $new[0]; $new_h = $new[1]; $src_img = ImageCreateFromJPEG

RE: [PHP] WYSIWIG CMS Part1

2003-02-10 Thread @ Nilaab
I really really like the idea of using XML/XSLT for creating future CMS Apps. XML is simply a good way to manage and share content between different companies, etc. Those that are not too familiar with XML, should try and read a little bit on the advantages of it. It is the next generation markup

RE: [PHP] WYSIWYG Content Management system?

2003-02-06 Thread @ Nilaab
Why don't you two gather up a few more developers, decide on what is needed and what the goals are, then assign parts to build for the new CMS. Once finished, you can maybe present it to PHP.net and see if they will allow it to be developed and documented in the future by other developers. A CMS

RE: [PHP] In Need of a PHP freelancer...

2003-02-05 Thread @ Nilaab
You can also try the following site. It is loaded with freelance developers who are sitting there waiting for requests like yours. http://webhostingtalk.com/forumdisplay.php?s=deff1e6ceaa5f13e400bfefc1702a2f cforumid=33 -Original Message- From: 1LT John W. Holmes [mailto:[EMAIL

RE: [PHP] MySQL/PHP Associative Array Insert

2003-02-01 Thread @ Nilaab
Yes Chris, When you add the item to the database, make sure to leave out the single quotes inside the brackets of the associative array. For example: Instead Of: $item['itemID'] Do This: $item[itemID] Example Query: $query = SELECT * FROM items WHERE '$item[itemID]'; Hope that helps.

RE: [PHP] MySQL/PHP Associative Array Insert

2003-02-01 Thread @ Nilaab
Oops, I forgot the double quotes at the end of the example query from the last email. This is how it should be: Example Query: $query = SELECT * FROM items WHERE '$item[itemID]'; -Original Message- From: @ Nilaab [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 01, 2003 1:00 PM

[PHP] Good way to organize code using classes???

2003-01-27 Thread @ Nilaab
Hello everyone, I want to be able to use objects to create my future pages. My goal is to use methods of classes to make the original front-line script easier to read, while all the processing is done with a simple call to the different classes from a single class. Please read futher, as I'll get

[PHP] Predefined Variables In Classes

2003-01-26 Thread @ Nilaab
Hello Everyone, I am a little confused. Why do predefined variables like $PHP_SELF or $DOCUMENT_ROOT not process within a class, in the methods secifically. For example: ?php class someClass { function someFunction () { $root = $DOCUMENT_ROOT; return $root; } function

RE: [PHP] Predefined Variables In Classes

2003-01-26 Thread @ Nilaab
be great. Read: http://www.php.net/variables.scope Also note that $_SERVER is an autoglobal. Regards, Philip -Original Message- From: @ Nilaab [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 26, 2003 1:46 PM To: Php-General Subject: [PHP] Predefined Variables In Classes Hello

RE: [PHP] Predefined Variables In Classes

2003-01-26 Thread @ Nilaab
, or the value of whatever page included this class file and called the methods of the class. How would I do that? Because right now it returns a blank string. -Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 26, 2003 3:37 PM To: '@ Nilaab'; 'Php-General

RE: [PHP] Predefined Variables In Classes

2003-01-26 Thread @ Nilaab
Nevermind John, it worked! I had $_SERVER['PHP_SELF'] spelled as $SERVER['PHP_SELF']. I appreciate your help! :P -Original Message- From: @ Nilaab [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 26, 2003 4:01 PM To: Php-General Subject: RE: [PHP] Predefined Variables In Classes

RE: [PHP] Transition Page?

2003-01-26 Thread @ Nilaab
Hello Lee :) Well, there is one way that I know of that some people might overlook. What you can do is use CSS positioning and set the Uploading Now message (Whether it's text, an image, a flash file, etc.) BEHIND the result page by setting the z-index value of the Uploading Now message to a

RE: [PHP] I'm new in PHP

2003-01-26 Thread @ Nilaab
Beogradjanin, In addition to Philip's links, don't forget that PHP works great with the MySQL database. If you plan to use MySQL, then go to the following for great tutorials: http://www.mysql.com Remember, PHP can be as creative as you want to be. If you need any help with anything else,

RE: [PHP] Form Validating Class (OOP misunderstandings...)

2003-01-21 Thread @ Nilaab
Nicholas, I think I know where you found this code. I have the same code, except I modified it a little to work for me. You may need to change it for your needs. When I first used it, it didn't work. I had to modify it to make it work. My code is usually kind of sloppy, but maybe you would get

[PHP] Passing Arrays Through Forms

2003-01-16 Thread @ Nilaab
Hello Everyone, I've attempted this many times, but have failed to understand it each time. I want to make it easier for myself to deal with passing variables through a form. So I thought, why not use a single array variable to do that. If I do such a thing, what steps do I need to take to ensure

RE: [PHP] class inside class

2003-01-13 Thread @ Nilaab
If these two classes are in separate files then you will need to include one of the classes in with the other class using the include() or require() functions. Have you also used the extends keyword to extend the main class? When you use inheritance properties, you can use the $this- mechanism

RE: [PHP] How To Delete Multiple Items Of Multiple Tables Using PHP and MySQL

2003-01-01 Thread @ Nilaab
Jason, thanks, but see if you can you read the initial question and try to answer that one for me. You are a great help with resources when I need them. Your help is always appreciated. The origial clip is as follows (concentrate on the ending question): Hello Everyone, I want to DELETE

RE: [PHP] How To Delete Multiple Items Of Multiple Tables Using PHP and MySQL

2003-01-01 Thread @ Nilaab
and again and again on the open connection. Still Stephen's quote is true, you can't run more than one query by one call to mysql_query. Thomas On Tue, 31 Dec 2002 16:30:38 -0600 [EMAIL PROTECTED] (@ Nilaab) wrote: I was hoping for better news. Thanks for the suggestion, but it will put

[PHP] How To Delete Multiple Items Of Multiple Tables Using PHP and MySQL

2002-12-31 Thread @ Nilaab
Hello Everyone, I want to DELETE multiple items of multiple TABLES in a MySQL database. My version of MySQL is 3.23, which means this version doesn't support the DELETE functionality on multiple tables. The following is my PHP code, where $item_id is a multi-dimensional array containing the ids

RE: [PHP] How To Delete Multiple Items Of Multiple Tables Using PHP and MySQL

2002-12-31 Thread @ Nilaab
:10 PM To: @ Nilaab Cc: PHP List Subject: Re: [PHP] How To Delete Multiple Items Of Multiple Tables Using PHP and MySQL From experience, I don't think you can run more then one SQL statement at once in a single time. Try assigning each variable with delete, then query them all seperately. I

[PHP] How To Use The next() and prev() functions on multi-dimensional arrays

2002-12-26 Thread @ Nilaab
Hello Everyone, I have a multi-dimensional array called $cat_data, and I need to access certain elements in the array using the next() and prev() functions. I did consider using loops like for, foreach, and while...but for this particular application, I don't want to loop through the entire

[PHP] How To Get Last Item Of An Array?

2002-12-25 Thread @ Nilaab
Hello Everyone, I have an multi-dimensional array called $cat_data, which is info extracted from a MySQL DB. I want to retrieve the very last item of that array. How would I do that? I know the first item can be retrieved by simply asking for $cat_data[0][0], which contains an id number. But I

[PHP] delete() and unlink()

2002-12-19 Thread @ Nilaab
Hello Everyone, I'm using a test server on Windows XP. I have the following function (which I got from the comment notes on php.net) that works wonders when deleting directories that are not empty on a Windows system. But, I'm a bit confused. I searched for the delete() function on php.net and it

RE: [PHP] delete() and unlink()

2002-12-19 Thread @ Nilaab
Thanks Jason, That makes much more sense now. I forgot about recursive functions, as I don't use them often. I should look into it further. It seems to be very helpful in some cases. Thanks again for your help. - Nilaab -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED

[PHP] Need Redirection Trick...

2002-12-05 Thread @ Nilaab
at the beginning of the script (the list of categories). Is there any other way that I can redirect and send the variables of cat_id and subcat_id to the page in the second situation mentioned earlier? Register Globals is on. - Nilaab -- PHP General Mailing List (http://www.php.net/) To unsubscribe

RE: [PHP] Need Redirection Trick...

2002-12-05 Thread @ Nilaab
Great Jason, thanks a lot. I was just looking for some direction and I think you just helped me find it. Thanks for taking the time to look at my problem.:) - Nilaab -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 11:46 PM

RE: [PHP] Show Folder Contents in Form

2002-12-02 Thread @ Nilaab
then $file_name equals filename2.php and you can use that information however you need it. Hope that didn't confuse you. If you need further help, please let me know. Good luck... - Nilaab -Original Message- From: Stephen [mailto:[EMAIL PROTECTED]] Sent: Monday, December 02, 2002 3:04

RE: [PHP] Multiple page form

2002-11-26 Thread @ Nilaab
and forth until the end of the application when I actually need to do something with them. - Nilaab -Original Message- From: Chris Boget [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 10:24 AM To: @ Edwin; Shane McBride Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Multiple

RE: [PHP] Multiple page form

2002-11-26 Thread @ Nilaab
Oh, ok. That makes a lot more sense. Thanks for the info John :) - Nilaab -Original Message- From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 4:00 PM To: @ Nilaab; [EMAIL PROTECTED] Subject: Re: [PHP] Multiple page form Is there an actual

[PHP] Simple RegExp Problem...

2002-11-22 Thread @ Nilaab
by specifying [[:space:]], but I didn't get that solution to work either. How do I match $text to return true? - Nilaab -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] How do I initialize a page to do something ONCE

2002-11-22 Thread @ Nilaab
The variable $initialize contains int(1), so it does set itself within the last if statement. I'm just not sure why it's not unsetting all the sessions when the page loads. - Nilaab -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED]] Sent: Friday, November 22, 2002 2:36 AM

RE: [PHP] Simple RegExp Problem...

2002-11-22 Thread @ Nilaab
Thanks so much!!! It works. I didn't know I could also place extra characters inside the brackets to specify what I want. :) -Original Message- From: Ernest E Vogelsinger [mailto:[EMAIL PROTECTED]] Sent: Friday, November 22, 2002 7:19 AM To: @ Nilaab Cc: Php-General Subject: Re

RE: [PHP] Simple RegExp Problem...

2002-11-22 Thread @ Nilaab
Thanks again Ernest! This will be extremely helpful to me in the near future. - Nilaab -Original Message- From: Ernest E Vogelsinger [mailto:[EMAIL PROTECTED]] Sent: Friday, November 22, 2002 3:23 PM To: @ Nilaab Cc: Php-General Subject: RE: [PHP] Simple RegExp Problem... At 21

RE: [PHP] How do I initialize a page to do something ONCE

2002-11-22 Thread @ Nilaab
to both of you for your help. :) - Nilaab -Original Message- From: Larry Brown [mailto:[EMAIL PROTECTED]] Sent: Friday, November 22, 2002 9:31 AM To: PHP List; @ Nilaab Subject: RE: [PHP] How do I initialize a page to do something ONCE Your first post stated.. The only problem

RE: [PHP] HTML page and php

2002-11-21 Thread @ Nilaab
learning about how to deal with files. Here is the direct link, just in case: http://www.php.net/manual/en/ref.filesystem.php. This site might also help you: http://www.devshed.com. Have fun... - Nilaab -Original Message- From: Martin Johansson [mailto:[EMAIL PROTECTED]] Sent: Thursday

[PHP] How do I initialize a page to do something ONCE

2002-11-21 Thread @ Nilaab
. Thanks, - Nilaab -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How to unregister a single array item...

2002-11-20 Thread @ Nilaab
Hello, How do I unregister a single array item from an array? For example: session_start() session_register(item); $item['name'] = Some Name; $item['img'] = some_image_name.jpg; $item['desc'] = Some Description; $item['price'] = 400; // Now I want to get rid of the desc array item. // I tried:

[PHP] Be nice to newbies...

2002-11-18 Thread @ Nilaab
and they might help you out with a difficult problem. Anyway, my two cents worth. And again, please don't turn this into a debate... - Nilaab -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Redirect Problem

2002-11-14 Thread @ Nilaab
); . . . } } ? - Nilaab -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP]

2002-11-14 Thread @ Nilaab
); . . . } } ? - Nilaab -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How To Delete All Files In A Directory

2002-11-12 Thread @ Nilaab
on this. Thanks. - Nilaab -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Moving Files From One Directory To Another

2002-11-11 Thread @ Nilaab
for some direction. - Nilaab -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php