Re: [PHP-WIN] extracting value from array

2001-07-30 Thread Michael Kelley
27;$value9', '$value10'); > One of elements has value 'xyz123' - I do not know which one. > > How can I extract this element from the array and have a new array with all other >element, except extracted one. > > Any idea? > > Afan Pasalic -- M

Re: [PHP-WIN] PHP works on the server only

2001-07-30 Thread Michael Kelley
parsed so it should > be connecting as a normal internet user. However, when looking at the page > from a remote machine it just hangs. Any ideas why this is so? > > Adam -- Michael Kelley [EMAIL PROTECTED] Programmer/Systems Analyst I New Me

[PHP-WIN] List setup

2001-07-24 Thread Michael Kelley
take care of this, I use that (when I remember) and then I take off the original recipient. But there are many times when we don't do this and potential answers to future questions are not documented . Not a complaint just a suggestion -- Michael Kelley [EMAIL

[PHP-WIN] Help with index.php directory requests

2001-07-19 Thread Michael Kelley
ttp://host/ then index page is loaded How do I set apache so that both will work? Thanks in Advance and once again sorry for the Off Topic (Any one know of a good apache mailing list??) Mike -- Michael Kelley [EMAIL PROTECTED] Programmer/Systems Analyst I

Re: [PHP-WIN] mail() on Windows 2000

2001-06-25 Thread Michael Kelley
y as far as >the mail being sent of; however, I always get the following error:Fatal error: >Maximum execution time of 30 seconds exceeded in ... > > Can anyone offer any suggestions? > > Matt -- Michael Kelley [EMAIL PROTECTED] Programmer/System

Re: [PHP-WIN] using the PHP4 mail() function in (Newbie)

2001-06-23 Thread Michael Kelley
the body...Like so: > > $mailheaders = "From: $mailfrom\n"; > mail($mailto, $mailsubject, $mailbody, $mailheaders); > > Where you establish $mailfrom as who its from > > Rick > > - Original Message ----- > From: "Marnix Ottens" <[EMAIL PROTECTED]

Re: [PHP-WIN] using the PHP4 mail() function in (Newbie)

2001-06-22 Thread Michael Kelley
sts/test.php on line 2 > test.php being the file containing the PHP mail code > > this is the sendmail info in my php.ini file: > > [mail function] > ; For Win32 only. > SMTP = localhost ; for Win32 only > > ; For Win32 only. > sendmail_from = [EMAIL PROTECTED] ; for

Re: [PHP-WIN] Multiple value selection box (mix php/html problem) **SOLUTION**

2001-05-23 Thread Michael Kelley
TML probs I've found > > They are tabnle related really. > no opening table tag > closing table tag comes before closing row tag and closing select > no or > > maybe it would be easier to break out of php into html to set up your table > and maybe use instead of

Re: [PHP-WIN] Multiple value selection box (mix php/html problem) returning only one value

2001-05-22 Thread Michael Kelley
name like this > > > document.frmForm.selTest.name = "selTest[]"; > > > It worked for me with multiple check boxes. > > Vasu > > > > > From: Michael Kelley <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: [PHP-WIN] M

Re: [PHP-WIN] Multiple value selection box (mix php/html problem)

2001-05-22 Thread Michael Kelley
s around 45 distinct values. I'm trying to keep scrolling to a minimum (not to mention this is just a proof of concept. > >> That's the next stage >> How should I change this code to have $earnType return multiple values >> I'm guessing this is a mix of t

Re: [PHP-WIN] Multiple value selection box (mix php/html problem) returning only one value

2001-05-22 Thread Michael Kelley
ot;; > > > Also I don't know if that's all your code but there is some suspect html in > there > > M@ -- Michael Kelley [EMAIL PROTECTED] Programmer/Systems Analyst I New Mexico State University Information and Communication Technolog

[Fwd: Re: [PHP-WIN] Multiple value selection box (mix php/html problem) returning only one value]

2001-05-22 Thread Michael Kelley
My idea NO WORK, I tried replacing the value = \"%s\" with versions of value = \"$earnType\"[] value = \"$earnType[]\" value = earnType[] value = $earnType[] Still not what I'm looking for Michael Kelley wrote: > I tried the [] inside & outside the

Re: [PHP-WIN] Multiple value selection box (mix php/html problem) returning only one value

