[PHP] AD authentication

2003-01-23 Thread Michael Hall
MICHAEL HALL Web Development Officer Batchelor Institute of Indigenous Tertiary Education W: [EMAIL PROTECTED](08) 8951 8352 H: [EMAIL PROTECTED](08) 8953 1442 -- PHP General Mailing List (http

Re: [PHP] PHP RTF

2003-01-14 Thread Michael Hall
. Hosting. Multimedia. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- MICHAEL HALL Web Development Officer Batchelor Institute of Indigenous Tertiary Education W

RE: [PHP] class inside class

2003-01-13 Thread Michael Hall
information. If you already knew the above and it doesn't help you, then just ignore it. I'm just trying to narrow down your problem. Good luck. -Original Message- From: Michael Hall [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 12:20 AM To: [EMAIL PROTECTED] Subject

[PHP] class inside class

2003-01-12 Thread Michael Hall
anyone have any pointers? Hope my description of the problem makes sense. TIA Mick MICHAEL HALL Web Development Officer Batchelor Institute of Indigenous Tertiary Education W: [EMAIL PROTECTED](08) 8951 8352 H

[PHP] Site Search

2002-07-28 Thread Michael Hall
to add some kind of subjective search term fields to the data, I can't see how else it can be done. TIA MICHAEL HALL Web Development Officer Batchelor Institute of Indigenous Tertiary Education Work: [EMAIL PROTECTED] (08

Re: [PHP] include files and global variables

2002-07-21 Thread Michael Hall
-perl-mysql-postgresql Michael Hall [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Password in script

2002-07-19 Thread Michael Hall
Actually, there is Banother way and you should consider it. Sensitive information like passwords should be kept in a file stored outside the live web content directory (ie, outside DocumentRoot on Apache). This file can then be included in your main file. This way, you can be sure that a

Re: [PHP] Password in script

2002-07-19 Thread Michael Hall
.php.net/unsub.php -- n i n t i . c o m php-python-perl-mysql-postgresql ---- Michael Hall [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To uns

[PHP] Sablotron confusion

2002-07-19 Thread Michael Hall
package that won't untar which I guess is the source. I found the directions about what packages I needed pretty confusing. Any advice anyone? I know I need to recompile PHP when Sablotron is installed. TIA Michael Hall [EMAIL PROTECTED

Re: [PHP] Re: get line from file

2002-07-19 Thread Michael Hall
stgresql ---- Michael Hall [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Classes Constructor syntax

2002-07-17 Thread Michael Hall
? does PHP OOP support more than one constructor? If my syntax is wrong, please let me know the correct syntax. Thanks David R -- n i n t i . c o m php-python-perl-mysql-postgresql Michael Hall [EMAIL

Re: [PHP] Classes Constructor syntax

2002-07-17 Thread Michael Hall
R -- n i n t i . c o m php-python-perl-mysql-postgresql Michael Hall [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Of Jobs and Certs

2002-07-17 Thread Michael Hall
o m php-python-perl-mysql-postgresql Michael Hall [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] activating php scripts via cron

2002-07-16 Thread Michael Hall
ications Development * /* THE DAILY PLANET SUPERMAN SAVES DESSERT! Plans to Eat it later */ -- n i n t i . c o m php-python-perl-mysql-postgresql ---- Michael Hall [EMAIL P

Re: [PHP] Using index.php instead of index.html

2002-07-16 Thread Michael Hall
Michael Hall [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Apache 2.0 + PHP

2002-07-15 Thread Michael Hall
? Some of the archive messages I read are quite old now. Michael Hall [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Can not delete files that were uploaded

2002-07-14 Thread Michael Hall
referring to a DSO installation, where I assume that because PHP is 'part' of Apache, it would be the same user as Apache. Michael Hall [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Restricting access using IPs

2002-07-13 Thread Michael Hall
-- n i n t i . c o m php-python-perl-mysql-postgresql Michael Hall [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Restricting access using IPs

2002-07-13 Thread Michael Hall
General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- n i n t i . c o m php-python-perl-mysql-postgresql Michael Hall [EMAIL PROTECTED

[PHP] compiling with mysql

2002-07-11 Thread Michael Hall
to mysql: --with-mysql=/somewhere/or/other/ 1. Is this always the case? 2. Where would the path be likely to be on RedHat 7.2 with MySQL rpms? TIA Michael Hall [EMAIL PROTECTED] -- PHP General Mailing List (http

[PHP] compiling and php.ini

2002-07-11 Thread Michael Hall
be turned on/off in php.ini, regardless of ./configure options? Does the -with-config-file-path option set the expected path to php.ini (I always thought it was to Apache)? How come PHP still works whether the file is there or not? TIA Michael Hall [EMAIL

Re: [PHP] compiling with mysql

2002-07-11 Thread Michael Hall
at the end of the compile/make) was pretty clear about needing to provide a path if PHP was going to share access to MySQL with things like mod_perl, mod_python, etc. I guess all will become clear when I unpack mod_python and have a go. Michael Hall [EMAIL

Re: [PHP] compiling with mysql

2002-07-11 Thread Michael Hall
+0930 (CST) Michael Hall [EMAIL PROTECTED] wrote: Another PHP compilation question ... I've just compiled PHP 4.2.1 --with-mysql. I added no path to mysql, and it worked fine as it always does. However, I'm keen to add mod_python as a DSO to Apache as well, and noticed in PHP's

Re: [PHP] Removing ^M

2002-06-09 Thread Michael Hall
I looked at the tr man pages and it didn't help much. I also tried using '\r' and `\r` and just \r , but always get the same result. Steve At 11:07 PM 6/8/2002 +0200, you wrote: why not just run tr -d \r htmlfile.htm - Original Message - From: Michael Hall [EMAIL

[PHP] Removing ^M

2002-06-08 Thread Michael Hall
I am trying remove ^M characters (some kind of newline character) from an HTML file. I've tried all sorts of ereg_replace and sed possibilities but the things just won't go away. Does anyone have a way of removing such characters? TIA Mick -- PHP General Mailing List

Re: [PHP] MySQL - Creating The Database

2002-06-04 Thread Michael Hall
. -- n i n t i . c o m php-python-perl-mysql-postgresql Michael Hall [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] process php script at regular intervals

2002-06-03 Thread Michael Hall
there. This assumes that you are on a Linux/UNIX server, and that PHP is an Apache module, not a standalone CGI installation (where you could call the script directly without using Lynx). Michael Hall On Mon, 3 Jun 2002, daniel cozzolino wrote: I want to have a php script processed on a daily

Re: [PHP] Alguine me puede Ayudar...S.O.S...mi PHP no sube .....

2002-06-02 Thread Michael Hall
; /script BR trtdForma4/a/td % echo Hola, este es un mensaje de Prueba con PHP; % BRBR ? php phpinfo() ? -- n i n t i . c o m php-python-perl-mysql-postgresql Michael Hall [EMAIL PROTECTED

[PHP] Post 4.1.0 PHP

2002-05-30 Thread Michael Hall
, useful info). TIA Michael Hall [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HTML Checkboxes and PHP variables

2002-05-29 Thread Michael Hall
Michael Hall [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] arrays

2002-05-26 Thread Michael Hall
A couple of simple ones here ... the usual references don't appear to give a straightforward answer on these: Can arrays be passed to functions just like a simple variable? Can arrays be passed as values in hidden form fields just like a simple variable? I've been playing around with these

Re: [PHP] Uploaded Image display problems

2001-12-07 Thread Michael Hall
($get_image_result,0,ImgData); $file_type = mysql_result($get_image_result,0,ImgType); header(Content-Type: $file_type); header(Content-Length: . strlen($binary_junk)); echo $binary_junk; ? -- Michael Hall [EMAIL PROTECTED] [EMAIL PROTECTED] http

Re: [PHP] Re: session_id()

2001-12-07 Thread Michael Hall
. IE : 9ff68d81039d9ece3ba9840328b91488 Opera : 7aa4895172b5a4785c9fb754eaf792aa NN : 1007630964 -- Michael Hall [EMAIL PROTECTED] [EMAIL PROTECTED] http://openlearningcommunity.org -- PHP General Mailing List (http

Re: [PHP] Getting started - what do I need?

2001-12-07 Thread Michael Hall
to mysql.com and php.net and it seems that i can download both of these packages to my computer for free. Any help would be greatly appreciated. Thanks Indera -- Michael Hall [EMAIL PROTECTED] [EMAIL PROTECTED] http://openlearningcommunity.org

Re: [PHP] Dynamically created dropdowns

2001-12-04 Thread Michael Hall
two separate tables in a MySQL database, one for manufacturers and one for models with the latter containing a field for the manufacturer ID. Is this possible? Michael Egan -- Michael Hall [EMAIL PROTECTED] [EMAIL PROTECTED] http

Re: [PHP] php vbulletin and postgres

2001-12-04 Thread Michael Hall
. are they different enough to cause any problems? -- Michael Hall [EMAIL PROTECTED] [EMAIL PROTECTED] http://openlearningcommunity.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [PHP] Query Help Needed

2001-11-29 Thread Michael Hall
', '$country', '$email', '$mob_phone', '$tel_number', '$fax_number', '$org_web_address', '$personal_web_address', '$special_interests', '$date','$time')) -- Michael Hall [EMAIL PROTECTED] [EMAIL PROTECTED] http://openlearningcommunity.org -- PHP General

[PHP] database question

2001-11-29 Thread Michael Hall
-- Michael Hall [EMAIL PROTECTED] [EMAIL PROTECTED] http://openlearningcommunity.org -- 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

[PHP] color problems when resizing image with GD

2001-11-29 Thread Michael Hall
); Michael Hall Web Development Manager / Sr. Programmer Prairie Fire Internet Technologies [EMAIL PROTECTED] 605.357.9700 ext. 14 -- 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

Re: [PHP] Apache 2.0.28 and PHP 4.0.6

2001-11-27 Thread Michael Hall
there is no truth in my mail! -- Michael Hall [EMAIL PROTECTED] [EMAIL PROTECTED] http://openlearningcommunity.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re: [PHP] Infomation wanted

2001-11-26 Thread Michael Hall
to hack one up. Michael On Mon, 26 Nov 2001, De Necker Henri wrote: I want to know where can i find a script that will allow a user to login every certain time period! I just cant get it right! -- Michael Hall [EMAIL PROTECTED] [EMAIL PROTECTED] http

[PHP] Frames and Sessions

2001-11-13 Thread Michael Hall
a session in the main frameset file, then adding ?=SID? to the URLs of the frame files, which sort of works but breaks where JavaScript is used for buttons in one of the frames. JavaScript doesn't seem to cope with the PHP tags. Thanks Michael -- ## Michael Hall

[PHP] A way to simulate modem speeds?

2001-10-31 Thread Michael Hall
I apologize for the only-vaguely-PHP-related nature of this, but I'm endlessly impressed with the knowledge here. I'm looking for a way to clamp down a network machine (we're on a T1) to modem speeds (28 to 52 K) for testing purposes. Is there software (preferably for Windows) that would do

[PHP] bizarre problems with php_gd.dll and IIS

2001-08-14 Thread Michael Hall
a solution. Thanks. Michael Hall Lead Web Developer / Database Engineer Prairie Fire Internet Technologies [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

Re: [PHP] How to ?

2001-08-05 Thread Michael Hall
Alawi: Generally speaking, this is a friendly list and people like to help if they can. But it is not clear what you are asking for. You need to give more detail or ask your question in another way. Is this a PHP question? Mick On Sun, 05 Aug 2001, Alawi Albaity wrote: how can i to make

Re: [PHP] spell checker

2001-08-05 Thread Michael Hall
administrators, e-mail: [EMAIL PROTECTED] -- Michael Hall mulga.com.au [EMAIL PROTECTED] ph/fax (+61 8) 8953 1442 ABN 94 885 174 814 -- 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

Re: [PHP] Form call a function on submit

2001-08-05 Thread Michael Hall
/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- Michael Hall mulga.com.au [EMAIL PROTECTED] ph/fax (+61 8) 8953 1442 ABN 94 885 174 814 -- PHP General Mailing List (http://www.php.net

Re: [PHP] php date

2001-07-28 Thread Michael Hall
] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- Michael Hall mulga.com.au [EMAIL PROTECTED] ph/fax (+61 8) 8953 1442 ABN 94 885 174 814 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re: [PHP] mkdir

2001-07-28 Thread Michael Hall
commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- Michael Hall mulga.com.au [EMAIL PROTECTED] ph/fax (+61 8) 8953 1442 ABN 94 885 174 814 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: [PHP] Stripping single quotes

2001-07-28 Thread Michael Hall
commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- Michael Hall mulga.com.au [EMAIL PROTECTED] ph/fax (+61 8) 8953 1442 ABN 94 885 174 814 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] Install problems

2001-07-19 Thread Michael Hall
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] -- Michael Hall mulga.com.au [EMAIL PROTECTED] ph/fax (+61 8) 8953 1442 ABN 94 885 174 814 -- PHP General

Re: [PHP] Sessions and linking

2001-07-19 Thread Michael Hall
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] -- Michael Hall mulga.com.au [EMAIL PROTECTED] ph/fax (+61 8) 8953 1442 ABN 94 885 174 814 -- PHP General

Re: [PHP] note to PHP developers

2001-07-17 Thread Michael Hall
Me too. I've never had a problem with Postfix. It just dropped in in Sendmail's place and has worked wonderfully ever since. Great piece of software. Mick On Wed, 18 Jul 2001, Christopher Allen wrote: Also, postfix works fine for me... On a side note, qmail has a wrapper that pretends

Re: [PHP] passing variables from forms to the same page repetatively

2001-07-17 Thread Michael Hall
commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- Michael Hall mulga.com.au [EMAIL PROTECTED] ph/fax (+61 8) 8953 1442 ABN 94 885 174 814 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: [PHP] note to PHP developers

2001-07-17 Thread Michael Hall
IT Work now, freak later! -- 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] -- Michael Hall mulga.com.au [EMAIL PROTECTED] ph/fax (+61 8) 8953

[PHP] Getting extensions to load in Win32

2001-07-09 Thread Michael Hall
I am having a devil of a time getting any extensions to load on my Windows machines. I have the php.ini set up as follows: [...] extension_dir = C:\PHP\extensions [...] ;extension=php_fdf.dll extension=php_gd.dll I'm trying to load the php_gd.dll, but I get the same problem with any of the

Re: [PHP] Running PHP as a cron job....

2001-07-08 Thread Michael Hall
This looks like a good place for me to step in and maybe clear up something I've been wondering about ... With all the advice that has been offered so far, has it been assumed that php is installed in the CGI rather than DSO manner? Can PHP as a DSO interpret shell script-like files with a

RE: [PHP] Running PHP as a cron job....

2001-07-08 Thread Michael Hall
On Sun, 8 Jul 2001, Ben Bleything wrote: Interesting method, with the lynx... I imagine that if you've only built the DSO, then that would be the way to do it.. if it worked. My guess would be, you would have to do lynx 'http://localhost/path/to/script/script.php' to force it to go

RE: [PHP] how can i use postfix instead of sendmail???

2001-06-25 Thread Michael Hall
Is postfix more efficient than sendmail? I don't know about efficient but it is certainly more secure and *way* easier to configure. Can you give me the url which describes how to use it or write here ? www.google.com/linux postfix and you get:

Re: [PHP] php still not working

2001-06-25 Thread Michael Hall
Do you restart Apache after making changes to httpd.conf? You can use 'path/to/apache/bin/apachectl restart' to do this. Just a thought. Mick On Mon, 25 Jun 2001, brent wrote: Trying a re-post from yesterday... My setup is as follows: RH Linux 7.0 PHP 4.0.5 Apache 1.3.20 I've

Re: [PHP] variables / reading files

2001-06-23 Thread Michael Hall
change it over. I'd written the whole cart in one sitting up to then, and was fairly cross-eyed by that stage. On Sat, 23 Jun 2001, Christopher Ostmo wrote: Michael Hall pressed the little lettered thingies in this order... I'm stuck on a piece of code for a shopping cart. I'm

Re: [PHP] Sessions vs Cookies?

2001-06-22 Thread Michael Hall
As I understand it, PHP's session management uses cookies anyway unless they are turned off by the browser, in which case session info is attached to the URL. So I'd use sessions rather than cookies alone. Mick On Thu, 21 Jun 2001, Chris Anderson wrote: I am about to write a new admin

Re: [PHP] Pregunta

2001-05-07 Thread Michael Hall
Hombre, necesitamos un poco mas de informacion para ayudarte. Cuales versiones de PHP y IIS, por ejemplo, y cual version de Windows? Como lo instalaste? Como modulo o como CGI? La pagina de prueba, tiene todos los tags que necesita? (es decir, ?php y ?. Tiene el archivo la extension .php? Como

Re: [PHP] Programming PHP in a modular way

2001-04-30 Thread Michael Hall
Use include(); Mick On Mon, 30 Apr 2001, Andreas Pucko wrote: Hello, I am a newi in PHP. Currently I am creating my first site. I would like to programm it modularly. I tryed it, but I came to the point, that I have everything in one file with a huge amount of tables. What would be

Re: [PHP] php suck

2001-04-29 Thread Michael Hall
i found this when surfing this morning http://www.phpsucks.net/ Looks like someone just spent a fortune on getting and learning M$ products then lost work to a PHP/open source alternative, or maybe they just can't get Red Hat installed. Either way, who cares? Mick -- PHP General Mailing

Re: [PHP] Best Practice-HTML In Database

2001-04-29 Thread Michael Hall
If you ever need to update the HTML, option 2 will be a lot easier. Mick On Sun, 29 Apr 2001, John Monfort wrote: Hello everyone, I'm curious. Which is the better practice? 1) Insert the HTML page (...HTML code) in the database ? or 2) Insert a URL in the database

Re: [PHP] IP Chains

2001-04-24 Thread Michael Hall
I don't understand why you want to connect IPCHAINS to your PHP script. Normally your IPCHAINS (or IPTABLES) firewall would be running anyway, wouldn't it? Maybe I've missed something, but I don't see how the two are linked. I'd have the PHP script check username and password, and if valid, go

Re: [PHP] web page grab

2001-04-22 Thread Michael Hall
In other words ... $grab = eregi("wish(.*)numbers ."); the (.*) is what you're grabbing. You don't need to include the entire file up to 'wish' and beyond 'numbers', just enough to make a unique portion. Mick I'm trying to grab content from another web page. After having

Re: [PHP] php.ini

2001-04-12 Thread Michael Hall
I did, but got Internal Server Errors for several different command formats using = and " ". In the end, this format appears to work (no error message anyway, and the files upload) ... php_value max_execution_time 60 Mick Is it possible to override the maximum script execution time as set

RE: [PHP] sending mail.. PLEASE HELP!

2001-04-12 Thread Michael Hall
Are you doing a bulk mail out or something like that? Your script is timing out. The max_execution_time can be changed in php.ini Mick On Thu, 12 Apr 2001, Jude Sanglitan wrote: Oops! How can I prevent this? Fatal error: Maximum execution time of 30 seconds exceeded in

[PHP] php.ini

2001-04-10 Thread Michael Hall
Is it possible to override the maximum script execution time as set in php.ini using an Apache directive like this in an .htaccess file?: php_value max_execution_time = 60 Thanks Mick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] php site down?

2001-04-10 Thread Michael Hall
I've been trying to get to the annotated manual all afternoon but can't get through to www.php.net. Anyone else have the same problem? Mick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

Re: [PHP] Inserting time + date entry into mySQL DB

2001-04-10 Thread Michael Hall
Create a field in your table called something like 'date' and make its data type TIMESTAMP. MySQL will automatically add a timestamp with each new entry ... assuming you're using UNIX, I don't know about windows. Mick I know this has been brought up repeatedly but I couldn't find the

Re: [PHP] L?

2001-04-10 Thread Michael Hall
Yep ... I unit V 5 X 10 L 50 C 100 D 500 M 1000 no zero ... try doing maths with this system. Mick I think L is 50. bill Kurth Bemis wrote: what does the roman numeral L mean? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] MySql: Default values

2001-04-10 Thread Michael Hall
Mumkin ya elias, ana ma afhamsh su'aalak mnih! Not exactly sure what you mean elias. TIMESTAMP in MySQL is a datatype more than a function, but I'm not absolutely sure about that. Mick On Tue, 10 Apr 2001, elias wrote: Can a default field value in MySql be a function? Like default value

Re: [PHP] Inserting time + date entry into mySQL DB

2001-04-10 Thread Michael Hall
rom: elias [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, 11 April, 2001 7:23 AM Subject: Re: [PHP] Inserting time + date entry into mySQL DB No under windows doesn't work. you have to enter a value in that field with value NOW() -elias http://www.kameelah.org/eassoft

Re: [PHP] Commercial sites that use PHP

2001-04-10 Thread Michael Hall
GoEureka, one of Australia's biggest search engines, uses php on at least part of its site: see http://www.goeureka.com.au Mick On Tue, 10 Apr 2001, Phil Labonte wrote: Can anyone send me a list of large commercial web sites that use PHP? I am trying to move to PHP here at work but I

Re: [PHP] Script FLOW-- branching and subroutines/functions

2001-04-09 Thread Michael Hall
Here's what I'd do (pseudocode): ?php if ($submit) { check for duplicate; if (everything OK) { commit to db; } } else { display form with submit button named 'submit'; } ? Mick how do I do this call form wait there until it is

Re: [PHP] Script FLOW-- branching and subroutines/functions

2001-04-09 Thread Michael Hall
Lets try that again: ?php if ($submit) { if (data already in db) { reject data; } else { commit data to db; } } else { display form with submit button named 'submit'; } ? A bit of a mud map ... hope it helps

Re: [PHP] Upload file from my local C:

2001-04-09 Thread Michael Hall
Is the file on your win machine on C: or D: ? There seems to be some confusion about that. Also, how are you using 'copy' to upload the file? Are you using a form with a 'file' input type and ENCTYPE="multipart/form-data" in the FORM tag, etc? Just some ideas. Mick On Mon, 9 Apr 2001, HK Woo

Re: [PHP] recording time of entry

2001-04-09 Thread Michael Hall
Yes ... 100 entries or 100 x 100 entries! :-) Mick On Mon, 9 Apr 2001, george wrote: Will that work if I have for instance 100 entries, each entry recording the time it was made then I would be able to pull that info out of the db and display the record and time made at a later date.

Re: [PHP] while loop

2001-04-09 Thread Michael Hall
$query = mysql_query("some SQL here"); while ($row = mysql_fetch_array($query)) { do stuff; } Mick On Tue, 10 Apr 2001, Jacky wrote: Hi people I am more like ASP programmer and new to PHP, In ASP, when we want to take all records in dayabase to display. After we did do the query,

[PHP] image validation

2001-04-07 Thread Michael Hall
I'm wondering if there is any sure way for PHP to determine whether an uploaded file is definitely an image file. I have a script that checks for size and mime type ('image/png' or 'image/jpeg'). The script works fine, but I've heard that it is possible to add those mime type headers to files

[PHP] ereg

2001-03-31 Thread Michael Hall
I'm using the following expression to check input strings: if (!ereg("^[[:alnum:]_-]+$", $string)) { get outta here! } This works fine except for when a string has spaces, as in text. What do I need to add to the expression to handle spaces (internal, not at the beginning or end). Thanks

Re: [PHP] How to send attachment with email with php?

2001-03-27 Thread Michael Hall
Use a mime_mail class. Have a look at the mail() function in the annotated PHP manual. There are a few mime_mail classes mentioned there with links. Mick On Wed, 28 Mar 2001, Carfield Yim wrote: How to send attachment with email with php? -- PHP General Mailing List

[PHP] equivalent to PERL's qq

2001-03-26 Thread Michael Hall
Order by id |; Is there anything similar to this in PHP? I've been unable to find it if there is. Michael Hall Prairie Fire Internet Technologies [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] I need an expert to tell me what I am doing wrong

2001-03-23 Thread Michael Hall
Something else to investigate could be whether you've passed the db name to the script. If the the name of the db is different to $user, you'll need to do something like $dbname = "whatever"; mysql_select_db("$dbname",$db); Mick On Sat, 24 Mar 2001, YoBro wrote: What could I possibly be

Re: [PHP] Post -vs- Get

2001-03-21 Thread Michael Hall
abc.com?client_no=5 Now even though if that person emails you that url, you won't gain access to it bascause of authentication that is needed, what can happen is an authorized user could change the 5 in the url to 8, and then see the information that is there which belongs to client 8.

Re: [PHP] external data saving

2001-03-08 Thread Michael Hall
Petr: I'm not exactly clear about what you want to do, but ... PHP can process user data and save it to databases. This is probably what PHP does best. Javascript has nothing to do with this process (but you can use it in your PHP pages if you want). All I know about ActiveX is that it is a

Re: [PHP] Help Please: Php configuration

2001-03-04 Thread Michael Hall
I don't know a thing about IIS ... but the archives can be found at http://www.php.net/support.php Good Luck Michael On Sun, 4 Mar 2001, archana sharma wrote: Hi All, I am new in PHP world. I am trying to configure my php with IIS4. Here is the info what I downloaded and installed:

Re: [PHP] date

2001-03-04 Thread Michael Hall
Yes you can. Include a field in your db called 'date' or whatever. Generate the date in your script using: $today = date("Y-m-d"); Then simply add the date to the db along with everything else. There are lots of ways to format dates, too many to describe here. Have a look at the PHP

Re: [PHP] passing variables

2001-03-03 Thread Michael Hall
One way: Pull as much info as you need out of the db, including the email id, then have a select box or check box if you want which sends the id of the email you want to delete back to a 'DELETE FROM' sql statement. No need for cookies that I can see. Mick On Sat, 3 Mar 2001, george wrote:

Re: [PHP] Hide Include-Files from the Web

2001-03-03 Thread Michael Hall
Include files do not have to end with '.inc', which is purely a convention of dubious value. If you use '.php' as the extension for included files, they will have to be parsed by PHP and can't be read as plain text from outside. Mick On Sat, 3 Mar 2001 [EMAIL PROTECTED] wrote: Hi! I want

Re: [PHP] PHP web based mailing list administrator

2001-03-03 Thread Michael Hall
Yes, they are about. Try hotscripts.com. Mick On Sat, 3 Mar 2001, Peter Van Dijck wrote: Hi, does there exist a web based mailing list administrator in PHP (Tying in with some open source mailing list software)? Ideally, something like egroups (now groups.yahoo.com). I just want to be

[PHP] length limit of URL?

2001-03-03 Thread Michael Hall
Does anyone know the practical limit to the length of a URL? Some of mine are now 100 characters long with heaps of variables packed in, so I'm wondering what the limits are? Thanks Mick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] passing variables

2001-03-03 Thread Michael Hall
OK, sorry, I read your post in a hurry. Something like this should work: A HREF="the_next_page.php?id=$row[id]"Do Something/A On the next page you'd have: $sql = "Do Something WHERE id = '$id'"; By the way, you don't necessarily have to go to a different page in the sense of

[PHP] multiple databases

2001-02-28 Thread Michael Hall
I'd like to run this past anyone who'd care to comment before I get too far down the track I'm considering taking with a PHP web portal site. Is it a wise idea to have a PHP web application running on multiple databases? Everything I've done to date has run off one database, no matter how large

Re: [PHP] multiple databases

2001-02-28 Thread Michael Hall
Do you mean 10 different database servers, or 10 databases on the one server? 10 databases on the one server. As far as I know, separate databases on the one server give the same performance as separate tables in one database. Music to my ears. With separate database servers you will

[PHP] Stylesheets

2001-02-17 Thread Michael Hall
I'm building a PHP application which uses stylesheets. Stylesheets seem to be broken in a big way on my system - using Netscape 4 something on Red Hat 6.1. Is this Netscape or somehow something to do with PHP? Things work as they're supposed to viewing the pages on a Windows/IE box. Mick --

Re: [PHP] javascript in PHP statement

2001-02-15 Thread Michael Hall
I am new to php and I am wondering if it is possible to use a javascript variable in a php statement for example: // create sql statement $sql = "select * from main where businesstype = "consultancy" and top.upper.villagename = != "0";"; As far as I know, no. Unless

  1   2   >