[PHP] A PHP page counter / statistics app

2003-02-28 Thread Michael Zornek
I'm ether looking to find or build my own open source php based script, that would allow you to include a small code chunk on every page of a site and then view statistics from the info, on what pages were viewed, how many times, etc... First, if there are any you know of and want to recommend,

[PHP] How to create an empty array

2003-02-27 Thread Michael Zornek
I want to create an empty array so I can add elements to it later I'm currently using: $catergory_list[] =array(); But when I try to print this list I discover the element zero has the string Array in it. How can I create a truly empty array? ~ Mike -- MikeZornek.com New blog, new QA column,

[PHP] Looking for good ZIP Code / Latitude / Longitude table

2002-10-30 Thread Michael Zornek
I've written a nice php/mysql site that let's you search for hospitals and community colleges by zip code. The search is built upon some math that figures out distances by a zip's lat and lon cords. My problem is that my current ZIP table (bout 42,000 rows) seems to be flawed. There are a ton of

Re: [PHP] Re: Looking for good ZIP Code / Latitude / Longitudetable

2002-10-30 Thread Michael Zornek
On 10/30/02 2:31 PM, Manuel Lemos said: On 10/30/2002 04:03 PM, Michael Zornek wrote: I've written a nice php/mysql site that let's you search for hospitals and community colleges by zip code. The search is built upon some math that figures out distances by a zip's lat and lon cords. My

Re: [PHP] Jaguar OS help

2002-10-16 Thread Michael Zornek
Pushpinder Singh Garcha said: Hi i have recently upgraded from OS 10.1.5 to Jaguar. I previously had 2 users on the system. and using the main login screen I could select the user that I wanted to log on as. Now that I have installed Jaguar ...I do not get any such screen to select user

[PHP] Good OO PHP resources? Open Source APIs?

2002-09-18 Thread Michael Zornek
I've been doing PHP for about 2 years now. The code I write is generally procedural although I have been using a MySQL class to do some db stuff as of late. Over last few months, I've been learning Cocoa. If you don't know its an OBJ-C based API to develop apps for Mac OS X. By doing so I want

[PHP] HTML issue... spaces in between images

2002-08-12 Thread Michael Zornek
Ok so in my HTML I have: img src=img/tab_1l.gif width=9 height=24 img src=img/home_on.gif width=80 height=24 img src=img/tab_10.gif width=15 height=24 but because they are on separate lines with spaces, I get spaces rendered on the screen. If I write the code like: img src=img/tab_1l.gif

[PHP] Exit script early

