[PHP] PHP catalog software

2002-12-17 Thread Christian Calloway
Hey everyone, Im looking for some type of ecatalog/inventory software written PHP thats fairly good and that I can extend. Any suggestions? Or should I just I write my own from the ground up. The site I am working on sells fairly specialized and unique items, antiques and etc. Thanks -- PHP G

[PHP] Why use XML?

2003-02-10 Thread Christian Calloway
Hi, well Im out of a job so I am sitting around learning XML. It seems like a great tool, but I am trying to figure out why I would actually use it? All it does is seperate content and data, albeit on the client, but that is what I have been doing with Smarty and MySQL for awhile now. Why would I

[PHP] how to force a refresh?

2003-03-12 Thread christian calloway
Ok, well I have a form that uploads images, but of course the problem is, is that IE caches the uploaded images. The only way to clear the cache is to refresh, but that isn't a very user friendly approach. I've tried the following header tags: Header("Pragma: no-cache"); Header("Expires: Mon, 26 J

[PHP] session bug or feature

2003-08-07 Thread Christian Calloway
Hey Everyone, I am running Apache 2.047 with PHP (as module) 4.3.2. I ran into something interesting and I wanted to know if it was a bug, or actually supposed to be that way. Given the following lines of code: The problem is, when I set the global variable $foo="rab", when I echo the session v

Re: [PHP] session bug or feature

2003-08-14 Thread Christian Calloway
urt Zirzow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > * Thus wrote Christian Calloway ([EMAIL PROTECTED]): > > Hey Everyone, > > > > I am running Apache 2.047 with PHP (as module) 4.3.2. I ran into something > > interesting and I wanted to

Re: [PHP] session bug or feature

2003-08-14 Thread Christian Calloway
Yeah I figured as much. That sucks that they would both reference the same location in memory even with globals on. Thanks alot for your help, ill figure out a hack around the hack. Christian Calloway "Kirk Johnson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] &g

[PHP] isset bug?

2003-08-22 Thread Christian Calloway
Ok, here's the deal. I like to use $_GET and $_POST variables without values to notify my scripts that some action must be taken. For example, given the following URL: http://blahdomain/blah.php?productid=1&edit or given the following form element: My blah.php script will check if edit set usi

Re: [PHP] isset bug?

2003-08-22 Thread Christian Calloway
TECTED] > * Thus wrote Christian Calloway ([EMAIL PROTECTED]): > > Ok, here's the deal. I like to use $_GET and $_POST variables without values > > to notify my scripts that some action must be taken. For example, given the > > following URL: > > > > http://bla

[PHP] mysql or php timestamp arithmatic

2003-08-25 Thread Christian Calloway
Hey everyone, I am writing an application to keep track of employee vacation leave. I have two timestamp(14) database fields, lets call them start and end, signifying when start and end of a vacation leave, respectively. What I am trying to do is get the number of hours between start and end, for

[PHP] preg_match bug

2003-08-25 Thread Christian Calloway
Hey I wanted to see if anyone was getting the same problem. Using preg_match in the following pattern: "/(.|\n)+?<\/tr>/" PHP seems to be crashing. I get a "Page cannot be displayed" message from the browser. I've come across this before, and I just upgraded to 4.3.3, and no difference. -- PHP

Re: [PHP] preg_match bug

2003-08-26 Thread Christian Calloway
s" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Christian Calloway wrote: > > > Hey I wanted to see if anyone was getting the same problem. Using preg_match > > in the following pattern: > > > > "/(.|\n)+?<\/tr>/" > >

Re: [PHP] preg_match bug

2003-08-26 Thread Christian Calloway
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > * Thus wrote Christian Calloway ([EMAIL PROTECTED]): > > Hey I wanted to see if anyone was getting the same problem. Using preg_match > > in the following pattern: > > > > "/(.|\n)+?<\/tr>/"

Re: [PHP] preg_match bug