2001-05-22 Thread Michael Kelley
idea .. hold on Michael Kelley wrote: > Nope, output is now > Key: 0, Value: ACL[] > instead of > Key: 0, Value: ACL > > > Matt Williams wrote: > >> Hi Michael >> >> Try changing this line >> >> >>> printf("%s"

Re: [PHP-WIN] Multiple value selection box (mix php/html problem) returning only one value

2001-05-22 Thread Michael Kelley
Nope, output is now Key: 0, Value: ACL[] instead of Key: 0, Value: ACL Matt Williams wrote: > Hi Michael > > Try changing this line > > >> printf("%s", > > > To > > printf("%s", > > This should solve your problem > >

[PHP-WIN] Multiple value selection box (mix php/html problem) returning only one value

2001-05-22 Thread Michael Kelley
quot;"; print ""; print "Please pick an Earn Type "; print ""; while( odbc_fetch_row( $cur )) { $Outer++; for($i=1; $i <= $fields; $i++) { printf("%s", odbc_result( $cur, $i ), odbc_result( $cur, $i ));

[PHP-WIN] Tuttorials on writing COM classes for PHP and locations of existing classes??

2001-05-18 Thread Michael Kelley
also greatly appreciate it. Thanks -- Michael Kelley [EMAIL PROTECTED] Programmer/Systems Analyst I New Mexico State University Information and Communication Technologies Work # (505)-646-1374 P.O. Box 30001 MSC: 3AT Las Cruces, NM 88003 -- PHP Windows Ma

Re: [PHP-WIN] Why Blank Screen ?

2001-05-17 Thread Michael Kelley
uble-shoot this problem. > > Thanks a lot. -- Michael Kelley [EMAIL PROTECTED] Programmer/Systems Analyst I New Mexico State University Information and Communication Technologies Work # (505)-646-1374 P.O. Box 30001 MSC: 3AT Las Cruces, NM 88003 -- PHP

Re: [PHP-WIN] include paths

2001-05-17 Thread Michael Kelley
th it? If anyone has any insight into > the problem it would be much appreciated. > > -Matthew Robey > Maxon Corp. -- Michael Kelley [EMAIL PROTECTED] Programmer/Systems Analyst I New Mexico State University Information and Communication Technologies

Re: [PHP-WIN] I need help!!!

2001-05-17 Thread Michael Kelley
ng integer string >>... >> string integer string >> >> where the first string is a link to the corresponding url. >> >> Any help would be welcome at this point. >> Thank you in advance... &

Re: [PHP-WIN] it's frustrating

2001-05-17 Thread Michael Kelley
uot;; > > then in the message: > > $message.= "--$boundary\n"; > $message.= "Content-Type: image/gif; name='my_image.gif'\n"; > $message.= "Content-Transfer-Encoding: base64\n"; > $message.= "Content-Disposition: attachment\n\

Re: [PHP-WIN] extracting email addresses

2001-05-16 Thread Michael Kelley
n and grab partials to get what you want afan wrote: > Hi all, > there is my problem: I have a large text file with a lot of email addresses included >in text. I have to extract just email addresses from a whole text. > What's the way to do that? > > Thanks for any help

Re: [PHP-WIN] Can everyone help me?, pease...

2001-05-16 Thread Michael Kelley
gt;> script on PHP". >> >> I´m working with Win. Nt 4.0 Server, and IIS. I install PHP Ver. 4.05. Can >> you help me please?, let me know what can I do, I have not idea of what to >> do. >> >> I have some more questions: When you install the PHP on your

[PHP-WIN] Adding modules

2001-05-16 Thread Michael Kelley
h PHP & MySQL on W2K professional (just as a development environment) Also does anyone have the links to where I can read about updating my PHP, I'd prefer to bring in the binaries instead of compiling. Thanks for the help MK -- Michael Kelley [EMAIL PROTECTED]

Re: [PHP-WIN] Help with Preg match all (newbie) I think I got it

2001-05-15 Thread Michael Kelley
nks anyway Michael Kelley wrote: > Hello all, > I'm trying to do a name search from a string containing full names. > the format of the names is "Lastname, FirstName" > the preg expression I'm using is > > preg_match_all( "/\b$searchstr.*.,.*/i",

[PHP-WIN] Help with Preg match all (newbie)

2001-05-15 Thread Michael Kelley
the full last name i.e. kelle will return my entry but kelley returns nothing. Anyone out there that can help? I'd greatly appreciate it. Well I'm off to read more documentation and see if I can dig it out. -- Michael Kelley [EMAIL PROTECTED] Programmer/Syst