|
| JavaScript doesn't implement any kind of one-way hashing. But that's for a
| good reason: suppose JavaScript encoded your password and sent it encoded to
| the server. The in-between hacker would retrieve the encoded password as it
| is sent to the server and simply pass that as the
use EXPLAIN to get more information about how postgres executes this query.
I'm not sure about this, but there are some issues with fields of type int8.
It may help to cast explicitly the fields involved in join like:
WHERE bible.book::int4 = books.id::int4
Ask it the postgres
array_walk($ar, array($object, 'methodname'));
- Original Message -
From: Jeff Levy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 13, 2001 1:17 PM
Subject: [PHP] array_walk() + class methods
| I'd like to call a class method with array_walk(). Is this
there is an example in the apache docs or httpd.conf samples
how to pass to error script the original request uri, ins't there any?
- Original Message -
From: Ashley M. Kirchner [EMAIL PROTECTED]
To: Daniel Urstger [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Saturday,
What do you get as result from a 'Show source...' in your browser?
AFAIK, NS4.76 does not display unrecognized HTML element, and it
treats your script's output as HTML source.
try:
?php print (htmlspecialchars(wddx_serialize_value($one_var))); ?
- Original Message -
From: con
maybe this is what you need.
- Original Message -
From: Chris Allen [EMAIL PROTECTED]
To: Dan McCullough [EMAIL PROTECTED]; PHP General List
[EMAIL PROTECTED]
Sent: Monday, November 26, 2001 11:21 PM
Subject: Re: [PHP] Need a script that will read Apache Log files and generate
| That means that you should create a .htaccess file containing that:
|
| php_value allow_call_time_pass_reference 1
|
| That should work :)
But as the errormessage mentioned it may not supported in future version.
I think if you declare your function arguments to be passed by variables
PHP automatically calls the appropiate function instead if you.
But consider that the save handler is not called on individual
session_register functions, only when all output is gone, and
the whole session - each registered variable - must be saved.
manual
Note: The write handler is
Hello,
The manual says that parse_str does it. (btw, I didn't try it)
Look on the second sentence pasted here.
manual
void parse_str (string str, array [arr])
Parses str as if it were the query string passed via an URL and sets variables in the
current scope. If the second parameter
try, assert() instead of echo()ing error messages.
assert('is_object($obj)');
and write your error handler code or use mine :)
or am i missing something?
Papp Gyozo
- [EMAIL PROTECTED]
- Original Message -
From: SafeV [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent
I just want to know how to make a form inside a form get to respond or
dont make any browser errors?
This is prohibited by either SGML DTDs if HTML
4.01(http://www.w3.org/TR/html4/interact/forms.html#h-17.3):
!ELEMENT FORM - - (%block;|SCRIPT)+ -(FORM) -- interactive form --
and
read Sablotron's documentation, but some help
will be appriciated, especially for xslt_transform().
Papp Gyozo
- [EMAIL PROTECTED]
OK, I found some hints in the annotated manual.
BTW, I'm looking for hearing any comments on this ...
- Original Message -
From: Papp Gyozo [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, November 17, 2001 11:19 AM
Subject: [PHP] xslt function documentation
Hi
have you tried /e modifier?
preg_replace(/yabb\s+$tags[1]/e,'${$1}', $curline);
it's just a tip.
- Original Message -
From: Jeff Lewis [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, November 17, 2001 2:25 PM
Subject: Re: [PHP] Question on variable variables
Oops...
have you tried /e modifier?
preg_replace(/yabb\s+$tags[1]/e,'${$1}', $curline);
preg_replace(/yabb\s+(\w+)/e,'${$1}', $curline);
it's just a tip.
- Original Message -
From: Jeff Lewis [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, November
Hi,
I used
header(content-type:text/html;charset='windows-1256');
and header(content-language:'fa');
I suggest to try Content-Type Content-Language
with initial capitals rather than all lowercase and
simply fa, without qoutes.
header(Content-Type: text/html;
I know how to make an error message when the connection is lost with the
database, with the @ and the OR DIE in the connection with the database.
Is there also a way to display a custom error message when this error is
displaid?
i wrote a more or less simple class to wrap PHP's
?php
$quoted = preg_quote($searchstring, '!');
preg_match_all('!(\w+)(?[^]*).*'.$quoted.'(?[^]*)/$1!Ui', $source, $matches);
?
good point to start:
http://www.php.net/manual/en/ref.pcre.php
- Original Message -
From: Martin Thoma [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
if (!defined('_SYS_TYPES.H')) {
include('sys/types.h');
}
- Original Message -
From: Briet Vincent [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, November 15, 2001 10:31 AM
Subject: [PHP] multiple include
Hi all,
I would like to do something
Nonetheless sometimes it is more efficient to use a template engine.
(IMHO)
Papp Gyozo
- [EMAIL PROTECTED]
- Original Message -
From: Jason G. [EMAIL PROTECTED]
To: Brad Melendy [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, November 14, 2001 1:33 PM
Subject: Re: [PHP
PHP 4.0.5, as far as I know.
- Original Message -
From: "Brian Clark" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, November 11, 2001 6:15 AM
Subject: [PHP] e modifier
Does anyone know when the PCRE modifier 'e' was added into PHP? Is it
version dependant, or has
EditPlus (http://www.editplus.com) on windows
HTML-Kit (http://www.chami.com/html-kit/)
- Original Message -
From: Eugene Mah [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, November 01, 2001 3:32 PM
Subject: Re: [PHP] Text Editor with Highlighting
At 10:02 PM 11/01/2001
and what about array_slice(), array_splice(), array_pop() or
array_unshift()?
Please read the corresponding pages of the manual!
- Original Message -
From: Christian Reiniger [EMAIL PROTECTED]
To: Jason Caldwell [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, October 25, 2001 11:03
check: http://www.php.net/manual/en/function.ini-set.php
- Original Message -
From: Valentin V. Petruchek [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Sent: Thursday, October 18, 2001 4:00 PM
Subject: [PHP] Help, please!
Hello, Professionals!
I've such problem: i need
First some basic questions:
(1) Can you create an unitialised array ?
do you mean:
$array = array(); // creates an empty array;
(2) Can an unitinialised array be a class member variable ?
for( $i = 0 ; $i 5; $i++)
$array[] = new User();
I think it should work.
I have a class
session_register() registers the _global_ variable named by it with the
current session.
So if these globals are not set, you 're out of luck, I think.
- Original Message -
From: Bradley Goldsmith [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 02, 2001 3:13 AM
Subject:
Hi,
I suggest to you:
var_dump($sybase_query);
It may help you to make wellformed query-string.
- Original Message -
From: Caleb Carvalho [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 01, 2001 11:04 AM
Subject: [PHP] Warning: Sybase message: Incorrect syntax near
LC_* are predefined constants, so:
setlocale(LC_ALL, LT);
- Original Message -
From: Veniamin Goldin [EMAIL PROTECTED]
To: php [EMAIL PROTECTED]
Sent: Thursday, August 30, 2001 11:37 AM
Subject: [PHP] Locale Month Name
Hello !
Please help me,
How to get Month name according to
I also can hardly believe the 84+ sec. In such case all PHP template
engines may run for a thousand years.
- Original Message -
From: nick [EMAIL PROTECTED]
To: 'nick' [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, September 02, 2001 2:56 PM
Subject: RE: [PHP] php's future
Haha
Hello,
check it in the manual: http://www.php.net/manual/en/function.ereg.php
If you don't pass the third -- optional -- argument, then it's true.
Otherwise not.
I don't know this book, but you may keep in my mind that PHP is evolving,
so the online manual can be its most up-to-date
I think it's very simple to do it.
?php
//...
$result = mysql_query('SELECT * FROM my_table ORDER BY Type, Place Name');
for($i = 0, $prev_type = FALSE; $i mysql_numrows($result); $i++)
{
$row = mysql_fetch_array($result);
if ($prev_type !== $row['Type'])
{
// close the
$GLOBALS[substr($string, 0, 1)]
or :
$tmp = substr($string, 0, 1);
${$tmp} = 'add whatever value you want';
- Original Message -
From: Stig-Ørjan Smelror [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, August 31, 2001 9:35 AM
Subject: [PHP] help with strings...
Hei all.
I've
,
Papp Gyozo
- [EMAIL PROTECTED]
- Original Message -
From: Jon Thompson Coon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, September 01, 2001 4:14 AM
Subject: [PHP] passing variables between scripts?
I can't cope the fact that I loose my variables every time I reload the
page
http://www.phpbuilder.com/columns/chriskings20001128.php3
- Original Message -
From: Jason Radley [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, August 31, 2001 5:11 PM
Subject: [PHP] Cookies
Does anyone know how to share cookies between servers.
What I want to do is set a
yes, in_array($person, $people)!
however, you may take a look into the manual.
- Original Message -
From: Joseph Bannon [EMAIL PROTECTED]
To: PHP (E-mail) [EMAIL PROTECTED]
Sent: Friday, August 31, 2001 5:40 PM
Subject: [PHP] array search
I have an array of names, like below...
Well,
T1 INNER JOIN T2
For each row R1 of T1, the joined table has a row for each row in T2 that
satisfies the join condition with R1.
T1 LEFT OUTER JOIN T2
First, an INNER JOIN is performed. Then, for each row in T1 that does not
satisfy the join condition with any row in T2, a joined row is
yes, you just declare the default value of the arguments such as :
my_function ($first = 'no-value', $second = 0, $third = null )
Note that the default value must be a constant expression and any defaults
should be on the right side of any non-default arguments
or you can achieve the very
Hi,
There is a few scripts on Zend pages.
I'm sure, this one of them will be very helpful:
http://www.zend.com/zend/tut/authentication.php
- Original Message -
From: Rene Fournier [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 28, 2001 9:24 PM
Subject: [PHP] htaccess and
Hello,
you should check the latest version of the manual:
http://www.php.net/manual/en/language.types.integer.php
more precisely and specifically the integer overflow section.
I think, you should use the arbitrary precision integer extension.
http://www.php.net/manual/en/ref.gmp.php
hth
Hi,
try to change the line in that loop to this one:
$sql .= $key.' = '.$$key.', ';
- Original Message -
From: P.Agenbag [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 28, 2001 7:54 PM
Subject: [PHP] Putting variables in a string
I am trying to make a string that will
40 matches
Mail list logo