2003-08-26 Thread Christian Calloway
Errors are not being logged on my XP Pro box (error logging is on) "Curt Zirzow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > * Thus wrote Christian Calloway ([EMAIL PROTECTED]): > > Hey I wanted to see if anyone was getting the same problem. Using preg_m

Re: [PHP] preg_match bug

2003-08-26 Thread Christian Calloway
Fixed the problem using "s" pattern modifier: '/regexp/s', without it, it still hangs using '(.|\n)' in the pattern. "Christian Calloway" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Errors are not being logged on my XP Pro bo

[PHP] Administration packages

2003-06-04 Thread christian calloway
Hey everyone, I find myself building alot of admin control areas, or in otherwords, a group of forms that lets an end user control data and appearances of his/her site. What I am looking for is a package of classes/functions that will help me automate and modularize this process a little more. I a

[PHP] mysql question

2002-07-26 Thread Christian Calloway
Sorry this may be a little offtopic, but I am currently moving a site I was developing from coldfusion+MSAccess to PHP+MySQL. I remembered reading somewhere that there is a utility that will convert/transfer (data and structure) a MSAcess database to Mysql, and vice versa. Anyone know? Thanks Chr

[PHP] include_path? programmatically

2002-09-18 Thread Christian Calloway
I dont have access to the php.ini file, is there anyway to access the "include_path" setting programatically from php? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] MySQL > Access

2002-09-20 Thread Christian Calloway
Can anyone suggest a strategy for importing data from MySQL to Access (it sucks I know, but I have to do it for my work). I was thinking of using a text-delimited file as an intermediate, but I am not quite sure on the logistics. -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] preg_match bug

2003-08-26 Thread Christian Calloway
Hmm.. who knows, Ive wasted to much time on this silly problem. I appreciate your help Curt, thanks. "Christian Calloway" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Fixed the problem using "s" pattern modifier: '/regexp/s', without it,

[PHP] Apache and forward slash

2003-08-29 Thread Christian Calloway
Hey, I am setting up Apache 1.3.27 on a linux box (I really dont know much about linux) and I am having small problem. When a specify a subdirectory off of my document root, I must include a "/" forward slash in order for the index page to load, otherwise I get the "The page cannot be displayed" m

[PHP] mysql question

2004-01-15 Thread Christian Calloway
Hey, Sorry to post a mysql question here, but I wanted an answer from a PHP perspective. I am currently working on a database (for work) which contains 40 tables, and will continue to expand. The reason for expansion of tables is to obscure to get into, but the relationships all do make sence. I h

Re: [PHP] mysql question

2004-01-16 Thread Christian Calloway
application, there is a problem with the design of data > structures. If that's the case, now is the time to fix it. > > Miles > > At 05:35 PM 1/15/2004 +, Christian Calloway wrote: > >Hey, > > > >Sorry to post a mysql question here, but I wanted an answer

Re: [PHP] mysql question

2004-01-16 Thread Christian Calloway
f conserving space so > it is used efficiently. The thorny issue of which data types to use in what > columns hasn't been addressed either. > > The crunch is whether or not you can ask questions of these tables and > fetch the data you need. > > > > > > At 12:52

[PHP] another mysql question, sorry

2004-01-19 Thread Christian Calloway
I am sorry to post another mysql question, but this one is design related. I need to create a relationship between two different tables in two different databases. I feel like I am commiting a sin doing so, but it makes sence at the application level, and to redesign everything would be disastrous.

[PHP] PHP timesheets?

2002-01-07 Thread Christian Calloway
Hi, Are there any PHP coded timesheet type web application? And if so, what would we be suggested. Thanks, Christian -- 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 administrato

[PHP] graphing packages

2002-04-14 Thread Christian Calloway
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 packages that someone could point me to that would fill my needs. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] phptriad / apache on windows question

