[PHP] Re: PHP, MySQL and datetime

2003-12-04 Thread John
Guess it matters on which one you want to do the date handling...php or MySQL. If it's PHP, I like epoch time, makes manipulating time and dates very simple (basic math). MySQL has its own timestamp format (the guy above me mentions it). Whichever you feel more comfortable with. John "Jough Jea

Re: [PHP] What do you say to someone who says...

2003-12-04 Thread Chris Shiflett
--- Daniel Pupius <[EMAIL PROTECTED]> wrote: > What do you say to someone who says: > > "PHP is just a kiddie language"? > > (Source: http://www.dhtmlcentral.com/forums/topic.asp?TOPIC_ID=19373) I would suggest not even bothering with these types of people. Like everyone else, they all have opin

[PHP] hmm.. anyone else get a "friendly" message from Kenneth Uzzi?!

2003-12-04 Thread Richard Davey
Hmm.. I swear I get more spam and crap-mail thanks to posting to this list than from anywhere else! Did anyone else get a wonderfully abusive message from one bonehead "kenneth uzzi <[EMAIL PROTECTED]>"? as a result of posting here? -- Best regards, Richard mailto:[EMAIL

[PHP] accepting form data and store it in mysql and display the contents in a html form

2003-12-04 Thread ramesh konjeti
hi! my name is ramesh and i am looking after a web page in an office where in intranet connected 21 sub offices. My problem is these 21 branches have to give some business figures everyday evening. I have to display them in a html form to the managers in the controlling office as well as to the s

Re: [PHP] Problem with references

2003-12-04 Thread David Otton
On Thu, 4 Dec 2003 09:58:09 -0800, you wrote: >David Otton <[EMAIL PROTECTED]> >on Thursday, December 04, 2003 3:43 AM said: > >> function f() >> { >> return (array (7, 5)); >> } >> >> list ($a, $b) = f(); > >Hey cool! I never knew about that. Yeah, compared with returning a pointer to

RE: [PHP] hmm.. anyone else get a "friendly" message from Kenneth Uzzi?!

2003-12-04 Thread Jay Blanchard
[snip] Hmm.. I swear I get more spam and crap-mail thanks to posting to this list than from anywhere else! Did anyone else get a wonderfully abusive message from one bonehead "kenneth uzzi <[EMAIL PROTECTED]>"? as a result of posting here? [/snip] Nope, but I am getting some bounces from others -

Re: [PHP] What do you say to someone who says...

2003-12-04 Thread Blake Schroeder
Hey Who cares what these people think. PHP ASP JSP are just tools to get the job done. If the job calls for ASP, you do it in ASP. They are very similar. Myself I like unix/linux servers, mysql and php are free. Find a cheap hosting company that has JSP. -Blake --- Daniel Pupius <[EMAIL PR

Re: [PHP] What do you say to someone who says...

2003-12-04 Thread Rob Adams
"Jay Blanchard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] There are several large complex projects using PHP as the language, jsut as there are several large projects out there using C++, JAVA, Fortran, Cobol etc.etc.etc. I'm cringeing! Did you just compare C++, Java, PHP, Fo

[PHP] Losing Sessions.

2003-12-04 Thread Tony Crockford
I hope someone can help. I have a simple login process that someone wrote for me. It uses two stored variables which it checks on each new page, if it can't get them it assumes you should login first and sends you to a login page. Everything was okay. I used the same script on a different serv

RE: [PHP] What do you say to someone who says...

2003-12-04 Thread Jay Blanchard
[snip] There are several large complex projects using PHP as the language, jsut as there are several large projects out there using C++, JAVA, Fortran, Cobol etc.etc.etc. I'm cringeing! Did you just compare C++, Java, PHP, Fortran and ... COBOL? [/snip] Not so much comparison as is "lumping in

[PHP] dl(): Invalid library (maybe not a PHP library)

2003-12-04 Thread Anas Mughal
I have followed the instructions in the PHP documentation on how to build a custom dynamic extension. After running ext_skel, I did NOT add any custom methods. I built the extension using the followind commands: Compiling cc -fpic -DCOMPILE_DL=1 -I/usr/local/include -I. -I.. -I../Zend -c -o

[PHP] gd error with latest source install

2003-12-04 Thread Rob Yelvington
Just downloaded and am in the process of installing php 4.3.4 Installing the bundled GD library and I get an error about "not able to locate libpng.a". This is on a Freebsd v4.3 box. I've got a few others with slightly older versions of PHP running with same bundled GD which compiled fine. Gu

Re: [PHP] What do you say to someone who says...

2003-12-04 Thread CPT John W. Holmes
From: "Cesar Cordovez" <[EMAIL PROTECTED]> > > I work on a project 100% made in PHP and MySQL that > > costs a lot of money (6 figures) a copy. > > PD. Did I mention that it is cheap and reliable. Please tell me in what world is 6 figures considered cheap?? ---John Holmes... -- PHP General

RE: [PHP] What do you say to someone who says...

2003-12-04 Thread Aaron Wolski
> Please tell me in what world is 6 figures considered cheap?? My $300,000 home compared the $2,000,000 one I'd like to have? :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What do you say to someone who says...

2003-12-04 Thread Chris Shiflett
--- "CPT John W. Holmes" <[EMAIL PROTECTED]> wrote: > From: "Cesar Cordovez" <[EMAIL PROTECTED]> > > > I work on a project 100% made in PHP and MySQL that > > > costs a lot of money (6 figures) a copy. > > > > PS. Did I mention that it is cheap and reliable. > > Please tell me in what world is

Re[2]: [PHP] What do you say to someone who says...

2003-12-04 Thread Richard Davey
Thursday, December 4, 2003, 8:21:44 PM, you wrote: CJWH> Please tell me in what world is 6 figures considered cheap?? A Japanese one? :) Although mind you, that's still not exactly "cheap" being at least just over $9200. -- Best regards, Richardmailto:[EMAIL PROTEC

Re: [PHP] dl(): Invalid library (maybe not a PHP library)

2003-12-04 Thread Curt Zirzow
* Thus wrote Anas Mughal ([EMAIL PROTECTED]): > I have followed the instructions in the PHP documentation on how to > build a custom dynamic extension. After running ext_skel, I did NOT add > any custom methods. I built the extension using the followind commands: > > Compiling cc -fpic -DCOMPILE

Re: [PHP] dl(): Invalid library (maybe not a PHP library)

2003-12-04 Thread Anas Mughal
Yes, I had uncommented those lines already. This how they look in my config.m4 file: PHP_ARG_ENABLE(my_ext, whether to enable my_ext support, dnl Make sure that the comment is aligned: [ --enable-my_ext Enable my_ext support]) Now, I ran the commands that you suggested (phpize, confi

[PHP] how to determine if shopping cart has been abandoned?

2003-12-04 Thread Chris W. Parker
Hey there everyone. I haven't had time much to work on my cart program recently but I was just thinking about abandoned carts and can't figure something out completely. How do you determine if a shopping cart has been abandoned or not? What I am thinking is that when the customer adds an item to

Re: [PHP] how to determine if shopping cart has been abandoned?

2003-12-04 Thread Anas Mughal
This looks like a business decision. Your business anaylist could help answer your question. Chris W. Parker wrote: Hey there everyone. I haven't had time much to work on my cart program recently but I was just thinking about abandoned carts and can't figure something out completely. How do you

Re: [PHP] how to determine if shopping cart has been abandoned?

2003-12-04 Thread Richard Davey
Hello Chris, Thursday, December 4, 2003, 9:09:57 PM, you wrote: CWP> The problem I see is that a cart could be considered abandoned for 4 CWP> days but then become active again because the customer has come back to CWP> it and has added more products to it. In this case I'd say it was never CWP>

Re: [PHP] how to determine if shopping cart has been abandoned?

2003-12-04 Thread Eric Wood
Chris W. Parker wrote: > Now what do we do? Does the program automatically delete the carts > after a certain (definable) period of time, i.e. 7 days? OR do we > allow the merchant to manually delete the carts at any point they > want? And how do you determine your abandoned cart rate? That is, do

RE: [PHP] how to determine if shopping cart has been abandoned?

2003-12-04 Thread Jay Blanchard
[snip] ...ton's o thoughts [/snip] I am making an assumption that you are using sessions for your shoppers. If this is the case then the cart would be abandoned if/when the session expires. If you are not using sessions then I think 24 hours would be on the longish side of acceptable. In another

[PHP] Re: Losing Sessions.

2003-12-04 Thread Luke
Hi Well, what i can think of (and its happened to me) is session timeouts, how long does your session last? Just a note, in newer php versions, session_register is not required, all you need is session_start, and then use $_SESSION['variablename'] to set the variable. session register used to be

Re: [PHP] What do you say to someone who says...

2003-12-04 Thread Cesar Cordovez
I was refering that the system we are building will be sold for about a half a mill, plus hardware, consultants, instalation, training, migration, etc, etc will be about one mill per client. Huge. LAMPHP are cheap and reliable. And we love it. Our clients love it. They don't have to pay a fo

[PHP] Exporting Data as CSV - IE6/HTTPS Problem?

2003-12-04 Thread Geoffrey Thompson
All: I have the following php code for downloading a file to the user via the browser: // Open csv file. $fp = fopen($fileName, "r"); // Set file name. $dwnldName = "report"; // Set headers for csv download. header("Content-Type:application/csv"); header("Content-Disposition:attac

Re: [PHP] dl(): Invalid library (maybe not a PHP library)

2003-12-04 Thread Curt Zirzow
* Thus wrote Anas Mughal ([EMAIL PROTECTED]): > Yes, I had uncommented those lines already. This how they look in my > config.m4 file: > > PHP_ARG_ENABLE(my_ext, whether to enable my_ext support, > dnl Make sure that the comment is aligned: > [ --enable-my_ext Enable my_ext support]) >

[PHP] Sort Array by date

2003-12-04 Thread Matt Palermo
I have a bunch of dates in the form: MM-DD- in an array and I want to sort them and display them in descending order. I have tried the usort() function below and it's not working. Can anyone help me out here? $menu_item = array(); $menu_item[] = "12-04-2003"; $menu_item[] = "11-19-2003"; $me

Re: [PHP] how to determine if shopping cart has been abandoned?

2003-12-04 Thread Robert Cummings
On Thu, 2003-12-04 at 16:22, Eric Wood wrote: > Chris W. Parker wrote: > > Now what do we do? Does the program automatically delete the carts > > after a certain (definable) period of time, i.e. 7 days? OR do we > > allow the merchant to manually delete the carts at any point they > > want? And how

Re: [PHP] how to determine if shopping cart has been abandoned?

2003-12-04 Thread Justin French
On Friday, December 5, 2003, at 08:09 AM, Chris W. Parker wrote: I haven't had time much to work on my cart program recently but I was just thinking about abandoned carts and can't figure something out completely. How do you determine if a shopping cart has been abandoned or not? What I am think

[PHP] Search logic question

2003-12-04 Thread Hardik Doshi
Hi Group, I need to implement the search engine for retrieving the image observations data from the MySQL database. The critical part in the search is the ability to add search criteria (Multipage search) from page to page. Anywhere during the process, user can click on the search button to search

[PHP] PHP to read and write on a MUSH/MUX

2003-12-04 Thread Angel of Death
I'm fairly new to PHP and am trying to make a script that connects to a MUSH, logs in, sends some commands, reads some data back, and then exits. I have the following code: ## start code $thresh = fsockopen($hostname, $port, &$errno, &$errstr, $timeout); if(!$thresh) {

RE: [PHP] Sort Array by date

2003-12-04 Thread Martin Towell
Hiya, I changed your date_file_sort() function so it echos a few things function date_file_sort($a, $b) { echo "$a - $b - "; $a = strtotime($a); $b = strtotime($b); echo "$a - $b - ".date("d-M-Y", $a)." - ".date("d-M-Y", $b)."\n"; return strcmp($a, $b); } "interesting" result

RE: [PHP] how to determine if shopping cart has been abandoned?

2003-12-04 Thread Chris W. Parker
Anas Mughal on Thursday, December 04, 2003 1:23 PM said: > This looks like a business decision. > Your business anaylist could help answer your question. Yes, and so far they've all given good ideas. Thanks. -- PHP General Mailing List (http://www.php.net/) To u

Re: [PHP] how to determine if shopping cart has been abandoned?

2003-12-04 Thread Justin Patrin
Of course, this makes problems when you're adding promotional product to the cart, which should have a seperate price. Add to this that the customer may have special pricing (think Business to Business). So you have to have an update mechanism for promotions and the extra price lists. Do-able,

RE: [PHP] how to determine if shopping cart has been abandoned?

2003-12-04 Thread Chris W. Parker
Jay Blanchard on Thursday, December 04, 2003 1:25 PM said: > In another thread on another list I pointed out to another person > designing a cart that the items in the cart are removed from inventory > while they are in the cart even though no check-out has occured.

[PHP] Re: Sort Array by date

2003-12-04 Thread Luke
an easy way, but might not work in your case is to use sort() if instead of storing the dates like 12-04-2003, could you prehaps store them as 2003-04-03 year-month-day and then you could use $datearray = sort($datearray, SORT_STRING); would this work for you? -- Luke "Matt Palermo" <[EMAIL

RE: [PHP] how to determine if shopping cart has been abandoned?

2003-12-04 Thread Chris W. Parker
Justin French on Thursday, December 04, 2003 2:20 PM said: > If you owned a grocery store, you'd have to decide how long you'd > leave an abandoned cart in isle 3 -- 5 minutes? a week? This is > entirely a decision up to you and your client. ;) > If you have 10

RE: [PHP] Search logic question

2003-12-04 Thread Chris W. Parker
Hardik Doshi on Thursday, December 04, 2003 2:21 PM said: > Please let me know. If you have any doubt in > understanding the entire process please let me know so > i can try to explain more. Let me know if I get this right. A user searches for something. User gets

[PHP] What is PHP equivalent to JavaScript's charAt()....

2003-12-04 Thread Scott Fletcher
Hi Everyone! The function in JavaScript which is charAt(), I am wondering what would be this same function in PHP? I couldn't find it so it is in a different function name I don't know about. Thanks, Scott F. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://

Re: [PHP] What is PHP equivalent to JavaScript's charAt()....

2003-12-04 Thread Richard Davey
Hello Scott, Thursday, December 4, 2003, 10:49:05 PM, you wrote: SF> The function in JavaScript which is charAt(), I am wondering what would SF> be this same function in PHP? I couldn't find it so it is in a different SF> function name I don't know about. Wild guess (no knowing 100% what ch

[PHP] PHP Web Services

2003-12-04 Thread Jamie Anderson
Hello, I am wondering if it is possible to create web services using php? If so, where would I go to find some resources about it? Thanks Jamie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] dl(): Invalid library (maybe not a PHP library)

2003-12-04 Thread Anas Mughal
I did "phpize --clean" and run the commands again. My module shows up in "./configure -- help". Also, confirmed that I have the correct versions of those programs. (I also did everything as root just to make sure there isn't any premissions problem. Still no luck!) Please help... Curt Zir

RE: [PHP] Exporting Data as CSV - IE6/HTTPS Problem?

2003-12-04 Thread Geoffrey R. Thompson
Actually, no. The 'mangled' version is not an encrypted version of the filename - it is a non-encrypted fragment of my page url. My filename is "report.csv" My page URL is "https://www.mysite.com/report.php?key=29&sendto=Export"; The code works fine via either https or http in Mozilla (file '

Re: [PHP] PHP Web Services

2003-12-04 Thread Richard Davey
Hello Jamie, Thursday, December 4, 2003, 10:45:17 PM, you wrote: JA> I am wondering if it is possible to create web services using php? If so, JA> where would I go to find some resources about it? This one isn't bad: http://www.nusphere.com/products/library/webservices_whitep_012502.pdf -- Be

Re: [PHP] PHP Web Services

2003-12-04 Thread Matt Matijevich
I am wondering if it is possible to create web services using php? If so, where would I go to find some resources about it? try google GIYF http://www.google.com/search?q=web+services+using+php&sourceid=mozilla-search&start=0&start=0&ie=utf-8&oe=utf-8 -- PHP General Mailing List (http://www.p

RE: [PHP] how to determine if shopping cart has been abandoned?

2003-12-04 Thread Robert Cummings
On Thu, 2003-12-04 at 16:24, Jay Blanchard wrote: > [snip] > ...ton's o thoughts > [/snip] > > I am making an assumption that you are using sessions for your shoppers. > If this is the case then the cart would be abandoned if/when the session > expires. If you are not using sessions then I think 2

Re: [PHP] What is PHP equivalent to JavaScript's charAt()....

2003-12-04 Thread Robert Cummings
On Thu, 2003-12-04 at 17:49, Scott Fletcher wrote: > Hi Everyone! > > The function in JavaScript which is charAt(), I am wondering what would > be this same function in PHP? I couldn't find it so it is in a different > function name I don't know about. $foo = 'this is my text'; $cha

Re: [PHP] how to determine if shopping cart has been abandoned?

2003-12-04 Thread Justin French
On Friday, December 5, 2003, at 09:35 AM, Chris W. Parker wrote: Yeah the session files are cleaned up automatically but your application doesn't know that. You'd have to specifically tell your application (via a cron job??) when the session get cleaned up and that it (the application) should r

RE: [PHP] how to determine if shopping cart has been abandoned?

2003-12-04 Thread Chris W. Parker
Justin French on Thursday, December 04, 2003 2:48 PM said: > Rather than storing the shopping cart in a DB, store the cart in the > session. When the session dies, so does the cart. > When/if they choose to save it, it THEN gets ported into a database. Aaah...!

Re: [PHP] Re: for help :how to detect norton client through php socket

2003-12-04 Thread Adam i Agnieszka Gasiorowski FNORD
lph wrote: > why ? I manager a network including 2000 hosts, and i want to post the > hosts ip and department not installing the norton client on our web page > so i wonder to how to detect detect whether norton antivirus client are > installed on the hosts through > php socket

[PHP] Re: Search logic question

2003-12-04 Thread Luke
Chris' suggestion sounds allright. Depending on how you do the search depends on what you will want to do (to a certain degree) you might be able to store the search criteria in the url search.php?start=10&search=php%20general&subsearch1=search&subsearch2=logic $results = "query results from {$

[PHP] Re: PHP to read and write on a MUSH/MUX

2003-12-04 Thread Luke
I havent done anything like that, but do you have to send a CR or LF after the connect command (the same as pressing enter?) as i said, not sure how you do it, but that could be a prob? try changing to fputs($thresh, "connect USERNAME PASSWORD\n\r"); or fputs($thresh, "connect USERNAME PASSWORD\n"

Re: [PHP] Sort Array by date

2003-12-04 Thread Curt Zirzow
* Thus wrote Matt Palermo ([EMAIL PROTECTED]): > I have a bunch of dates in the form: MM-DD- in an array and I want to > sort them and display them in descending order. I have tried the usort() > function below and it's not working. Can anyone help me out here? > > $menu_item = array(); > $m

Re: [PHP] PHP, MySQL and datetime

2003-12-04 Thread John W. Holmes
Jough Jeaux wrote: Greetings all, I'm working on a message-board-type application that will use time stamps to sort part of the messages. I was wondering what everyone's favorite way to transfer dates between PHP and MySQL was? Since you'll be doing most of the sorting (if not all) actually wit

Re: [PHP] how to determine if shopping cart has been abandoned?

2003-12-04 Thread Justin Patrin
Of course, now you have to deal with putting inventory back on the shelf when the session expiresand you have no way of knowing when that would happen unless you're storing *something*. Chris W. Parker wrote: Justin French on Thursday, December 04, 2003 2:48 P

Re: [PHP] how to determine if shopping cart has been abandoned?

2003-12-04 Thread Jon Bennett
why not only reduce the stock once a sale has gone through ??? Cheers, Jon jon bennett | [EMAIL PROTECTED] new media designer / developer _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ J b e n . n e t 91 Gloucester Rd, Trowbridge, Wilts, BA14 0AD t: +44 (0) 1225 3410

[PHP] Configuring PHP in IIS 6 (Win2k3 Entr Server) + Oracle9i2

2003-12-04 Thread Ricardo Fernandes
  Hi,    I'm configuring a server (windows 2003 Entrepise Edition)  with PHP and Oracle9i.2, I've done everthing as the manuals and everthing over the net that i could found :     1. I've Installed Oracle   2. I've installed PHP 4.3.4 manually   3. Changed PHP.INI :     3.1 Extensions di

Re: [PHP] how to determine if shopping cart has been abandoned?

2003-12-04 Thread Justin French
On Friday, December 5, 2003, at 12:09 PM, Justin Patrin wrote: Of course, now you have to deal with putting inventory back on the shelf when the session expiresand you have no way of knowing when that would happen unless you're storing *something*. A good point, if that's the way he wants t

[PHP] SMTP vs POP3

2003-12-04 Thread orlandopozo
I have this code to send email via STMP server $msg = "this is a test - ojpp - mail function"; $senderFrom = "[EMAIL PROTECTED]"; $receiverTo = "[EMAIL PROTECTED]"; $subject = "test of the mail function"; $mailHeaders = "From: $senderFrom\n"; $mailHeaders .= "Reply-to: $senderFrom\n"; $mailHeaders

[PHP] Re: html stripping

2003-12-04 Thread Al
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > No this is not some shaddy game or strip poker knock-off. My question has to > do with a person project I have started. I have a script that grabs names and > ids from a database, puts them in an array and then based on that grabs a UR

[PHP] SMTP vs POP3

2003-12-04 Thread orlandopozo
I have this code to send email via STMP server $msg = "this is a test - ojpp - mail function"; $senderFrom = "[EMAIL PROTECTED]"; $receiverTo = "[EMAIL PROTECTED]"; $subject = "test of the mail function"; $mailHeaders = "From: $senderFrom\n"; $mailHeaders .= "Reply-to: $senderFrom\n"; $mailHeader

[PHP] Re: Sort Array by date

2003-12-04 Thread Al
> I have a bunch of dates in the form: MM-DD- in an array and I want to > sort them and display them in descending order. I have tried the usort() > function below and it's not working. Can anyone help me out here? Your sorting function uses strtotime, which doesn't recognise data in the MM-

[PHP] Comment alignment in config.m4

2003-12-04 Thread Anas Mughal
In config.m4, what does "Make sure that the comment is aligned" mean? What should it be aligned to? Is this correct: PHP_ARG_ENABLE(my_module, whether to enable my_module support, dnl Make sure that the comment is aligned: [ --enable-my_module Enable my_module support]) Or, is thi

[PHP] unpack question

2003-12-04 Thread John J Foerch
Hi, How do I unpack uint32's? I'm using the format character "L" and numbers greater than 2^31 come back as signed integers instead. This seems like a bug. Thanks, John J Foerch -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP, MySQL and datetime

2003-12-04 Thread Jough Jeaux
Nope, that's what I was looking for. Looking at the functions I realized there was more than one way to do it. I'm just a bandwagon jumper. And yes, if all of you jumped off a cliff I would to. --- Richard Davey <[EMAIL PROTECTED]> wrote: > Hello Jough, > > Thursday, December 4, 2003, 6:39:13

[PHP] Using exim with mail()

2003-12-04 Thread King Pochacoo
Hi all, I set sendmail_path = /usr/sbin/exim -ti in php.ini But when I call to mail(), it displays Fatal error: Call to undefined function: mail() in /home/society/info/public_html/forum/include/userlogin.php on line 361 What's wrong with my setting in php.ini ??? I am sure my code is

Re: [PHP] What do you say to someone who says...

2003-12-04 Thread John Nichel
Rob Adams wrote: "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] There are several large complex projects using PHP as the language, jsut as there are several large projects out there using C++, JAVA, Fortran, Cobol etc.etc.etc. I'm cringeing! Did you just compare C+

Re: [PHP] What do you say to someone who says...

2003-12-04 Thread John Nichel
CPT John W. Holmes wrote: From: "Cesar Cordovez" <[EMAIL PROTECTED]> I work on a project 100% made in PHP and MySQL that costs a lot of money (6 figures) a copy. PD. Did I mention that it is cheap and reliable. Please tell me in what world is 6 figures considered cheap?? ---John Holmes... 1

[PHP] Tree

2003-12-04 Thread Šimon Tóth
Hi, i need to create a tree. Each of the nodes can have 0-n succesors and also has some properties. How can be something like this created in PHP? Thx a lot Simon Toth mailto:[EMAIL PROTECTED] http://kerberos.knows.it -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: htt

Re: [PHP] Tree

2003-12-04 Thread Robert Cummings
On Fri, 2003-12-05 at 00:51, Šimon Tóth wrote: > Hi, > > i need to create a tree. Each of the nodes can have 0-n succesors and > also has some properties. How can be something like this created in > PHP? Can just use an array where each successor is also an array. Cheers, Rob. -- .-

[PHP] Re: Tree

2003-12-04 Thread Greg Beaver
http://pear.php.net/Tree Regards, Greg -- phpDocumentor http://www.phpdoc.org [EMAIL PROTECTED] wrote: Hi, i need to create a tree. Each of the nodes can have 0-n succesors and also has some properties. How can be something like this created in PHP? Thx a lot Simon Toth mailto:[EMAIL PROTECTED]

[PHP] Not able to Linux binary

2003-12-04 Thread Karam Chand
Hello I created a linux binary using GCC. Whenever you execute it reads a file from the current directory and outputs the contents. e.g. - ./myapp output hello world. Now I want to execute it from php() so that I can output the content on a HTML page or get the data in a variable. Reading thru

Re[2]: [PHP] Tree

2003-12-04 Thread Šimon Tóth
But how do I make an array where each of successor is also an array. The structure should be something like this: $root['ID']=0; $root['From']=""; $root['Subj']=""; $root['Replays'] - ??? Each of the succesors must have same structure as $root. Simon Toth mailto:[EMAIL PROTECTED] http://kerberos

Re: [PHP] SMTP vs POP3

2003-12-04 Thread Šimon Tóth
Read the online manual - IMAP functions, they support almost everything. Simon Toth mailto:[EMAIL PROTECTED] http://kerberos.knows.it -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re[2]: [PHP] Tree

2003-12-04 Thread Robert Cummings
On Fri, 2003-12-05 at 01:27, Šimon Tóth wrote: > But how do I make an array where each of successor is also an array. > > The structure should be something like this: > $root['ID']=0; > $root['From']=""; > $root['Subj']=""; > $root['Replays'] - ??? > > Each of the succesors must have same structu

Re: [PHP] Showing absolute path in $_FILES

2003-12-04 Thread Jason Wong
On Friday 05 December 2003 02:44, David Green wrote: > Quick file question. I want to have a user locate a file, and have the > absolute path be saved as a variable. I have a form of type "file". In > the form tag, I have enctype="multipart/form-data". On the target page, I > call it by using $

<    1   2