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
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
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
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
$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
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
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]
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
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
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
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
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
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
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
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
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
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
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?
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/)
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
..
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
.
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
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
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
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...
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;
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.
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
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
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.
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
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 :
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
I am not on a RPM based system(running slackware)... I have aspell 0.60.4
Adam.
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
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
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:
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
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.
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] =
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
[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] =
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:
[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,
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.
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.
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
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
[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
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
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:
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
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
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
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
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.
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
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
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
59 matches
Mail list logo