Re: [PHP] Returning Rows Question

2002-09-04 Thread Christopher J. Crane
Thanks. I will give it a shot. I have never seen anything written like that. Can you give me a brief explanation of what it means? Thanks again. - Original Message - From: "Mike richardson" <[EMAIL PROTECTED]> To: "'Christopher J. Crane'" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent:

Re: [PHP] Returning Rows Question

2002-09-04 Thread Ashley M. Kirchner
"Christopher J. Crane" wrote: > >$color = ($color == "FF")? "EAEAEA" : "FF"; Break it down: $color = (we don't care right now) That is: ($color == "FF")? "EAEAEA" : "FF" And that says: Evaluate the (current) variable $color. Is it FF? if so, change it to EA

[PHP] Re: Mail list/message board

2002-09-04 Thread nicos
Take a look at http://news.php.net/ -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet "Brian V Bonini" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > Anyone now of a a PHP mailing list program that has a forum-like interface

Re: [PHP] Returning Rows Question

2002-09-04 Thread Christopher J. Crane
That's what I thought it meant but I have never seen it writte nthat way. Thank you very much - Original Message - From: "Ashley M. Kirchner" <[EMAIL PROTECTED]> To: "Christopher J. Crane" <[EMAIL PROTECTED]> Cc: "Mike richardson" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, S

[PHP] Re: Returning Rows Question

2002-09-04 Thread joshua
here's one way, set a variable and switch it on and off $tr_properties = 'style="background-color: grey;"'; while( $ect = etc ) { if($tr_properties){ print ""; $tr_properties = false; } else { print ""; $tr_properties = 'style="background-color:

[PHP] Domxml: coping with UTF-16

2002-09-04 Thread Gwyn
Hi - I've built a web-based XML editor using PHP, so that clients can edit the sites themselves. The site HTML is generated dynamically via Sablotron. The problem is the users are copying-and-pasting from MS Word, and putting things like smart quotes and greek characters (one site is about ma

RE: [PHP] Returning Rows Question

2002-09-04 Thread David Freeman
> How do you alternate colors of the rows in a table inside a > while statement > when dealing with the output of data from a DB. I am sure > it's something > simple but I keep getting into some really long math thing... For two alternating colours I normally do something like this: $use

[PHP] whitespace...

2002-09-04 Thread Matt Zur
How do I remove the whitespace from a document? I consulted the manual and it said to use the trim function. But in a large PHP document, with lots of fuctions etc in PHP... is there a simple way to compress the whitespace of the entire document? Rather than going through each var and using

[PHP] Re: whitespace...

2002-09-04 Thread Philip Hallstrom
I'm not sure I fully understand your question, but given the following PHP file: all the browse will see is this (minus the dashed lines). -- hello -- On We

Re: Fw: [PHP] FORUM CODE

2002-09-04 Thread joshua
Kevin Stone wrote: > $myformtxt = '[i]Hello[/i] [B]world[/B]'; // pretend this came from a form. 1. I understand what you're doing, and how. But what I don't understand is why? If a user is going to have to type [B]bold[/B], why not just get them to type bold. [bold] and [italic] maybe? 2, I

[PHP] Re: whitespace...

2002-09-04 Thread nicos
Hi, You should use $content = str_replace(" ","",$content); I assume that works, there is probably something better than it too but thats all I see at this hour. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet "Matt Zur" <[EMAIL PROTECTED]> a écr

[PHP] Re: whitespace...

2002-09-04 Thread Matt Zur
If you have a file includes IE: include ("data.inc"); and have arrays n such with multiple php tags in that file, it will produce alot of white space on the final output. -Matt Philip Hallstrom wrote: > I'm not sure I fully understand your question, but given the following PHP > file: > >

[PHP] Javascript ?

2002-09-04 Thread Christopher J. Crane
Does anyone know of a Javascript forum like this one that I can post a question to? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: whitespace...

2002-09-04 Thread joshua
the php parser does not return any whitespace between the tags unless youn use print or echo. i wouldn't use: > You should use $content = str_replace(" ","",$content); > I assume that works, there is probably something better than it too but > thats all I see at this hour. as that would rem

[PHP] Re: Javascript ?

2002-09-04 Thread nicos
This has nothing to do with PHP, the best list of newsgroup is here : www.google.com -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet "Christopher J. Crane" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > Does anyone know of

[PHP] cURL and cookies

2002-09-04 Thread Jeff Schwartz
I'm trying to use cURL to log into a site, get the cookies then use those cookies as I move through the site. I'm getting the cookies in a file but either they're not being sent when the script goes to the next page or they need to be formatted somehow so the site recognizes them. Has anyone don

Re: [PHP] whitespace...

2002-09-04 Thread Steve Edberg
At 04:37 PM 9/4/02 , Matt Zur wrote: >How do I remove the whitespace from a document? I consulted the manual and >it said to use the trim function. But in a large PHP document, with lots >of fuctions etc in PHP... is there a simple way to compress the whitespace >of the entire document? Rathe

[PHP] Help, Convincing upgrade of PHP

2002-09-04 Thread JJ Harrison
I will be generating a dynamic website for a Class in america. (Don't worry about details) The schools technican is the type that doesn't really know what they are talking about. They are running PHP 4.0.6 which is too old for me - Language differances. They say that upgrading to PHP 4.2.3 will

Re: [PHP] Help, Convincing upgrade of PHP

2002-09-04 Thread Michael Geary
Perhaps the best thing to do would be to wait for PHP 4.3, which will offer out-of-the-box OS X support. I have compiled the latest dev releases with no problems or workarounds on OS X. However, I do have step-by-step instructions for compiling PHP 4.2.x on OS X, but depending on the libraries

[PHP] Good free PHP web stats package?

2002-09-04 Thread tomba
I have a client that is hosted with a company that has a rather lame web stats package. I am looking for a PHP based stats package and have waded through the sites that have apps shown under PHP at hotscripts.com and wasn't drawn to the dozen or so that I looked at. So if you have recommendations

[PHP] php and a printer

2002-09-04 Thread Ric Mañalac
is it possible to write a php program that sends output to a network printer? an example would also be great. thanks! -- Ric Mañalac Note: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intende

Re: [PHP] Help, Convincing upgrade of PHP

2002-09-04 Thread David Rice
You may also want to look at: http://www.entropy.ch/software/macosx/php/ A build for Mac OS X based on PHP 4.4.2 with simple download and install instructions. HTH David On Wednesday, September 4, 2002, at 11:46 PM, Michael Geary wrote: > Perhaps the best thing to do would be to wait for PHP

[PHP] emacs on win32

2002-09-04 Thread Victor
This is somewhat php related: how do you get syntax highlighting and coloring (whatever) for php in the windows version of emacs? - Victor > www.argilent.com __ Post your free ad now! http://personals.yahoo.ca -- PHP Gener

[PHP] ebay auction manager

2002-09-04 Thread electroteque
hi tough question but is there any way to port to ebay and manage and list the auctions remotely in php? i've seen heaps of software and websites that can do it -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] ebay management and auction listings using php

2002-09-04 Thread electroteque
hi tough question but is there any way to port to ebay and manage and list the auctions remotely in php? i've seen heaps of software and websites that can do it -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] convert ISO-8859-1 to EUC-JP

2002-09-04 Thread prabahar
Hi, I have requirement like this... Read a TEXT file that has codes that represents Japanese chars in ISO-8859-1 encoding. example "計画対比" I have to read these and convert into EUC-JP and write the EUC-JP to a different file. " " But this doesnt work. Can u please guide me how to achieve t

[PHP] Currency Exchange and Weather

2002-09-04 Thread César Aracena
Hi all. I need to find FREE world wide weather reports and also a FREE currency converter from US Dollars to other currencies that can serve PHP requests 24 hours a day, so I can customize the look and feel of these results in my site(s). Does anyone knows where to get all this? Has anyone out t

[PHP] Encryption of emails.

2002-09-04 Thread Bob Irwin
Hey guys, Can anyone recommend any PHP functions or plugins that will allow me to send encrypted emails via PHP? Something similar to PGP would be excellent. I have use PGP with a formmail cgi previously, but obviously it'd be easier to have in-PHP support for it. Any suggestions are much appr

[PHP] Re: Encryption of emails.

2002-09-04 Thread Manuel Lemos
Hello, On 09/05/2002 02:29 AM, Bob Irwin wrote: > Hey guys, > > Can anyone recommend any PHP functions or plugins that will allow me to send > encrypted emails via PHP? Something similar to PGP would be excellent. I > have use PGP with a formmail cgi previously, but obviously it'd be easier to

Re: [PHP] Encryption of emails.

2002-09-04 Thread Justin French
Perhaps not EXACTLY what you're after, but I wrote a small, simple function to encrypt a string with a key (i'll skip a long note about keeping the key safe). Then I send an email with the data encrypted, and decrypt it at the other end (me) using a decrypt script located on my local server. It

Re: [PHP] Currency Exchange and Weather

2002-09-04 Thread Justin French
This appears to do what you want... or at least provide some inspiration: http://www.phpclasses.org/browse.html/file/1220.html I'm sure there are hundreds of web services based on currency conversion and weather... usually they send XML data which you parse... google will help :) Justin French

Re: [PHP] Good free PHP web stats package?

2002-09-04 Thread olinux
Webalizer is a fairly popular package, even used by a few fortune 500's if I remember correctly. Not PHP but fast and free. http://www.webalizer.com/ olinux --- tomba <[EMAIL PROTECTED]> wrote: > I have a client that is hosted with a company that > has a rather lame web > stats package. I am

[PHP] creating .PS or .PRN *files* from the command line or php???

2002-09-04 Thread Jason Caldwell
Does anyone know how to create .PS or .PRN files from the *command line* or PHP under Windows 2000 ??? Thanks. Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] check for a number

2002-09-04 Thread Erwin
Steve Bradwell wrote: > is_int($f) will return true if $f is an integer, false otherwise. is_int will return false in this case, because it's a string. You have to use is_numeric HTH Erwin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] finding next and previous db entries

2002-09-04 Thread tux
hey all, if im displaying pages with data from a database eg www.domain.com/file.php?id=40 on that page i would like to have a previous and next link that would take it to id 41 and 39 respectively, the only problem being what if 39 or 41 was empty? then i would want the link to be id=42 or i

<    1   2