2002-07-16 Thread Michael Zornek
Ok, So I'm creating a details.php page where I'm expecting the url to be something like: /details.php?id=12345 Thus in my php I have the following: if (!isset($id)) { // if no id exsits // Create a page saying ID not found, goto index writeHTMLTag(); writeHeader(Error, never);

[PHP] I can't echo object variables

2002-07-16 Thread Michael Zornek
We all know this works: echo p$someVar; However this does not: echo p$db-field('name_long'); I know this slight variation will make it work: echo p . $db-field('name_long'); But it's cumbersome .. Anyway to get the first way to work? ~ Mike -- Mike Zornek | Project Leader Apple Student

Re: [PHP] I can't echo object variables

2002-07-16 Thread Michael Zornek
Twas 7/16/02 1:47 PM, when Martin Clifford [EMAIL PROTECTED] said: Try enclosing it in curly braces. echo p${db-field('name_long')}; Parse error :-( ~ Mike -- Mike Zornek | Project Leader Apple Student Developers The Insanely Great Site with the Insanely Long URL

Re: [PHP] OSX + Apache + PHP + MySQL

2002-06-21 Thread Michael Zornek
check out Oreilly's articles too.. very helpful .. http://www.macdevcenter.com/pub/ct/49 You don't need OS X server. OS X includes Apache and Perl.. you can get MySQL and PHP4 from http://www.entropy.ch Do I need OSX SERVER to run everything I'd need for a development environment, or will

Re: [PHP] PHP and Quicktime...

2002-04-18 Thread Michael Zornek
Twas 4/18/02 1:48 AM, when Pusta [EMAIL PROTECTED] said: Hello all, I'm new at PHP but learning and loving it. For a school project, I have to use PHP to display a video on a web page using QuickTime. Can anyone point me to where I can get some info on how to do this?

[PHP] anyone using CVS for PHP dev?

2002-04-03 Thread Michael Zornek
I've been learning a little bit about CVS and am considering using it for dev of some group PHP sites. Anyone doing this? comments? ~ Mike -- Mike Zornek | Project Leader Apple Student Developers The Insanely Great Site with the Insanely Long URL http://www.applestudentdevelopers.org

[PHP] PHP that will help me color code, code; like C++ on a HTML page?

2002-04-02 Thread Michael Zornek
As you may see from the footer I run a dev site. I'm interested in finding some PHP that will help me show color syntax-ed code in html. like you could imagine a tutorial about Obj-C .. and code snippets. I'd like to have those snippets color coded for Obj-C syntax. anyone know if this is

[PHP] empty lines cause http headers?

2002-03-17 Thread Michael Zornek
I'm writing a page that will do a little snooping into a db (based on a previous form submit) and start a session based on the results. The problem is that PHP seems to be sending the HTTP headers when it encounters the first blank line in the code (which I do use to help separate the code a

Re: [PHP] empty lines cause http headers? [FIXED]

2002-03-17 Thread Michael Zornek
Twas 3/18/02 12:21 AM, when [EMAIL PROTECTED] [EMAIL PROTECTED] said: Just make sure the blank lines are ? inside php tags ? If they're out in the raw HTML area, the headers will get packaged up and the content output buffer collection will begin. After some investigation I saw an extra

[PHP] help a newbie out...

2002-02-23 Thread Michael Zornek
I'm getting a parse error with the following on line 9 http://www.applestudentdevelopers.org/testbed/ASD_PrintEmailLink.phps any clue? ~ Mike -- Mike Zornek | Project Leader Apple Student Developers The Insanely Great Site with the Insanely Long URL http://www.applestudentdevelopers.org

Re: [PHP] help a newbie out... FIXED

2002-02-23 Thread Michael Zornek
Twas 2/23/02 11:27 PM, when Michael Zornek [EMAIL PROTECTED] said: I'm getting a parse error with the following on line 9 http://www.applestudentdevelopers.org/testbed/ASD_PrintEmailLink.phps any clue? Fixed, I figured it out.. I forgot to replace a bunch of vars with the new names

[PHP] Need to-do list for my web site

2002-02-19 Thread Michael Zornek
I'm looking to put up a dynamic to-do list for me and my web dev team. Nothing to fancy but something to keep us organized. I'd write one myself but don't want to reinvent the wheel and would hate to put create to-do list app on the top of my to-do list for the shear redundancy of it all. ~ Mike

[PHP] How to check if a current session is going?

2001-02-23 Thread Michael Zornek
I have a auth system in the works and if a session is going then they are "logged in". What's the best way to check to see if a session is currently in progress? Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: AW: [PHP] Session files? (Very Techy Questions)

2001-02-22 Thread Michael Zornek
At 5:54 PM +0100 2/21/01, Sebastian Stadtlich wrote: writing an apache module that did the following: When a file with .pdf is asked for it looks to see if the user is currently in a session (aka 'logged on'). I'm guessing the module can know this by using the HTTP headers. Figuring we

[PHP] Session files? (Very Techy Questions)

2001-02-21 Thread Michael Zornek
Ok, I'm new to sessions and have a few questions... Here is my plan. I'm running a news type web site where subscribers have different privileges on what they can view and download. The privileges are stored in a mySQL DB. My plan is to make users login (thereby starting a session with all

[PHP] How do I ....

2001-02-20 Thread Michael Zornek
ok, I'm starting to play with sessions and have a few things I want to do, first is recompile --with-trans-sid and I'm pretty sure I know how to do that (make clean, then configure, etc.) However, I'm thinking of changing a few of the things ? phpinfo() ? is giving me like:

Re: [PHP] include statement

2001-01-17 Thread Michael Zornek
clude"); adamw - Original Message - From: "Michael Zornek" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 17, 2001 5:04 PM Subject: [PHP] include statement I'm a PHP newbie and am looking into using the include statement to put things like the header an