Re: [PHP] displaying information

2001-03-09 Thread py
play those fields, and you show a next link: a href="? print "$PHP_SELF?start=$start"; ?Next/a 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

[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] 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 PROTECTED] wrote in message 028901c18b1c$3c0e4d80$[EMAIL

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 their database

[PHP] date conversion and calculation problem...

2001-11-12 Thread py
- $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] 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] To: [EMAIL

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 like to know which are the main differences

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 [EMAIL PROTECTED]; PHP List [EMAIL PROTECTED] Sent: Thursday, November 29

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 {...} CASE ELSE

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 ?php require 'auth_functions.php'; if (authenticateUser($form_username, $form_password)){ setcookie

[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

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, Oktay [EMAIL

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 // == ?php /* notes from Dan Potter: Sure. I changed a few other things in here too though. One is that I let you specify what the destination filename is (i.e., what is shows up

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 tables?

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 22, 2001 8:39 PM

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 - From: Aleksey Yarilovets [EMAIL

Re: [PHP] Templates??

2001-06-19 Thread py
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, June 19, 2001 6:29 AM Subject: Re: [PHP] Templates

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 clearing a table Hi

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.php.net/) To unsubscribe, e-mail

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:::nomoremedia

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 PROTECTED] To: [EMAIL

Re: [PHP] Time Taken to Process

2001-07-16 Thread py
(); // Script here .. $endtime = stop_timer(); echo brExec: b. number_format( script_time( $starttime, $endtime ), 6 ) ./b secbr; py - Original Message - From: Phil Spitler [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 16, 2001 6:57 PM Subject: [PHP] Time Taken to Process

[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 could be wrong? py p.s. I read what I could on regular

Re: [PHP] Re: Simple validation problem

2001-07-19 Thread py
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 )){ print ok; }else print not a float: error; ? FORM ACTION=? print

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] Sent: Thursday, July 19, 2001 11:14 AM Subject: Re: [PHP] Re

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 PROTECTED] Sent

[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