2001-11-19 Thread christian calloway
Hi everyone, I just downloaded phptriad, which installs apache/php/mysql/perl on a win system. Im not sure on the language, but I want to be able to define virtual directories. Currently everything under /apache/htdocs/ is accessible from the browser, ie test.php located at c:\apache\htdocs\test.

[PHP] Application.cfm like mechanism in PHP?

2001-12-11 Thread christian calloway
Hey everyone, In coldfusion, if you have a file named Application.cfm in the same dir as the script that is currently executing, then the coldfusion server will automatically include that file in beginning of every script in that directory. Is there any way, by manipulating the php config setting

[PHP] OO question

2001-12-11 Thread christian calloway
I want to be able to override a function/method in a parent class, but then call that function/method from within the overriden function in the child class. The Zend documentation states you can do this: "In PHP 4.0 you can call member functions of other classes from within member functions or fr

[PHP] OO question

2001-12-11 Thread christian calloway
I want to be able to override a function/method in a parent class, but then call that function/method from within the overriden function in the child class. The Zend documentation states you can do this: "In PHP 4.0 you can call member functions of other classes from within member functions or fr

[PHP] PHP4.1.0 & Apache1.3.22 under WinXP

2001-12-15 Thread Christian Calloway
Hi everyone, I'm having troubles getting Apache to recognize .php files, and thus parse them. I followed the instructions included with the PHP4.1.0 distribution, and have PHP loaded as an Apache module, checking my services confirms this as its description reads "Apache/1.3.22 (Win32) PHP/4.1.0"

[PHP] PHPDOC 2.3.5 released

2001-06-20 Thread Christian Calloway
Hi everyone, I released a new version of PHPDoc, 2.3.5, and is a major update over previous releases. PHPDoc can now parse multiple class definitions in a single file. For anyone that doesnt know, PHPDoc is documenting tool, that converts PHP code to Java syntax, and then hands that result ove

[PHP] Re: poor HTML syntax crashing (!) netscape

2001-07-08 Thread Christian Calloway
I've had the same problem with Netscape, where it would crash/choke on any platform. I never figured it out, but it has something to do with Netscape choking on your HTML, it has nothing to do with CSS or Javascript or PHP for that matter. I'm not an IE fan, but lets face it, Netscape sucks. "To

[PHP] PHP CVS solution

2005-03-23 Thread Christian Calloway
Hiya guys, I need some type of extremely simple (yet intuitive) CVS solution, preferbly written in PHP. Namely I want to allow fairly unsavvy computer users (lets say my mom for example) to checkout files of interest, located on some server, via a web-interface and PHP\MySQL backbone. I really

[PHP] pixels per character

2005-04-14 Thread Christian Calloway
Hey all, trying to dynamically size cell widths; what I need is a formula to measure pixels per character for an arbitrary font (in this case 10pt verdana). A simple function f(x) = strlen(x) * SOMECONSTANT just doesn't seem to cut it, as returned widths are to small are long. Any ideas? Chris

[PHP] user tracking

2004-07-06 Thread Christian Calloway
Hey everybody, I am looking for some type of user tracking/stat collecting package. I am sure there's a million; any recommendations? We have some specific needs as well, so mostly likely I will be have to make some code changes. So the simpler package the better. Christian -- PHP General Maili

Re: [PHP] user tracking

2004-07-06 Thread Christian Calloway
... > > and somehow increment the "times" column ... > > Mysql has a INSERT / UPDATE combo command .. which may help. > > Michael > > > On Tue, 6 Jul 2004 12:15:06 +0100 > "Christian Calloway" <[EMAIL PROTECTED]> wrote: > > > Hey everybody, &

[PHP] interesting problem with zlib/ob_gzhandler compression

2004-07-22 Thread Christian Calloway
I have ran into a rather interesting problem while zlib or gzip compression is enabled on my site. I have an external javascript-php file (a javascript file that is dynamically generated as in filename.js.php) which is included in the main template using the element (for example