Re: [PHP] Javascript question

2001-10-29 Thread Christian Cresante
hello. javascript has a toLowerCase() method. just call this method using onsubmit. --- Rosen <[EMAIL PROTECTED]> wrote: > Hi, > This is not a PHP question, but can someone help me > how to convert in lowercase the text into "INPUT" > statment online ? > (i.e. when the user press a key , the

RE: [PHP] Javascript question

2001-10-29 Thread Fatih Ustundag
-Original Message- From: Rosen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 30, 2001 9:51 AM To: [EMAIL PROTECTED] Subject: [PHP] Javascript question Hi, This is not a PHP question, but can someone help me how to convert in lowercase the text into "INPUT" statment online ? (i.e. w

[PHP] Javascript question

2001-10-29 Thread Rosen
Hi, This is not a PHP question, but can someone help me how to convert in lowercase the text into "INPUT" statment online ? (i.e. when the user press a key , the script automaticly to convert char in lowercase ) Thanks, Rosen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e

Re: [PHP] Trouble with php generated images

2001-10-29 Thread speedboy
> The text printed on this image looks sloppy and grainy. (This image is being > generated on a linux server RH 7.1, Apache 1.3.19, with GD 1.8) It looks fine on GD 2.0.1 using arial.ttf. Maybe you could try another font? > My question is this, is there a > way to generate a quality image or i

[PHP] Trouble with php generated images

2001-10-29 Thread costa
The text printed on this image looks sloppy and grainy. (This image is being generated on a linux server RH 7.1, Apache 1.3.19, with GD 1.8) I remember seeing something about adjusting the quality of the image, but I can't find it now, and even if I did, I don't know how much help it would be, be

Re: [PHP] lesson in NOT how to run your php website ...

2001-10-29 Thread Lucas Chan
Heh. While all us Aussies are wasting time with off topic rants. The sys admin at my last job tried to tell me that the web site I was developing was making port 80 connections to random IP numbers at very short intervals. Duh. Didn't take long to figure out that he'd left port 80 open on the

Re: [PHP] @#$@# Reg Expressions

2001-10-29 Thread Brad Hubbard
On Tue, 30 Oct 2001 15:53, brendan wrote: > hans up who else is procrastinating? > ;) My productivity was suckin' pretty badly before all this started anyway. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT

[PHP] Re: [PHP-DB] PHP Getting Variables from String

2001-10-29 Thread brendan
Use the eval function $string="word1 word2 word3 word4); $string_array=explode(" ",$string); for ($x=0;$x>$string="These are some words" >> >>I want it to turn into $var1=These, $var2=are, $var3=some, $var4=some >> > > $search_entities = explode(" ", $string); > > if (count($search_en

Re: [PHP] @#$@# Reg Expressions

2001-10-29 Thread brendan
hans up who else is procrastinating? ;) Martin Towell wrote: > ARGH!! You, you, missed!! :/ > > > -Original Message- > From: Brad Hubbard [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 30, 2001 3:53 PM > To: Martin Towell; [EMAIL PROTECTED] > Subject: Re: [PHP] @#$@# Reg Expressi

RE: [PHP] @#$@# Reg Expressions

2001-10-29 Thread Martin Towell
ARGH!! You, you, missed!! :/ -Original Message- From: Brad Hubbard [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 30, 2001 3:53 PM To: Martin Towell; [EMAIL PROTECTED] Subject: Re: [PHP] @#$@# Reg Expressions On Tue, 30 Oct 2001 15:49, Martin Towell wrote: > Here - I'm from NSW, Oz

Re: [PHP] anyone know any good jokes about queenslanders?

2001-10-29 Thread Brad Hubbard
On Tue, 30 Oct 2001 15:41, brendan wrote: > c2470.rochd1.qld.optusnet.com.au (aka speedboy) > > so far i have found.. > > Did you know there really is an Australian beer (brewed in Queensland) > called , pronounced "Four-X"? Rumour has it the name is because > Queenslanders can't spell "beer."

[PHP] Re: [PHP-DB] PHP Getting Variables from String

2001-10-29 Thread speedboy
> $string="These are some words" > > I want it to turn into $var1=These, $var2=are, $var3=some, $var4=some $search_entities = explode(" ", $string); if (count($search_entities) > 0) { $criteria = ""; for ($i = 0; $i < count($search_entities); $i++) { if ($i == (c

Re: [PHP] @#$@# Reg Expressions

2001-10-29 Thread David Robley
On Tue, 30 Oct 2001 14:51, Martin Towell wrote: > Off track - seems like the only ppl awake now are ozzies :) > would I be right? > > -Original Message- > From: Brad Hubbard [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 30, 2001 3:11 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] @#

Re: [PHP] @#$@# Reg Expressions

2001-10-29 Thread Brad Hubbard
On Tue, 30 Oct 2001 15:49, Martin Towell wrote: > Here - I'm from NSW, Oz !!! can't make it any harder for you :) > And how are things in York St.? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To c

RE: [PHP] lesson in NOT how to run your php website ...

2001-10-29 Thread Joseph Blythe
Sorry if this a little of topic but this sort of reminds me what happend to me on Monday: I arrived at work in a really good mood (for a Monday) to find everyone screaming at each other, then at me :) what was being said is that the new webserver I have been configuring with the latest versions o

[PHP] anyone know any good jokes about queenslanders?

2001-10-29 Thread brendan
c2470.rochd1.qld.optusnet.com.au (aka speedboy) so far i have found.. Did you know there really is an Australian beer (brewed in Queensland) called , pronounced "Four-X"? Rumour has it the name is because Queenslanders can't spell "beer." - one nation. Brad Hubbard wrote: > On Tue, 30

RE: [PHP] @#$@# Reg Expressions

2001-10-29 Thread Martin Towell
Here - I'm from NSW, Oz !!! can't make it any harder for you :) -Original Message- From: Brad Hubbard [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 30, 2001 3:42 PM To: brendan; [EMAIL PROTECTED] Subject: Re: [PHP] @#$@# Reg Expressions On Tue, 30 Oct 2001 15:27, brendan wrote: > Yo

Re: [PHP] @#$@# Reg Expressions

2001-10-29 Thread Brad Hubbard
On Tue, 30 Oct 2001 15:27, brendan wrote: > Your too late for that .. > recipie boy (aka speedboy) already had a go at us southerners > I reckon you noreasterners are for it next .. > Im working on finding out where he's from so we can make fun of his state > .. Im working hard.. > ill find out..

Re: [PHP] @#$@# Reg Expressions

2001-10-29 Thread brendan
Your too late for that .. recipie boy (aka speedboy) already had a go at us southerners I reckon you noreasterners are for it next .. Im working on finding out where he's from so we can make fun of his state .. Im working hard.. ill find out.. then the jokes'll be flying.. ;) Brad Hubbard wrote:

Re: [PHP] lesson in NOT how to run your php website ...

2001-10-29 Thread Lucas Chan
> Thankfully Tasmania is not considered part of Australia. :) Hahaha. Nice one. =) Regards, [ lucas ] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail:

