Re: [PHP] Maintaining sessions across multiple sites

2004-07-30 Thread Ron Dyck
> RD> I'm in the process of building an application that has an adminstration > RD> back-end shared by multiple sites. I need to maintain a persistent session > RD> across these sites to properly identify users. I'm using a db to store the > RD> session data but when switching from site to site, a

[PHP] Maintaining sessions across multiple sites

2004-07-30 Thread Ron Dyck
sion_id is started. Does someone know of a good article that explains how to accomplish this effectively? Any help is appreciated. ron ====== Ron Dyck Webbtech www.webbtech.net == -- PHP General Mailing List (http://www.php.net/) To u

[PHP] REGEX Question

2003-06-17 Thread Ron Dyck
a non, arcu. Mauris cursus vulputate pede. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Appreciate you help. ========== Ron Dyck Webbtech.net == --

[PHP] Installation problem

2003-06-01 Thread Ron Dyck
I'm currently attempting to upgrade to the latest version of php. When I run: ./configure --with-apxs2=/usr/local/apache2/bin/apxs \ --with-mysql=/usr/local I get the following message: Cannot find header files under /usr/local Why is this? ron -- PHP General Mailing List (http://www.php.net

[PHP] Output Buffering issues with 4.1.2

2002-09-09 Thread Ron Dyck
I seem to have some trouble with a script using the output buffering functions on a server running v4.1.2. Everything works fine on the box with 4.2.2. Is this an issue with 4.1.2? === Ron Dyck WebbTech www.webbtech.net [EMAIL PROTECTED] -- PHP

[PHP] Email formatting

2002-08-30 Thread Ron Dyck
servers recognize and accept [EMAIL PROTECTED] as they would [EMAIL PROTECTED]? === Ron Dyck WebbTech www.webbtech.net [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Storing objects in a session

2002-08-13 Thread Ron Dyck
Having trouble storing objects in a session. When I do this: if (!isset($_SESSION['auth'])) { $auth = new Auth(); $_SESSION['auth'] =& $auth; } else { $auth =& $_SESSION['auth']; } I end up getting the following errors when I refresh the page. __PHP_Incomplete_Class Object ( [__

[PHP] PGP and other encryptions methods for PHP

2002-05-01 Thread Ron Dyck
sure of how well that integrates with PHP. Any help or tips from anyones who's done some work with this would be appreciated. === Ron Dyck WebbTech www.webbtech.net

[PHP] Use of Objects in set_error_handler

2002-02-21 Thread Ron Dyck
Is is possible to use an object method to set_error_handler instead of a function? Instead of this: set_error_handler("errorHandler"); can this somehow be done: set_error_handler($obj->errorHandler); (The object method is of course valid.) =======

Re: [PHP] Using Variable Variables from form values inside a function

2002-02-18 Thread Ron Dyck
> > but, this doesn't: > > > > function myFunction() { > > foreach($_POST as $key=>$value) { > > > > if (empty($$key)) { > > print "empty value $key"; > > } > > > > } > > } > > Since php variable scope is local unless you define it global, that won't > work that way. You migh

[PHP] Using Variable Variables from form values inside a function

2002-02-18 Thread Ron Dyck
ction() { foreach($_POST as $key=>$value) { if (empty($$key)) { print "empty value $key"; } } } Anyone dealt with this? === Ron Dyck WebbTech www.webbtech.net [EMAIL PROTECTED] 905 734-1164 -- PHP General Mailin

[PHP] Name of file included

2002-02-05 Thread Ron Dyck
I need to access the name of a file included. ie: in index.php I've included various files, among them navigation.inc. Instead of manually typing at the top of everyfile, I'd like to use something like: === Ron Dyck WebbTech www.WebbTech.net

[PHP] HTTP_POST_FILES not working with 4.1.0?

2001-12-19 Thread Ron Dyck
Having trouble with HTTP_POST_FILES not working under 4.1.0. Track vars is enabled, and HTTP_POST_VARS works fine. Anyone experiencing simular problems? === Ron Dyck WebbTech www.WebbTech.net [EMAIL PROTECTED] 905 734-1164 -- PHP General

Fw: [PHP] Identifying input type="file"

2001-05-09 Thread Ron Dyck
> > I need to identify the particular name of a file upload type field: > type='file' name='image1'> > > > > when a file is uploaded it creates an array in the $HTTP_POST_VARS array, > called $HTTP_POST_FILES. If you have track_vars enabled, you can access the > name of the uploaded file on the

[PHP] Identifying input type="file"

2001-05-09 Thread Ron Dyck
I need to identify the particular name of a file upload type field: The elements are generated dynamically and I don't know the specific name of the field beforehand and of course need to read it before processing the form. Using $HTTP_POST_VARS does not seem to recognize this type of input fie