RE: [PHP] load balancer question

2005-12-20 Thread will
I've had really good experiences with load balancing a large php app using windows 2003 NLB (network load balancing) (really, windows, I'm not kidding :)). It's available in 2003 server, you just have to turn it on and configure. If you're using windows currently I'd give it a shot before purchas

[PHP] select statement with variables ???

2005-12-20 Thread Anasta
Can someone tell me why this select is wrong please---ive tried everything. the $cat is the tablename . $query=" SELECT title FROM $cat WHERE id='$id'"; full script below Edit and Submit changes "> Title: "> -- PHP General Mailing List (http://www.php.net/) To uns

Re: [PHP] Logging within Extension

2005-12-20 Thread Michael B Allen
On Tue, 20 Dec 2005 20:02:58 -0500 Michael B Allen <[EMAIL PROTECTED]> wrote: > I'm writing a PHP 4 extension and I would like to write debugging > information to the Apache error log.Does anyone know how to do > that? Basically I want error_log() but for within a C extension. And the answer is p

Re: [PHP] Help Desk software

2005-12-20 Thread Glenn Sieb
Daniel Lahey said the following on 12/20/2005 10:28 PM: > Can anyone recommend some good Open-Source Help Desk software for > PHP? (I know this is a little off-topic, but I'm having a hard time > finding decent Open Source software.) IMHO the best is RT, which is Perl and Mason. (http://www.bestpr

[PHP] Help Desk software

2005-12-20 Thread Daniel Lahey
Can anyone recommend some good Open-Source Help Desk software for PHP? (I know this is a little off-topic, but I'm having a hard time finding decent Open Source software.) TIA -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Logging within Extension

2005-12-20 Thread Anas Mughal
Might want to look into "Log4Cxx". -- Anas Mughal On 12/20/05, Michael B Allen <[EMAIL PROTECTED]> wrote: > > I'm writing a PHP 4 extension and I would like to write debugging > information to the Apache error log.Does anyone know how to do > that? Basically I want error_log() but for within a

[PHP] load balancer question

2005-12-20 Thread jonathan
I was having a discussion about scaling a php-based app. Most of the sites I've worked on have easily fit into a single server model. I"m looking at a site that will need to scale beyond that. The anticipated bottleneck will be TCP connections and database performance. I'm looking at load b

Re: [PHP] Random Images with no duplicates?

2005-12-20 Thread Mike
"Mike" <[EMAIL PROTECTED]> wrote in message news:... I'd just like to thank everyone who helped me our with this. I think it's great that so many people would be so helpful and not expect anything in return. This list is quite a storehouse of info and I'm learning just from reading the posts s

[PHP] Logging within Extension

2005-12-20 Thread Michael B Allen
I'm writing a PHP 4 extension and I would like to write debugging information to the Apache error log.Does anyone know how to do that? Basically I want error_log() but for within a C extension. Thanks, Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

Re: [PHP] pspell dictionary issue

2005-12-20 Thread Adi
No sign of aspell packages on the machine... Adam. On 12/20/05, John Nichel <[EMAIL PROTECTED]> wrote: > > Adi wrote: > > I am not on a RPM based system(running slackware)... I have aspell > 0.60.4 > > Okay, what I am asking is this: I understand that you installed aspell > from source. However

RE: [PHP] asianwhiteskin beauty product [Offficially OT]

2005-12-20 Thread Jay Blanchard
[snip] On Tuesday 13 December 2005 04:09, Raz wrote: > Can I have some breast enlarger please? Larger is not always better ;) Is there any other men who prefer smaller/normal sized breasts? [/snip] Yes. Now, can this go to the alt.news.breastsize list? -- PHP General Mailing List (http://www.ph

Re: [PHP] asianwhiteskin beauty product

2005-12-20 Thread Stephen Leaf
On Tuesday 13 December 2005 04:09, Raz wrote: > Can I have some breast enlarger please? Larger is not always better ;) Is there any other men who prefer smaller/normal sized breasts? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Hi!

2005-12-20 Thread John Nichel
Nanu Kalmanovitz wrote: Hi! Using a Win 2000 WS (work station), I'm trying to write the first PHP page as shown at http://il2.php.net/manual/en/tutorial.firstpage.php. The server is a Netware (Novell) 6.5 running Apache, PHP & MySQL all 3 on same server but different volumes. I created

Re: [PHP] pspell dictionary issue

2005-12-20 Thread John Nichel
Adi wrote: I am not on a RPM based system(running slackware)... I have aspell 0.60.4 Okay, what I am asking is this: I understand that you installed aspell from source. However, it is quite possible that aspell already existed on your machine. Slackware has a package management system. Ch

Re: [PHP] Mathmatical formula

2005-12-20 Thread Mike Smith
> Let's do an experiment. Place these two lines of code in a page, then load > it in a browser; > > > $foo = (36.0*58.0)/144; > echo $foo; > > ?> > > works fine for me. If you change > > > > to > > > Yep, that does work. Thanks Jay. Mike -- PHP General Mailing List (http://www.php.net/

RE: [PHP] Mathmatical formula

2005-12-20 Thread Jay Blanchard
[snip] > Try; > > $foo = preg_replace($find,$replace,$partFormula); > return $foo Unfortunately no. I also tried making the formula look like this: and returning it with: eval('?>' . $a . ' works fine for me. If you change to it also works. -- PHP General Mailing List (http://www.php.net

Re: [PHP] Mathmatical formula

2005-12-20 Thread Mike Smith
> Try; > > $foo = preg_replace($find,$replace,$partFormula); > return $foo Unfortunately no. I also tried making the formula look like this: and returning it with: eval('?>' . $a . 'http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Mathmatical formula

2005-12-20 Thread Jay Blanchard
[snip] I have an application that allows the users to input a formula: (Width*Height)/144 This formula gets updated with a part's specific width & height and actually returns: (36.0*58.0)/144 I use preg_replace to replace Width and Height with values from the following array: [Width] =>

Re: [PHP] XML Parser set option

2005-12-20 Thread Derek Williams
Amol, Pretty sure that it means the white space after a tag. for example: Joe Dempsey or (even worse, with CR) Joe Dempsey Amol Hatwar wrote: Hi, The PHP Manual entry for xml_parser_set_option lists an option called: XML_OPTION_SKIP_WHITE. I really couldn't decipher what this optio

[PHP] Mathmatical formula

2005-12-20 Thread Mike Smith
I have an application that allows the users to input a formula: (Width*Height)/144 This formula gets updated with a part's specific width & height and actually returns: (36.0*58.0)/144 I use preg_replace to replace Width and Height with values from the following array: [Width] => 36.000

RE: [PHP] Hi!

2005-12-20 Thread Erin Fortenberry
It does't look like PHP is setup in Apache. You should have a line that looks something like this; And some others that look like this; AddType application/x-httpd-php .php AddType application/x-httpd-php .inc AddType application/x-httpd-php-source .phps Check out your apache config file. -Er

[PHP] Re: בעניין: Re: [PHP] Hi!

2005-12-20 Thread Mike Smith
On 12/20/05, Nanu Kalmanovitz <[EMAIL PROTECTED]> wrote: > > Thanks! > > Since I am a newbie with the Apache \ PHP \ MySQL, can u tell me what file > and what shall I add\change in it? > > TIA > > Nanu > Google for install php netware Try: http://developer.novell.com/ndk/whitepapers/namp.htm -- PH

[PHP] Caucho Resin adds PHP

2005-12-20 Thread Marten Lehmann
Hi, has anyone read this: http://www.theserverside.com/news/thread.tss?thread_id=38144 The Java-implementation of the PHP-spec is announced to be six times faster than mod_php itself. Regards Marten -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/

Re: [PHP] Hi!

2005-12-20 Thread Gustav Wiberg
Hi there! View source-code of output. Maybe that could give you a clue! :-) /G http://www.varupiraten.se/ - Original Message - From: "Nanu Kalmanovitz" <[EMAIL PROTECTED]> To: Sent: Tuesday, December 20, 2005 8:10 PM Subject: [PHP] Hi! Hi! Using a Win 2000 WS (work station), I'm

[PHP] Hi!

2005-12-20 Thread Nanu Kalmanovitz
Hi! Using a Win 2000 WS (work station), I'm trying to write the first PHP page as shown at http://il2.php.net/manual/en/tutorial.firstpage.php. The server is a Netware (Novell) 6.5 running Apache, PHP & MySQL all 3 on same server but different volumes. I created the file named hello.php by

Re: [PHP] pspell dictionary issue

2005-12-20 Thread Adi
I am not on a RPM based system(running slackware)... I have aspell 0.60.4 Adam.

Re: [PHP] Write a FIFO file

2005-12-20 Thread Robin Vickery
On 12/20/05, Ruben Rubio Rey <[EMAIL PROTECTED]> wrote: > Robin Vickery wrote: > > >I bet your script will finish as soon as you read from the other end - > >for example by doing 'cat fifo' from a shell. > > > Thats it. > I would like to use fifo, but thats a problem. If there is not process > read

Re: [PHP] pspell dictionary issue

2005-12-20 Thread John Nichel
Adi wrote: All the installs are from source...and aspell works just fine from shell...its almost like pspell if defaulting to use the american dictionary. Adam. Did you check to see if your system has any of the spelling tools installed as a package also? If you're on a RPM based system :

Re: [PHP] Filtering URLs problem..

2005-12-20 Thread Jochem Maas
Anders Norrbring wrote: On 2005-12-20 16:16 Silvio Porcellana [tradeOver] wrote: Anders Norrbring wrote: I'm writing a filter/parsing function for texts entered by users, and I've run into a problem... What I'm trying to do is to parse URLs of different sorts, ftp, http, mms, irc etc and form

Re: [PHP] Problem with fopen and sending POST vars

2005-12-20 Thread tg-php
There are a couple examples of manually sending POST data via fsockopen() on: http://us2.php.net/manual/en/function.fsockopen.php Basically the stucture is the same as URL "GET" variables but you have to send the header data manually and set content-type to "application/x-www-form-urlencoded".

Re: [PHP] Filtering URLs problem..

2005-12-20 Thread Anders Norrbring
On 2005-12-20 16:16 Silvio Porcellana [tradeOver] wrote: Anders Norrbring wrote: I'm writing a filter/parsing function for texts entered by users, and I've run into a problem... What I'm trying to do is to parse URLs of different sorts, ftp, http, mms, irc etc and format them as links, that par

Re: [PHP] Write a FIFO file

2005-12-20 Thread Ray Hauge
I'm not sure, but it could have something to do with append mode instead of write mode. All I know about FIFO files and named pipes is that you cannot open them for read and write, only one or the other. The file system could detect append as "reading" when it's positioning your pointer at th

Re: [PHP] pspell dictionary issue

2005-12-20 Thread Adi
All the installs are from source...and aspell works just fine from shell...its almost like pspell if defaulting to use the american dictionary. Adam.

Re: [PHP] Re: [Bulk] Re: [PHP] PHP errors in Apache error logs

2005-12-20 Thread Georgi Ivanov
You need to compile php4-extensions or php5-extensions /usr/ports/lang/ Good luck. On Monday December 19 2005 22:32, Jose Borquez wrote: > John Nichel wrote: > > Jose Borquez wrote: > > > > > >> The Makefile configuration did have "--disable-all" included. Here > >> is the link to my phpinfo pa

Re: [PHP] Problem with fopen and sending POST vars

2005-12-20 Thread Barry
Silvio Porcellana [tradeOver] wrote: Barry wrote: I have a problem sending POST vars via fopen. It was possible for me to send some xml data but that's all. Anyone know how to send POST vars? Big probleme here is also that i have to connect via SSL. cURL can be your friend... http://php.net

Re: [PHP] Filtering URLs problem..

2005-12-20 Thread Silvio Porcellana [tradeOver]
Anders Norrbring wrote: > > I'm writing a filter/parsing function for texts entered by users, and > I've run into a problem... > What I'm trying to do is to parse URLs of different sorts, ftp, http, > mms, irc etc and format them as links, that part was real easy.. > You might want to consider u

Re: [PHP] Filtering URLs problem..

2005-12-20 Thread Philip Hallstrom
I'm writing a filter/parsing function for texts entered by users, and I've run into a problem... What I'm trying to do is to parse URLs of different sorts, ftp, http, mms, irc etc and format them as links, that part was real easy.. The hard part is when a user has already entered a complete lin

[PHP] Re: When using foreach(), how to use &$value in php 4??

2005-12-20 Thread chris
. ""Scott Fletcher"" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] >I have encountered a situation where I'm using the foreach() where I need >to > assign new data to the $value in the foreach loop, foreach($x as $key ==> > $value). With PHP 5, you can do the ampersand to

Re: [PHP] Re: IE6 not returning POST data from a textarea

2005-12-20 Thread chris
.. "Curt Zirzow" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] > On Mon, Dec 12, 2005 at 08:33:40PM -0500, Al wrote: >> Al wrote: >> >Anyone know to get IE6 to return POST data from a textarea when the text >> >is pasted in? >> > >> >Works fine for Mozilla, etc. >> > >>

Re: [PHP] problem: pgsql (unicode) => php5 => HTML (iso-8859-1)

2005-12-20 Thread Jochem Maas
Michelle Konzack wrote: Hello, my PostgreSQL stores all data in UNICODE and now if I connect via Webbrowser to my Database my webpages are detected as ISO-8859-1. For each Page I must select View->Character Encoding->Unicode (UTF8). Please can anyone tell me the right (???) Tag to get Motilla

Re: [PHP] problem: pgsql (unicode) => php5 => HTML (iso-8859-1)

2005-12-20 Thread David Grant
Michelle, Michelle Konzack wrote: > Please can anyone tell me the right (???) Tag to get Motilla > right to UNICODE? Try: Cheers, David -- David Grant http://www.grant.org.uk/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] problem: pgsql (unicode) => php5 => HTML (iso-8859-1)

2005-12-20 Thread Michelle Konzack
Hello, my PostgreSQL stores all data in UNICODE and now if I connect via Webbrowser to my Database my webpages are detected as ISO-8859-1. For each Page I must select View->Character Encoding->Unicode (UTF8). Please can anyone tell me the right (???) Tag to get Motilla right to UNICODE? Thanks

RE: [PHP] Re: asianwhiteskin beauty product

2005-12-20 Thread George Pitcher
Ah, Michelle, but think of the problems getting dressed (http://spysports.net/blueshirt.wmv). No offense! george > -Original Message- > From: Dan McCullough [mailto:[EMAIL PROTECTED] > Sent: 20 December 2005 2:39 pm > To: php-general@lists.php.net > Subject: Re: [PHP] Re: asianwhiteskin b

Re: [PHP] Re: asianwhiteskin beauty product

2005-12-20 Thread Dan McCullough
Maybe this is a disk space product, increases disk space on all types of drives. On 12/20/05, Michelle Konzack <[EMAIL PROTECTED]> wrote: > Am 2005-12-15 15:00:41, schrieb Dan McCullough: > > Is this some sort of new Zend product? :) > > Can this implemented? I have only 75A and do > not like bec

Re: [PHP] Re: asianwhiteskin beauty product

2005-12-20 Thread John Nichel
Michelle Konzack wrote: Am 2005-12-15 15:00:41, schrieb Dan McCullough: Is this some sort of new Zend product? :) Can this implemented? I have only 75A and do not like become patched with plastic. ;-P If men can increase 3-4 inches... ...why not me 3-4 cups? =8 You have