Re: [PHP] @#$@# Reg Expressions

2001-10-29 Thread Brad Hubbard
On Tue, 30 Oct 2001 15:14, brendan wrote: > or really bloody narky afgani's > > Martin Towell wrote: > > Off track - seems like the only ppl awake now are ozzies :) > > would I be right? No jokes about Tamanians or New South Welshmen though alright? -- PHP General Mailing List (http://www.php.n

RE: [PHP] @#$@# Reg Expressions

2001-10-29 Thread Brian White
I am upright and sitting at my desk, but I think "awake" is far too generous a description At 15:21 30/10/2001 +1100, Martin Towell wrote: >Off track - seems like the only ppl awake now are ozzies :) >would I be right? > >-Original Message- >From: Brad Hubbard [mailto:[EMAIL PROTECTE

RE: [PHP] @#$@# Reg Expressions

2001-10-29 Thread Jack Dempsey
or the east coast.only 11:35 here in dc -Original Message- From: brendan [mailto:[EMAIL PROTECTED]] Sent: Monday, October 29, 2001 11:14 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] @#$@# Reg Expressions or really bloody narky afgani's Martin Towell wrote: > Off track - seems like

Re: [PHP] lesson in NOT how to run your php website ...

2001-10-29 Thread speedboy
> I teach law at a university .. I also run the website here ... Thankfully Tasmania is not considered part of Australia. :) *troll bait away* -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To con

