[PHP] MSDE with PHP 4

2002-07-25 Thread Lee
Hi, Has anyone used PHP alongside MSDE? I've recently taken a brief look at freetds which allows a UNIX/LINUX box to talk to an MSSQL/SYBASE server, but I cannot find any metion of MSDE. Can anyone shed any light on this or report any successes? Cheers Lee -- PHP General Mailing

Re: [PHP] Disabling Browser "BACK" button

2002-07-31 Thread Lee
like a Meta Refresh with time set to 0) to Page3 which then sends you onto the final page. By using a querystring variable and checking this in page2 you could probably get rid of Page3 and have its part handled in page2. I hope this makes sense. Cheers Lee - Original Message - From

Re: [PHP] include()

2002-08-01 Thread Lee
to the extract resources (e.g. memory & CPU time) required to run the muliple instances. Cheers Lee - Original Message - From: "Simon Ritchie" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 01, 2002 11:30 AM Subject: RE: [PHP] include() &

Re: [PHP] Php Dynamic Pages & Apache Server

2002-08-01 Thread Lee
that the PHP script and files are in the same directory and are all publically accessible (i.e. a user could simple type http://www.example.com/filename) Hope this helps Regards Lee - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, Aug

[PHP] Sessions not expiring

2002-08-01 Thread Lee
1(apache module) on FreeBSD 4.6 Can anyone help, cheers Lee -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] ASP style "application-level" variables

2002-06-29 Thread Lee
records but the additional coding could be more error-prone or eat more system resources than using a feature built into PHP itself. I would be interested to hear other peoples views on this feature. Lee -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] include files or fopen

2002-06-30 Thread Lee
ly not a resiliant to error, or a slower program that is more resiliant and can exit nicely on error. Any thoughs that people have on this would be appriciated. Regards Lee -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] CANT GET STUFF TO WORK

2002-07-09 Thread Lee
I am new to PHP & Sessions myself. But I think $_SESSION['varname'] may be what you are looking for. e.g. $_SESSION['count'] = 2; - Original Message - From: "Mike" <[EMAIL PROTECTED]> To: "Jay Blanchard" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, July 09, 2002 8:37 PM Subje

Re: [PHP] CANT GET STUFF TO WORK

2002-07-09 Thread Lee
I am new to PHP & Sessions myself. But I think $_SESSION['varname'] may be what you are looking for. e.g. $_SESSION['count'] = 2; Regards Lee. - Original Message - From: "Mike" <[EMAIL PROTECTED]> To: "Jay Blanchard" <[EMAIL PR

Re: [PHP] CANT GET STUFF TO WORK

2002-07-09 Thread Lee
>From the work I have done, I have found that in the event PHP doesn't do this automatically (such as in some javascript code), you need to ensure you include a PHPSESSID varible in the URL something like: print "www.mysite.net?PHPSESSID= " . session_id(); - Original Message - From: "Mi

Re: [PHP] Installing MYSQL on Windows

2002-07-15 Thread Lee
Have a look at http://www.mysql.com/doc/W/i/Windows_installation.html Cheers Lee. - Original Message - From: "Varsha Agarwal" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 15, 2002 10:12 PM Subject: [PHP] Installing MYSQL on Windows > Hi, &

Re: [PHP] No text in form submission

2002-07-21 Thread Lee
Create a new php file and just put the following in it: should get you all the info you need Cheers Lee - Original Message - From: "Dean Ouellette" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, July 21, 2002 9:08 PM Subject: RE: [PHP] No text in

[PHP] Application servers / job priorities ?

2001-10-24 Thread Lee
that may faciliate this? Any links/hints would be greatly appreciated. Thanks very much in advance. - Best regards, Lee -- 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

[PHP] Serious Problems (Apache/PHP/Sessions)

2001-12-17 Thread lee
xt I tried compiling php into apache with -activate-module=php.. and when I do this, Apache segfaults 11 when an imap connection is opened! Ahhh! Does anyone have IMP or any other imap software running under a current version of php apache with a moderate load? Thanks, Lee

[PHP] Parse error

2003-01-14 Thread Brent Lee
I'm new to PHP and am slowly learning it. I have the following code that is giving me errors could someone take a look and suggest a fix? Parse error: parse error in /home//public_html/Info/datain.php on line 7 -- Thanks __ Brent Lee -- PHP Ge

[PHP] Re: Parse error

2003-01-14 Thread Brent Lee
Everything works great now. Thanks for the quick responses everyone. "Brent Lee" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm new to PHP and am slowly learning it. I have the following code that is > giving me errors co

[PHP] valid MySQL result resource

2003-01-14 Thread Brent Lee
$myrow["lastname"]; echo ""; echo $myrow["nick"]; echo ""; echo $myrow["salary"]; } echo ""; ?> -- Thanks __ Brent Lee -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Transition Page?

