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

[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] 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

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

[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] 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

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]

Re: [PHP] Write a FIFO file

2005-12-20 Thread Ruben Rubio Rey
Ok, I tried it before, it didn't work: For example, ?php $filename = fifo ; $dataFile = fopen( $filename, a ) ; if ( $dataFile ) { fwrite($dataFile,TEST IN FIFO FILE\n); fclose($dataFile); } else { die( fopen failed for $filename ) ; } ? fifo file created as root: mkfifo fifo

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 the other

[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

[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

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: snip The Makefile

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

[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? =8O Greetings Michelle -- Linux-User

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? =8O You

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 become

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

[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 META (???) Tag to get Motilla right to UNICODE?

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 META (???) Tag to get Motilla right to UNICODE? Try: meta http-equiv=Content-Type content=text/html; charset=UTF-8 Cheers, David -- David Grant http://www.grant.org.uk/ -- PHP General Mailing List (http://www.php.net/)

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 META (???) Tag to get

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. print_r($_POST) shows

[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 the $value

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

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 using

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...

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: snip The Makefile configuration did have --disable-all included. Here is the link to my phpinfo page;

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] 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 the

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

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 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

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] 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 reading, it wont

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.

[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] 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: php-general@lists.php.net Sent: Tuesday, December 20, 2005 8:10 PM Subject: [PHP] Hi! Hi! Using a Win 2000

[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:

[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 -- PHP General

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.

[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] =

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: myName Joe Dempsey/myName or (even worse, with CR) myName Joe Dempsey /myName Amol Hatwar wrote: Hi, The PHP Manual entry for xml_parser_set_option lists an option called: XML_OPTION_SKIP_WHITE. I really

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] 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: ?php (36.0*58.0)/144 ? and returning it with: eval('?' . $a . '?php '); Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

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: ?php (36.0*58.0)/144 ? and returning it with: eval('?' . $a . '?php '); [/snip] Let's do an experiment. Place these two lines of code in a page,

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; ?php $foo = (36.0*58.0)/144; echo $foo; ? works fine for me. If you change ?php (36.0*58.0)/144 ? to ?php echo (36.0*58.0)/144; ? Yep, that does work. Thanks Jay.

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.

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] 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] 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

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, it is

[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:

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

[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. Im 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

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 C

[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] 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.

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

[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 ? $id=$_POST['id']; $cat=$_POST['cat']; $db=flash_software; $link = mysql_connect('localhost'); if (! $link) die(Couldn't

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