[PHP] AD authentication

2003-01-23 Thread Michael Hall
Mick 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

Re: [PHP] PHP & RTF

2003-01-14 Thread Michael Hall
ww.pepiedesigns.com > Providing Solutions That Increase Productivity > > Web Developement. Database. Hosting. Multimedia. > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- ---

RE: [PHP] class inside class

2003-01-13 Thread Michael Hall
s. Read about > inheritance of classes for more 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

[PHP] class inside class

2003-01-12 Thread Michael Hall
s/object functions, but have got nowhere yet. Is this possible, and if so, does anyone have any pointers? Hope my description of the problem makes sense. TIA Mick MICHAEL HALL Web Development Officer Batchelor Institute of

[PHP] Site Search

2002-07-28 Thread Michael Hall
apart from attempting 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 T

Re: [PHP] include files and global variables

2002-07-21 Thread Michael Hall
> MSN Photos is the easiest way to share and print your photos: > http://photos.msn.com/support/worldwide.aspx > > > -- 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] Re: get line from file

2002-07-19 Thread Michael Hall
> how can i grep out the line1,line2,line3 ?? > > do anyone out there have any idea ? > > > > > > -- 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

[PHP] Sablotron confusion

2002-07-19 Thread Michael Hall
s a Sablot-0.95.tar.gz 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

Re: [PHP] Password in script

2002-07-18 Thread Michael Hall
s. > > > > > > > > > > > > > > > > -- > > > > PHP General Mailing List (http://www.php.net/) > > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > -- > > > PHP 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 General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Password in script

2002-07-18 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 miscon

Re: [PHP] Of Jobs and Certs

2002-07-17 Thread Michael Hall
> > Martin Clifford > Homepage: http://www.completesource.net > Developer's Forums: http://www.completesource.net/forums/ > > > > -- 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] Classes Constructor syntax

2002-07-17 Thread Michael Hall
tabase and populate variables accordingly >} > } > > My question is: will this work? does PHP OOP support more than one > constructor? If my syntax is wrong, please let me know the correct syntax. > > Thanks > > David R > > > --

Re: [PHP] Classes Constructor syntax

2002-07-17 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] Classes vs. Functions

2002-07-16 Thread Michael Hall
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] Using index.php instead of index.html

2002-07-16 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] activating php scripts via cron

2002-07-16 Thread Michael Hall
>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 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
nt opinion? 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
s a specific user? I'm 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 (htt

Re: [PHP] Restricting access using IPs

2002-07-13 Thread Michael Hall
{ > > > > ?> > > > > > > > > Denied! > > > > > > > > > > > } > > > > > > > > ?> > > > > > > > > > -- > > > Jason Wong -> Gremlins Associates -> www.gremlins.com.h

Re: [PHP] Restricting access using IPs

2002-07-13 Thread Michael Hall
e { > > > ?> > > > > > > Denied! > > > > > > > > } > > > > > > ?> > > > > > > -- > > Jason Wong -> Gremlins Associates -> www.gremlins.com.hk > > Open Source Software Systems Integrators > > * W

Re: [PHP] compiling with mysql

2002-07-11 Thread Michael Hall
doing things, but it does work. > > > > -- > > Tyler Longren > > Captain Jack Communications > > [EMAIL PROTECTED] > > www.captainjack.com > > > > > > > > On Fri, 12 Jul 2002 10:02:40 +0930 (CST) > > Michael Hall <[EMAIL PROTECTED]>

Re: [PHP] compiling with mysql

