[PHP] PEAR Calendar

2004-11-02 Thread Roger Thomas
I would like to install PEAR Calendar module and did a [EMAIL PROTECTED] apps]# pear install Calendar but got these: No release with state equal to: 'stable' found for 'Calendar' Please advise. -- roger --- Sign Up for free Email at http://ureg.

Re: [PHP] Help needed on php/mysql {Scanned}

2004-11-02 Thread Garth Hapgood - Strickland
As you can see from my code, I do want to check if all mandatory fields are selected or filled in. As well as the issue of the communicationtyes. SO far I do not have fields or anything for the user to use, to select the different CommunicationTypes he wants. I am not sure how to go about this bec

RE: [PHP] Authentification related to browser window

2004-11-02 Thread Zareef Ahmed
Quoting Cristi Barladeanu <[EMAIL PROTECTED]>: > Greetings > > My problem is pretty simple. User enters the site, logins, and after > that he hits ctrl+n or something, to open a new window from same PHP can not track the events at the client side. I think it is not possible , But you may try

Re: Re[2]: [PHP] text email & new line

2004-11-02 Thread Jason Wong
On Wednesday 03 November 2004 00:19, Richard Davey wrote: > I'm not disagreeing with what you posted, because it's all true, but I > would like to ask - can you actually name a popular mail server that > rejects emails that use \n as a line delimiter (even if used by > mistake), because I've haven

[PHP] Passing an object to functions

2004-11-02 Thread Brent Macnaughton
Version: PHP 4.3.9 I have a database connection class. I create an instance of this class, then pass it to a function. Within that function, I can use that object passed to the function. Within this function, I then call another function, and want to pass the object to the second function. This is

Re: Re[2]: [PHP] text email & new line

2004-11-02 Thread Jordi Canals
Hi Richard, On Wed, 3 Nov 2004 00:19:59 +, Richard Davey <[EMAIL PROTECTED]> wrote: > Hello Jordi, > > Tuesday, November 2, 2004, 5:34:00 PM, you wrote: > > JC> I hope this will help in composing mail messages and my recommendation > JC> is to *follow the standard* and send messages always b

Re: [PHP] GUI editor for php?

2004-11-02 Thread M Saleh EG
Well a gui editor? do u mean something like Visual Studio for windows application design? or just an IDE. if it's the latter I'd recommand u to check out Zend Studio or NuSphere. On Mon, 1 Nov 2004 17:19:33 -0500, Andy B <[EMAIL PROTECTED]> wrote: > Hi. > > Is there any GUI editors out there

Re: [PHP] Re: [users@httpd] November 2, 2004

2004-11-02 Thread -{ Rene Brehmer }-
You forgot the members from the ~74 other countries subscribed to this list. We have absolutely no interest in American politics, and def did not signup to this list to participate in same. Just because my server is in Utah, doesn't mean I'm USAnian or really care about the next incompetent cor

Re: [PHP] VOTE TODAY

2004-11-02 Thread ankur_os
Hi to all I am from Great INDIA for indian politics it is very much nacessary the US election... so which ever person is select but he sholud be very loyal to all Ankur Dave INDIA -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] postgres-embedded images via php. two issues...

2004-11-02 Thread raditha dissanayake
P. George wrote: i am storing images in a postgres database and i have set up a little php file to retrieve them in such a way that i can do: This topic came up a few days ago and the pros and cons of saving images in a data base was argued with very few pros been given. However the defining mom

Re: [PHP] VOTE TODAY

2004-11-02 Thread -{ Rene Brehmer }-
At 18:50 02-11-2004, Grant wrote: > I can't wait for the replies... Here's a reply: Don't vote for Bush. if (eregi('(george)?bush',$message[$this]->body)) { $message[$this]->destroy() } Rene -- Rene Brehmer aka Metalbunny If your life was a dream, would you wake up from a nightmare, dripping of

Re: [PHP] postgres-embedded images via php. two issues...

2004-11-02 Thread Robby Russell
On Wed, 2004-11-03 at 10:20 +1000, Tom Rogers wrote: > Hi, > > Wednesday, November 3, 2004, 8:45:17 AM, you wrote: > PG> i am storing images in a postgres database and i have set up a little > PG> php file to retrieve them in such a way that i can do: > > PG> echo ""; > > PG> ...from another ph