Re: [PHP] @#$@# Reg Expressions

2001-10-29 Thread brendan
or really bloody narky afgani's Martin Towell wrote: > Off track - seems like the only ppl awake now are ozzies :) > would I be right? > > -Original Message- > From: Brad Hubbard [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 30, 2001 3:11 PM > To: [EMAIL PROTECTED] > Subject: Re:

RE: [PHP] @#$@# Reg Expressions

2001-10-29 Thread Martin Towell
Off track - seems like the only ppl awake now are ozzies :) would I be right? -Original Message- From: Brad Hubbard [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 30, 2001 3:11 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] @#$@# Reg Expressions On Tue, 30 Oct 2001 14:47, brendan wrote:

[PHP] lesson in NOT how to run your php website ...

2001-10-29 Thread brendan
I teach law at a university .. I also run the website here ... php with a mysql backend ... - I have been designing a client side administration tool which allows you to setup both the html input form to request from a database and format the way the results look and are returned ... so tha

Re: [PHP] @#$@# Reg Expressions

2001-10-29 Thread Brad Hubbard
On Tue, 30 Oct 2001 14:47, brendan wrote: > mate you rock.. You can tell he's an Australian (on ya mate :-) -- Brad Hubbard Congo Systems 1/286 Bolton Street, Eltham Victoria, Australia, 3095. Email: [EMAIL PROTECTED] Ph: +61-3-94391200 Fax: +61-3-94391255 Mob: +61-419107559 -- PHP General Ma

Re: [PHP] @#$@# Reg Expressions

2001-10-29 Thread brendan
mate you rock.. Martin Towell wrote: > try this - > > $the_array = spliti(" $the_array = preg_grep("", $the_array); > foreach($the_array as $k) > echo ereg_replace(".*", "", $k)."\n"; > > > -Original Message- > From: Jack Dempsey [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October

RE: [PHP] @#$@# Reg Expressions

2001-10-29 Thread Martin Towell
try this - $the_array = spliti("", $the_array); foreach($the_array as $k) echo ereg_replace(".*", "", $k)."\n"; -Original Message- From: Jack Dempsey [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 30, 2001 2:30 PM To: brendan; [EMAIL PROTECTED] Subject: RE: [PHP] @#$@# Reg Express

[PHP] virtual

2001-10-29 Thread Gary
What would cause a fatal error using virtual(/cgi-bin/folder/program.pl); ? TIA Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: [PHP] @#$@# Reg Expressions

2001-10-29 Thread Jack Dempsey
brendan, please clarify: you're "trying to strip out all links in the page that is between the " you're trying to strip out all links and return them? if so, split won't work.it splits on whatever the pattern is. if you're trying to get all the links, you could do [this doesn't get )|",$h

Re: [PHP] @#$@# Reg Expressions

2001-10-29 Thread brendan
martin, jack .. cheers for the replies Jack.. I am trying to strip out all links in the page that is between the I was using $html =GETSITE($url); $the_array=spliti("", $html,-1); //spliti to avoid any case sensitivity. foreach($the_array AS $k) echo $k.""; I had given preg_split a go but ju

RE: [PHP] @#$@# Reg Expressions

2001-10-29 Thread Jack Dempsey
ok, are you trying to get the links returned or just split on them? i missed your original post. watch your caps as well... i'd use preg_split also jack -Original Message- From: brendan [mailto:[EMAIL PROTECTED]] Sent: Monday, October 29, 2001 9:59 PM To: [EMAIL PROTECTED] Subject: [PHP

RE: [PHP] @#$@# Reg Expressions

2001-10-29 Thread Martin Towell
what something like: $the_array=split("]*)", $html,-1); ?? so, everything that's not a ">" -Original Message- From: brendan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 30, 2001 1:59 PM To: [EMAIL PROTECTED] Subject: [PHP] @#$@# Reg Expressions thanks but it didnt work either ..

[PHP] @#$@# Reg Expressions

2001-10-29 Thread brendan
thanks but it didnt work either .. ;) Matt Friedman wrote: > Try putting a "?" after your quantifier for "non-greedy" matching. > > Something like: $the_array=split("", $html,-1); > > Matt. > > > > - Original Message - > From: "brendan" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]

Re: [PHP] @#$@# Reg Expressions

2001-10-29 Thread Matt Friedman
Try putting a "?" after your quantifier for "non-greedy" matching. Something like: $the_array=split("", $html,-1); Matt. - Original Message - From: "brendan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 29, 2001 7:55 PM Subject: [PHP] @#$@# Reg Expressions > l

RE: [PHP] Trailing "/" and Apache

2001-10-29 Thread Ryan Christensen
That's likely not the problem.. More the fact that if you don't have the "ServerName" directive set to match the ip address you're accessing it with in this case.. (unless you have DNS pointing a domain to it that's configured as a vhost). So, try adding the line: ServerName 209.204.111.121 To