2002-07-11 Thread Michael Hall
but the INSTALL file (or was it the message 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. -----

[PHP] compiling and php.ini

2002-07-11 Thread Michael Hall
;--enable-whatever" options 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 ---

[PHP] compiling with mysql

2002-07-11 Thread Michael Hall
pile PHP with a path 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 Genera

Re: [PHP] Removing ^M

2002-06-09 Thread Michael Hall
; > tr -d "\r" htmlfile.htm > > > > > >- Original Message - > >From: "Michael Hall" <[EMAIL PROTECTED]> > >To: "PHP List" <[EMAIL PROTECTED]> > >Sent: Sunday, June 09, 2002 2:40 AM > >Subject: [PHP] Removin

[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 (http://www.php.net/

Re: [PHP] MySQL - Creating The Database

2002-06-04 Thread Michael Hall
The problem is that you haven't read the (mysql) manual. Either read the > manual or search out (and read) the numerous tutorials that are available. > > -- ---- n i n t i . c o m php-python-perl-mysql-postgresql --

Re: [PHP] process php script at regular intervals

2002-06-03 Thread Michael Hall
eck the details 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 pr

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

2002-06-02 Thread Michael Hall
es un mensaje de Prueba con 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 unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Post 4.1.0 PHP

2002-05-30 Thread Michael Hall
lentless volume (of great, 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
6 AM > Subject: [PHP] HTML Checkboxes and PHP variables > > > > Are HTML Checkbox values handled the same way as Select Multiple tags? > > > > > > -- > > 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 and

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

2001-12-07 Thread Michael Hall
can use as front ends for these packages. I >went 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 > > > > -- ##

Re: [PHP] Re: session_id()

2001-12-07 Thread Michael Hall
iguration - > > if I use difference browser. > > > > IE : > > 9ff68d81039d9ece3ba9840328b91488 > > > > Opera : > > 7aa4895172b5a4785c9fb754eaf792aa > > > > NN : > > 1007630964 > > -- Michael Hall

Re: [PHP] Uploaded Image display problems

2001-12-07 Thread Michael Hall
ect DB"); > > $get_image = "SELECT ImgType, ImgData FROM ImageTable WHERE PKey=$PKey"; > > $get_image_result = mysql_query($get_image) > or die ("Unable to get image."); > > $binary_junk = mysql_result($get_image_result,0,ImgData); > $file_type = mysql_result($get_image_result,0,ImgType); >

Re: [PHP] php vbulletin and postgres

2001-12-04 Thread Michael Hall
as opposed to mysql. > > 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-ma

Re: [PHP] Dynamically created dropdowns

2001-12-04 Thread Michael Hall
ated by the models produced by > that manufacturer. > > I have 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 > > -- ###

[PHP] color problems when resizing image with GD

2001-11-29 Thread Michael Hall
img,"../images/property/property_".$id.".jpeg"); 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 a

[PHP] database question

2001-11-29 Thread Michael Hall
ing that? Mick -- ######## 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 adminis

Re: [PHP] Query Help Needed

2001-11-29 Thread Michael Hall
x27;$job_title', '$org_name', > '$address1', '$address2', '$address3', '$address4', '$city', '$region', > '$postal_code', '$country', '$email', '$mob_phone', '$

Re: [PHP] Apache 2.0.28 and PHP 4.0.6

2001-11-27 Thread Michael Hall
- > Lars > When mailing me, remember 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 PROTEC

Re: [PHP] Infomation wanted

2001-11-26 Thread Michael Hall
be hard 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 PROTECTE

Re: [PHP] Creating a new file & saving it with date & time name

2001-11-26 Thread Michael Hall
___ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > > -- Michael Hall [EMAIL PROTECTED] [EMAIL PROTECTED] http://openlearningcommuntiy.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] F

[PHP] Frames and Sessions

2001-11-13 Thread Michael Hall
I have tried starting a session in the main frameset file, then adding 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 -- #####

[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 this

[PHP] bizarre problems with php_gd.dll and IIS

2001-08-14 Thread Michael Hall
one have 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 contac

Re: [PHP] Form call a function on submit

2001-08-05 Thread Michael Hall
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-mail: [EMAIL PROTECTED] -- Michael Hall mulga.com.au [EMAIL PR

Re: [PHP] spell checker

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 (htt

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 m

RE: [PHP] Stripping single quotes

2001-07-28 Thread Michael Hall
Pty Ltd. > The views expressed in this e-mail or attachments are the views of > the author and not the views of Quillsoft Pty Ltd. > You should only deal with the material contained in this e-mail if > you are authorised to do so. > > This notice should not be removed. > >

Re: [PHP] mkdir

2001-07-28 Thread Michael Hall
st (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] php date

2001-07-28 Thread Michael Hall
TECTED] > 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/) To unsubscribe, e-mail: [E

Re: [PHP] Sessions and linking

2001-07-19 Thread Michael Hall
thing? > > Best regards, > > Jome > > > -- > 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] -- Mic

Re: [PHP] Install problems

2001-07-19 Thread Michael Hall
___ > Do You Yahoo!? > Get personalized email addresses from Yahoo! Mail > http://personal.mail.yahoo.com/ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To conta

RE: [PHP] note to PHP developers

2001-07-17 Thread Michael Hall
gt; > -- > Jason Murray > [EMAIL PROTECTED] > Web Developer, Melbourne 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]

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

2001-07-17 Thread Michael Hall
ow! > > _ > Get your FREE download of MSN Explorer at http://explorer.msn.com > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e

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 preten

RE: [PHP] Algorithm for repeating calendar events

2001-07-13 Thread Michael Hall
This libmcal sounds like something I've been needing for another project. Unfortunately, I'm on a Windows platform. Is there any way to get this functionality on Win32? I downloaded the tar.gz file with teh libmcal library in it, but I have no idea what I would do next. > -Original Messa

[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 exte

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 thr

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 sheba

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

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: > http://www.redhat.com/support/do

Re: [PHP] variables / reading files

2001-06-23 Thread Michael Hall
ot;\n"; } Your solution is cleaner so I'll 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... > &

[PHP] variables / reading files

2001-06-23 Thread Michael Hall
ds output to standard output and apparently won't store output in a variable (unless I did something wrong) fread needs a parameter for number of characters, file adds tags Anyway, any suggestions greatly appreciated. Michael hall -- PHP General Mailing List (http://www.php.net/) To unsub

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 syst

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, . Tiene el archivo la extension ".php"? Como has

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 w

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 dat

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] 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 hav

Re: [PHP] web page grab

2001-04-22 Thread Michael Hall
Something like this: $grab = eregi("Some leading code(.*)Some trailing code"); the (.*) is what you're grabbing. Mick On Sun, 22 Apr 2001, Ed Lazor wrote: > Hi =) > > I'm trying to grab content from another web page. After having browsed > through the mailing list archives and such, it lo

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 > C:\Inetpub\wwwr

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] 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 n

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

2001-04-10 Thread Michael Hall
ws doesn't work. > > you have to enter a value in that field with value NOW() > > > > -elias > > http://www.kameelah.org/eassoft > > > > "Michael Hall" <[EMAIL PROTECTED]> wrote in message > > [EMAIL PROTECTED]">news:[EMAIL PROTECTE

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 val

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] 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 archive

[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

[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

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

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 dat

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 w

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

2001-04-09 Thread Michael Hall
Lets try that again: > > 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 he

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

2001-04-09 Thread Michael Hall
Here's what I'd do (pseudocode): Mick > how do I do this > > call form > wait there until it is completed > call check > look for duplicate > > then if ok > I then commit to database after entereing data -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[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 th

[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 Mick

Re: [PHP] form

2001-03-31 Thread Michael Hall
I don't think this is possible. If you're using PHP, then data must be sent to the server via a POST or GET method. As far as I know, that means using a form with submit button. Sounds like you might be thinking Javascript or something. Mick On Sat, 31 Mar 2001, LDL Enterprise wrote: > Hi all

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 (http://www.php.

[PHP] equivalent to PERL's qq

2001-03-26 Thread Michael Hall
date 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 PROT

Re: [PHP] attachments with mail() function

2001-03-24 Thread Michael Hall
I'm not sure about including them in the mail function as such, but it can certainly be done using one of several mime_mail classes that are around. I don't have one handy right now but you can find them by searching the php archives and/or the annotated php manual. I know the one by Schumann and

Re: [PHP] quick array questions

2001-03-23 Thread Michael Hall
Yes it can. Try serialize() and unserialize() functions. Mick On Fri, 23 Mar 2001, Jaxon wrote: > > can an array be stored in a database field? > E.g. make a few runtime settings for a page, store the settings as an array > in a field, and use that array to make some runtime settings? > > F

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 do

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

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 M$

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 ma

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] passing variables

2001-03-03 Thread Michael Hall
OK, sorry, I read your post in a hurry. Something like this should work: Do Something 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 a different file ... all your 'pages' can

  1   2   >