Re: [PHP] VOTE TODAY

2004-11-02 Thread Jordi Canals
On Tue, 2 Nov 2004 16:07:58 -0800, Brian Dunning <[EMAIL PROTECTED]> wrote: > > I'm Canadian, please stop wasting my bandwidth. And I'm European and don't mind about US elections. Please STOP this politics offtopics here. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: h

Re: [PHP] postgres-embedded images via php. two issues...

2004-11-02 Thread Tom Rogers
Hi, Wednesday, November 3, 2004, 8:45:17 AM, you wrote: PG> i am storing images in a postgres database and i have set up a little PG> php file to retrieve them in such a way that i can do: PG> echo ""; PG> ...from another php file. PG> it's working great, BUT i've noticed two things that bothe

Re[2]: [PHP] text email & new line

2004-11-02 Thread Richard Davey
Hello Jordi, Tuesday, November 2, 2004, 5:34:00 PM, you wrote: JC> I hope this will help in composing mail messages and my recommendation JC> is to *follow the standard* and send messages always by using CRLF as JC> a line delimiter. Only doing that way, you will ensure your messages JC> are acce

Re: [PHP] VOTE TODAY

2004-11-02 Thread Brian Dunning
I'm Canadian, please stop wasting my bandwidth. As a Canadian, you wasted bandwidth by missing your chance to encourage us Gringos to vote Libertarian: http://www.self-gov.org/quiz.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Scaling select lists

2004-11-02 Thread -{ Rene Brehmer }-
At 16:18 02-11-2004, Chris Gregors wrote: When working with select lists that grow over time, what are some solutions people have applied to the problem of massive select lists? This is pretty cumbersome for the users to navigate. They end up scrolling up and down and getting annoyed. Example:

Re: [PHP] postgres-embedded images via php. two issues...

2004-11-02 Thread Robby Russell
On Tue, 2004-11-02 at 16:45 -0600, P. George wrote: > i am storing images in a postgres database and i have set up a little > php file to retrieve them in such a way that i can do: > > echo ""; > > ...from another php file. > > it's working great, BUT i've noticed two things that bother me: >

Re: [PHP] Re: VOTE TODAY