[PHP] @#$@# Reg Expressions

2001-10-29 Thread brendan
love em.. right now I hate em.. can someone inform me why the below doesnt work? it is intended to strip out all the links in a page and return an array .. insanity is just starting to set in.. cheers $html =GETSITE($url); // and put in a new line break behind every anchor tag $the_array=spliti

Re: [PHP] Trailing "/" and Apache

2001-10-29 Thread Miles Thompson
Todd, What is the DirectoryIndex set to in httpd.conf? Normally it's something like DirectoryIndex index.html, index.php (or whatever file you want served as the home page) Miles At 04:55 PM 10/29/01 -0800, Todd Cary wrote: >With Linux and Apache, if I use the IP of http://209.204.111.121/my

[PHP] RE: PHP object communication

2001-10-29 Thread ad
Sorry, it was Tim that suggested that what I required wasn't really OO. My apologies Tim, and thanks for your emails. adam Adam Beecher - CEO & Core Geek - ieWebs™ e ... [EMAIL PROTECTED] w ... http://www.iewebs.com m ... Box 81, Eglinton St,

Re: [PHP] \n's

2001-10-29 Thread speedboy
> quick problem... I don't seem to be able to strip \n's out of a string > of text: str_replace("\n", "", $line); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators,

Re: [PHP] \n's

2001-10-29 Thread David Robley
On Tue, 30 Oct 2001 12:00, Justin French wrote: > Hi all, > > quick problem... I don't seem to be able to strip \n's out of a string > of text: > > i'm using: > > eregi_replace("\n", "", $foo); > ?> > > I've also tried: > eregi_replace("\\n", "", $foo); and > eregi_replace("\r", "", $foo); with n

Re: [PHP] switch-statement overrides use of global arrays?

2001-10-29 Thread Imar de Vries
Christian Reiniger wrote: > So you want to share the array across *requests* > That doesn't have *anything* to do with "global". > > Have a look at how HTTP works - each request is an isolated execution of > a PHP script. it doesn't have any idea of what other pages the user > already looked at.

[PHP] \n's

2001-10-29 Thread Justin French
Hi all, quick problem... I don't seem to be able to strip \n's out of a string of text: i'm using: I've also tried: eregi_replace("\\n", "", $foo); and eregi_replace("\r", "", $foo); with no luck. Am I missing something when using ereg on special characters? Justin French -- PHP General

[PHP] Trailing "/" and Apache

2001-10-29 Thread Todd Cary
With Linux and Apache, if I use the IP of http://209.204.111.121/mydir, the index.html file is not accessed. However, http://209.204.111.121/mydir/ does access it. This problem does not exist with IIS, so I am curious if there is some parameter in Apache I can change. Thank you... Todd --

[PHP] Retrieving text file

2001-10-29 Thread Michael Benbow
Hi All, I am completely new to all this, so please bare with me. I have permission to use another person's text file which resides on his server. Currently I manually download the file, process it in Excel, then upload it into my MySQL database. I want to try to automate this process, and the

Re: [PHP] apache1.3.22 won't start with php4.0.6

2001-10-29 Thread Brian Clark
Hi Edward, @ 4:25:53 PM on 10/29/2001, Edward Quick wrote: > Absolutely nothing. Don't take this as my assuming you're incompetent. It's just that we need more information about your system in order to help you. You wrote: > I have just installed Apache 1.3.22 but when I load php4.0.6 it > wo

RE: [PHP] User Authentication against remote authentication server [ LDAP ]

