On 05/23/2012 01:05 PM, Matijn Woudt wrote:
On Wed, May 23, 2012 at 8:29 PM, jasjason.ger...@utah.edu wrote:
I have run into a problem that I am altogether unfamiliar with.
A scenario. I retrieve a users private key from a database.
I then use the openssl_pkey_get_private() function to load
On 05/23/2012 01:26 PM, Matijn Woudt wrote:
On Wed, May 23, 2012 at 9:12 PM, Jason Gerfenjason.ger...@utah.edu wrote:
On 05/23/2012 01:05 PM, Matijn Woudt wrote:
On Wed, May 23, 2012 at 8:29 PM, jasjason.ger...@utah.eduwrote:
I have run into a problem that I am altogether unfamiliar
On 05/04/2011 03:10 PM, Ashley Sheridan wrote:
On Wed, 2011-05-04 at 13:46 -0600, Jason Gerfen wrote:
On 05/04/2011 01:27 PM, Ashley Sheridan wrote:
On Wed, 2011-05-04 at 13:20 -0600, Jason Gerfen wrote:
I am running into a problem using the REGEXP option with filter_var().
The string I
On 05/04/2011 03:10 PM, Ashley Sheridan wrote:
On Wed, 2011-05-04 at 13:46 -0600, Jason Gerfen wrote:
On 05/04/2011 01:27 PM, Ashley Sheridan wrote:
On Wed, 2011-05-04 at 13:20 -0600, Jason Gerfen wrote:
I am running into a problem using the REGEXP option with filter_var().
The string I
I am running into a problem using the REGEXP option with filter_var().
The string I am using: 09VolunteerApplication.doc
The PCRE regex I am using:
/^[a-z0-9]\.[doc|pdf|txt|jpg|jpeg|png|docx|csv|xls]{1,4}$/Di
The function in it's entirety:
return (!filter_var('09VolunteerApplication.doc',
On 05/04/2011 01:27 PM, Ashley Sheridan wrote:
On Wed, 2011-05-04 at 13:20 -0600, Jason Gerfen wrote:
I am running into a problem using the REGEXP option with filter_var().
The string I am using: 09VolunteerApplication.doc
The PCRE regex I am using:
/^[a-z0-9]\.[doc|pdf|txt|jpg|jpeg|png
surrounded by wood into which one pours money.
--
Jason Gerfen
Student Computing Labs, University Of Utah
[EMAIL PROTECTED]
I will never tolerate your innocence
~ Blood has been shed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
am missing a loop, but am unsure of the best practice on it.
Thanks in advance
--
Jason Gerfen
You will never be ready for me.
~ Me
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a third paramater (true). Hope this helps.
On 03/05/06, Jason Gerfen [EMAIL PROTECTED] wrote:
I am looking for some information on how to do this the correct way,
here is the data I am working with:
Array
(
[hostname-0] = hostname
[mac-0] = 00:0a:b3:aa:00:5d
[ip-0] = 192.168.0.1
pointers are appreciated.
--
Jason Gerfen
You will never be ready for me.
~ Me
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Martin ZvarĂk wrote:
Jason Gerfen wrote:
I have come upon a problem and am not sure how to go about resolving
it. I have an web form which is generated dynamically from an
imported file and I am not sure how I can loop over the resulting
post variables within the global $_POST array due
Oops, I thought there might be an array function that would be better to
use then foreach loops. Thanks.
Dave Goodchild wrote:
Foreach. Please try and read the manual, this is very basic stuff that could
be gleaned in 5 minutes.
On 27/04/06, Barry [EMAIL PROTECTED] wrote:
Jason Gerfen
Anyone use php to tail a log file for patterns and perhaps updating a
iframe or something similar? If so do you have a link to some resources
on it?
--
Jason Gerfen
You will never be ready for me.
~ Me
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
. Any idea how I can get this to start
with SSL enabled on port 443?
--
Jason Gerfen
You will never be ready for me.
~ Me
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Jason Gerfen
Student Computing Labs, University Of Utah
[EMAIL PROTECTED]
J. Willard Marriott Library
295 S 1500 E, Salt Lake City, UT 84112-0860
801-585-9810
You will never be ready for me
)
--
PHP General Mailing List ( http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Jason Gerfen
You will never be ready for me.
~ Me
--
Jason Gerfen
You will never be ready for me.
~ Me
--
PHP General Mailing List
I would like to know how to suppress Warning error_log entries dealing
with undefined vars: eg.
Undefined index: del_pxe in /test.php on line 33, referer:
http://website.com/index.php
--
Jason Gerfen
Student Computing Labs, University Of Utah
[EMAIL PROTECTED]
J. Willard Marriott Library
295
I am not sure if what I am doing here is a problem or not. Pointers?
class mySubnet
{
var $data;
function SubnetSettings( $level, $add_vlan, $edit_vlan, $del_vlan ) {
$subnets = new mySubnet;
}
}
--
Jason Gerfen
When asked what love is:
Love is the Jager talking.
~Craig Baldo
--
PHP
!/bbrbr;
}
$data = new myAuthTmplte();
$data-auth_template( 1, NULL, NULL, NULL, $errors );
logs( $error_message['str_chk'] );
}
}
}
--
Jason Gerfen
Student Computing Labs, University Of Utah
[EMAIL PROTECTED]
J. Willard Marriott Library
295 S 1500 E, Salt Lake City, UT 84112-0860
801-585
myAuthTmplte
{
var $data;
function AuthTemplate( $cmd, $args, $num, $message, $errors ) {
$data = I should be seeing this text right here; // This data should
be displayed but I am only seeing the word 'object' in the browser
return $data;
}
--
Jason Gerfen
When asked what love is:
Love is the Jager
, $args, $num, $message ) {
echo pre; print_r( $args ); echo /pre;
}
--
Jason Gerfen
When asked what love is:
Love is the Jager talking.
~Craig Baldo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Tanoor Dieng wrote:
Hi,
are there some variables in your post array(aka are you sure that
$_POST is not empty)?
Normally this should works.
Tanoor.
2006/2/24, Jason Gerfen [EMAIL PROTECTED]:
I am not sure why this is not working. Aren't $_POST vars
superglobals? I am trying to pass
Vidyut Luther wrote:
Since $_POST is a superglobal, it should not lose scope inside a
function() call. I could be wrong though.
Also, curious if $args is empty.. what is $num and $message. ?
Also.. you're calling a function in your return statement ?
On 2/24/06, Jason Gerfen [EMAIL PROTECTED
.
--
Jason Gerfen
When asked what love is:
Love is the Jager talking.
~Craig Baldo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-
From: Jason Gerfen [mailto:[EMAIL PROTECTED]
Sent: 24 February 2006 15:27
To: PHP General (E-mail)
Subject: [PHP] $_POST to function?
I am not sure why this is not working. Aren't $_POST vars
superglobals? I am trying to pass the $_POST array as an argument to a
function and nothing is being
Peter Lauri wrote:
Is the function actually returning anything? Aren't you just echoing the
content of the $_POST?
-Original Message-
From: Jason Gerfen [mailto:[EMAIL PROTECTED]
Sent: Friday, February 24, 2006 10:27 PM
To: PHP General (E-mail)
Subject: [PHP] $_POST to function?
I
Peter Lauri wrote:
http://th.php.net/manual/en/function.return.php
-Original Message-
From: Jason Gerfen [mailto:[EMAIL PROTECTED]
Sent: Saturday, February 25, 2006 12:29 AM
To: Peter Lauri
Cc: php-general@lists.php.net
Subject: Re: [PHP] $_POST to function?
Peter Lauri wrote
:/b/tdtd$range1nbsp;-nbsp;$range2/td/tr
/table/td . $tr;
$i++;
}
$subnets .= /tr/table;
--
Jason Gerfen
When asked what love is:
Love is the Jager talking.
~Craig Baldo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
with. HTH
--
Jason Gerfen
When asked what love is:
Love is the Jager talking.
~Craig Baldo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
'\ntheadtrth/thth/thtr/thead\n;
foreach ($myBuddyNodes as $node)
{
echo tr;
echo tdfont
size='-1'.$node-firstChild-nextSibling-nodeValue./font/td;
if($node-firstChild-nextSibling-nextSibling-nextSibling-nodeValue
== Online) |
--
Jason Gerfen
When asked what love is:
Love
auditing which *specificly searches PHP code for SQL, XSS type of
attacks or vulnerabilities? TIA.
--
Jason Gerfen
the life you live ignoring who, ignoring who you're giving money to.
and you, you support the corrupt industries and companies who dont think to
care.
guilty...guilty...guilty
Richard Davey wrote:
On 7 Feb 2006, at 16:54, Jason Gerfen wrote:
Is there any product available, commercial or free which performs
source code auditing which *specificly searches PHP code for SQL,
XSS type of attacks or vulnerabilities? TIA.
No. But there are people who can perform
= mcrypt_create_iv($iv_size, MCRYPT_RAND);
Thanks,
Scott Duffy
Look at trim(). And your right it does have to do with using ECB.
--
Jason Gerfen
The charge that he had insulted Turkey's armed forces was dropped, but he still faces the
charge that he insulted Turkishness, lawyers said.
~ BBC News
']
Or, something similar.
http://us2.php.net/reserved.variables
Hth,
Cheers,
Micky
--
Jason Gerfen
Oh I have seen alot of what
the world can do, and its
breaking my heart in two...
~ Wild World, Cat Stevens
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
Yeah, I am recieving the same.
Jay Blanchard wrote:
[EMAIL PROTECTED] ?
I am getting failure notices out the wazoo for some very old messages to the
general list.
--
Jason Gerfen
Oh I have seen alot of what
the world can do, and its
breaking my heart in two...
~ Wild World, Cat
( $string ) {
if( eregi( ^[0-9a-z_ -]$, $string ) ) {
return 0;
} else {
return 1;
}
}
if( chk_input( $string ) == 0 ) {
echo valid;
} else {
echo invalid;
}
--
Jason Gerfen
Oh I have seen alot of what
the world can do, and its
breaking my heart in two...
~ Wild World, Cat Stevens
--
PHP General
something fancy
}
--
Jason Gerfen
My girlfriend threated to
leave me if I went boarding...
I will miss her.
~ DIATRIBE aka FBITKK
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
. br;
} else {
echo $mac3 is valid.br;
}
if( chk_mac( $mac4 ) != 0 ) {
$mac = fix_mac( $mac4 );
echo $mac4 . converted to . $mac . br;
} else {
echo $mac4 is valid.br;
}
?
--
Jason Gerfen
My girlfriend threated to
leave me if I went boarding...
I will miss her.
~ DIATRIBE aka FBITKK
--
PHP
);
echo $mac4 . converted to . $mac . br;
} else {
echo $mac4 is valid.br;
}
?
Jasper Bryant-Greene wrote:
On Wed, 2005-10-26 at 11:15 -0600, Jason Gerfen wrote:
I am having a problem with a couple of function I have written to check
for a type of string, attempt to fix it and pass it back
the fix_mac() function as an empty string.
Jasper Bryant-Greene wrote:
On Wed, 2005-10-26 at 12:07 -0600, Jason Gerfen wrote:
Um I did actually, but I will re-interate the problem with more detail.
the vars $mac1, $mac2, $mac3 are to get passed to the chk_mac()
function which determines
() in file.php on line
21
--
Jason Gerfen
My girlfriend threated to
leave me if I went boarding...
I will miss her.
~ DIATRIBE aka FBITKK
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
= username, 2 =
password );
function database()
{
You need to declare it global within the function...
function database()
{
global $array;
...
thanks, it figures it is something easy like that... =)
--
Jason Gerfen
[EMAIL PROTECTED]
And remember... If the ladies
don't find you handsome, they
should
']; // as of now it is getting the name of
the server (i.e. localhost, 168.2.2.1)
jas
HTTP_HOST returns the name (or ip) of the machine on which php is
running. REMOTE_ADDR will return the ip of the client accessing the
document.
--
Jason Gerfen
Student Computing Group
Marriott Library
University
43 matches
Mail list logo