2004-11-02 Thread Ryan A
switch ($the_choice) { case Daniel_Schierbeck_1: echo 'Didnt read previous thread and comes voiceing his political opinions like a jackass on a high traffic PHP mailing list which people from different countries other than the states receive'; break; case Daniel_Schierbeck_2: echo 'Just a mo

Re: [PHP] VOTE TODAY

2004-11-02 Thread Michael Lauzon
I am also Canadian, so don't waste my bandwidth either...Chris bandwidth is cheap in Canada! On Tue, 2 Nov 2004 20:38:02 +0200, Chris Knipe <[EMAIL PROTECTED]> wrote: > >> > I can't wait for the replies... > >> > >> Here's a reply: > >> > >> Don't vote for Bush. > >> > >> - Grant > >> > > > > > >

[PHP] Re: VOTE TODAY

2004-11-02 Thread Daniel Schierbeck
Apexeleven wrote: I can't wait for the replies... Vote? What vote? Just kidding... switch ($candidate) { case CANDIDATE_BUSH: echo 'Oh shit, 4 more years...'; break; case CANDIDATE_KERRY: echo 'Well, he\'s the lesser evil...'; break; case CANDIDATE_NADER: default: echo '

RE: [PHP] Passing marked rows in a table

2004-11-02 Thread Pablo Gosse
[snip] Pablo Gosse wrote: > [snip] > If the elements all live within the same form, you can add [] to the >end of the name/id attribute, and then all checkboxes with the > same name will be accessible in an array. So "checkboxname[]" will > show up as $_POST['checkboxname'] on the receiving en

Re: [PHP] Authentification related to browser window

2004-11-02 Thread Marek Kilimajer
To answer the original question - no it's not possible. It would need support in the browser. Sorry, I thought you were talking about HTTP authentification. With session you can pass session identifier in URL only, and disable the use of cookies. -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Authentification related to browser window

2004-11-02 Thread Marek Kilimajer
Vail, Warren wrote: I'm not sure which session parameter controls it, but my sites are setup so that opening a new browser window will start a new session, and if your pages require something in the session saying the user is logged on, he will be forced to logon in the new session, since the varia

Re: [PHP] Authentification related to browser window

2004-11-02 Thread ankur_os
See from my point of view, You made one file as first.php as alogin page and then in second.php check that the user is authorised or not. and set the value as $_session['user'] And one more file as check.php in which you check that session is set or not. like (isset($_SESSION['user]) if it not tr

[PHP] postgres-embedded images via php. two issues...

2004-11-02 Thread P. George
i am storing images in a postgres database and i have set up a little php file to retrieve them in such a way that i can do: echo ""; ...from another php file. it's working great, BUT i've noticed two things that bother me: [1] if someone wants to download an image, they can, but it will be dow

RE: [PHP] Authentification related to browser window

2004-11-02 Thread Vail, Warren
I'm not sure which session parameter controls it, but my sites are setup so that opening a new browser window will start a new session, and if your pages require something in the session saying the user is logged on, he will be forced to logon in the new session, since the variable will not be ther

[PHP] Authentification related to browser window

2004-11-02 Thread Cristi Barladeanu
Greetings My problem is pretty simple. User enters the site, logins, and after that he hits ctrl+n or something, to open a new window from same browser. Can I make him to login again in the new window but to keep him logged in the old one? Now i'm using sessions, but i realise that the cookies se

Re: [PHP] Passing marked rows in a table

2004-11-02 Thread Todd Cary
[snip] If the elements all live within the same form, you can add [] to the end of the name/id attribute, and then all checkboxes with the same name will be accessible in an array. So "checkboxname[]" will show up as $_POST['checkboxname'] on the receiving end. [/snip] Can I do $MyArray = $_POST

RE: [PHP] Passing marked rows in a table

2004-11-02 Thread Vail, Warren
Assuming you have an artificial key for your table (like an auto increment column), I would place the key field to the table on your form in the value of the checkbox; When the form is returned to your "post" php script it will only receive those checkboxes that are checked and they will come lo

RE: [PHP] Passing marked rows in a table

2004-11-02 Thread Pablo Gosse
[snip] I create a list of records from a DB and each has a check box. What is the best way to select those that were checked after the form is submitted? [/snip] If the elements all live within the same form, you can add [] to the end of the name/id attribute, and then all checkboxes with the sa

Re: [PHP] Passing marked rows in a table

2004-11-02 Thread Greg Donald
On Tue, 02 Nov 2004 13:38:03 -0800, Todd Cary <[EMAIL PROTECTED]> wrote: > I create a list of records from a DB and each has a check box. What is > the best way to select those that were checked after the form is submitted? Have a look at how the form data is coming across, you should see the ans

RE: [PHP] Passing a list in the Header

2004-11-02 Thread Vail, Warren
Not sure why you need to pass it in the header as apposed to the body, since html provides the following; - snip - snip And in the form postpgm.php $receivedarray = $_POST["arrayvalue"]; // $receivearray will be an array type with all the values above

RE: [PHP] Passing marked rows in a table

2004-11-02 Thread Jay Blanchard
[snip] I create a list of records from a DB and each has a check box. What is the best way to select those that were checked after the form is submitted? [/snip] Loop through the results of the checkbox array which should be associated with a value from the database and do your selection based o

[PHP] Passing marked rows in a table

2004-11-02 Thread Todd Cary
I create a list of records from a DB and each has a check box. What is the best way to select those that were checked after the form is submitted? Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] text email & new line

2004-11-02 Thread Jerry Swanson
It is working without \r\n. Just using regular spaces/new lines in the text message. On Tue, 2 Nov 2004 18:34:00 +0100, Jordi Canals <[EMAIL PROTECTED]> wrote: > On Tue, 2 Nov 2004 16:25:56 +, Richard Davey <[EMAIL PROTECTED]> wrote: > > Hello Jerry, > > > > JS> I'm sending text email. How I

RE: [PHP] Array help

2004-11-02 Thread Jay Blanchard
[snip] [2] => Array( [0] => Array( [0] => {textlinks 0_15} [1] => {textlinks 16_30} ) [1] => Array( [0] => 0_15 [1] => 16_30 ) ) As you can

Re: [PHP] Passing a list in the Header

2004-11-02 Thread Afan Pasalic
to transfer array through header the best way is using serialize()/unserialize() or explode()/implode() functions see manual for more info. -afan Todd Cary wrote: I need to pass a list (preferably an Array) in the header. Can this be done, and if so, what is the best method? Also, how do I ex

[PHP] Passing a list in the Header

2004-11-02 Thread Todd Cary
I need to pass a list (preferably an Array) in the header. Can this be done, and if so, what is the best method? Also, how do I extract the info on the page that receives the info? Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Array help

2004-11-02 Thread Ryan A
Hi, I have an variable that contains an array like this: [0] => Array( [0] => Array([0] => {3 3}) [1] => Array([0] => 3) ) [1] => Array( [0] => Array([0] => {3 3}) [1] => Array([0] => 3) ) [2] => Array( [0] =

Re: [PHP] VOTE TODAY

2004-11-02 Thread John Nichel
Michael Sims wrote: John Nichel wrote: ApexEleven wrote: I can't wait for the replies... cat $you > /dev/null Or the slightly more destructive variant: cat /dev/null > $you :) Holy divide-by-zero Batman! ;) -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Maili

Re: [PHP] What is wrong with next code

2004-11-02 Thread Vladimir Shiray
Have anyone answers on the "strange behaviour" discussed in the thread ? > > I has noted specially: > It works OK in PHP 4.3.6 or when line "$db2 = 0;" had been commented > in all described versions of PHP. > > So next example works perfect: > --

RE: [PHP] VOTE TODAY

2004-11-02 Thread Michael Sims
John Nichel wrote: > ApexEleven wrote: >> I can't wait for the replies... > > cat $you > /dev/null Or the slightly more destructive variant: cat /dev/null > $you :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] authentication question

2004-11-02 Thread Greg Donald
On Tue, 2 Nov 2004 13:48:30 -0500, Kelly Meeks <[EMAIL PROTECTED]> wrote: > I need to require username/password access in two distinct ways. PHP Generic Access Control Lists http://phpgacl.sourceforge.net/ -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/

Re: [PHP] Error Code Airhead

2004-11-02 Thread Jennifer Goodie
-- Original message -- From: Jeff Oien <[EMAIL PROTECTED]> > //always gives error message even if one of the two codes entered: > if ($Promotion_Sub == 'Checked' && ($code != 'D04E' || $code != 'Y04KG')) { If $code is D04K then it is not Y04KG making the statement

[PHP] authentication question

2004-11-02 Thread Kelly Meeks
I need to require username/password access in two distinct ways. At one level, I need to protect all files except .php files within a directory structure. I can do this with htaccess using the directive. I also need to serve up database driven content via username/password at another. I'm doi

RE: [PHP] Error Code Airhead

2004-11-02 Thread Pablo Gosse
[snip] > I'm sure I'm missing something really obvious here but > can't see it. There is a form where one of two promotional codes can > be entered. I check for the these codes and give the user an error > message if they enter the wrong code. First one doesn't work, second > one does with only one

Re: [PHP] Error Code Airhead

2004-11-02 Thread Greg Donald
On Tue, 02 Nov 2004 12:17:45 -0600, Jeff Oien <[EMAIL PROTECTED]> wrote: > if ($Promotion_Sub == 'Checked' && ($code != 'D04E' || $code != 'Y04KG')) { ($code != 'D04E' || $code != 'Y04KG') Since $code cannot equal two different values at once, this will always evaluate to true. Maybe you meant &

Re: [PHP] VOTE TODAY

2004-11-02 Thread Chris Knipe
> I can't wait for the replies... Here's a reply: Don't vote for Bush. - Grant I'm Canadian, please stop wasting my bandwidth. I'm South African (and bandwidth is very expensive), please don't waiste mine either *G* -- Chris. *

Re: [PHP] filtering out array values

2004-11-02 Thread Merlin
Jason Wong wrote: On Tuesday 02 November 2004 13:32, Merlin wrote: I am retrieving some values out of the db and would only like to show those available inside a drop down field. Now I do have 2 arrays which fill the drop down field and one array with the values which should only show up. Example:

[PHP] Error Code Airhead

2004-11-02 Thread Jeff Oien
I'm sure I'm missing something really obvious here but can't see it. There is a form where one of two promotional codes can be entered. I check for the these codes and give the user an error message if they enter the wrong code. First one doesn't work, second one does with only one code. //always g

RE: [PHP] Re: [users@httpd] November 2, 2004

2004-11-02 Thread Pablo Gosse
[snip] > This list gets enough "traffic" as is and a crapload of repeat > questions/questions that are easily solved by looking in google or > the manual (aka RTFM questions) and we don't need to add politics to > it [/snip] And further to this point, people who reply to off-topic posts only furth

Re: [PHP] VOTE TODAY

2004-11-02 Thread Danny Brow
On Tue, 2004-11-02 at 10:50 -0700, Grant wrote: > > I can't wait for the replies... > > Here's a reply: > > Don't vote for Bush. > > - Grant > I'm Canadian, please stop wasting my bandwidth. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.ph

Re: [PHP] Re: [users@httpd] November 2, 2004

2004-11-02 Thread Francisco M. Marzoa
Jordi Canals wrote: On Tue, 2 Nov 2004 17:57:02 +0100, Enrico Weigelt <[EMAIL PROTECTED]> wrote: BUT: i personally think its okay to talk about such offtopics when they're so generally important. Perhaps is so important to US citizens, but not to much people outside the US ... That's full

Re: [PHP] VOTE TODAY

2004-11-02 Thread Ryan A
On 11/2/2004 6:34:43 PM, ApexEleven ([EMAIL PROTECTED]) wrote: > I can't wait for the replies... > Heres one, I vote you drive yourself and your family as fast as possible on the freeway then close your eyes and wave both your hands in the air while counting from 1000 to 1, be sure to keep the ac

Re: [PHP] VOTE TODAY

2004-11-02 Thread John Nichel
ApexEleven wrote: I can't wait for the replies... cat $you > /dev/null -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: [users@httpd] November 2, 2004

2004-11-02 Thread Ryan A
People have different political opinions, and different religions...discussing them in a forum or a list just starts arguments,flaming and does not make sense. People receive this list's mailings for php.thats it. To the original person who started this thread (I deleted the original so I ca

Re: [PHP] VOTE TODAY

2004-11-02 Thread Grant
> I can't wait for the replies... Here's a reply: Don't vote for Bush. - Grant -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: [users@httpd] November 2, 2004

2004-11-02 Thread Robet Carson
was the presidential election coded in php? On Tue, 2 Nov 2004 17:34:58 +, Curt Zirzow <[EMAIL PROTECTED]> wrote: > * Thus wrote Enrico Weigelt: > > > > * Patrick Donker <[EMAIL PROTECTED]> wrote: > > > > Hi folks, > > > > > > > > This is just a friendly reminder that if you are registere

Re: [PHP] Re: [users@httpd] November 2, 2004

2004-11-02 Thread Jordi Canals
On Tue, 2 Nov 2004 17:57:02 +0100, Enrico Weigelt <[EMAIL PROTECTED]> wrote: > > BUT: i personally think its okay to talk about such offtopics when > they're so generally important. Perhaps is so important to US citizens, but not to much people outside the US ... and I think this is not a list ab

Re: [PHP] text email & new line

2004-11-02 Thread Jerry Swanson
#1. $headers .= "Content-Type: text/plain"; #2. $headers .= "Content-Type: text/html; charset=iso-8859-1\r\n"; If I use #1 header I don't need \n\r just create extra space on the email. Why \n\r doesn't work for #2 ? TH On Tue, 2 Nov 2004 17:23:41 +0100, Sebastiano Cascione <[EMAIL PROTECTED]

[PHP] VOTE TODAY

2004-11-02 Thread ApexEleven
I can't wait for the replies... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] text email & new line

2004-11-02 Thread Jordi Canals
On Tue, 2 Nov 2004 16:25:56 +, Richard Davey <[EMAIL PROTECTED]> wrote: > Hello Jerry, > > JS> I'm sending text email. How I can make new line. > JS> "\n" seems to be not working. > > \n in a text (not HTML) email will do the trick most of the time, > sometimes I see \r\n, but \n works for me

Re: [PHP] Re: [users@httpd] November 2, 2004

2004-11-02 Thread Curt Zirzow
* Thus wrote Enrico Weigelt: > * Patrick Donker <[EMAIL PROTECTED]> wrote: > > Hi folks, > > > > > This is just a friendly reminder that if you are registered in the > > >United States to VOTE on November 2, 2004 (TOMORROW) > > > > > > Need to know where you vote? > > > > > > Please see the at

Re: [PHP] Help needed on php/mysql

2004-11-02 Thread Lists
Hmmm...I'm not sure I'm following you. You just want to know how to deal with multiple drop down lists? Or do you want to be able to check and make sure all the mandatory selections have been chosen? -dg http://www.rexruff.com On Nov 2, 2004, at 4:58 AM, Garth Hapgood - Strickland wrote: Wel

Re: [PHP] Re: [users@httpd] November 2, 2004

2004-11-02 Thread John Nichel
Enrico Weigelt wrote: So my credo is: Bush for prison, Kerry for president! My credo is keep politics off this mailing list. Wanna discuss politics, go to the Fedora mailing list; They've seemed to welcome it with open arms. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED

Re: [PHP] text email & new line

2004-11-02 Thread Sebastiano Cascione
Use \r\n Some pop server doesn't support other special characters. Sebastiano Alle 17:12, martedì 2 novembre 2004, Jerry Swanson ha scritto: > I'm sending text email. How I can make new line. > "\n" seems to be not working. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visi

Re: [PHP] text email & new line

2004-11-02 Thread Richard Davey
Hello Jerry, Tuesday, November 2, 2004, 4:12:49 PM, you wrote: JS> I'm sending text email. How I can make new line. JS> "\n" seems to be not working. \n in a text (not HTML) email will do the trick most of the time, sometimes I see \r\n, but \n works for me nicely. Are you sure it's quoted prop

RE: [PHP] Re: [users@httpd] November 2, 2004 WOT

2004-11-02 Thread Jay Blanchard
[snip] BUT: i personally think its okay to talk about such offtopics when they're so generally important. [/snip] You are just inviting a flame war...so don't do it. This is a PHP list. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] text email & new line

2004-11-02 Thread Greg Donald
On Tue, 2 Nov 2004 11:12:49 -0500, Jerry Swanson <[EMAIL PROTECTED]> wrote: > I'm sending text email. How I can make new line. > "\n" seems to be not working. Use \r\n instead of just \n. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mail

[PHP] compile my code

2004-11-02 Thread Mirko Melis
Hi to all one question: There is one way to compile my script into intermediate code like jsp? thanks MM -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: [users@httpd] November 2, 2004

2004-11-02 Thread Enrico Weigelt
* Patrick Donker <[EMAIL PROTECTED]> wrote: Hi folks, > > This is just a friendly reminder that if you are registered in the > >United States to VOTE on November 2, 2004 (TOMORROW) > > > > Need to know where you vote? > > > > Please see the attached file (it is an image) that contains some >

[PHP] text email & new line

2004-11-02 Thread Jerry Swanson
I'm sending text email. How I can make new line. "\n" seems to be not working. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Scaling select lists

2004-11-02 Thread Chris Gregors
When working with select lists that grow over time, what are some solutions people have applied to the problem of massive select lists? This is pretty cumbersome for the users to navigate. They end up scrolling up and down and getting annoyed. Example: fred bob ... 800 m

[PHP] php5 and mysql 4.1 - Authentication

2004-11-02 Thread Thomas Hochstetter
Hi there, I am sure there has been a discussion about this previously, I couldn't find much through google though . anyway. I know I must use mysqli, and that is also not the problem. The problem is with things like phpmyadmin and bxcms. I am not going through all the code to fix the mysql connec

Re: [PHP] filtering out array values

2004-11-02 Thread Jason Wong
On Tuesday 02 November 2004 13:32, Merlin wrote: > I am retrieving some values out of the db and would only like to show those > available inside a drop down field. Now I do have 2 arrays which fill the > drop down field and one array with the values which should only show up. > > Example: > $obje

[PHP] Re: GUI editor for php?

2004-11-02 Thread Daniel Schierbeck
Andy B wrote: Hi. Is there any GUI editors out there for php? if so does anybody know of a good one that doesnt cost a ton of money?? I'd go with Eclipse (http://eclipse.org) with either PHP-Eclipse (http://phpeclipse.org) or Xored Trustudio (http://xored.com). They're all free of charge. The two

[PHP] filtering out array values

2004-11-02 Thread Merlin
Hi there, I am retrieving some values out of the db and would only like to show those available inside a drop down field. Now I do have 2 arrays which fill the drop down field and one array with the values which should only show up. Example: $objects_available = array(3,5,7); $ob_options = array

[PHP] Development work

2004-11-02 Thread Chris Bartlett
Hi, I work for a financial publishing company based on Haymarket in London. Our current development team are moving on so we are looking for a seasoned PHP developer to help add new functionality to our existing systems. We are looking for someone who has a good understanding of web server archite

Re: [PHP] Help needed on php/mysql

2004-11-02 Thread Garth Hapgood - Strickland
Well my page doesnt have any of the spoken about elements on it yet, because I am not clear as to go about it. The fields I speak of are things that need to be added extra to my page. Here is my pages code so far... !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

Re: [PHP] Re: GUI editor for php?

2004-11-02 Thread Joshua D. Drake
Vail, Warren wrote: I like htmlkit; (it's free) http://www.chami.com/html-kit/ Emacs, Quanta, Kate??? Warren Vail -Original Message- From: Eric Bolikowski [mailto:[EMAIL PROTECTED] Sent: Monday, November 01, 2004 2:25 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: GUI editor for php? "An

Re: [PHP] validate international phone numbers

2004-11-02 Thread Joshua D. Drake
Merlin wrote: Hi, I am trying to validate international phone numbers before adding into a db. After a bit of research I came up with this regex: return (ereg('^[0-9]{1,3}\.[0-9]{1,6}\.[0-9]{1,8}$', $phone)); However, this tightens the numbers to something like this: 409.711.933838 Thats a pro

RE: [PHP] validate international phone numbers

2004-11-02 Thread Graham Cossey
> -Original Message- > From: Merlin [mailto:[EMAIL PROTECTED] > Sent: 02 November 2004 10:49 > To: [EMAIL PROTECTED] > Subject: [PHP] validate international phone numbers > > > Hi, > > I am trying to validate international phone numbers before adding > into a db. > After a bit of research I

Re: [PHP] validate international phone numbers

2004-11-02 Thread Jason Wong
On Tuesday 02 November 2004 10:49, Merlin wrote: > I am trying to validate international phone numbers before adding into a > db. After a bit of research I came up with this regex: > > return (ereg('^[0-9]{1,3}\.[0-9]{1,6}\.[0-9]{1,8}$', $phone)); > However, this tightens the numbers to something

Re: [PHP] beginnind and end of the week

2004-11-02 Thread Jerry Swanson
Your solution works only for Monday. For Tuesday output is below start -- 20041108 end - 20041114 I have no idea why ti doesn't wotk. On Mon, 1 Nov 2004 02:45:59 +, Curt Zirzow <[EMAIL PROTECTED]> wrote: > * Thus wrote Jerry Swanson: > > > > I need to run a query using PHP/MYSQL. The q

[PHP] imap-sort

2004-11-02 Thread Vahid Ghafarpour
imap-sort function doesn't search correctly for unicode strings, is there any unicode function with this functionality that support locale?? -- Vahid Ghafarpour. [EMAIL PROTECTED] http://vahid.ghafarpour.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.ph

[PHP] validate international phone numbers

2004-11-02 Thread Merlin
Hi, I am trying to validate international phone numbers before adding into a db. After a bit of research I came up with this regex: return (ereg('^[0-9]{1,3}\.[0-9]{1,6}\.[0-9]{1,8}$', $phone)); However, this tightens the numbers to something like this: 409.711.933838 Thats a problem, since some c