2001-10-29 Thread Johnson, Kirk
Thanks for the link, Kurt. Can you also point to any authentication code examples, or further discussion? The user comments in the manual suggest there are at least a couple ways to code stuff, ldap_compare vs ldap_bind. Any additional help appreciated. TIA Kirk > -Original Message- > F

RE: [PHP] apache1.3.22 won't start with php4.0.6

2001-10-29 Thread Fotwun
uhhh... the php psychic says she needs your birthdate and name first. =P but really, give some useful info. what OS? how is PHP compiled... are you using the CGI style standalone, or is it compiled into Apache, or is it a apache module? Whats the error it gives you on the console when trying to r

Re: [PHP] Function not found

2001-10-29 Thread David Robley
On Mon, 29 Oct 2001 21:19, De Necker Henri wrote: > Where can i find the code for the "array_search()" function in php4.I > do have php4 but the function isnt found.The "in_array()" function is > found. According to the docs, that wasn't introduced unntil 4.05, so if you have an earlier version

[PHP] Fatcow and MySQL-Front

2001-10-29 Thread René Fournier
Hi All, Little problem: I want to transfer my MySQL database--a collection of 10 or so tables, with data--to my Fatcow account. They provide some lame MySQL tools, but nothing to faciliate moving an existing database, full of data, to their server. I tried using MySQL-Front to connect to their

Re: [PHP] User Authentication against remote authentication server

2001-10-29 Thread Kurt Lieber
> However, if the authentication server is not the web server, instead, > it is a remote independent server. How can we manage the user > authentications at the web server side? Use LDAP. http://www.php.net/manual/en/ref.ldap.php -- PHP General Mailing List (http://www.php.net/) To unsubscri

Re: [PHP] apache1.3.22 won't start with php4.0.6

2001-10-29 Thread Michael A. Peters
On Mon, 29 Oct 2001 17:28:39 + (GMT) [EMAIL PROTECTED] wrote: > Hi, > > Does anyone know how to get round this problem? I have just installed Apache 1.3.22 >but when I load php4.0.6 it won't run. The error you are receiving when you try to start apache would be of assistance. > > Please

Re: [PHP] User Authentication against remote authentication server

