test
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
On Mon, May 21, 2001 at 04:01:14PM -0400, colin olkowski wrote :
http://www.blahbalh.com/directory/?arg1=arg1arg2=arg2
Perfectly ok.
- Markus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
On Mon, May 21, 2001 at 05:58:06PM -0400, Bob wrote :
I have a class defined with a var $reasons that I will use as an array. The
code to add to it is:
function AddReason($score, $reason, $id)
{
static $index = 0;
$this-reasons[$index] = $score|$reason|$id;
for ($i = 0; $i
Hi,
install http://stunnel.org/ in localhost: and redirect it to
remote_host:443 with stunnel ;)
now you can talk simple http to localhost: and let stunnel do the
dirty work.
Hope this helps,
Nuno Silva
phpman wrote:
I've been working with curl as well. It allows a pretty easy
On Mon, May 21, 2001 at 03:19:28PM -0700, Alex Black wrote :
hi all,
I'm trying to do an array sort that takes:
$test = array(
array( // this is $test[0].
string = this is the second,
num = 2
),
array( // this is $test[1].
http://www.blahbalh.com/directory/?arg1=arg1arg2=arg2
In this case the directory would have an index.php file that would react
based on the query string, but as you can see I'm not including the
index.php in the link.
Is this o.k. or will some browsers get confused?
I've never seen a
Could it be that you need your for loop to iterate = instead of ? As it
is, I don't think it will ever show anything. After all, you are setting
$index to 0 at the beginning of the function every time you call it.
My guess is you actually want to keep track of $index as an instance
variable
Jeff Oien wrote:
Jeff wrote:
I am trying to find the maximum security for storing credit card
numbers.
From reading the archives someone mentioned using a PGP based encryption
to encrypt the credit card number and store it into the database, and
have the company that is processing the
Hi all,
Can anyone please tell me how to recompile Apache/1.3.19 (Unix)
(Red-Hat/Linux) mod_ssl/2.8.1 OpenSSL/0.9.6 PHP/4.0.4pl1
mod_perl/1.24_01 on Red Hat Linux 7.1 to work with MySQL?
All were installed using Red Hat RPMs. (Is this where I screwed up from
the start?)
Anyway, MySQL ( ver
All were installed using Red Hat RPMs. (Is this where I
screwed up from the start?)
Not neccessarily.
You might be able to find a PHP RPM with MySQL enabled, or download
the source RPM (SRPM), edit the specfile and turn on the options you
need (you can then rebuild the RPM so you can
Check your extension_dir in php.ini.
Default is
extension_dir=./
With this setting, PHP searches *.so files in appropriate directory for the
PHP version running.
Ben Curtis wrote:
I'm having problems loading an extension I just compiled into PHP 4.0.5 on linux.
On startup I get
hey guys,
i'm working on an exit page popup but i dont want the popup to load
whenever i change pages in the site, only when the user exits the site
totally. now i dont think there is some sort of javascript for thsi but i
have figured out a way around. for every link do this:
a href=blah
On 22 May 2001 00:19:41 +0200, you wrote:
Floyd Baker [EMAIL PROTECTED] wrote:
Henrik
You are looking in the wrong area.. I'm working with php3.
There's an extra '}' in the first example for a word wrap function,
under string functions in the manual..
Here is what I
Using php 4.0.4pl1 with ssl and ldap support I'm connecting to a secure ldap
server. I want to be able to specify which level of ssl support I use,
either ssl1, ssl2, or ssl3. By default it appears as if php is trying to
connect using ssl3 which on my server fails during the ssl handshake.
How
Use 'uasort()':
function my_hash_sort( $a, $b) {
$a = $a['num'];
$b = $b['num'];
if( $a == $b) return 0;
return ( $a $b) ? -1 : 1;
}
uasort( $test, 'my_hash_sort');
hoping this wouldn't be the answer, thanks :)
another for you:
I've now coded my function, and the ordering works
Just in MAIL$B!Z>?=P4jCf![(B
$B(6(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(B 2001/05/22$B!J2P!K(B $B(,(6(B
$B!z!z(BJUST IN MAIL$B9-9p%Z!<%8!z!z(B
$B!!!ZFCA*>pJs![(B
On Mon, May 21, 2001 at 07:48:27PM -0400, Scott Russell wrote:
Using php 4.0.4pl1 with ssl and ldap support I'm connecting to a secure ldap
server. I want to be able to specify which level of ssl support I use,
either ssl1, ssl2, or ssl3. By default it appears as if php is trying to
connect
Dear [EMAIL PROTECTED],
We are responding to your classified advertisement online
and thought you would be interested in learning how to Increase
your current sales at least 30 times what they are now...GUARANTEED!
WOULD YOU LIKE TO HAVE 5 MILLION DELIVERABLE OPT-IN
EMAIL ADDRESSES...JUST
Hello gurus,
does anyone know a way to make PHP and RUBY running together (parsing both
the same file) ?
This is what I tried to do:
httpd.conf:
AddType application/x-httpd-php-source .phps
AddType application/x-httpd-php .html
#Action application/x-httpd-php
Doh!
I read the part about what . does and it didn't even register that it
won't match newlines.
Well now that part works ;)
And now one more bit. For instance to kill an onclick event I use:
$file = preg_replace(#(.*)onclick=\.*\(.*)#isU, \\1\\2, $file);
Which works, kinda. Problem is,
Hi folks,
I see this question asked here all the time, and recently had to implement
it.
Every class and solution I downloaded and tried to use failed for one reason
or
another, so I threw together this, instead.
Advatages:
* Quick :)
* It's a function, so you can call it from most places if
I see this question asked here all the time, and recently had
to implement
it.
Ugh, apologies for the crappy formatting.
*slap.outlook*
Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
*makes a note to develop a fully functional, system independent Slap class*
Slap.setStrength(getMaxStrength());
Slap.setTarget(getLocation(Microsoft Outlook));
Slap.slap;
*bows*
Plutarck
Jason Murray [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I see this
On Tuesday 22 May 2001 05:06, Plutarck wrote:
And now one more bit. For instance to kill an onclick event I use:
$file = preg_replace(#(.*)onclick=\.*\(.*)#isU, \\1\\2,
$file);
Which works, kinda. Problem is, consider this:
onclick='somecode()'
It's not caught, because it only catches
Jason,
I hope you don't mind, but I posted your script in my Code Depository
located here:
http://www.newbienetwork.net/phpcodems.php?as=viewcodeid=24
You are given credit, and hopefully it can get some use out of it.
Either way, thanks for showing us. =)
Jason Lotito
www.NewbieNetwork.net
Well, sort of by definition you can't do this. You can't have multiple
mime types mapping to the same extension. And even if you could, Apache
can only have one content-generating phase. Anything that generates
content will send it back to the client. With Apache2 it will be possible
to layer
Thanks Rasmus,
hope a stable Apache 2.0 comes out soon.
I have done some tests few minutes ago and discovered that eRuby is much
slower then PHP.
While might still have some advantages.
This is how I tested it:
ruby.php // with PHP
==
htmlheadtitlePHP example/title/headbody
Is it possible to erase at the same time the session data of php4 closes a browser?
Please teach a method,
when a browser is closed and session data can be canceled.
- now Environment
OS RedHatLinux6.2
php 4.0.5
At php.ini, it is session.cookie_lifetime = 0.; session.cache_limiter = nocache ;
Hi,
Just wondering if anybody has experience in or can jot down any
gotchas / issues in providing a php/mysql vistral hosting service.
Problems with security? Are their things i have to watch out for?
Thanks
Simon Buchanan
--
Technical Director
Contact: 07
see substr() in string functions (LXXIV)
- Original Message -
From: Jason [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: 2001. május 21. 06:35
Subject: [PHP] Trimming 2 Characters from the end of a string?
Hi,
What would be the syntax to trim 2 characters off of a given string?
select max(scorevalue) from score;
- Original Message -
From: Jacky [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: 2001. május 21. 22:38
Subject: [PHP] select the max value
Hi all
Is this the corerct way of selecting the max value in a table?
select * from score where MAX(scorevalue)
Hello Tiago,
this is not the PHP support forum. PHP-DEV is for developing PHP.
You want to post such questions to PHP-GENERAL.
On Mon, May 21, 2001 at 04:17:49PM +0100, Tiago Moitinho wrote :
How do I inherit a class that inherits the constructor behaviour from the
parent class, assuming the
if (preg_match_all(|testing(.*?);blah|s, $str, $matches))
{
// do what you want with $matches: see in the manual!
var_dump($matches);
}
- Original Message -
From: George E. Papadakis [EMAIL PROTECTED]
To: PHP List [EMAIL PROTECTED]
Sent: 2001. május 20. 19:18
Subject: [PHP] RegEx
Hello,
you should execute your select statement as an dynamic query, because plpgsql assumes
that there is valid / parseable query (and not a string containing a query) after the
IN.
( the skeleton for iterating on the result of dynamic queries)
FOR record | row IN EXECUTE text_expression LOOP
101 - 134 of 134 matches
Mail list logo