most secure solution but there are some
ways to secure it through data validation.
Does that make sense?
Hope so,
Nathan Cook
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lications. But I like
that method very much!
[ Nathan Cook | [EMAIL PROTECTED] ]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
From: "Johnson, Kirk" <[EMAIL PROTECTED]>
> Do you know what happens here if the error reporting is set to max?
> Are a bunch of "unitialized variables" warnings issued?
That would be my assumption. I suppose you could initialize the variables
first to circumvent that. I was more or less looking
> // buildSelect -- return a Select box named $selectName based on key
value array $selectArray
> ...
> // $arr = array('MD'=>'selected','DC'=>'','VA'=>'');
How are you able to quickly and painlessly determine which key gets the
selected value, from form submission data, when building the initial
a value of "selected"
$$interest = "selected";
print("- Select One -\n");
print("Teacher\n");
print("Lego Enthusiast\n");
print("Student\n");
print("Homeschool Parent\n");
print("Browsing\n");
print("Aftersc
> Simply put
>
> /usr/local/bin/php -q to the top of your script ...
> i've written one a while ago an email roboter ... it works on command line
But you realize you have to have command line php compiled first, right?
Nathan Cook
[EMAIL PROTECTED]
--
PHP General M
n/php
... Then just run your executable file like you would any other.
Nathan Cook
[EMAIL PROTECTED]
- Original Message -
From: "Jimmy Bäckström" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 25, 2001 10:21 AM
Subject: [PHP] php from the command line
idea of processing time.
Nathan Cook
[EMAIL PROTECTED]
- Original Message -
From: "Gabe da Silveira" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 23, 2001 10:22 AM
Subject: [PHP] Getting MySQL Query Times.
> I was looking thru the mysql fun
http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/print.html
Nathan Cook
[EMAIL PROTECTED]
- Original Message -
From: "Kyle Smith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 01, 2001 11:32 PM
Subject: [PHP] Being a SERVER (you can
I just setup apache to parse *.inc files through php.
Nathan Cook
[EMAIL PROTECTED]
- Original Message -
From: "Shrout, Ryan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 30, 2001 1:06 PM
Subject: [PHP] Find and Replace
> This isn't exa
Just check out px.sklar.com.
Nathan Cook
[EMAIL PROTECTED]
- Original Message -
From: "Kyle Smith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 26, 2001 10:14 PM
Subject: [PHP] Sorry To Repeat Repeat Repeat Repeat Re...
Could you peo
Not if there are syntax errors like misplaced quotes (", ').
Nathan Cook
[EMAIL PROTECTED]
- Original Message -
From: "Henrik Hansen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 25, 2001 3:54 PM
Subject: Re: [PHP] Big difference?
On a side note, qmail has a wrapper that pretends to be sendmail. You can
overwrite the /bin/mail with it and it will behave and accept mail just like
sendmail, but send it through qmail-smtp.
Nathan Cook
[EMAIL PROTECTED]
- Original Message -
From: "Michael Geier, CDM Systems
lidationSolution($Number) == TRUE) {
echo "GOOD";
} else {
echo "Bad card!";
}
---
Good Luck!
Nathan Cook
[EMAIL PROTECTED]
- Original Message -
From: "Dr. Evil" <[EMAIL PROTECTED]>
To:
breaks in the db). If you can shed any light on this
subject, please share.
Thank You,
Nathan Cook
[EMAIL PROTECTED]
--
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
Does your script happen to look like this?
#!/usr/local/bin/php
To: "Nathan Cook" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, May 17, 2001 3:15 PM
Subject: Re: [PHP] running a stand-alone PHP program
> Excellent. I got this working. From a comman
mp;$errstr);
if (!$socket) {
$Result["errno"] = $errno;
$Result["errstr"] = $errstr;
return $Result;
}
$idx = 0;
fputs($socket, $ReqHeader);
while (!feof($socket)) {
$Result[$idx++] = fgets($socket, 128);
}
return $Result;
}
?
In that case you may be able to assemble the headers of a get using the header()
function. I will look up a few more things for you and get back to you after
lunch! :)
Nathan Cook
[EMAIL PROTECTED]
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Not if you are currently running it as an apache module. If you are running it
as a cgi, then it might. But it sounds as if you are running it as an apache
module.
Nathan Cook
[EMAIL PROTECTED]
- Original Message -
From: "midget2000x" <[EMAIL PROTECTED]>
To: "
1=test&var2=testing";);
That way the user will never have to interact with page 'b'. Note: do not start
any output before the header command.
If that doesn't work then there should be some other way of assembling cgi-post
headers with the header() function.
Good Luck.
Nathan Co
to check math! ;-)
print("Percentage: $percentage | Capped: $capped");
} else {
$capped=$target_roids*($percentage/100);
// Print the vars to check math! ;-)
print("Percentage: $percentage | Capped: $capped");
}
Good Luck!
Nathan Cook
[EMAIL PROTECTED]
--
PHP General
header_redirect to give php that data. sorry I don't have a code
snippet.
JavaScript (AFAIK) can only tell the dimensions of the window/frame the page is
being drawn in.
Nathan Cook
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
by:
# /usr/local/bin/php /path/to/script/scriptname
Have Fun!
Nathan Cook
[EMAIL PROTECTED]
- Original Message -
From: "midget2000x" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 16, 2001 2:52 PM
Subject: RE: [PHP] running a stand-alone PHP program
>
Did you notice how they mentioned nothing to the fact that PHP _does_ support
ODBC?
To think if they keep printing articles like that then macromedia just might
advertise with them...
Nathan Cook
[EMAIL PROTECTED]
- Original Message -
From: "Ryan Christensen" <[EMAIL P
my resume?)
Nathan Cook
[EMAIL PROTECTED]
- Original Message -
From: "Mike" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 09, 2001 6:19 PM
Subject: [PHP] PC MAG article
> As a devoted php programmer I was surprised how bad PC MAG blasted php this
>
Thank you, for your help it works great!
Nathan Cook
[EMAIL PROTECTED]
- Original Message -
From: "Rudolf Visagie" <[EMAIL PROTECTED]>
To: "Nathan Cook" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, May 02, 2001 4:47 AM
Subject:
>From a field in an instantdb database (http://instantdb.enhydra.org)
Nathan Cook
[EMAIL PROTECTED]
- Original Message -
From: "Anuradha Ratnaweera" <[EMAIL PROTECTED]>
To: "Nathan Cook" <[EMAIL PROTECTED]>
Cc: "Php List" <[EMAIL PROTECTE
c6c20666163696c697461746f72732073686f756c64207363686564756c652074696d6520746f207
4616b652074686973206164646974696f6e616c20636f757273652e7870
And I don't know what type it is. It is it a binary string? Can I convert it
to text and if so, how?
Thank You,
Nathan Cook
[EMAIL PROTECTED]
--
PHP General Mailing
This question baffles me. Just to clarify do you have at least two radio
buttons on this page and are they both under the same name?
It also could be if the HTML you mailed the list is the same you have in
your generated page then you may want an '=' sign between the value"ind
uot;CyberCash Internet Payment Processing Service to Continue
without Interruption."
Is this incorrect? When you say that it 'died', what are you referring to?
.:: Nathan Cook [ [EMAIL PROTECTED] ] ::.
PCS Edventures.com
Systems & Network Administrator :: Programm
Do any of you know of a comprehensive web-based project management tool
written in php?
Thank You!
.:: Nathan Cook [ [EMAIL PROTECTED] ] ::.
Systems & Network Administrator :: Programmer
[ phone - 208.343.3110 ][ pager - 208.387.9983 ]
--
PHP General Mailing List (http://www.php.net/
Moreover, you can put SELECTED only on the item you want to show up first.
.:: Nathan Cook [ [EMAIL PROTECTED] ] ::.
Systems & Network Administrator :: Programmer
[ phone - 208.343.3110 ][ pager - 208.387.9983 ]
- Original Message -
From: "DanO" <[EMAIL PROTECTED]>
T
When you define the index.php and load the frames go ahead and start the
session and then pass the variables to the frame like this:
and then on main.php if you echo $var1 it will it will print "test"
Good Luck!
.:: Nathan Cook [ [EMAIL PROTECTED] ] ::.
Systems & Network
Isn't it the journey what makes the goal sweeter??
.:: Nathan Cook [ [EMAIL PROTECTED] ] ::.
Systems & Network Administrator :: Programmer
[ phone - 208.343.3110 ][ pager - 208.387.9983 ]
- Original Message -
From: "Dallas Kropka" <[EMAIL PROTECTED]>
To: <[EM
I have always wrote code this like:
if(($fname) && ($lname) && ($email))
{ echo "test"; }
Is there an easier way to write the IF line?
Thank You
.:: Nathan Cook [ [EMAIL PROTECTED] ] ::.
Systems & Network Administrator :: Programmer
[ phone - 208.34
I just do:
$LocalScript = $DOCUMENT_ROOT . $PHP_SELF;
.:: Nathan Cook [ [EMAIL PROTECTED] ] ::.
Systems & Network Administrator :: Programmer
[ phone - 208.343.3110 ][ pager - 208.387.9983 ]
- Original Message -
From: "Karl J. Stubsjoen" <[EMAIL PROTECTED]>
T
If I may make a session download phped.com or find another editor (notepad)
and then use that in conjunction with ftp net drive (look for it on the web
somewhere), it will allow you view the ftp servers drive, copy and paste and
save directly to the server... works very nice.
.:: Nathan Cook
I would put it in the subsequent include page.
if($PHP_AUTH_USER)
{
includes();
}
else
{
print("You are not authorized to view this page");
}
---
.:: Nathan Cook- Network/Secu
you follow an 8.3 or 8.4
character filename structure you will be fine.
.:: Nathan Cook
- Original Message -
From: "Tait Grove" <[EMAIL PROTECTED]>
To: "PHP GENERAL" <[EMAIL PROTECTED]>
Sent: Tuesday, January 16, 2001 1:01 PM
Subject: [PHP] string replace
Ho
BC Math, Arbitrary Precision Numbers?
Can someone shed some light on these functions for me?
Thanks.
---
.:: Nathan Cook- Network/Security Admin
office: 208.343.3110 - Web
Nevermind, cybercash.com has an MCK (Merchant Kit) that has the libs in it.
Thx, though.
-nc
---
.:: Nathan Cook- Network/Security Admin
office: 208.343.3110 - Web Programmer
email
41 matches
Mail list logo