Richard Luckhurst wrote:
Hi Jochem,
Thanks for your reply. Here is a short sample of the XML I have to parse. I
need
the data in the attributes as well as the data in the character fields.
?xml version=1.0 encoding=UTF-8?
?ypsilon RNGSchema=fareResponse.rnc type=compact?
I'm fairly
# [EMAIL PROTECTED] / 2007-01-10 09:38:30 +0100:
Richard Luckhurst wrote:
Hi Jochem,
Thanks for your reply. Here is a short sample of the XML I have to parse. I
need
the data in the attributes as well as the data in the character fields.
?xml version=1.0 encoding=UTF-8?
# [EMAIL PROTECTED] / 2007-01-10 09:52:34 +:
That ypsilon is a *preprocessing instruction* AFAICT.
s/pre//
--
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man. You don't KNOW.
Cause you weren't THERE. http://bash.org/?255991
--
PHP General
Hi,
I'm having problems with this code (a simple exercise where i wanto to
connect to sql server and get data from it and write that data in html)
:
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
html
There is a closing parenthesis missing, see below:
- Original Message -
From: Delta Storm [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Wednesday, January 10, 2007 11:45 AM
Subject: [PHP] Problems with mysql_connect()
Hi,
I'm having problems with this code (a simple exercise
Delta Storm wrote:
Hi,
I'm having problems with this code (a simple exercise where i wanto to
connect to sql server and get data from it and write that data in html)
//Prolazi kroz skup zapisa
//ispisuje svako polje
while ($row = mysql_fetch_row($result)
You're missing a closing parenthesis at the end of:
while ($row = mysql_fetch_row($result)
This should be
while ($row = mysql_fetch_row($result))
-Original Message-
From: Delta Storm [mailto:[EMAIL PROTECTED]
Sent: 10 January 2007 10:45
To: php-general@lists.php.net
Subject: [PHP]
When using imap_open to access my email server, I keep getting a invalid
certificate error.
The cert on the email server is issued from Geotrust and is quite common
(Rapidssl).
The error comes from it not being listed in the root certificates list
(bundle).
My question is, is this a problem
://149.222.235.16/public/index.php (20070110) :
8
noscript
meta http-equiv='refresh' content='0;url=jstest110.php?js=no'
?php /*** or put here your complete page for browsers with js disabled
***/ ?
/noscript
--
View this message in context:
http://www.nabble.com/Javascript-detection
Hi,
I did not get a reply to my question on this list, so I raised a bug. The
bug was confirmed and fixed within 24 hours. Thank you the PHP team!
FYI the bug number is 40083
http://bugs.php.net/40083
You can now start filtering spam using your favorite programming language!
Thanks
Alex,
Atpic wrote:
Hi,
I did not get a reply to my question on this list,
most likely because nobody here had much of a clue as to how to help,
I for one got my brain in a twist trying to figure what you were going on about,
I didn't succeed :-)
so I raised a bug. The
bug was confirmed and
At 4:54 AM -0800 1/10/07, Jürgen Wind wrote:
8 [source of index]
noscript
meta http-equiv='refresh' content='0;url=jstest110.php?js=no'
?php /*** or put here your complete page for browsers with js disabled
***/ ?
/noscript
Nice -- now instead of two different pages (i.e.,
Hi.
Does anyone know if the mssql_connect/_init/_bind/etc require a lot
of overhead?
I have a page that requires multiple function calls and each of those
opens a new connection to the database, performs the necessary
actions in stored procedure(s), and then closes the connection.
Hi Jochem,
Well, the best known spam filtering solution is PERL based
(mimedefang/spamassassin).
In theory, you could do this using the PHP milter SAPI: the SAPI provides
you with a way to catch the STMP commands sent by mail server to you mail
server and tell your mail server want to tell to
Philip Thompson wrote:
Hi.
Does anyone know if the mssql_connect/_init/_bind/etc require a lot of
overhead?
I have a page that requires multiple function calls and each of those
opens a new connection to the database, performs the necessary actions
in stored procedure(s), and then closes
Atpic wrote:
Hi Jochem,
Well, the best known spam filtering solution is PERL based
(mimedefang/spamassassin).
spamassassin at least I (a little) familiar with (I usually leave the
intricacies
to someone with much more knowledge about this kind of stuff - what are sys
admins for? :-)
In
Hi Jochem,
1) yes, the milter could do some action based on the subject of the mail,
the sender's address, the recipient's address, etc...
Note that it is sometimes difficult to compile several SAPIs at the same
time. I could get the Apache module and CLI (command line interface) SAPI
in one
On Jan 10, 2007, at 10:09 AM, Jochem Maas wrote:
Philip Thompson wrote:
Hi.
Does anyone know if the mssql_connect/_init/_bind/etc require a
lot of
overhead?
I have a page that requires multiple function calls and each of those
opens a new connection to the database, performs the necessary
I can't get Apache to restart after I've configured for PHP. I've upgraded my
installation to
5.2.
Now, Apache 2.2.3 runs fine without any PHP additions.
1) I added my PHP directory, C:/PHP5, to my PATH
2) I copied php.ini-recommended to my C:/windows directory and renamed
it php.ini
3) I made
On 1/10/07, Philip Thompson [EMAIL PROTECTED] wrote:
On Jan 10, 2007, at 10:09 AM, Jochem Maas wrote:
Philip Thompson wrote:
Hi.
Does anyone know if the mssql_connect/_init/_bind/etc require a
lot of
overhead?
I have a page that requires multiple function calls and each of those
opens
I thought the same thing as Jochem... that resources like database connections,
couldn't be stored in $_SESSION. You say that's how you have (had?) it set up
and it was working, but still sounds wrong to me.
As for connections.. definitely don't open a new connection every time you run
a
Philip Thompson wrote:
On Jan 10, 2007, at 10:09 AM, Jochem Maas wrote:
Philip Thompson wrote:
Hi.
Does anyone know if the mssql_connect/_init/_bind/etc require a lot of
overhead?
I have a page that requires multiple function calls and each of those
opens a new connection to the database,
Philip Thompson wrote:
On Jan 10, 2007, at 10:09 AM, Jochem Maas wrote:
Philip Thompson wrote:
Hi.
Does anyone know if the mssql_connect/_init/_bind/etc require a lot of
overhead?
I have a page that requires multiple function calls and each of those
opens a new connection to the
I just wanted to make sure that there is no speed decrease if I
change from $_SESSION to $GLOBALS to hold my connection (even with
lots of people). I guess that's my question?
Thanks,
~Philip
On Jan 10, 2007, at 11:01 AM, [EMAIL PROTECTED] wrote:
I thought the same thing as Jochem... that
Ok, just kidding. Thank you Jim and Jochem. You answered my question
in your previous posts!
Thanks to all!
~Phil
On Jan 10, 2007, at 11:27 AM, Philip Thompson wrote:
I just wanted to make sure that there is no speed decrease if I
change from $_SESSION to $GLOBALS to hold my connection
hi phillip...
just to clarify regarding having the mysql resource ID in a session var. are
you saying that you're able to more or less, do a mysql_connect and store
the resourceID in a session var, which can then be used on any given page
within your site, without having to recall the
I am trying to install 5.2 via the installer but the when I try and open a
page IIS asks for a password and the page is not found.
Any ideas?
R.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
# [EMAIL PROTECTED] / 2007-01-10 10:49:35 -0600:
On Jan 10, 2007, at 10:09 AM, Jochem Maas wrote:
Philip Thompson wrote:
Does anyone know if the mssql_connect/_init/_bind/etc require a
lot of overhead?
You can quite easily find out what effect those function have on the
performance profile
# [EMAIL PROTECTED] / 2007-01-10 20:26:44 -:
I am trying to install 5.2 via the installer but the when I try and open a
page IIS asks for a password and the page is not found.
Any ideas?
Umm, configure the webserver manually?
--
How many Vietnam vets does it take to screw in a light
What is the usual save way to store/use DB access info in a script. I
currently just use some PHP variables in a file which I include in all
other scripts.
config.php
?PHP
if (!defined (config_include)) die (Error...);
$dbhost = localhost;
$dbuser = name;
$dbpass = password;
$dbname
Bruce A. Julseth escreveu:
I can't get Apache to restart after I've configured for PHP. I've upgraded my
installation to
5.2.
...
...
My mailbox is spam-free with ChoiceMail, the leader in
I think what your doing now is reasonably safe,
but it assumes that apache will actually pass all .php files
to php for processing. if the php module doesn't load for
some reason then the contents of the file will be output
in it's entirety - this is why it's much better to store
this file outside
index.php, jstest110.php) , make it one.
no, it was just a proof of concept
It would be cool if I could send js value via a
POST instead of GET-- can that be done?
should be possible with some onload/xhtmlrequest
tedd
PS: I read somewhere that using noscript is not recommended.
hmm, any links
- Original Message -
From: Otto Wyss [EMAIL PROTECTED]
What is the usual save way to store/use DB access info in a script. I
currently just use some PHP variables in a file which I include in all
other scripts.
config.php
?PHP
if (!defined (config_include)) die (Error...);
Hi.
I have been experiencing MSSQL woes lately. I have a stored procedure
that I call in PHP using mssql_* functions. In my procedure, I have a
transaction that rolls back on failure and commits on success (of
course). If it commits, I get the proper return value (int) and the
Satyam wrote:
- Original Message - From: Otto Wyss [EMAIL PROTECTED]
What is the usual save way to store/use DB access info in a script. I
currently just use some PHP variables in a file which I include in all
other scripts.
config.php
?PHP
if (!defined (config_include)) die
Hi,
I am trying to compile php 5.0.6 with mssql support with no luck.
I have freetds, freetds-devel but no luck so far.
I've tried the simplest form and some variations variations
./configure --with-mssql
./configure --with-mssql=/usr
./configure --with-mssql=shared,/usr
./configure
Hi Jochem,
Thanks for your reply
?xml version=1.0 encoding=UTF-8?
?ypsilon RNGSchema=fareResponse.rnc type=compact?
JM I'm fairly certain that this 'ypsilon' tag is going to cause a
JM problem - although that's just a guess, it's based on the 'knowledge'
JM that a valid XML document *must*
Hi,
--with-mssql=/usr or --with-mssql=shared,/user should work with your
configuration. It's looking for /usr/include/tds.h or
/usr/include/freetds/tds.h. If the file was not found in any of those
locations you will get the error you are describing here.
- Frank
Hi,
I am trying to compile
I'm using a session to save cart contents within a store, and this
session follows the user as they proceed through the checkout. My
problem is, if a customer orders say 10 items, they have the option to
input 10 different addresses that these items will be delivered to. I've
noticed that some
Ross wrote:
Everything seems to be working but when I try and run a php file. It offer
the download dialogue box.
I remeber doing something where you tick a box to enable scripts and execute
them or something in the manager. Can anyone help?
AFAIK apache doesn't have a manager that has a
Philip Thompson wrote:
Hi.
I have been experiencing MSSQL woes lately. I have a stored procedure
that I call in PHP using mssql_* functions. In my procedure, I have a
transaction that rolls back on failure and commits on success (of
course). If it commits, I get the proper return value (int)
Ryan Fielding wrote:
I'm using a session to save cart contents within a store, and this
session follows the user as they proceed through the checkout. My
problem is, if a customer orders say 10 items, they have the option to
input 10 different addresses that these items will be delivered to.
Richard Luckhurst wrote:
Hi Jochem,
Thanks for your reply
?xml version=1.0 encoding=UTF-8?
?ypsilon RNGSchema=fareResponse.rnc type=compact?
JM I'm fairly certain that this 'ypsilon' tag is going to cause a
JM problem - although that's just a guess, it's based on the 'knowledge'
JM
Hi,
I want to create a function that does some stuff, and then includes
another file in the place from where it was called. The idea is to run
the included file not in the function, but in the place of the caller in
the caller's environment (not in the function environment).
For example:
Chris wrote:
Ryan Fielding wrote:
I'm using a session to save cart contents within a store, and this
session follows the user as they proceed through the checkout. My
problem is, if a customer orders say 10 items, they have the option
to input 10 different addresses that these items will be
Ryan Fielding wrote:
Chris wrote:
Ryan Fielding wrote:
I'm using a session to save cart contents within a store, and this
session follows the user as they proceed through the checkout. My
problem is, if a customer orders say 10 items, they have the option
to input 10 different addresses that
Ryan Fielding wrote:
Chris wrote:
Ryan Fielding wrote:
I'm using a session to save cart contents within a store, and this
session follows the user as they proceed through the checkout. My
problem is, if a customer orders say 10 items, they have the option
to input 10 different addresses that
Ryan Fielding wrote:
Ryan Fielding wrote:
Chris wrote:
Ryan Fielding wrote:
I'm using a session to save cart contents within a store, and this
session follows the user as they proceed through the checkout. My
problem is, if a customer orders say 10 items, they have the option
to input 10
Ryan Fielding wrote:
Ryan Fielding wrote:
Chris wrote:
Ryan Fielding wrote:
I'm using a session to save cart contents within a store, and this
session follows the user as they proceed through the checkout. My
problem is, if a customer orders say 10 items, they have the option
to input 10
Eli wrote:
Hi,
I want to create a function that does some stuff, and then includes
another file in the place from where it was called. The idea is to run
the included file not in the function, but in the place of the caller in
the caller's environment (not in the function environment).
For
Chris wrote:
Ryan Fielding wrote:
Ryan Fielding wrote:
Chris wrote:
Ryan Fielding wrote:
I'm using a session to save cart contents within a store, and this
session follows the user as they proceed through the checkout. My
problem is, if a customer orders say 10 items, they have the
option
short of playing around with the global keyword
(which won't work when you call includeIt() from
another function)) your pretty much stuck.
basically imho you need to rethink what it is your trying to do.
function have their own scope for a reason; maybe consider using
an array argument like so:
You should give the anonymous access to the directory, you can configure it
in the IIS management.
Regards,
Dick
-Original Message-
From: Ross [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 11, 2007 4:27 AM
To: php-general@lists.php.net
Subject: [PHP] 5.2 installer not working and iis
bruce wrote:
hi phillip...
just to clarify regarding having the mysql resource ID in a session var. are
you saying that you're able to more or less, do a mysql_connect and store
the resourceID in a session var, which can then be used on any given page
within your site, without having to recall
Jochem Maas wrote:
short of playing around with the global keyword
(which won't work when you call includeIt() from
another function)) your pretty much stuck.
basically imho you need to rethink what it is your trying to do.
function have their own scope for a reason; maybe consider using
an
MIKE YRABEDRA wrote:
When using imap_open to access my email server, I keep getting a invalid
certificate error.
The cert on the email server is issued from Geotrust and is quite common
(Rapidssl).
The error comes from it not being listed in the root certificates list
(bundle).
My question
hey chris..
you're confirming what i had seen/experienced.. just wanted to better
understand what phillip was saying.
thanks
-bruce
-Original Message-
From: Chris [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 10, 2007 5:37 PM
To: [EMAIL PROTECTED]
Cc: 'php General List'
Subject:
58 matches
Mail list logo