Re: [PHP] Re: Computer Science and PHP

2002-01-18 Thread py
's what we did, we made it run on a small machine on Linux first than with the help of the university sys admin, we installed it on a Unix server. The sys admin is now very happy to do his web stuff in PHP instead of Perl :) just my canadien 2 cents... (1.14 cent US ;) ) py At 03:46 AM 1/18/

Re: [PHP] encrypting passwords etc..

2002-01-17 Thread py
"security is measured by the weakest link in the chain" so I would say that the database needs to be well protected and the password encrypted. py At 12:14 PM 1/17/2002 -0800, you wrote: >We had a client who wanted us to encrypt their >passwords. Our argument was that maybe th

Re: [PHP] PHP software tool

2001-12-22 Thread py
It works does fine with PHP, but my favorite is EditPlus, py At 07:29 PM 12/22/2001 +, you wrote: >Does 1st page work well with PHP? The website says its good for Perl, HTML >and ASP but it doesnt mention PHP anywhere. >:-s > > > >"-Bd-" <[EMAIL PROTECTE

Re: [PHP] Re: setting up a user login with PHP

2001-12-10 Thread py
or you could use: http://phpclasses.upperdesign.com/browse.html/package/288 py At 01:08 PM 12/10/01 -0500, Jeremy Reed wrote: >The easiest way is to use cookies. >=CODE >require 'auth_functions.php'; >if (authenticateUser($form_username, $form_pass

Re: [PHP] Equivalent of the Basic function SELECT...CASE

2001-12-06 Thread py
switch( $x ){ case 1: case 2: case 3: case 4: case 5: {...} break; default: {...} break; } py At 05:38 PM 12/6/01 +, Robin McKenzie wrote: >Could anyone tell me if there is a PHP equivalent to: > >SELECT x > CASE 1 to 5 > {...}

Re: [PHP] database question

2001-11-29 Thread py
In the following: select whatever from articles where textlines regexp "^\Sbingo\S$" what does \S means? py - Original Message - From: "Jon Farmer" <[EMAIL PROTECTED]> To: "Warren Vail" <[EMAIL PROTECTED]>; "Michael Hall" <

Re: [PHP] ASP and PHP

2001-11-28 Thread py
;) py - Original Message - From: "Luis Espinosa" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 28, 2001 11:43 AM Subject: [PHP] ASP and PHP > Hi! > > I have been using ASP for some time, and now I am beginning with PHP. I > would

[PHP] Need advide on partnership agreement for a php application...

2001-11-27 Thread py
eally care tho) My solution was to provide all statistical data to him with a secure (SSL) link and give him everything in XML so he could update his database just the way he want's it. What do you think? What sould I tell him? I really need advice since this is a field unknown to me... py

[PHP] Reading the value of a serialize object in session

2001-11-25 Thread py
. $o->var2; It does not work event when I do $o = unserialize( $o ) before displaying.. py -- 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]

Re: [PHP] Flash and PHP loadvariablesnum

2001-11-13 Thread py
Hello, this question should be ask to a flash forum, php would never open a window!! I used this class to achieve what you asked (http://www.hotscripts.com/Detailed/8970.html) but I know nothing about flash... py - Original Message - From: "dharvell" <[EMAIL PROTECTED]

[PHP] date conversion and calculation problem...

2001-11-12 Thread py
me2[0], $arr_time2[1], $arr_time2[2], $arr_date2[1], $arr_date2[2], $arr_date2[0] ); print "$t2 - $t1 = ". ( $t2 - $t1); hope you can help me, py -- 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]

Re: [PHP] Re: (another, not entirely)sessions question