2001-10-29 Thread Frewuill Rodriguez
may be you can write a script (perl/php/*) which try to check/log/whatever on the remote user sending a login/password, so if it returns ok yo can use it to deny/allow the access to your local webserver.. it's like a kind of authentication proxy - Original Message - From: "Zhu George-C

Re: [PHP] PHP and Wget

2001-10-29 Thread Mark
On Mon, 29 Oct 2001 23:15:38 +0100, fragman_dk wrote: >Do enybody no how to use wget on at website as a downloadmanager so >i just >can enter the url at wget on my linux server download it for me ? > > > -- Mark, [EMAIL PROTECTED] on 10/29/2001 -- PHP General Mailing List (http://www.php.

[PHP] counting sheeps

2001-10-29 Thread Nikola Karović
Hi, i have two tables "uniqueid" and "table2". In table2 are names that can be the same. How can i make output on my web page that would count number of same names by one name in url like index.php?id=name1 to produce eg number 3. - volim popit, volim zagalamit -- PHP General M

[PHP] PHP and Wget

2001-10-29 Thread fragman_dk
Do enybody no how to use wget on at website as a downloadmanager so i just can enter the url at wget on my linux server download it for me ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To con

Re: [PHP] separating lines in a text area field

2001-10-29 Thread Nikola Karoviæ
Maybe you could try to put "Content-Type: text/plain;" without quotes into your message header. - Original Message - From: Don <[EMAIL PROTECTED]> To: php list <[EMAIL PROTECTED]> Sent: 29. listopad 2001 22:16 Subject: [PHP] separating lines in a text area field Hi, I've look at the P

Re: [PHP] Mailing list

2001-10-29 Thread p.whiter
Hi For an excellent perl solution try mojo mail at: http://mojo.skazat.com/ This has all you want and more, and it is open source... FYI I use this and currently have approx 1300 subscribers, this has not let me down yet. Regards Paul - Original Message - From: "Nikola Karović" <

Re: [PHP] spaces vs   in form fields

2001-10-29 Thread Richard S. Crawford
The problem is that you have special characters that are interfering with the output. I had exactly the same problem a few weeks ago. Try this: $fixedOutputValue = htmlspecialchars($outputValue); print (""); This is how I solved it. Note that putting htmlspecialchars($outputValue) in the val

[PHP] curl and HTTPS

2001-10-29 Thread Gerard Onorato
Hello all, Okay I have figured out that I will not be able to use fsockopen with https to submit a form. Now I am on to using CURL with openssl. Does anyone know of a sample of how to do this? I have seen mentions of it being done but can not find any examples. Thanks in advance. Gerard -- P

[PHP] spaces vs   in form fields

2001-10-29 Thread Greg
I have a function which takes an integer (the id field for a record) and returns the corresponding full name of the person whose id matches the integer. The function constructs the full name by querying a table for the row which matches the id and then concatenating firstname, middlename, and las

Re: [PHP] apache1.3.22 won't start with php4.0.6

2001-10-29 Thread Edward Quick
Absolutely nothing. - Original Message - From: "Mark Roedel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, October 29, 2001 7:15 PM Subject: RE: [PHP] apache1.3.22 won't start with php4.0.6 > -Original Message- > From: [EMAIL PROTECTED] > [mai

RE: [PHP] Architecture : Handling timezones in a web application

2001-10-29 Thread Erik H. Mathy
> we have developed an application that in use at institutions > throughout the U.S and hosted centrally, Sweet! > and we need to figure out how to handle timezone > issues for time related data in the database. how have others handled the > issue ? > our thought is to associate a timezone with

[PHP] separating lines in a text area field

2001-10-29 Thread Don
Hi, I've look at the PHP Faq, poked around the www.php.net site and searched the mailing list archive but could not come up with an answer. However, I'm sure this question has been asked before on more than one occasion. I have a form that calls a PHP function which sends the contents off as

[PHP] Architecture : Handling timezones in a web application

2001-10-29 Thread l0t3k
we have developed an application that in use at institutions throughout the U.S and hosted centrally, and we need to figure out how to handle timezone issues for time related data in the database. how have others handled the issue ? our thought is to associate a timezone with the institution and s

[PHP] Re: fopen for ftp transfers

2001-10-29 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Scott) wrote: > I am attempting to transfer files from one server to another via ftp. I > am wondering if this is the best method to transfer files within PHP or > should I seek other methods. Here is the way I am doing it now: > > $sendfile

RE: [PHP] Problem with very big array !

2001-10-29 Thread Matthew Loff
What prevents you from doing this iteratively, (not loading all 150,000 rows into memory, but processing each row sequentially)? -Original Message- From: Nicolas Guilhot [mailto:[EMAIL PROTECTED]] Sent: Monday, October 29, 2001 11:44 AM To: Php General MailingList Subject: [PHP] Probl

[PHP] User Authentication against remote authentication server

2001-10-29 Thread Zhu George-CZZ010
sorry, this might be a little bit off the topic, but I really hope you could help anwering this question. It's pretty clear how to use web server to authenticate the users/groups, for example, if we are using Apache, the userID and password will be stored in the browser's cache, and be

Re: [PHP] parsing XML turorials, suggestions

2001-10-29 Thread Christian Reiniger
On Monday 29 October 2001 16:25, bill wrote: > Need to get started parsing XML documents. I've developed a program to > write them XML a database, but now I need to read them to obtain, for > example, the (cdata) value of which is nested inside , > etc. > > What's the best place to start? Does

Re: [PHP] Speeding up program

2001-10-29 Thread Emile Bosch
wrote some code.. "; return 4; } echo "DOING THE FIRST TEST"; for ($i = 0; $i < test('first'); $i++) { //doStuff }; echo ""; echo "DOING THE SECOND EMILE COMPACT BLAH TEST"; for ($i = 0; $i < ($num?$num:($num = test('second'))); $i++) { //doStuff }; //for ($i = 0; $i < ($num?$num:($num = m

Re: [PHP] Mailing list

2001-10-29 Thread Nikola Karović
no, not like majordomo, like octeth mailing list manager http://www.octeth.com/, only some thats free - Original Message - From: Frewuill Rodriguez <[EMAIL PROTECTED]> To: Nikola Karović <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: 29. listopad 2001 21:21 Subject: Re: [PHP] Mailing lis

Re: [PHP] Mailing list

2001-10-29 Thread Frewuill Rodriguez
you mean like majordomo? it's not php but perl www.majordomo.com - Original Message - From: "Nikola Karović" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 29, 2001 12:34 PM Subject: [PHP] Mailing list > Hi, > Im looking for some mailing list script that would have o

Re: [PHP] switch-statement overrides use of global arrays?

2001-10-29 Thread Christian Reiniger
On Sunday 28 October 2001 22:17, Imar de Vries wrote: > Hi all, > > a very frustrating problem. For some reason I am not able to pass on an > array between two functions, although I declare it global in both of > them. I suspect my use of a switch statement to control the flow of the [...] > swi

Re: [PHP] HELP: Syntax Needed

2001-10-29 Thread Christian Reiniger
On Sunday 28 October 2001 20:53, jtjohnston wrote: > Jokes aside, I still don't get it. *g* > This works: > mysql_pconnect($host,"AccountName","beep"); > Why doesn;'t this? > > $myconnection = mysql_pconnect($host,$MyTable,$MyPassword); Compare what arguments you pass. Especially the

[PHP] Streaming context

2001-10-29 Thread James Webb
I'm trying to find a way to make streaming context for an internet game web site, like continual updates from the game and game info for players, I was looking around but can't find a function to help me, if you can point me in the right direction please drop me a line - James

Re: [PHP] Using php to verify fields in form...

2001-10-29 Thread Henrik Hudson
Assuming you know what your field names are, they get passed in to the PHP script as variables. Using regular expressions you can check your variables for values you want/don't want. If they aren't what you want print an error message and tell the user to go back or something similar. It's th

Re: [PHP] how to pass true/false or "no argument"

2001-10-29 Thread Henrik Hudson
If $xxx isn't defined at all, its default is NULL, so your if statement should work as is. If $xxx is not defined, then you should get thrown down to the else. There is a difference between false and NULL. On Monday 29 October 2001 10:50, John A. Grant wrote: > I've written several functions w

RE: [PHP] apache1.3.22 won't start with php4.0.6

2001-10-29 Thread Mark Roedel
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > Sent: Monday, October 29, 2001 11:29 AM > To: [EMAIL PROTECTED] > Subject: [PHP] apache1.3.22 won't start with php4.0.6 > > > Does anyone know how to get round this problem? I have just > installed Apache 1.

Re: [PHP] Session handling with cookies??

2001-10-29 Thread Olexandr Vynnychenko
Hello Andy, Monday, October 29, 2001, 3:39:51 PM, you wrote: A> So... does anybody know how... A> 1) I get the system to delete the cookie as soon as I leave the site, or A> close it Use logout with setcookie("name", 0, ...) A> 2) How to work on the same time. Pass information about date/tim

Re: [PHP] downloading images

2001-10-29 Thread Richard S. Crawford
With some of the newer broswers, you may be able to re-define the functionality of the context menu via JavaScript. Visit http://www.dynamicdrive.com; I think that there are some examples there, and you might be able to redirect the "save image as..." functionality there (I wouldn't count on

[PHP] Re: Using php to verify fields in form...

2001-10-29 Thread Mike Frazer
I believe he was asking how to actually verify them, but I could be wrong... There are two ways to do it that are quick and painless. One involves matching with a regular expression (and since my regular expression knowledge is no longer up to snuff I won't even attempt to explain it in depth).

[PHP] Re: Using php to verify fields in form...

2001-10-29 Thread Richard Hollis
form passes to your php file your php file checks the variables with the same name of that of the form fields. you can then test htey have all been set accordingly e.g. $FieldName etc. "Jason" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am new to php

[PHP] Re: session start error

2001-10-29 Thread Richard Hollis
try: session_register("tb"); $tb = new tabela("tb_area_interesse", "Área de Interesse"); then after using sesion_start() in the next script $tb should contain your object. Richard "Cdré «góvîj érg" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > I u

[PHP] Re: how to pass true/false or "no argument"

2001-10-29 Thread Richard Hollis
yeah, but i wanted to know the answer... so it wasn't a total waste of time :) "John A. Grant" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > "John A. Grant" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > [...] > > Ho

[PHP] Mailing list

2001-10-29 Thread Nikola Karović
Hi, Im looking for some mailing list script that would have option to send mails in batch mode, to prevent server overloading and to sent all mails in personal mode, not to send them in bcc, or anything. I have looked allready on hotscripts.com ang phpresourceindex etc, but all e-mails with that o

RE: [PHP] security

2001-10-29 Thread Zeev Suraski
My opinion differs from Rasmus in this case - I think that most of the points he makes in his study are quite accurate and well analyzed. Be sure to keep current when the next release of PHP comes out - it's going to provide infrastructure to handle some of the more dangerous issues that Shau

[PHP] Re: how to pass true/false or "no argument"

2001-10-29 Thread John A. Grant
"John A. Grant" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... [...] > How do I distinguish between false and "$xxx parameter not > passed"? Do I use isset()? Do I use ===? Well, I guess I should have done some homework first. This code seems to work fine:

Re: [PHP] fopen for ftp transfers

2001-10-29 Thread Frewuill Rodriguez
what about using ftp functions from PHP? http://www.php.net/manual/en/ref.ftp.php - Original Message - From: "Scott" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 29, 2001 10:58 AM Subject: [PHP] fopen for ftp transfers > Hi- > > I am attempting to transfer files

[PHP] session start error

2001-10-29 Thread André Castanheira
Hi, I use php 4.0.6 and I would like to do the following : teste_classe1.php "); echo(""); session_register($tb); $tb = new tabela("tb_area_interesse", "Área de Interesse"); ?> teste_classe2 teste_classe2.php "); echo(""); $result = $tb->qual_tabela(); echo $result; session_

[PHP] Re: "Database tags" ala Lasso

2001-10-29 Thread l0t3k
> For the futurists around here: Is there any chance that php will > include "database tags" ala Lasso? highly unlikely, but you can achieve similar ends with one of the template engines for PHP. with a little work, you should be able to accomplish the same ends. check out Smarty (dont remeber th

[PHP] apache1.3.22 won't start with php4.0.6

2001-10-29 Thread edward . quick
Hi, Does anyone know how to get round this problem? I have just installed Apache 1.3.22 but when I load php4.0.6 it won't run. Please email me at [EMAIL PROTECTED] Thanks, Ed. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

[PHP] Using php to verify fields in form...

2001-10-29 Thread Jason
I am new to php and I have been using a book to learn a bit about it and well I could not find a chapter on how to use php to verify a form is filled out properly, for instance I have a form with 3 fields... name, email and words. once the user clicks the submit button i want it to verify those 3

[PHP] Re: Absolute #$#$ silliness

2001-10-29 Thread Mike Frazer
Exactly. Java borrows from C/C++ a great deal, and they tend to look similar overall, but they are totally different languages. PHP and Perl are much easier to learn if you already knew the other one fairly well, but the differences are vast. After learning at least the basics of seven language

[PHP] Re: PHP changing my JavaScript??

2001-10-29 Thread Moloko
sounds like that's the problem - I am using session_start() as well so will give your idea a try! many thanks Moloko "_lallous" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > it happened to me when i enter the page for the very first time and I use > session

Re: [PHP] Problem appending data in a file with fopen("ftp://...","a")

2001-10-29 Thread Dave Létourneau
I got the same error message when i opened it with "w"... A append operation opens the file in r/w? I'm not sure... I though it needed a "+" : a+, w+... anyway, I think I'm gonna use a database (mysql) and it will be easy to to what I need but this problem is very strange. Thanks! > Aha -- I

[PHP] how to pass true/false or "no argument"

2001-10-29 Thread John A. Grant
I've written several functions with optional "string" parameters. They work fine. But I've never written one that accepts an optional "bool" parameter and I'm now confused. I would like to have this: somefunction("hello"); somefunction("hello",false); somefunction("hello",true); func

[PHP] is there a way of using fnctl locks from php?

2001-10-29 Thread Richard Hollis
flock does not work because works differently. is there a way to access fnctl locking directly from php? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail:

[PHP] Re: Excel to MySQL

2001-10-29 Thread Mike Frazer
Dump the Excel DB to a text file and use the string parsing functions. Working with two large databases will suck up most of your system resources; working with a large text file one line at a time and one database one record of a time may be a little slower but it is going to be a million times e

  1   2   >