[PHP] Re: How do I display the script file name?

2003-02-27 Thread Mark Harwood
echo $_SERVER['PHP_SELF']; "Stephen Ford" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > How can I display the script file name? Presumably something like-: > > echo $ScriptFileName; > ?> > > While I'm learning php and developing various Web page versions, I want to > be sure the

[PHP] Re: Unit-testing PHP code

2003-02-13 Thread Mark Harwood
Check out. http://www.phpbuilder.com/columns/reiersol20030126.php3 http://pear.php.net/manual/en/packages.phpunit.tutorial.php Mark "Karl Traunmueller" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi all, > > I've written some small Web applications with

[PHP] Re: Best way to create a preference-file?

2003-02-13 Thread Mark Harwood
What about an .ini file? http://www.php.net/manual/en/function.parse-ini-file.php If you want read/write from php, try a searching http://www.phpclasses.org/ for inifile. Mark Victor wrote: "Victor spÄng arthursson" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]

[PHP] preg_grep

2002-10-15 Thread Mark Harwood
Hi All, I've written a inifile class and was trying to improve it but got stuck trying to read all the sections: [Section 1] name=value [Section 2] name=value $Inifile is the inifile read into an array but the following doesn't work: $Sections = preg_grep("/(?<=^\[)([^\[\]]+)(?=\]$)/i", $IniF

[PHP] Re: help on regex

2002-10-04 Thread Mark Harwood
> I am trying to learn regex and could need some help. > > There are 2 function I would need. 1 which returns false if the data does > contain anything else than numbers or fullstops > > I tryed this: > function validate_phone ($phone) { > return (ereg('^[0-9][:punct:]', $phone)); > } try using

[PHP] Re: Looking for web based email

2002-05-17 Thread Mark Harwood
Take a look at some others... http://www.hotscripts.com/PHP/Scripts_and_Programs/Email_Systems/Web-based_E mail/ "Craig" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am in the process of developing a website with a webmail system similar in > functions t

[PHP] Book: Web Database Applications with PHP and MySQL

2002-04-30 Thread Mark Harwood
Hi All, Has anyone got a copy of this book yet? If so, what do you think of it? Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: good php hosting environments

2002-04-26 Thread Mark Harwood
Try www.xcalibre.co.uk "Hamish" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > I'm looking for a really good, professional hosting environment in the uk > that supports php (not in safe mode)), mysql and offers the use of a secure > server and mail s

Re: [PHP] PHP editor for windows

2002-04-22 Thread Mark Harwood
http://www.phpedit.com/index.php "Steve Bradwell" <[EMAIL PROTECTED]> wrote in message 57A1618E7109D311A97D0008C7EBB3A1CBB2C3@KITCHENER">news:57A1618E7109D311A97D0008C7EBB3A1CBB2C3@KITCHENER... > I like VIM. at www.vim.org its got great color for a multitude of languages > and its a powerful edi

[PHP] Re: graphing packages

2002-04-15 Thread Mark Harwood
Try jpGraph www.aditus.nu/jpgraph/ "Christian Calloway" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > hey ppl, > > I need to create some fairly complex graphs dynamically, and I need to be > able to specify line, bar, or pie charts. Are there any PHP package