[PHP] Re: asianwhiteskin beauty product

2005-12-20 Thread Michelle Konzack
Am 2005-12-15 15:00:41, schrieb Dan McCullough: > Is this some sort of new Zend product? :) Can this implemented? I have only 75A and do not like become patched with plastic. ;-P If men can increase 3-4 inches... ...why not me 3-4 cups? =8http://counter.li.org/

Re: [PHP] pspell dictionary issue

2005-12-20 Thread John Nichel
Adi wrote: I am having a problem switching dictionaries from 'american', 'british' and 'canadian' English in pspell. Pspell seems to test everything against the american dictionary for some reason. I tested aspell on command line and worked fine if I supplied the dictionary I wanted to use with t

Re: [PHP] Re: [Bulk] Re: [PHP] PHP errors in Apache error logs

2005-12-20 Thread Matt
Install the "php5-session" port from your ports tree to enable sessions. It's located in "/usr/ports/www/php5-session" on a default install with the port tree. On 12/19/05, John Nichel <[EMAIL PROTECTED]> wrote: > Jose Borquez wrote: > > John Nichel wrote: > > > >> Jose Borquez wrote: > >> > >>

[PHP] apache and PHP on win2k3 server error

2005-12-20 Thread Peter Palermo
Hello, When I am trying to load PHP as a module (php4apache.dll), it gives me error at the time of starting Apache Server. Error is like - [Thu Jan 31 13:11:11 2002] [warn] Loaded DSO D:/php/sapi/php4apache.dll uses plain Apache 1.3 API, this module might crash under EAPI! (please recompi

[PHP] Filtering URLs problem..

2005-12-20 Thread Anders Norrbring
I'm writing a filter/parsing function for texts entered by users, and I've run into a problem... What I'm trying to do is to parse URLs of different sorts, ftp, http, mms, irc etc and format them as links, that part was real easy.. The hard part is when a user has already entered a complete l

Re: [PHP] Write a FIFO file

2005-12-20 Thread Robin Vickery
On 12/20/05, Ruben Rubio Rey <[EMAIL PROTECTED]> wrote: > Ok, I tried it before, it didn't work: > > [...] > > Try to execute it and execution never ends... browser is waiting for > ever ... > No errors in error php error log. > > Any ideas? I bet your script will finish as soon as you read from t

Re: [PHP] Write a FIFO file

2005-12-20 Thread Ruben Rubio Rey
Ok, I tried it before, it didn't work: For example, fifo file created as root: mkfifo fifo chmod 777 fifo Try to execute it and execution never ends... browser is waiting for ever ... No errors in error php error log. Any ideas? Jay Blanchard wrote: [snip] I have a problem. I have creat

RE: [PHP] can someone explain this query to me

2005-12-20 Thread Dan Parry
WHERE id IN (1,2,3) Is the same as saying WHERE id = 1 OR id = 2 OR id = 3 Few more details in this link http://www.w3schools.com/sql/sql_in.asp HTH Dan -Original Message- From: Ross [mailto:[EMAIL PROTECTED] Sent: 20 December 2005 12:07 To: php-general@lists.php.net Subject: [PHP] c

Re: [PHP] can someone explain this query to me

2005-12-20 Thread David Grant
Ross, Ross wrote: > $query = "delete from meetings where id IN (".implode(",", $ids).")"; > > Just the end bit, ids is an array of values (1,2,3,4,5) what does the IN > do?? It's the equivalent of WHERE id = 1 OR id = 2 OR id = 3 OR id = 4 OR id = 5. Cheers, David -- David Grant http://www.g

[PHP] can someone explain this query to me

2005-12-20 Thread Ross
$query = "delete from meetings where id IN (".implode(",", $ids).")"; Just the end bit, ids is an array of values (1,2,3,4,5) what does the IN do?? Ross -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem with fopen and sending POST vars

2005-12-20 Thread Silvio Porcellana [tradeOver]
Barry wrote: > Hello everyone! > > I have a problem sending POST vars via fopen. > It was possible for me to send some xml data but that's all. > > Anyone know how to send POST vars? > Big probleme here is also that i have to connect via SSL. > cURL can be your friend... http://php.net/curl ht

Re: [PHP] XML Parser set option

2005-12-20 Thread ondrej
Amol Hatwar wrote: Hi, The PHP Manual entry for xml_parser_set_option lists an option called: XML_OPTION_SKIP_WHITE. I really couldn't decipher what this option enables or disables. The manual entry itself is a bit terse: "Whether to skip values consisting of whitespace characters." Doodling a

[PHP] XML Parser set option

2005-12-20 Thread Amol Hatwar
Hi, The PHP Manual entry for xml_parser_set_option lists an option called: XML_OPTION_SKIP_WHITE. I really couldn't decipher what this option enables or disables. The manual entry itself is a bit terse: "Whether to skip values consisting of whitespace characters." Doodling around with it in code

Re: [PHP] Access Headers Submitted by Browser

2005-12-20 Thread Jochem Maas
Curt Zirzow wrote: On Mon, Dec 19, 2005 at 11:28:07PM -0500, Michael B Allen wrote: I want to read headers submitted by the client. Are these available through some global array somewhere? You will notice all the HTTP_* values in: var_dump($_SERVER); hi Curt, although there is lots of