php-general Digest 31 Mar 2007 20:49:32 - Issue 4708
Topics (messages 251824 through 251844):
Re: Saving css state in javascript and passing to php via form submit
251824 by: Tijnema !
251829 by: Tijnema !
251835 by: Jochem Maas
Re: FastCGI + PHP5
251825 by:
Tijnema ! wrote:
On 3/30/07, Jochem Maas [EMAIL PROTECTED] wrote:
Tim wrote:
...
personally I prefer JSON formatted data, for which there are even a
couple of
functions available in newer versions of php (otherwise you can find
code on the net
easily enough to handle JSON data
On 3/31/07, Jochem Maas [EMAIL PROTECTED] wrote:
Tijnema ! wrote:
On 3/30/07, Jochem Maas [EMAIL PROTECTED] wrote:
Tim wrote:
...
personally I prefer JSON formatted data, for which there are even a
couple of
functions available in newer versions of php (otherwise you can find
On Fri, Mar 30, 2007 at 07:00:07PM -0400, Stevie wrote:
Hi all.
anyone have any decent docs getting the config working? i guess not many
people using FastCGI w/PHP because it's seems so complicated to setup.
btw i have already installed the fastcgi libs and mod_fastcgi. what
should an
Jake McHenry wrote:
Ok, this is working good, except for one problem... I have variable
$pay_rate and $pay_rate_bap ... It finds $pay_rate first and then it never
finds $pay_rate_bap because it changes it to say.. 21_bap... Anyone know of
anything else that may work? I have been messing around
On Fri, Mar 30, 2007 at 07:00:07PM -0400, Stevie wrote:
or this:
http://www.webhostingtalk.com/archive/index.php/t-509127-p-1.html
Greetings
Mario
--
-
| havelsoft.com - Ihr Service Partner für Open Source |
| Tel: 033876-21 966
Dwayne Heronimo wrote:
Dear All,
I have made a tabbed navegation with CSS. And if you set class=active to
one of the tabs, it will then be highlighted.
So I thought to make this dymamic with PHP. Using the $_GET variable I can
get the page name above with something like. $page_name =
On 3/31/07, Tijnema ! [EMAIL PROTECTED] wrote:
On 3/31/07, Jochem Maas [EMAIL PROTECTED] wrote:
Tijnema ! wrote:
On 3/30/07, Jochem Maas [EMAIL PROTECTED] wrote:
Tim wrote:
...
personally I prefer JSON formatted data, for which there are even a
couple of
functions
Hello,
I would like to install pOWL
(http://aksw.informatik.uni-leipzig.de/Projects/Powl) with ORACLE. I obey
the installation steps. I log in:
http://www.picvalley.net/u/26/25123_331.PNG
and then then i get this error message
http://www.picvalley.net/u/26/25124_335.PNG
How can I find out
On 3/31/07, buFka [EMAIL PROTECTED] wrote:
Hello,
I would like to install pOWL
(http://aksw.informatik.uni-leipzig.de/Projects/Powl) with ORACLE. I obey
the installation steps. I log in:
http://www.picvalley.net/u/26/25123_331.PNG
and then then i get this error message
The Database exists:
[EMAIL PROTECTED]:~$ sqlplus SYSTEM/[EMAIL PROTECTED]
SQL*Plus: Release 10.2.0.1.0 - Production on Sa Mrz 31 15:44:09 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Verbunden mit:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With
On 3/31/07, buFka [EMAIL PROTECTED] wrote:
The Database exists:
[EMAIL PROTECTED]:~$ sqlplus SYSTEM/[EMAIL PROTECTED]
SQL*Plus: Release 10.2.0.1.0 - Production on Sa Mrz 31 15:44:09 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Verbunden mit:
Oracle Database 10g Enterprise
Tijnema ! wrote:
Hmm, in your image i see Database 'testdb' not found. Followed by a
link. What happens if you click on that link?
I don't know anything about Oracle/pOWL, but it looks like the script
can't connect to your Oracle database. Did you check if the database
settings are
Tijnema ! wrote:
On 3/31/07, Jochem Maas [EMAIL PROTECTED] wrote:
Tijnema ! wrote:
..
'processing' JSON formatted data is a matter of running a single eval()
line in javascript!?!
just outputting HTML directly into a div is useful in many simple
situations but it doesn't leave a whole
Yep, that's what I did last night right after I sent the email out... All is
working good now.. THANKS!
Jake
-Original Message-
From: Jim Lucas [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 31, 2007 4:15 AM
To: Jake McHenry
Cc: php-general@lists.php.net
Subject: Re: [PHP]
Myron Turner wrote:
Jake McHenry wrote:
...
I would suggest writing a function in which the parameters are passed in
as references. In the function itself have set a variables using the
heredoc syntax, which incorporates the variables, and then return the
heredoc variable. Coming
At 4:04 PM -0400 3/30/07, Jake McHenry wrote:
Tijnema John:
The above link I've already done a long time ago. But check out my
dot CAPTCHA here:
http://sperling.com/examples/p-captcha
Maybe I'm going blind.. But I don't see a circle on that page anywhere?
Everywhere I click it
At 3:48 PM -0400 3/30/07, Jason Pruim wrote:
On Mar 30, 2007, at 3:17 PM, tedd wrote:
At 12:54 PM -0400 3/30/07, [EMAIL PROTECTED] wrote:
Maybe I'm missing something.. if the intent is to have 'hidden'
fields that a user would end up submitting but a bot wouldn't..
that wouldn't work very
On 3/31/07, tedd [EMAIL PROTECTED] wrote:
At 4:04 PM -0400 3/30/07, Jake McHenry wrote:
Tijnema John:
The above link I've already done a long time ago. But check out my
dot CAPTCHA here:
http://sperling.com/examples/p-captcha
Maybe I'm going blind.. But I don't see a circle on
At 3:33 PM -0400 3/30/07, [EMAIL PROTECTED] wrote:
Ah ok.. that makes a bit more sense. Even still.. anyone who's
going out of their way to program a bot to defeat your specific
CAPTCHA mechanism will probably notice the failure in testing.
Unless you made a failure behave similar to a
Chris Boget wrote:
But this is a much better way of doing this than using eval(). eval
is an evil little function!
eval() isn't so bad if you have absolute, total and complete control
over the data you are pulling or using.
it remains bad if there is another way to do the same thing.
On 3/31/07, tedd [EMAIL PROTECTED] wrote:
At 3:33 PM -0400 3/30/07, [EMAIL PROTECTED] wrote:
Ah ok.. that makes a bit more sense. Even still.. anyone who's
going out of their way to program a bot to defeat your specific
CAPTCHA mechanism will probably notice the failure in testing.
Unless you
Hi all, i've got apache/php4 running on windows xp with good hardware
configuration etc. However, the speed of execution of php pages is really slow.
When testing on my local development machine it takes a few more seconds
executing php files than it should normally take.
How can I up
Few seconds more? Even a second is a lot, typically, you measure the speed
of a php script in microseconds. I have PHP5+Apache running on my windows XP
laptop (which is not state of the art) and it's quite fast. I believe you
have an installed software on your machine that is causing this. Try to
Few seconds more? Even a second is a lot, typically, you measure the speed
of a php script in microseconds. I have PHP5+Apache running on my windows XP
laptop (which is not state of the art) and it's quite fast. I believe you
have an installed software on your machine that is causing this. Try to
So there's no PDO experts out there, eh? :-(
On Wednesday 28 March 2007 11:14 pm, Larry Garfield wrote:
HI all. The PHP.net manual is somewhat unclear on this point, so I thought
I'd ask here. Does PDO automatically buffer queries the way that the
mysql_* extension does, in order to allow
So, after a recent thread on data filtering, I'm wondering...
Is this good enough in ALL possible Unicode/charset situations:
$foo_id = (int) $_POST['foo_id'];
$query = insert into whatever(foo_id) values($foo_id);
Or is it possible, even theoretically possible, for a sequence of:
[-]?[0-9]+
to
On Sat, March 31, 2007 3:49 pm, Don Don wrote:
Hi all, i've got apache/php4 running on windows xp with good hardware
configuration etc. However, the speed of execution of php pages is
really slow. When testing on my local development machine it takes a
few more seconds executing php files
I really dont see what all the fuss is about. If MS is going to have us all
running
on thin clients, and Google/Yahoo want to beat them to the punch, is this
really
going to matter who we pay? The article on digg.com
http://digg.com/tech_news/Google_Yahoo_Merger_Redefines_Access
simply means we
On Sat, March 31, 2007 8:53 am, Tijnema ! wrote:
On 3/31/07, buFka [EMAIL PROTECTED] wrote:
Hmm, in your image i see Database 'testdb' not found. Followed by a
link. What happens if you click on that link?
I don't know anything about Oracle/pOWL, but it looks like the script
can't connect to
On Fri, March 30, 2007 6:00 pm, Stevie wrote:
Hi all.
anyone using FastCGI + PHP + Apache 1.3. ?
I've been trying for two days and i can't seem to configure apache
with
php fastcgi.
i have php set with:
../configure --enable-fastcgi \
--enable-discard-path \
Document in your code that the order is significant -- so you don't
screw up on a year or so and re-order it more pretty.
Been there.
Done that.
On Fri, March 30, 2007 7:00 pm, Jake McHenry wrote:
Ok, this is working good, except for one problem... I have variable
$pay_rate and
MySQL? MSSQL? PgSQL?
Tijnema
It seems he wanted to insert a Chinese character with that hex value.
Yes... I tried the insert with PHP, including the use of
mysql_real_escape_string(), but MySQL still gave me a blank only.
--
.~. Might, Courage, Vision, SINCERITY.
On Fri, March 30, 2007 9:45 am, Tim wrote:
My issue is on page reload, i have a form on the same page, when a
category
is clicked, the categorie info displays and you can update the info
through
this form (table and form on same page). My issue comes when i post
the
data, the page comes
On Sat, March 31, 2007 4:11 am, Tijnema ! wrote:
I've did a few test on this PC(AMD64 3200+), it's running EasyPHP
(Apache+PHP+MySQL), and it shows me that PHP is about twice as fast
then Javascript.(Tested using IE6, FF wasn't working because script
took too long to execute, which generates
On Fri, March 30, 2007 12:13 pm, Juergen Wind wrote:
Tijnema ! wrote:
You can use session within javascript too i believe.
no, sessions are completely serverside, but you can use js to pass
variables
using the query string when sending a xmlHttpRequest.
[pedantic]
Actually, the cookie for
You've not quite caught the trick of the difference between == and =
if ($page_name = 'default')
does not TEST $page_name -- It changes it, and then returns the new
value.
So, pretty much, your $page_name will ALWAYS be 'default' after you
hit this line, no matter what it started out as.
When
On Fri, March 30, 2007 8:18 am, Zoltán Németh wrote:
actually I don't know what the problem is, but I would do it in a much
shorter way:
$pagename = $_GET['catcode'];
if(file_exists($pagename)) {
include $pagename;
} else {
include 404.php;
}
You really ought to be filtering the $_GET
On Thu, March 29, 2007 7:33 pm, John Comerford wrote:
I was reading the current tread on CAPTCHA and possible cracks and I
thought maybe I'd throw this out to the group to see what you think.
Recently I saw a forum where in order to post you first had to click
on
a div that was placed at a
On Fri, March 30, 2007 11:54 am, [EMAIL PROTECTED] wrote:
Maybe I'm missing something.. if the intent is to have 'hidden'
fields that a user would end up submitting but a bot wouldn't.. that
wouldn't work very well. A bot could easily see the hidden fields and
submit them along with whatever
exec takes a couple optional args to get your error code and output.
Use them.
Then use perror on the command line to see what error code means.
Or I guess you could install my perror extension, if you were bored:
http://l-i-e.com/perror
All that said, I'm not at all sure why you are trying to
41 matches
Mail list logo