2001-07-20 Thread py
It would also be very good to look at what other similar web application are doing and learn from their success and mistake. I am thinking about phpnuke, phpslice, slashdot and the likes... py - Original Message - From: Conor McTernan <[EMAIL PROTECTED]> To: <[EMAIL PROTECT

Re: [PHP] (another, not entirely)sessions question

2001-07-20 Thread py
them, nothing works. Maybe an object (OOP) of all user info, serialized in an session var, would be a solution... just my advice... py - Original Message - From: Conor McTernan <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 20, 2001 7:31 AM Subject: [PHP] (anot

Re: [PHP] Re: Simple validation problem

2001-07-19 Thread py
Ok forget it, someone suggest to me: if ((string)((float)$amount) == $amount && (float)$amount > 0) { print "ok"; }else print "error"; and it works perfectly! py - Original Message - From: py <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sen

Re: [PHP] Re: Simple validation problem

2001-07-19 Thread py
not really know how) I event try with casting amount like this: $amount = (float)($amount); It does not work, I can still input "12r5" for exemple. py if( $amount >0 ){ print "ok"; }else print "smaller than 0: error"; if( is_float( $amount )){

[PHP] Simple validation problem

2001-07-18 Thread py
Hello, I am trying to make shure the amount is positive and is a float. (format: $$$.$$) if( $amount == "" && !is_float( $amount ) && !eregi( "^[_a-z]", $amount ) ){ print "Error"; } this code does not work when I the input is -25.00 What co

Re: [PHP] Time Taken to Process

2001-07-16 Thread py
rttime = start_timer(); // Script here .. $endtime = stop_timer(); echo "Exec: ". number_format( script_time( $starttime, $endtime ), 6 ) ." sec"; py - Original Message - From: Phil Spitler <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 1

Re: [PHP] which php shopping cart is this?

2001-07-13 Thread py
You should ask them! My guess is phpshop?? py - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 13, 2001 6:46 PM Subject: [PHP] which php shopping cart is this? > Greetings! > > Which php-based shopping cart is being used

Re: [PHP] count number of form fields?

2001-07-13 Thread py
A multiple dropdown lists will produce an array is you put [] when naming the list. You than need to count how many elements you have in the array. py p.s. it could be done in javascript as well, but it's so easy in php :) - Original Message - From: Jaxon <[EMAIL PROTEC

Re: [PHP] decrypting passwords

2001-07-13 Thread py
You store it encrypted and you compare the two encrypted password for validation. You will send it to the user before encrypting it, how else ? And if user forget it, you reset a new one. py - Original Message - From: Steph <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent:

Re: [PHP] security

2001-07-10 Thread py
But remember that once a user has accessed the .swf once, they can then get the path and call the file directly afterwards. Even worse, the .swf is in the computer's cache. py - Original Message - From: Chris Lambert - WhiteCrown Networks <[EMAIL PROTECTED]> To: AVisioN:::

Re: [PHP] Session timeout

2001-07-10 Thread py
look in php.ini py - Original Message - From: Frédéric Mériot <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 10, 2001 1:33 PM Subject: [PHP] Session timeout > How to set the session timeout? > > > -- > PHP General Mailing List (http://www.ph

Re: [PHP] SQL statement for clearing a table

2001-06-22 Thread py
if you have a numbered primary key, delete from table where primary_key > 0 ? (to be handled with care....) py - Original Message - From: Wilbert Enserink <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 22, 2001 1:17 PM Subject: [PHP] SQL statement for c

Re: [PHP] Templates??

2001-06-19 Thread py
at are his 6 categories of pages? I am focusing on "Templating" my sites now and I am interested in what was said there. py - Original Message - From: Les Neste <[EMAIL PROTECTED]> To: Daniel Guerrier <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, J

Re: [PHP] file download

2001-05-23 Thread py
Hello, I had the same problem as you for months! until someone post this a couple of weeks ago: header("Content-Type: application/octet-stream"); header("Content-Disposition: attachment; filename=file.txt"); include("file.txt"); py - Original Message - Fr

Re: [PHP] About MySQL Recordset pagination...

2001-05-22 Thread py
I wrote a simple class to do that, it can be modified quite easily. http://www.pywebsolutions.com/source.php Hope this is what you are looking for... py - Original Message - From: Hassan Arteaga <[EMAIL PROTECTED]> To: Php (E-mail) <[EMAIL PROTECTED]> Sent: Tuesday, May 2

Re: [PHP] Job listings DB

2001-05-21 Thread py
> Hi, > > I am designing a system for my company to get employee resumes via the Web, > rather than paper. All resumes now go into a mySQL DB, which can be > searched by HR (at least that's the theory :) [I would do it like that also] > > My questions: > > For job listings - how do I design the

Re: [PHP] sending attachements with mail

2001-05-21 Thread py
Here is a nice class that handles e-mail attachment. Works fine for me. py // == // start code // == subject = $subject; $this->addr_to = $to; $this->smtp_headers = $this->write_smtpheaders($from); $this->text_body = $this->write_body($msg); $this->te

Re: [PHP] php site hacked?

2001-05-12 Thread py
You are not the only one, this is strange indeed, I would not believe it is a hacked tho. Maybe a technicien mixed up the dns db, or something like that ! Go to: http://uk2.php.net/ wich is fine, py - Original Message - From: sunny hundal <[EMAIL PROTECTED]> To: Altunergil,

[PHP] class inheritance question

2001-05-08 Thread py
Hello, Class A{ function aa(){} } Class B extends A{ function bb(){ $this->aa();// I know this is ok } } Class C extends B{ function cc(){ $this->bb();// Will this work ? } } py

[PHP] updating flash file with php

2001-05-07 Thread py
Hello, any of you has a tutorial/info on how to update a flash file (swf) with a php script ? (data coming from a text file and a database) py

[PHP] phpize ??

2001-03-13 Thread py
Hello, I am trying to install apc php cache. When I try to run phpize, I get: unable to find config.m4 make shure you run phpize in the top level directory of the module Can somebody tell me how to run phpize and by the way, what is phpize ?? py -- PHP General Mailing List (http

Re: [PHP] displaying information

2001-03-09 Thread py
play those fields, and you show a next link: Next But if you do not use mysql, I do not know... py Nick Davies wrote: > On Fri, 9 Mar 2001, Jason Stechschulte wrote: > > > On Thu, Mar 08, 2001 at 09:32:25PM -, george wrote: > > > I am building a site which pulls FAQ's