On 05/23/2012 01:26 PM, Matijn Woudt wrote:
On Wed, May 23, 2012 at 9:12 PM, Jason Gerfen wrote:
On 05/23/2012 01:05 PM, Matijn Woudt wrote:
On Wed, May 23, 2012 at 8:29 PM, jaswrote:
I have run into a problem that I am altogether unfamiliar with.
A scenario. I retrieve a users private
On 05/23/2012 01:05 PM, Matijn Woudt wrote:
On Wed, May 23, 2012 at 8:29 PM, jas 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 it as a resource
objec
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 probl
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 probl
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:
&
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',
FILTER_
those gets passed to
the php script.
The files are hosted on a local Debian etch server running apache
2.0.54 and php 4.3.10.
Is there something I need to check/change in the config files of
apache or php?
Regards,
IraqiGeek
www.iraqigeek.com
Boat: A hole in the water surrounded by woo
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] =&
if( eregi( 'group', $key ) ) {
echo "GROUP: " . $key . " => " . $value . "";
$arr[$x] = $value;
}
$x++;
}
$data = $arr;
return $data;
}
?>
I realize I 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
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
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 to
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
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, v
epreciated. 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
</tt><tt>suggestions, please let me know.
</tt><tt>
</tt><tt>Thank you!
</tt><pre style="margin: 0em;">
</pre><tt>
</tt><tt>On 3/17/06, *Jason Gerfen* <[EMAIL PROTECTED]
</tt><tt><<a rel="n
p.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."
~ Me
--
PHP Gener
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 Bal
ta; // If I do echo $data I can see the results of calling
the myAuthTmplte Class
}
// myAuthTmplte class
class myAuthTmplte
{
var $data;
function AuthTemplate( $cmd, $args, $num, $message, $errors ) {
$data = "I should be seeing this text right here"; // This data should
be displaye
!";
}
$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
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
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
ssage-
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 nothin
.
--
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
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 &l
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 try
$cmd, $args, $num, $message ) {
echo ""; print_r( $args ); echo "";
}
--
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
. 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
DNS:$dns01
DNS:$dns02
Gateway:$router
Vlan:$vlan
Scope:$range1 - $range2
" . $tr;
$i++;
}
$subnets .= "";
--
Jason Gerfen
"When asked what l
x27;#616042'>\n\n";
foreach ($myBuddyNodes as $node)
{
echo "";
echo "size='-1'>".$node->firstChild->nextSibling->nodeValue."";
if($node->firstChild->nextSibling->nextSibling->nextSibling->nodeValue
== &
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
code 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...gui
ething? When I encrypt/decrypt same script it
works fine.
Maybe something to do with these?
$iv_size = mcrypt_get_iv_size(MCRYPT_BLOWFISH, MCRYPT_MODE_ECB);
$iv = mcrypt_create_iv($iv_size, MCRYPT_RAND);
Thanks,
Scott Duffy
Look at trim(). And your right it does have to do with usi
$_SERVER['DOCUMENT_ROOT']
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/unsub.php
( $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...
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
quot; ) ) {
// do 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
str_split() 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
rned from 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()
functi
uot;$mac2 is valid.";
}
if( chk_mac( $mac3 ) != 0 ) {
$mac = fix_mac( $mac3 );
echo $mac3 . " converted to " . $mac . "";
} else {
echo "$mac3 is valid.";
}
if( chk_mac( $mac4 ) != 0 ) {
$mac = fix_mac( $mac4 );
echo $mac4 . " converted to " . $mac . &qu
$mac = fix_mac( $mac2 );
echo $mac2 . " converted to " . $mac . "";
} else {
echo "$mac2 is valid.";
}
if( chk_mac( $mac3 ) != 0 ) {
$mac = fix_mac( $mac3 );
echo $mac3 . " converted to " . $mac . "";
} else {
echo "$mac3 is valid.&qu
quot;hostname", "1" => "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 G
= $_SERVER['HTTP_HOST']; // 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 Comput
43 matches
Mail list logo