2003-01-26 Thread Lee Herron
I'm interested in how most would create a transition page.. I have an upload process that takes a bit before it changes the page displayed on the browser. I would like to create a transition page [Uploading Now .. please standby] that would refresh to a result page once the upload is done. Now I

Re: [PHP] Transition Page?

2003-01-26 Thread Lee Herron
>> I'm interested in how most would create a transition page.. > > One thing you might consider is using flush() to output > what you have so far to the browser rather than sending The problem I'm having is that the uploading of the file takes time, and the screen simply sits there while this is b

RE: [PHP] if (a == b) ...

2003-01-29 Thread Lee Herron
$a === $b TRUE if $a is equal to $b, and they are of the same type. (PHP 4 only) > -Original Message- > From: David Freeman [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 29, 2003 7:39 PM > To: [EMAIL PROTECTED] > Subject: RE: [PHP] if (a == b) ... > > > > > I have a condition

[PHP] fputs / fwrites ?

2003-01-31 Thread Lee Herron
Okay, so I want to open a file, get a small number from it (less than 3 digits) then overwrite a new number (incremented the original by 1) and close the file. The goal is to do this in the fastest way possible .. I don't like having to open the file more than once to do this. I've tried: $cfile

[PHP] fputs / fwrites

2003-02-04 Thread Lee Herron
Okay, so I want to open a file, get a small number from it (less than 3 digits) then overwrite a new number (incremented the original by 1) and close the file. The goal is to do this in the fastest way possible .. it seems that there should be a way of doing this without having to open and close t

[PHP] Re: any windows php developers out here?

2003-02-09 Thread Lee W
f PHP won't work though a CGI executable with I believe is still the only stable way of running PHP though IIS. I normally have IIS running on a port other than 80 which allows me0 to have both the IIS and Apache available simultaniously. Hope some of this helps. Regards Lee -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: html tags

2003-02-09 Thread Lee W
a simple example, but may solve your problem. The only issues with doing this that I can see is that it would require a lot more work of the programmer but should not be to difficult to implement. Regards Lee -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Why use XML?

2003-02-10 Thread Lee W
a seperation that would have to processed on the > other end. Thanks > > Chris > > Have a look at the following link: http://www.w3schools.com/xml/default.asp The section on "How XML Can be used" may provide the answers you need. Regards Lee -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP mail function From header not working

2003-02-13 Thread Lee W
"Marco Alting" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > When I try to use a php script, to send an email, the From header is > replaced by a senders email address of my provider. Is there any way to make > it so my email address shows up in the From header

[PHP] Re: PHP mail function From header not working

2003-02-13 Thread Lee W
> > $message2 ="MESSAGE GOES HERE"; > mail($email,"TITLE",$message2,$mailheaders); > ?> > > Are you running this on windows? If you are have a look at: http://www.php.net/manual/en/ref.mail.php The "sendmail_from" setting may be what you are looking for. Yo

[PHP] Re: XML Array

2003-07-16 Thread Lee Doolan
> "Michael" == Michael Smith <[EMAIL PROTECTED]> writes: Michael> Hey, I'm looking for a function to take an XML file and Michael> turn it into a PHP array with the same structure. here's something that I found on the internet a few months back. I've used it a number of times:

[PHP] Re: XML Array

2003-07-16 Thread Lee Doolan
>>>>> "Lee" == Lee Doolan <[EMAIL PROTECTED]> writes: >>>>> "Michael" == Michael Smith <[EMAIL PROTECTED]> writes: Michael> Hey, I'm looking for a function to take an XML file and Michael> turn it into a PHP arra

[PHP] Nested page calls

2003-07-18 Thread Lee Elenbaas
I would like to perform nested page calls, where a page does conditional includes to itself The problem is how to avoid stepping over the variables Is there a way to define the page or parts of it as a function and still have the HTML sections of it editable by an html editor? That means without u

RE: [PHP] Nested page calls

2003-07-18 Thread Lee Elenbaas
think the include should be at the top and then later on the file should simply call the function - much like H file in C lee -Original Message- From: Curt Zirzow [mailto:[EMAIL PROTECTED] Sent: þù 19 éåìé 2003 2:53þ To: [EMAIL PROTECTED] Subject: Re: [PHP] Nested page calls Lee Ele

[PHP] Re: replacing everything between 2 strings

2003-07-21 Thread Lee Doolan
> "Matt" == Matt Palermo <[EMAIL PROTECTED]> writes: Matt> Is there a way to replace everything between 2 given strings Matt> if it exists? Say I have: Matt> $str = "replace anything and everything in here."; Matt> Now I want to replace everything between the word "replace

[PHP] Debugging a Session Problem

2003-07-25 Thread Lee Stewart
o length and no information... Any suggestions would be appreciated... Lee Stewart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Debugging a Session Problem

2003-07-25 Thread Lee Stewart
0 Jul 17 16:55 sess_5160b002714849a598a8a1e62a78a2eb -rw---1 wwwrun nogroup 0 Jul 20 08:36 sess_7a053a0dd515170e6d0ace739860b71f -rw---1 wwwrun nogroup 0 Jul 25 11:55 sess_903ef4579ee2f596981aad08efd3bc9d Thanks for any debugging suggestions... Lee -- Lee Stewart, Seni

RE: [PHP] Debugging a Session Problem

2003-07-25 Thread Lee Stewart
ini is available at http://4.43.81.92/phpini.txt Lee At 02:51 PM 7/25/2003, Johnson, Kirk wrote: Your original code works for me, so it is a config issue somewhere. Add this code to each file, to verify that the session ID is being correctly passed: echo "session id is " . session_id() .

[PHP] how to make a global scope array

2003-07-25 Thread Jack Lee
//I have an array a[] like this: //Thanks for any help.!!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] how to make a global scope array

2003-07-25 Thread Jack Lee
It works! Thanks guys! "David Nicholson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hello, This is a reply to an e-mail that you wrote on Fri, 25 Jul 2003 at 23:51, lines prefixed by '>' were originally written by you. > <[EMAIL PROTECTED]&g

RE: [PHP] Debugging a Session Problem

2003-07-25 Thread Lee Stewart
a loss as to where to go from here (other than re-writing the entire application in some other language -- which I really don't want to do)... Help? Lee At 04:36 PM 7/25/2003, Johnson, Kirk wrote: Sorry, I am stumped. I don't see any problems in the .ini file. Have you tried

Re: [PHP] how to make a global scope array

2003-07-26 Thread Jack Lee
Thank you very much! "David Nicholson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hello, This is a reply to an e-mail that you wrote on Sat, 26 Jul 2003 at 00:50, lines prefixed by '>' were originally written by you. > Ouch! > Sometimes I wish global didn't exist Yes, it can be

[PHP] Get Local IP Address

2003-07-27 Thread Chris Lee
How can I get the local Computer IP Address when running PHP program in Windows command line (i.e. php getmyip.php) ** Since the PHP did not are run on Webserver, so _SERVER["SERVER_ADDR"] won't work. Many thanks in advance. Regards, Chris -- PHP General Mailing List (http://www.php.net/) To u

[PHP] Local IP Address

2003-07-27 Thread Chris Lee
How can I get the local Computer IP Address when running PHP program in Windows command line (i.e. php getmyip.php) ** Since the PHP did not are run on Webserver, so _SERVER["SERVER_ADDR"] won't work. Many thanks in advance. Regards, Chris -- PHP General Mailing List (http://www.php.net/) To u

Re: [PHP] Get Local IP Address

2003-07-27 Thread Chris Lee
>Try this: >exec('ipconfig',$catch); >foreach($catch as $line){ >if(eregi('IP Address',$line)){ >list($t,$ip) = split(':',$line); >echo 'IP is '.$ip."\n"; >} >} >?> Thanks Tom, but I think it only work for Win NT, how about Win 9x? -- PHP General

RE: [PHP] Debugging a Session Problem

2003-07-30 Thread Lee Stewart
in the Apache or PHP error logs? Permissions are OK, there is space on the drive? Kirk -- Lee Stewart, Senior SE Sytek Services, a Division of DSG (719) 566-0188 , Fax (719) 566-0655 [EMAIL PROTECTED] www.sytek-services.com www.dsgroup.com -- PHP General Mailing List (http://www.php.net

[PHP] PHP Sessions

2003-07-30 Thread Lee Stewart
Hi Curt, No I didn't see a post about space on /tmp... Using df it shows the file system to only be about 70% full, so there's plenty of space there. Did you mean something else? Any other thoughts on where to look? Thanks, Lee * Thus wrote Lee Stewart ([EMAIL PROTECTED]): &

[PHP] Re: preg_match

2003-08-02 Thread Lee Doolan
> "Michael" == Michael Temeschinko <[EMAIL PROTECTED]> writes: Michael> Hello, Michael> I would like to split a String containing ingredience with additional Michael> assigned footnotes... Michael> my problem I only get the first ingredience ($zutat at line 32 has Michael>

[PHP] Session does not end when browser is closed.

2003-08-14 Thread Lee Hanxue
Hi, I am using $_SESSION and each php page has session_start() Session Handling is working fine, except for one problem: when I close my browser and re-open it again, I am still logged in. I tested the log in and log out functions and they work fine. How can I terminate a session when the user

[PHP] How can I load load Additional extensions ?

2003-08-14 Thread Dennis Lee
My OS is Winxp . My web server is apache 2 which is installed as a NT service . My php version is 4.32 , and I extracted it into "c:\php" . I run php as a apache module . I want to load Additional extensions .They are php_mbstring.dll, php_xslt.dll and php_domxml.dll . I have made changes to p

Re: [PHP] How can I load load Additional extensions ?

2003-08-14 Thread Dennis Lee
I am sure they are in c:\php\extensions . any other idea ? "Leif K-Brooks" <[EMAIL PROTECTED]> news:[EMAIL PROTECTED] > Dennis Lee wrote: > > >what was wrong ? thanks for any useful words . > > > Are those extensions in c:\php\extensions? > >

[PHP] Re: How can I load load Additional extensions ?

2003-08-14 Thread Dennis Lee
I am really confused . When I just run php as CGI without changing anything else, It works quite well . Why it is wrong when I run php as module under apache 2.0.46 ? Is it a bug or anything else ? Any help will be appreciated . "Dennis Lee" <[EMAIL PROTECTED]> дÈë

[PHP] How to write my own php extensions

2003-08-15 Thread Dennis Lee
Hi all : I want to write my own php extensions , but I don't know how to start . Please tell me where I can find some examples or resources such as tutorials . Thanks in advance . -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Cannot output before input

2003-08-17 Thread Chris Lee
Hi All, I run the following program at Windows command prompt c:\php\cli\php.exe input.php The program did not show out "Input:" and waiting for input after run! Any hint to flush the output first? I am using PHP 4.3.2 (cli) (built: May 28 2003 15:10:38) Regards, Chris Lee -- P

Re: [PHP] Cannot output before input

2003-08-18 Thread Chris Lee
>ob_flush() Thanks curt, it's working ^_^ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: dl() unable to open library

2003-08-20 Thread Dennis Lee
Make sure all other dlls that your dll depends on are also obtainable by php . -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Help! Unable to load DLLs.

2003-08-21 Thread Dennis Lee
Copy all the files in C:\php\dlls to you system directory . "Larry Li" <[EMAIL PROTECTED]> news:[EMAIL PROTECTED] > Got error message: Unable to load dynamic library > '.\extension\php_mssql.dll' - The specified module could not be found. > > I tried change php.ini many times, still got same

[PHP] reserver variable names

2003-05-31 Thread Lee Doolan
ed somewhere? thanx --lee -- Flowers of morning glory. +-+ The sky above this street |donate to causes I care about: | Begins to overcast.| http://svcs.affero.net/rm.php?r=leed_25 |

[PHP] Sessions?

2003-06-18 Thread Lee Elenbaas
somewhere, I just look in the wrong place Help is appreciated :-) lee --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.490 / Virus Database: 289 - Release Date: 16/06/2003

[PHP] Re: OO Programming - get practical

2002-07-23 Thread Lee Doolan
> "Paul" == Paul Dionne <[EMAIL PROTECTED]> writes: [. . .] Paul> So, I guess my point is that if people want to encourage use Paul> of OO programming, they need to use more examples in their Paul> books instead of what is "easy."

Re: [PHP] Credit card checks?

2002-07-23 Thread Lee Doolan
> "Kristopher" == Kristopher Yates <[EMAIL PROTECTED]> writes: [. . .] Kristopher> I dont know about AuthorizeNet, but LinkPoint has an Kristopher> API written in PHP that is supposed to be inexpensive, Kristopher> and easilly integratable into any PH

[PHP] Re: parsing

2002-07-23 Thread Lee Doolan
> "Dave" == Dave At Sinewaves Net <[EMAIL PROTECTED]> writes: Dave> Okay, I want to know if anybody has a clue which is more Dave> efficient, processorwise/parsingwise: Dave> this: -- echo Dave> "".$somevar."".$somevardesc.""; Dave> or this: -- echo Dave> "{$

[PHP] Re: Question about using if elseif ...

2002-07-23 Thread Fargo Lee
Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: how to debug mail() problem?

2002-07-30 Thread Lee Doolan
maybe in conjunction with this Manuel> http://www.phpclasses.org/mimemessage Just by way of affirmation, here --as _though_ it were actually needed-- I've been using the smtpclass for a while now. It rocks. -lee -- When the birdcage is open, | donate to causes I care about: the s

Re: [PHP] How to become a good PHP coder?

2002-07-31 Thread Lee Doolan
> "Wee" == Wee Keat <[EMAIL PROTECTED]> writes: [. . .] Wee> might be new, but I deeply appreciate the generosity that all Wee> of you have given us One way to show your appreciation sincerely would be to help others in the same way that people have help

[PHP] Re: Cookie array

2002-08-10 Thread Lee Doolan
> "Jan" == Jan <[EMAIL PROTECTED]> writes: Jan> Hi ! How can I stoor array in to a cookie ? Jan> Do I just define an array and stoore it in a cookie ? How do Jan> I access the data in the array then ? you can use serialize() / unserialize() but be careful because the amount o

[PHP] mssql_query

2002-08-19 Thread Jordan Lee
I'm running PHP 4.1.1 on Win2K server with SQL 2K and my connect and select db statements are fine, but when I use the mssql_query() statement, PHP just hangs. I have no idea on whats going on and I've checked the forums, php's site, and I do have the MSSQL connectivity installed on the server.

[PHP] mod_php / apache config

2002-09-03 Thread Lee Doolan
I apologize beforehand in case this message is posted twice. If there is some way to do this, then it has eluded me for several hours. I would like to set a variable in the apache config file which I can then access in a php script. I'm running mod_php4 and apache 1 I have tried things like

[PHP] mod_php4 / apache config question

2002-09-03 Thread Lee Doolan
If there is some way to do this, then it has eluded me for several hours. I would like to set a variable in the apache config file which I can then access in a php script. I'm running mod_php4 and apache 1 I have tried things like this: php_value WSERVER red2.office.com and this: Set

[PHP] problem with starting apache in win2k with mcrypt and mhash

2002-09-05 Thread Terence Lee
Hello i've uncommended the mcrypt and mhash line in c:\winnt\php.ini. then i try to start the apache but encounter the following error msg "The procedure entry point _ecalloc could not be located in the dynamic link library php4ts.dll" "Unable to load dynamic library 'c:\php\extensions\php_mcry

[PHP] problem on starting apache in win2k with mcrypt and mhash module

2002-09-05 Thread Terence Lee
Hello (i've confirmed my email address but not sure if you will read my previous mail, so i send it once more.) i've uncommended the mcrypt and mhash line in c:\winnt\php.ini. then i try to start the apache but encounter the following error msg "The procedure entry point _ecalloc could not be l

[PHP] largest value of 2nd parameter in fgets functions

2002-09-05 Thread Terence Lee
hello i've tried to read a line from a text file by fgets($fp,8192). it work fine. however, there is a line over 8192 char and i tried to increase the 2nd parameter (e.g. 8193, 16384, 88192) still only 8192 char are read to my string variables. is it a limit of fgets or length of a string? any

[PHP] Re: [PHP-DEV] problem in starting apache in win2k with mcrypt and mhash module

2002-09-05 Thread Terence Lee
Please ask on [EMAIL PROTECTED] next time. > (Reply-To set). > > - Markus > > On Fri, Sep 06, 2002 at 09:56:59AM +0800, Terence Lee wrote : > > Hello > > > > i've uncommended the mcrypt and mhash line in c:\winnt\php.ini. then i > >

[PHP] how to time an http request

2002-09-18 Thread Lee Doolan
is there a program which i can run in a unix environment (FreeBSD or redhat) which can run, say, 100 requests on a url and then report the total time spent on the requests? i know that i could run curl or wget in a loop, but i would have to account for the fork-exec time somehow. i hope that t

[PHP] my i ramble for a while?

2002-09-20 Thread Lee Doolan
opinions or experience related to such issues. -lee -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Phasing HTML

2002-11-18 Thread Brian Lee
OK I am trying to take some content from another site (I have total consent) and convert all the prices on the site to 5% more. I can get all the content off the site and display it where I want. I can ereg_replace all the money to one price such as ($23.50) but I can’t change the price based on

Re: [PHP] countries

2002-06-04 Thread Eugene Lee
Why not go to the source? http://www.iso.org/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en1.html -- Eugene Lee [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PCRE Problem

2002-06-13 Thread Erick Lee
$string = [b]Test[/b] I want to change it to $string = Test How?

[PHP] question about ? :

2002-06-13 Thread Lee Doolan
the arrays below have dates like dateA= array( 0=> "03", 1=> "22", 2=> "02") for 22march2002. why does this work: $retval= ($dateA[2] != $dateB[2]) ? strcmp($dateA[2], $dateB[2]) : (($dateA[0] != $dateB[0]) ? strcmp($dateA[0], $dateB[0]) : (

Re: [PHP] question about ? :

2002-06-13 Thread Lee Doolan
>>>>> "Miguel" == Miguel Cruz <[EMAIL PROTECTED]> writes: Miguel> On 13 Jun 2002, Lee Doolan wrote: >> the arrays below have dates like dateA= array( 0=> "03", 1=> >> "22", 2=> "02") >>

[PHP] Re: Date Comparsion

2002-06-18 Thread Lee Doolan
> "Jack" == Jack <[EMAIL PROTECTED]> writes: Jack> Dear all I had a form which let user to input the leave_from Jack> and leave_to date into, the format of the date that user Jack> input is "-mm-dd". Now i want to compare the leave_from Jack> and leave_to date to find ou

Re: [PHP] How do I hide download link ...

2002-06-18 Thread Fargo Lee
ffering, but you should get the idea. > > Adapt to your needs, but this is the basics of it. Check for a valid > session, if it exists, send appropriate headers and use passthru() to send > the file. (you can use file(), fopen(), whatever, as long as you send the > content of the file af

Re: [PHP] How do I hide download link ...

2002-06-18 Thread Fargo Lee
n't remember > the exact syntax right now) > > read the file from somewhere that's not accessable from the web and spit it > out to the browser > > HTH > Martin > > > -Original Message- > From: Fargo Lee [mailto:[EMAIL PROTECTED]] > Sent: Thu

Re: [PHP] How do I hide download link ...

2002-06-18 Thread Fargo Lee
Ok think I am all good now. Added ... $fh = fopen("$download_file", "r"); then changed ... passthru($download_file); to fpassthru($fh); Thanks, again! "Fargo Lee" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

[PHP] Re: How to convert seconds to days, hours, minutes & seconds?

2002-06-18 Thread Fargo Lee
Thanks! "Fargo Lee" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > Hi, if I have a variable containing a number of seconds what function would > I use to output something like ... > > 13 Hours, 12 Minutes, 3 Seconds > > or > > 23 Days,

[PHP] How do I import tables into MySQL from web page ...

2002-07-09 Thread Fargo Lee
Hi, I am trying to import some tables from a dump file into a MySQL database from a php web page. What is the best way to do this without using backticks (fpassthru, system, exec or something else) and test for success or failure? I tried the following and while it works, my test for success or fa

Re: [PHP] How do I import tables into MySQL from web page ...

2002-07-09 Thread Fargo Lee
ews:[EMAIL PROTECTED]... > On Tue, Jul 09, 2002 at 06:09:36PM -0700, Fargo Lee wrote: > > > > $status = system("mysql -umyuserid -pmypassword mydbname < > > You need a space between "-u" and "myuserid" > > --Dan > > -- >

Re: [PHP] How do I import tables into MySQL from web page ...

2002-07-09 Thread Fargo Lee
when I try to echo it. "Jason Wong" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Wednesday 10 July 2002 13:27, Fargo Lee wrote: > > Thanks for pointing out the syntax error. I added the space after the -u > > but i

Re: [PHP] How do I import tables into MySQL from web page ...

2002-07-09 Thread Fargo Lee
n a 0 or a 1. I thought I could capture it by assigning the system call to a variable in front but that appears to capture nothing on success or failure. "Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > O

Re: [PHP] How do I import tables into MySQL from web page ...

2002-07-10 Thread Fargo Lee
o use the return_var as you suggested. Thanks! "Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Tue, Jul 09, 2002 at 11:41:47PM -0700, Fargo Lee wrote: > > > got it to assign a 0 (success) or 1 (f

Re: [PHP] How do I import tables into MySQL from web page ...

2002-07-10 Thread Fargo Lee
mand line. > > ---John Holmes... > > > -Original Message- > > From: Fargo Lee [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, July 10, 2002 1:27 AM > > To: [EMAIL PROTECTED] > > Subject: Re: [PHP] How do I import tables into MySQL from web page ... > &

Re: [PHP] How do I import tables into MySQL from web page ...

2002-07-10 Thread Fargo Lee
. "Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Wed, Jul 10, 2002 at 12:14:58PM -0700, Fargo Lee wrote: > > > > This suggests, as do a few posts I just noticed in the manual, that > > one

Re: [PHP] How do I import tables into MySQL from web page ...

2002-07-10 Thread Fargo Lee
ccess? "Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Wed, Jul 10, 2002 at 12:14:58PM -0700, Fargo Lee wrote: > > > > when made to fail MySQL does return an error on the command line yet the > >

Re: [PHP] How do I import tables into MySQL from web page ...

2002-07-10 Thread Fargo Lee
> Run the command manually at a shell prompt. What happens? Here's what > happens for me on WinNT. In an error condition, say my password is > invalid, it retuns the error message then a blank line and then I'm back > at the prompt. So, if system() is true to the manual, that blank line is > t

[PHP] Re: another pair of eyes?

2002-07-12 Thread Lee Doolan
> "Jas" == Jas <[EMAIL PROTECTED]> writes: Jas> Hello all, Jas> I have a parse error and I am not sure why, I think my eyes are giving up on Jas> me, or its a friday. Any help is appreciated. Jas> // just trying to compare the session var $date to timeout if older than 5

[PHP] Re: Submit code

2002-07-16 Thread Lee Doolan
here's an excerpt from a script in which I do something like that: $pdArgs= "demo=" . urlencode($argAry['demo']) . "&" . "first_name=" . urlencode($argAry['first_name']) . "&" . "last_name=" . urlencode($argAry['last_name']) . "&" .

[PHP] Question about using if elseif ...

2002-07-18 Thread Fargo Lee
When viewing examples of using if and elseif I often see the example ending with an else like ... if($a == '1'){ echo '1'; } elseif ($a == '2'){ echo '2'; } else { echo '0'; } Is there any problem with leaving out the last else and just ending it with an elseif such as ... if($a == '1'){ echo '

[PHP] Newbie's question about \n

2002-07-22 Thread KK Lee
Dear ALL, It seems that i have a very silly problem. I can't get the new line escape character to work. the following is my SIMPLE script and corresponding output. PHP script: http://www.w3.org/TR/html4/loose.dtd"; > TEST Output in IE6: this should be printed out: this is a second

[PHP] Re: Newbie's question about \n

2002-07-22 Thread KK Lee
Dear ALL, Thanks. KK Kk Lee ¼g¤J¡G > Dear ALL, > > It seems that i have a very silly problem. > I can't get the new line escape character to work. > the following is my SIMPLE script and corresponding output. > > PHP script: > "-//W3C//DTD HTML 4.0 Tra

[PHP] Re: Comma question

2002-07-22 Thread Lee Doolan
> "B" == B I G D O G <[EMAIL PROTECTED]> writes: B> Tried to check the archive, but it is offline... What does the B> "," and "{}" do in this type of statement? B> Example: echo "{$strName}", htmlspecialchars( in this case, the {}s don't really do anything; but {}s allow variab

[PHP] search result highlighting / regexp voodoo

2003-09-02 Thread Lee O'Mara
At the risk of this looking like a cheap tactic for getting someone else to do my work for me, I'll put the disclaimer at the top. Understand that what I'm looking for is new perspective on a problem that I've spent too much time dealing with. PROBLEM: I want to produce short "snippets" for sea

Re: [PHP] search result highlighting / regexp voodoo

2003-09-03 Thread Lee O'Mara
ut the rest of what I want. Cheers, Lee O'Mara -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Startup Seeking Expertise in PHP/MYSQL & Open Source : Remote Interns Welcome!

2003-09-04 Thread Lee Shores
We're looking for a few excellent programmers who want to rock out in building out a portal/publisher/record-label/video-distributor using the following applications and technologies from sourceforge.net: phpBB xoops phpnuke geeklog oscommerce postnuke gallery drupal cafelog dmoz RSS/RDF/blogging

  1   2   3   4   5   6   7   8   9   >