RE: [PHP] open_basedir Option

2003-02-19 Thread Luke Woollard
BE CAREFUL WITH PHP_ADMIN_VALUE AND OPENING FILES FROM /tmp DIRECTORY ON *NIX SYSTEMS. YOU WILL NOT BE ABLE TO OPEN UPLOADED FILES FOR EXAMPLE UNLESS YOU USE THE 'upload_tmp_dir' OPTION AS ANOTHER php_admin_value... -- You can configure this values for independent VirtualHosts. Just

RE: [PHP] Root Commands

2003-02-19 Thread Luke Woollard
setuid is a UNIX command. try 'man setuid' on a *nix box.. LW -Original Message- From: Patrick Armour [mailto:[EMAIL PROTECTED]] Sent: Thursday, 20 February 2003 11:36 AM To: Jason Sheets Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Root Commands Great idea. However, that opens up a

RE: [PHP] Re: excluding same field values in mysql

2003-02-19 Thread Luke Woollard
MORE INFORMATION: http://www.w3schools.com/sql/sql_distinct.asp -Original Message- From: larry [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Thursday, 20 February 2003 12:31 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: excluding same field values in mysql In your

RE: [PHP] PHP file writing to static HTML file. PLEASE HELP

2003-02-19 Thread Luke Woollard
use the fopen, fputs, fclose commands. look up in PHP manual on php.net. Luke Woollard -Original Message- From: Jonathan Moore [mailto:[EMAIL PROTECTED]] Sent: Thursday, 20 February 2003 9:43 AM To: Subject: [PHP] PHP file writing to static HTML file. PLEASE HELP hello, i am

RE: [PHP] script to check if server is up

2003-02-18 Thread Luke Woollard
was running on our old server.. It always seemed to crash at awkard times... Luke Woollard -Original Message- From: Petre Agenbag [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 19 February 2003 12:17 AM To: Subject: [PHP] script to check if server is up Hi I have two servers on two

RE: [PHP] Protecting files

2003-02-17 Thread Luke Woollard
If you want to hide the content of an .inc or other file that contains PHP code simply rename it with a .php ie: config.inc becomes config.inc.php the server will parse the file as PHP now and not allow users to download it... Alternatively you can protect a directory with a .htaccess file if

RE: [PHP] Protecting files

2003-02-17 Thread Luke Woollard
CAPS How can I protect my php files among other files like templates (.inc) and mysql config (config.inc) files being copied/read/imported (front page)/used by other applications other than my site... can this be done by htaccess? is so , could anyone point me into right direction? I have

RE: [PHP] anyone know what ical and outlook are programmed in?

2003-02-16 Thread Luke Woollard
Outlook would most likely be written in VC++ /OR Visual Basic It's just a hunch.. LW -Original Message- From: Kevin Myrick [mailto:[EMAIL PROTECTED]] Sent: Monday, 17 February 2003 2:27 PM To: Subject: [PHP] anyone know what ical and outlook are programmed in? Hey all, I was

RE: [PHP] Re: URL of calling page

2003-02-16 Thread Luke Woollard
dude - try this: echo $HTTP_REFERER; It'l give you the refering page from when you came. Luke Woollard -Original Message- From: Brendon [mailto:[EMAIL PROTECTED]] Sent: Monday, 17 February 2003 3:17 PM To: Acleave Subject: [PHP] Re: URL of calling page On Sun, 16 Feb 2003 15:58

RE: [PHP] WYSIWYG Content Management system?

2003-02-06 Thread Luke Woollard
www.webeditpro.com has a nice 'static' page editor with one of the most advanced WYSIWYG interfaces I've seen. The company I work for uses a similar one I wrote named SITEWAVE however they wont let me release it under GPL. Heres a great article on building one which I used as the basis for

[PHP] PHP Database Abstraction Layer

2003-02-05 Thread Luke Woollard
*/ /* It is automatically generated by the database setup program */ // Instantiate dbWave using the MySQL API $dbWave = new Mysql(); // Connect to the database $dbWave-connect( 'yourhost', 'yourport', 'yourdbname', 'yourdbuser', 'yourdbpass' ); ? Thanks, Luke

RE: [PHP] Re: Etiquette

2003-02-03 Thread Luke Woollard
Chill out. It's only PHP programming. :) -Original Message- From: Philip Olson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 4 February 2003 2:56 PM To: Chris Shiflett Cc: Sunfire; Todd Barr; [EMAIL PROTECTED] Subject: [PHP] Re: Etiquette On Mon, 3 Feb 2003, Chris Shiflett wrote: ---

RE: [PHP] how to write clean code.

2003-02-02 Thread Luke Woollard
What about the coding standard found on PEAR.php.net LW -Original Message- From: Maxim [EMAIL PROTECTED] [mailto:Maxim [EMAIL PROTECTED]]On Behalf Of Maxim Maletsky Sent: Monday, 3 February 2003 11:19 AM To: anders thoresson Cc: Subject: Re: [PHP] how to write clean code. Coding

[PHP] Shared object/component equivalent on *nix

2003-01-29 Thread Luke Woollard
Has anyone got a PHP/*nix equivalent solution to the MS Shared VB Object/Component model? See: http://www.cyscape.com/products/country/docs/countryhawk/getselectlist_metho d.htm for an example of a useful component. Thanks, Luke Woollard -- PHP General Mailing List (http://www.php.net