You should also store passwords in a non-readable to the world directory.
-Dan
- Original Message -
From: "Marek Kilimajer" <[EMAIL PROTECTED]>
To: "Mantas Kriauciunas" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, July 10, 2003 5:01 AM
Subject: Re: [PHP] download php
>
: "Daniel J. Rychlik" <[EMAIL PROTECTED]>
To: "Daniel J. Rychlik" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, June 28, 2003 7:26 PM
Subject: Re: [PHP] PHP and Macromedia Flash
> Anyone have any experience with PHPObject
Anyone have any experience with PHPObject from
http://ghostwire.com/resources/phpobject/
- Original Message -
From: "Daniel J. Rychlik" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, June 28, 2003 6:13 PM
Subject: Re: [P
Combe" <[EMAIL PROTECTED]>
To: "Daniel J. Rychlik" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, June 28, 2003 6:09 PM
Subject: Re: [PHP] PHP and Macromedia Flash
> On Sun, 2003-06-29 at 00:00, Daniel J. Rychlik wrote:
> > Does anyone know
Does anyone know if you can dynamically update a flash swf file with a PHP script ?
For instance in menu navigation I was thinking of using a flash object to display an
interactive menu and have in my main class a way to update the links or buttons from
page to page.
Thanks in advance,
Dan
Take a close look at OO programming. Class objects are great for reusing
code and making cleaner code. The art of designing code is a mastered art
which is why my white board is always messy ;) . Never the less, oject
oriented programming is definately the way to go. Chapter 6 in the PHP and
My
PHP is, arguably, the better way to go when developing an ecomm solution.
This list is full of very intelligent programmers that will help or direct
you to the proper documentation.
If you use $_GET you will be able to pass value pairs in the url. Make sure
that in your data check script that you
Hmm, I just noticed that array dump counts the number of charaters and white space and
lables that number string... What function name is that ? The string counter I mean ?
-Dan
Hey guys,
Which is a better environment to write PHP code in? Zend or Dreamweaver ? Does zend
provide a WYSIWYG for putting together a web page ?
-Dan
And thats why Chris is the man. Your're right it doesnt look pretty but it
works. If I come up with another solution I will email it out.
Thanks again,
Daniel
- Original Message -
From: "Chris Sherwood" <[EMAIL PROTECTED]>
To: "Daniel J. Rychlik" <[EM
e the output as expected. For some
reason its still giving me the warning. hmmm.. Ive tried everything
that was suggested. I think I need to go back and take another look at OO
programming in php.
- Original Message -
From: "Chris Sherwood" <[EMAIL PROTECTED]>
T
wont work... I even try assigning $links to the array.
- Original Message -
From: "Daniel J. Rychlik" <[EMAIL PROTECTED]>
To: "Chris Sherwood" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, June 25, 2003 1:08 PM
Subject: Re: [PHP] Pas
yea, I gave that a shot, Same message. Logically it makes sense, but php
doesnt like it.
by the way, thanks for your help Chris. You've helped me in the past.
-Daniel
- Original Message -
From: "Chris Sherwood" <[EMAIL PROTECTED]>
To: "Daniel J. Rychlik&quo
Hello,
I am developing a site that uses classes to reuse code and objects.
I have in my main class a
function SetLinks($newlinks) {
$this->links = $newlinks;
}
And another function that displays them in the same class main {
I have another file called index.php that basically just pa
Its returning true when value is entered or when its not
and placing a nice 1 in every field of my form.
Im thinking
$output_fname = isset($HTTP_POST_VARS['fname']) ? $HTTP_POST_VARS['fname']
is the answer and ive tried for several hours to fix it.
-dan
----- Original Message
Having a bit of trouble with my forms returnin 1 in the form fields accept the data
that was entered. I think its because of this line,
$output_fname = isset($HTTP_POST_VARS['fname']);
I have a command action handler also that works in the same script and it seems to
work well, the only pr
It worked! thanks so much. I did however place another ( on the second
$HTTP_POST_ to make it function with out error.
Appreciate your time!
dan
- Original Message -
From: "Leif K-Brooks" <[EMAIL PROTECTED]>
To: "Daniel J. Rychlik" <[EMAIL PROTECTED]&
I recieved a unexpected T_LOGICAL_AND, expecting ',' or ')';
- Original Message -
From: "Leif K-Brooks" <[EMAIL PROTECTED]>
To: "Daniel J. Rychlik" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, June 14, 2003
I have a line of code in my form that I am trying to get to work.
$action = ($HTTP_POST_VARS['action'] == "data_input") ? "check" : "display";
I recieved undefined action when running. So I did this.
$command = isset($HTTP_VARS['action'] == "data_input") ? "check" : "display";
I recieve unex
I tried to echo it as well, I recieved the same message.
- Original Message -
From: "Ralph" <[EMAIL PROTECTED]>
To: "'Daniel J. Rychlik'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Friday, June 13, 2003 6:50 PM
Subject: RE: [PHP] $
here
http://www.zend.com/zend/spotlight/form-pro-php4.php and I recieved the same
message.
Any Ideas, to help me break through these barriers?
Thanks so much
Dan
- Original Message -
From: "Ralph" <[EMAIL PROTECTED]>
To: "'Daniel J. Rychlik'" &l
Is this valid to iterate over a form variables.?
foreach ($_SESSION as $key=>$value)
and another question, do I need this in my form?
Im really struggling with $_SESSION. Im trying to program smarter and make friendlier
applications.
Ive submitted several emails dealing with this func
Questions, Questions, Questions.
Where do I start in understanding how this function works. Ive read the document
multiple times, and I am having a bit of trouble figuring out how this function works.
I know that you can take session data and hold it somewhere for a user and use that
data
Thanks so much for your time. These are great tips, thanks again.
- Original Message -
From: "Kevin Stone" <[EMAIL PROTECTED]>
To: "Daniel J. Rychlik" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Thursday, June 05, 2003 12:37 PM
Subject: Re: [P
Im new to PHP coming from a background in perl devlopement. I have a form that a user
can fill out.
On submit the values are iterated over a foreach to check for empty(). If the an
emtyp $key is found then it passes an error string to my error function.
I have 2 php files, one that is the
>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 05, 2003 1:01 AM
Subject: Re: [PHP] header function problem
> On Thursday 05 June 2003 07:01, Daniel J. Rychlik wrote:
> > Well, it works if I use the full path instead of relative So
obviously
> > its an apache permissions
Well, it works if I use the full path instead of relative So obviously
its an apache permissions issue.
- Original Message -
From: "Daniel J. Rychlik" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 04, 2003 5:36 PM
Subject: [PHP] header f
I am using a header function to take a user back to a form if they have mistyped or
entered in data that is not desirable.
I have multiple functions that Ive written but the one that pertains to this situation
is listed
function check_data () {
if (!empty($value)) {
go_ba
perhaps, a foreach loop and use the empty () function. Thats how I did it.
- Original Message -
From: "Ryan A" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 03, 2003 5:24 PM
Subject: [PHP] insert loop logic
> Hi,
> Can you tell me whats the best way of doing this plea
; Sent: Wednesday, June 04, 2003 4:19 PM
> To: Daniel J. Rychlik; [EMAIL PROTECTED]
> Subject: RE: [PHP] Calling HTML pages
>
>
> [snip]
>
> I was looking for a function that will take you to a html page. For
> instance.
>
> I have a function that checks for !empty values
I was looking for a function that will take you to a html page. For instance.
I have a function that checks for !empty values in $_POST; What I would like to do is
if the field is empty then
go back to the form. I have a function
function display_error ($err) {
echo $err; # I need to
If I wanted to remove tags from my form as well as
tags, would I use a preg_match function or is their another simple funtion
that does this ?
-Dan
- Original Message -
From: "Jim Lucas" <[EMAIL PROTECTED]>
To: "Daniel J. Rychlik" <[EMAIL PROTECTE
x27;t be found
> anywhere in that string.
>
> If you want the entire string to be tested for digits, you need to add the
> length of the string to the regex pattern:
>
> $length = strlen($data);
> preg_match("[0-9]{$length}", $data);
>
> Monty
>
>
Hello,,
I have a preg_match issue matching numbers. I am currently using
!preg_match ('/([0-9\-\.\#:])/', $_POST['nums1']
throw error[]
This fails if you use something like ' asdf ' but if you use ' asdf789 ' it passes
false and does not throw an error.
This is not the obvious solution.
- Original Message -
From: "Ralph" <[EMAIL PROTECTED]>
To: "'Daniel J. Rychlik'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Friday, May 30, 2003 4:41 PM
Subject: RE: [PHP] preg_match array question
> foreach ($_POST as $key=>$value) {
&
End Foreach
- Original Message -
From: "Ralph" <[EMAIL PROTECTED]>
To: "'Daniel J. Rychlik'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Friday, May 30, 2003 2:42 PM
Subject: RE: [PHP] preg_match array question
> Not sure if I
The problem is, that I have multiple fields and what I am trying to do is
check each field to make sure I get the data that I need and not some crap,
like letters in a number field or a
Hey,
Im trying to use preg_match to validate numbers in multiple fields. I can check one
field but Im having trouble checking multiple fields.
preg_match ( '(foo)' , $_POST["num1"] ); <- That works fine. but I need to check
multiple fields.
I thought I would build an array with the POST
What is a good function for striping white space and removing \\..\.. and possible
"," Anything that would be considered unwanted user input???
I looked at trim() but its doesnt do all the things I need it to do.
-Dan
39 matches
Mail list logo