[PHP] Re: Warning: filemtime() (errno=75 - Value too large for defined data type)

2005-05-29 Thread Christopher Curtis
On 5/29/05, Andrew Brampton <[EMAIL PROTECTED]> wrote: > Warning: filemtime(): Stat failed for master.log (errno=75 - Value too large > for defined data type) in test.php on line 5 > > when I do the following line of code: > filemtime ('master.log'); > My code was working fine until the file rea

RE: [PHP] Regex question: replacing incidences of character when not enclosed within HTML tags? (somewhat solved)

2005-05-29 Thread Murray @ PlanetThoughtful
> So, thinking about it a little more, I decided what I was looking for was > a > regular expression that would allow me to replace any incidences of > hyphens > when not contained within tags (i.e., when not contained between "<" and > ">"). > > And this is where things have ground to a halt. Hi

[PHP] Re: php based "open source" document workflow

2005-05-29 Thread Rob Scovell
Well ... it's not PHP but Mason, and it's called "Bricolage". (It's an Open Source content management system). And it's not straightforward ... but it can cover the sort of thing you are talking about with some tweaks. You will need to set it up so that you can use it to pass Word (or whatever)

Re: [PHP] Questionary Development

2005-05-29 Thread Rory Browne
If you insist on doing this serverside, then personally I'd probably use hidden form fields. If you're open to doing it client side, then I'd probably out the information into five sections, only one of which would be visible at any one time. using dhtml. What you want is the CSS visibility attrib

[PHP] Can't Get PHP to work

2005-05-29 Thread Subscriber
Hi, I sure hope someone here can help me. I spent the entire day yesterday and most of the evening setting up a webserver on my Windows 2000 Pro system. I've got PHP 5.04, MySQL 4.1.12, ActivePerl 5.8.6, Java Runtime Environment, Tomcat 5.5.9, ZendOptimizer 2.5.10, MyODBC 3.5.11 and phpMy

Re: [PHP] Replacing 2 strings

2005-05-29 Thread Brian V Bonini
On Sun, 2005-05-29 at 12:22, W Luke wrote: > Hi, > > I have some text in a file which, when it's dumped to a var, needs to > be replaced. In its raw form, it looks like this: <^JIM_JONES> and I > need to remove the <^_ and > characters and have it read "Jim-Jones" > > It's nestled in amongst a l

Re: [PHP] novice: how to run .sql script from php?

2005-05-29 Thread Marek Kilimajer
tony yau wrote: I realised that there is a fundamental problem with using mysql_query( ...) to run a .sql script to setup a database, and that was the database needs to be there in the first place for php to connect to! also there was a lot of comment lines in the script that was causing problem.

[PHP] Dummy question about gettion "select option" choosen

2005-05-29 Thread Mário Gamito
Hi, Thank you all who have helped me in the checkbox's question. This is an area to which i'm very fresh in PHP. I now have this code in a form: --- 1 2 3 (etc...) -- My question is, how can i, in the action code, retrieve the option choosen by

[PHP] Free penetration test: my 2¢

2005-05-29 Thread Andy Pieters
Hi all I would like to thank everybody for helping me. Quite honestly, I didn't even remark the referal id. I guess that's because if your looking at links all day long, you kinda block certain things. Like seeing only the hostname part of urls. Secondly, as far as I am concerned, no harm's

Re: [PHP] novice: how to run .sql script from php?

2005-05-29 Thread Rory Browne
On 5/29/05, tony yau <[EMAIL PROTECTED]> wrote: > > I realised that there is a fundamental problem with using mysql_query( ...) > to run a .sql script to setup a database, and that was the database needs to > be there in the first place for php to connect to! also there was a lot of > comment line

Re: [PHP] novice: how to run .sql script from php?

2005-05-29 Thread M. Sokolewicz
tony yau wrote: I realised that there is a fundamental problem with using mysql_query( ...) to run a .sql script to setup a database, and that was the database needs to be there in the first place for php to connect to! also there was a lot of comment lines in the script that was causing problem.

Re: [PHP] novice: how to run .sql script from php?

2005-05-29 Thread tony yau
I realised that there is a fundamental problem with using mysql_query( ...) to run a .sql script to setup a database, and that was the database needs to be there in the first place for php to connect to! also there was a lot of comment lines in the script that was causing problem. ... so I gave up

[PHP] A small PHP project

2005-05-29 Thread Rob Scovell
Hi, I do some voluntary work for Anglican Action, a Christian social services agency in Hamilton, New Zealand. We have installed a PHP package called Entiako on a web server (http://www.apexsoftware.ca/products/entiako/entiako.php) -- this is a room booking system. However, we have had some p

[PHP] Warning: filemtime() (errno=75 - Value too large for defined data type)

2005-05-29 Thread Andrew Brampton
Hi, I'm receiving the following warning: Warning: filemtime(): Stat failed for master.log (errno=75 - Value too large for defined data type) in test.php on line 5 when I do the following line of code: filemtime ('master.log'); The file in question is over 2GB, but I'm not interested in its si

[PHP] Replacing 2 strings

2005-05-29 Thread W Luke
Hi, I have some text in a file which, when it's dumped to a var, needs to be replaced. In its raw form, it looks like this: <^JIM_JONES> and I need to remove the <^_ and > characters and have it read "Jim-Jones" It's nestled in amongst a load of other text - I'm fopen'ing a file and reading it l

[PHP] php based "open source" document workflow

2005-05-29 Thread bruce
hi... i'm dealing with a project where i'm going to have users deal/modify a number of docs.. i'd like some sort of doc workflow process where i can allow a given user/type of user access to the doc, and move the doc along the process. ie, eng -> develops the doc test-> tests the doc qa -> re

[PHP] PHP 5.1 release

2005-05-29 Thread kioto
Hi all, i have question about the PHP 5.1 version. The PHP-GTk2 it's proud to start and require PHP5.1 version to work. When it's possible to use a stable version and what are the new features of this release. Thanks so much to all. -- PHP General Mailing List (http://www.php.net/) To unsubscr

Re: [PHP] webmaster@jnsolutions.co.uk

2005-05-29 Thread Rasmus Lerdorf
Ryan A wrote: > Everytime I write to the list or reply to the list I get an email from this > #%#"¤&! saying: I got rid of him. -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP on XP SP2 IIS Security?

2005-05-29 Thread Mario netMines
Hi all a while ago I bought a new computer and set it up to run PHP on IIS using MySQL db. I did all the usual setup step as I used to for the last 5 yrs. The first problem was with image uploading. The move_uploaded_file() was not working but only if the path was in the Inetpub directory. If I

Re: [PHP] Dummy question about knowing marked checkboes

2005-05-29 Thread Tom Rogers
Hi, Sunday, May 29, 2005, 5:50:13 PM, you wrote: MG> Hi, MG> First of all, my apologies to all list members for this dummy question. MG> I've made my home work before posting here, but the truth is that i MG> didn't found an answer for such a simple question. MG> Only examples of more sophisticat

[PHP] Dummy question about knowing marked checkboes

2005-05-29 Thread Mário Gamito
Hi, First of all, my apologies to all list members for this dummy question. I've made my home work before posting here, but the truth is that i didn't found an answer for such a simple question. Only examples of more sophisticated related things. I have this piece of code that produces various ch