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 $

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

[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

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

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

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+

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

[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] 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] 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: 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"; $mailHeaders

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

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

[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"

[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 {$

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

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

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

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

[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
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.

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

[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) {

[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

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

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

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

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

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

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

[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

[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

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

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

[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

[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

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] 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] PHP, MySQL and datetime

2003-12-04 Thread Richard Davey
Hello Jough, Thursday, December 4, 2003, 6:39:13 PM, you wrote: JJ> Greetings all, I'm working on a message-board-type JJ> application that will use time stamps to sort part of the JJ> messages. I was wondering what everyone's favorite way to JJ> transfer dates between PHP and MySQL was? Seeing

[PHP] Showing absolute path in $_FILES

2003-12-04 Thread David Green
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 $file = $_FILES['file']['name']. When i navigate to the file

[PHP] PHP, MySQL and datetime

2003-12-04 Thread Jough Jeaux
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? --Jough - Do you Yahoo!? Free Pop-Up Blocker - Get

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

2003-12-04 Thread Jay Blanchard
[snip] > I'm byting my tongue off... I have to resist... I've signed a do not > tell anybody thingy... It is huge, as in database with a million > records, huge... But... ARGH! I understand. :( [/snip] We process millions of records each day for a billing system based on PHP and MySQL. Gives

Re: [PHP] cookies

2003-12-04 Thread Chris Shiflett
--- Maris Kalnins <[EMAIL PROTECTED]> wrote: > src=http://www.cookiedomain.com/cookies/cookies.php> [snip] > Php cookie registering script has the following > cookie set operation: > > setcookie("test", 1, time() + 3600, "/", ""); > > > The problem is that when executing HTML above, everythin

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

2003-12-04 Thread Chris W. Parker
Cesar Cordovez on Thursday, December 04, 2003 10:21 AM said: > I'm byting my tongue off... I have to resist... I've signed a do not > tell anybody thingy... It is huge, as in database with a million > records, huge... But... ARGH! I understand. :( Chris. -- D

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

2003-12-04 Thread Cesar Cordovez
I'm byting my tongue off... I have to resist... I've signed a do not tell anybody thingy... It is huge, as in database with a million records, huge... But... I can't tell. Sorry. Anyhow, we chose PHP over Java, C++, C#, coldfusion and asp to do this. The process was very simple: it is c

RE: [PHP] Problem with references

2003-12-04 Thread Chris W. Parker
David Otton 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. Chris. -- Don't like reformatting your Outlook replies? Now there's relief! http://home.in.

Re: [PHP] replace %rand[x]-[y]% macro in string with random string

2003-12-04 Thread daniel hahler
on Tue, 2 Dec 2003 23:46:33 +0100 I already wrote, regarding replacing macro %rand[x]-[y] with random of random length ([x]-[y]). Before, I had my own (slow!) procedure to find next occurence of the macro and generated a new string, which was returned. This took about 15 seconds for 10.000 addres

RE: [PHP] related products, how to's best practices

2003-12-04 Thread Chris W. Parker
Justin French on Thursday, December 04, 2003 6:03 AM said: > 2. Javascript pop-up -- you could take this part of the process out of > the main window, and into a JS pop-up window which let's the user dig > through categories, do searches, WHATEVER to find each produc

Re: [PHP] related products, how to's best practices

2003-12-04 Thread Ajai Khattri
On Thu, Dec 04, 2003 at 03:43:53PM +, Jon Bennett wrote: > Would I be right in thinking that php alone can't change the content of > a dropdown once the browser has loaded the file without a page refresh > ??? In which case I need to source out some javascript, anyone got > anything that might

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

2003-12-04 Thread Chris W. Parker
Cesar Cordovez on Thursday, December 04, 2003 9:25 AM said: > I work on a project 100% made in PHP and MySQL that > costs a lot of money (6 figures) a copy. Ok... I can't let this go. Do tell! What is it? Or at the very least, what does it do? Chris. -- Don't li

Re: [PHP] Problem with references

2003-12-04 Thread Eduardo R. Maciel
> On Thu, 4 Dec 2003 11:16:10 -, you wrote: > >I wonder if there is a simple techique to help me here. I wish to return > 2 > >references to objects from a function. > > > >The following code describes what I want to do but obviously will not > work > >(and I understand why): > > > >function Te

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

2003-12-04 Thread Ajai Khattri
On Thu, Dec 04, 2003 at 12:25:25PM -0500, Cesar Cordovez wrote: > So there you go! We are all greek!!! Beware of Greeks bearing GIFs (Sorry, couldn't resist ;-) -- Aj. Sys. Admin / Developer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.p

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

2003-12-04 Thread Cesar Cordovez
People (and some boots): I'm not against or in favor of all this stuff, but exactly all the opposite... (lmao) Seriously, there is no kiddie nor professional languages out there, what is important is what you do with them. PHP will power yahoo in a couple of months more, that is a company tha

Re: [PHP] Session Expiration Problem....

2003-12-04 Thread CF High
Hey Lowell. H, no, not a particularly elegeant solution, but it must work for you. I'm experimenting with >> ini_set('session.gc_maxlifetime', 4320); Don't know if this will extend the session timeout; i.e. garbage collection routine, I'm still testing it. A total drag that our host lim

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

2003-12-04 Thread Jay Blanchard
[snip] (It's foolish to get into blind religious wars over languages, so I won't take this any further, but it's also foolish to be wilfully ignorant of the strengths and weaknesses of the tools you use.) [/snip] ...or to make statements based on willfull ignornace of others tools. :) -- PHP Gene

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

2003-12-04 Thread David Otton
On Thu, 4 Dec 2003 15:16:06 -, you 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) > >PHP is currently my strongest development language and it annoys me that it >is a much less bankable s

Re: [PHP] CHMOD...

2003-12-04 Thread Marek Kilimajer
Justin Patrin wrote: In all fairness, that's not a very good solution. Using system commands makes your script not cross platform, meaning it can't work on Windows. For a better solution try writing a recursive chmod script that sets the permission, the loops through the files and calls itself

RE: [PHP] DB / Tables Question

2003-12-04 Thread Robert Sossomon
Personally, as a design practice I would make the 2 tables in their own separate database. This would allow it to port anywhere, even a new server you bring online and shift everything to. I have been working on a catalog/quote system for our salesmen to use and have given it to a sister corporat

Re: [PHP] International Addresses and Telephones

2003-12-04 Thread Mike
have a look at the pear Validate class - this is what you need. In the UK the postal code is (as a preg expression) /[A-Za-z]{1,2}[0-9]{1,2}[A-Za-z]\s?[1-9][A-Za-z]{2}/ these are valid postcodes B1 4RT B56 6TY BN5 6ER SW1A 1AA (<- the queen @ buck palace) SW14 5RT ie. one or 2 letters, followe

Re: [PHP] DB / Tables Question

2003-12-04 Thread Richard Davey
Hello Pushpinder, Thursday, December 4, 2003, 4:38:13 PM, you wrote: PSG> I want to be able to create a similar CRM package for other clients. My PSG> question is should I create a separate DB for each client. PSG> or is it a better design practice to create 2 tables (Admin and PSG> Contacts) p

RE: [PHP] How does one run PHP scripts in 'silent mode' ???

2003-12-04 Thread Jay Blanchard
[snip] I am running php as an apache module, which is why I used 'START' in exec("START http://blablalga";. Not sure if this is the correct way of doing it but I cannot use -q with start. [/snip] What is it that you are trying to accomplish? Then perhaps I can better help. Even if php is an Apach

  1   2   >