Re: [PHP] Any difference between these 2 forms of syntax?

2002-05-10 Thread php3
Addressed to: "Richard Davey" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Richard Davey" <[EMAIL PROTECTED]> Sat, 11 May 2002 01:54:43 +0100 > > Hi, > > I am wondering if there is any tangible difference between the following two > commands: > > $x = $foo["status"]

Re: [PHP] apps that need register globals 'on' and others require

2002-04-30 Thread php3
Addressed to: Philip Olson <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from Philip Olson <[EMAIL PROTECTED]> Tue, 30 Apr 2002 22:45:49 + (GMT) > > Btw, I can't think of a reason why a script designed > with register_globals = off would not work with it > on. Which i

Re: [PHP] Producing images in different sizes

2002-04-28 Thread php3
Addressed to: Miguel Cruz <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from Miguel Cruz <[EMAIL PROTECTED]> Sat, 27 Apr 2002 19:11:46 -0500 (CDT) > > I'm guessing the issue is that it complicates the process of adding new > images, because someone has to create and upload

Re: [PHP] Producing images in different sizes

2002-04-27 Thread php3
I think he already has the best solution. Store two images. How many thumbnails are there on a page? At 1-2 seconds per image to resize how long will you make every visitor wait to see the thumbnails? Disk space is cheap. If you have to buy another drive - no big deal. I don't know about yo

Re: [PHP] Combine SQL query OT

2002-04-26 Thread php3
Addressed to: Richard Baskett <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from Richard Baskett <[EMAIL PROTECTED]> Fri, 26 Apr 2002 01:47:17 -0700 > > Is there a way I can combine these queries? > > $result = queryDB("SELECT count(ResumeID) FROM Resumes WHERE > typeEmplo

Re: [PHP] RPM apache+php v. source apache+php

2002-04-11 Thread php3
Addressed to: Jeff Bearer <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from Jeff Bearer <[EMAIL PROTECTED]> 11 Apr 2002 13:40:52 -0400 > What is your opinion of using Red Hat's Apache and PHP binaries instead > of compiling from source? If what they provide is exactly wh

Re: [PHP] draw image graph with uptime command

2002-01-04 Thread php3
Addressed to: "Daniel Masur" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Daniel Masur" <[EMAIL PROTECTED]> Fri, 4 Jan 2002 08:54:00 +0100 > anybody can help? > > ps, i never worked with images in php before... Take a look at: http://www.aditus.nu/jpgraph/ Ri

Re: [PHP] Re: User-friendly URI's

2002-01-03 Thread php3
Addressed to: Mike Eheler <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from Mike Eheler <[EMAIL PROTECTED]> Thu, 03 Jan 2002 16:26:53 -0800 > > That's the whole point of this thread.. that's what I want to avoid. I > want to have a URI that is easier to remember, and less

Re: [PHP] php unpack function

2001-05-23 Thread php3
Addressed to: Chris Mattmann <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from Chris Mattmann <[EMAIL PROTECTED]> Wed, 23 May 2001 18:05:27 -0700 (PDT) > > Thanks for your help Rick. > > The problem I was having was basically as you understood, except for the fact > that

Re: [PHP] php unpack function

2001-05-23 Thread php3
Addressed to: [EMAIL PROTECTED] [EMAIL PROTECTED] ** Reply to note from Chris Mattmann <[EMAIL PROTECTED]> Wed, 23 May 2001 13:28:36 -0700 > For instance, my file is basically just thousands of temperature > values, taken 4 times a day, over a period of 20 years. Let's > say I wa

Re: [PHP] Validation Email in PHP programs

2001-04-03 Thread php3
Addressed to: "Steve Werby" <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> ** Reply to note from "Steve Werby" <[EMAIL PROTECTED]> Tue, 3 Apr 2001 15:24:29 -0400 > > > I should have said there's no *reliable* way to check whether an email > address on an external server is valid. There i

Re: [PHP] function knows where call came from?

2001-03-28 Thread php3
Addressed to: "Reuben D Budiardja" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Reuben D Budiardja" <[EMAIL PROTECTED]> Wed, 28 Mar 2001 12:44:55 -0500 > > Yes, that would be really cool. I my self has tried to find a way to do > this, and throw this question to the

Re: [PHP] presentation software used by Rasmus Lerdorf

2001-03-20 Thread php3
Addressed to: "Henkie" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Henkie" <[EMAIL PROTECTED]> Tue, 20 Mar 2001 09:37:22 - > > Hi, > > Recently, I saw a presentation by Rasmus Lerdorf about php. He used > netscape and php scripts as presentation software and i

Re: [PHP] email an ms-word attachment (please)

2001-03-20 Thread php3
Addressed to: Jen Hall <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from Jen Hall <[EMAIL PROTECTED]> Tue, 20 Mar 2001 19:59:26 -0500 > > Hi there > I am trying to build an application where a user can use an > HTML form, fill out some fields, select a file from their > h

Re: [PHP] String indexing with braces

2001-03-07 Thread php3
Addressed to: Toby Butzon <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from Toby Butzon <[EMAIL PROTECTED]> Wed, 07 Mar 2001 18:07:29 -0500 > > Greetings, > > I know there's been some discussion of adding support for string > indexing (that would be exclusive to strings [

Re: [PHP] removing characters

2001-03-06 Thread php3
Addressed to: Rick St Jean <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from Rick St Jean <[EMAIL PROTECTED]> Tue, 06 Mar 2001 01:47:05 -0500 A good way to do what you are asking is a combination of the last two suggestions... if( count( $Area )) {# Don't do anyt

Re: [PHP] Newbie: Can't find function error.

2001-03-06 Thread php3
; mod_autoindex.c > mod_dir.c > mod_cgi.c > mod_asis.c > mod_imap.c > mod_actions.c > mod_userdir.c > mod_alias.c > mod_access.c > mod_auth.c > mod_so.c > mod_setenvif.c > mod_ssl.c > mod_php4.c > mod_perl.c > > And httpd.co

Re: [PHP] mysql_connect() with timeout

2001-03-06 Thread php3
Addressed to: <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from <[EMAIL PROTECTED]> Tue, 6 Mar 2001 01:29:52 -0500 > > Frankly, I don't know how people would otherwise handle connections > to MySQL since the attempts could, potentially, block forever. I guess because the

Re: [PHP] config question

2001-03-05 Thread php3
Addressed to: [EMAIL PROTECTED] [EMAIL PROTECTED] ** Reply to note from [EMAIL PROTECTED] Mon, 5 Mar 2001 20:00:47 EST > > My server admin is being stupid... magic_quotes_gpc have been turned off > unexpectadly so phpMyAdmin aint working, as well as half my scripts. He says > no

RE: [PHP] HREFs that can't be

2001-03-05 Thread php3
t; I've tried setting this up, but for the life of me, I could not get it to > work. I've never had a problem with it. I place it inside the block for the host I want to affect. I've got some domains with over half a dozen different programs that use this trick. It needs to

RE: [PHP] get current events from mysql query by date?

2001-03-05 Thread php3
Addressed to: <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from <[EMAIL PROTECTED]> Mon, 5 Mar 2001 14:10:28 -0600 > > This is just a guess but wanted to take a shot at it. > > Something like > > SELECT EventID, EventName, EventDescription, > EventStartDate, EventEndDate >

Re: [PHP] help gurus: multi-dimensional array problem.

2001-03-03 Thread php3
Addressed to: andrew <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from andrew <[EMAIL PROTECTED]> Sat, 03 Mar 2001 14:26:30 -0500 > > help! :)> > > I'm trying to return a list of links under associated categories from a > database table that has the fields: "linkID, catego

Re: [PHP] linking to specific spot on map?

2001-03-02 Thread php3
Addressed to: Floyd Baker <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from Floyd Baker <[EMAIL PROTECTED]> Thu, 01 Mar 2001 16:39:23 -0500 > > > > Hi.. We have a city map using co-ordinates to link to specific info on various > buildings, etc. The links bring up an info

Re: [PHP] Connection error

2001-03-02 Thread php3
Addressed to: <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from <[EMAIL PROTECTED]> Fri, 2 Mar 2001 15:59:55 -0500 > > Hi, > > When I run the code: > >mysql_connect ("LOCALHOST","webmaster2","hironsc0"); > ?> > > I got error message: > Fatal error: Call to unsupp

Re: [PHP] HREFs that can't be

2001-03-01 Thread php3
Addressed to: [EMAIL PROTECTED] [EMAIL PROTECTED] ** Reply to note from CC Zona <[EMAIL PROTECTED]> Thu, 01 Mar 2001 20:05:55 -0800 > > In article <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] ("Boget, Chris") wrote: > > > Also, how would I set the (previously GET) vars up as session >

Re: [PHP] Munging hidden/form variables

2001-03-01 Thread php3
Addressed to: "Simon Garner" <[EMAIL PROTECTED]> "Chris" <[EMAIL PROTECTED]> "php" <[EMAIL PROTECTED]> ** Reply to note from "Simon Garner" <[EMAIL PROTECTED]> Fri, 2 Mar 2001 13:05:00 +1300 > > So how do you verify that the logged in user is allowed to act on behalf

Re: [PHP] Munging hidden/form variables

2001-03-01 Thread php3
Addressed to: "Chris" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Chris" <[EMAIL PROTECTED]> Thu, 1 Mar 2001 15:43:25 -0800 > > Would it not be possible to have both the form page and the script page that > handles the form be generated o the fly with random filenam

Re: [PHP] Munging hidden/form variables

2001-03-01 Thread php3
Addressed to: Kelly Corkill <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from Kelly Corkill <[EMAIL PROTECTED]> Thu, 1 Mar 2001 16:27:21 -0700 (MST) > > > I would think you should be able to write a random string to a file when the > form page is accessed, and carry a var

Re: [PHP] Munging hidden/form variables

2001-03-01 Thread php3
Addressed to: "Boget, Chris" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Boget, Chris" <[EMAIL PROTECTED]> Thu, 1 Mar 2001 14:26:16 -0600 > > --_=_NextPart_001_01C0A28D.E2F45248 > Content-Type: text/plain; > charset="iso-8859-1" > > It is possible (I've d

Re: [PHP] PHP image browser

2001-03-01 Thread php3
Addressed to: "Timothy Wright" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Timothy Wright" <[EMAIL PROTECTED]> Thu, 1 Mar 2001 14:40:16 -0500 > > Can PHP & GD-lib create an index with thumbnail images of all graphics in a > directory? Has anyone done this? Specif

Re: [PHP] Exception Handling in php

2001-02-27 Thread php3
Addressed to: kevin1 <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from kevin1 <[EMAIL PROTECTED]> Tue, 27 Feb 2001 08:10:05 -0500 > > Is there any equivalent to Java's try-catch or Perl's eval{BLOCK}if($@) > structure in PHP? No. There has been some discussion about addi

Re: [PHP] php4 as a module AND a cgi

2001-02-26 Thread php3
Addressed to: <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from <[EMAIL PROTECTED]> Mon, 26 Feb 2001 15:58:19 -0500 > > hi all, > > thanks for the replies. many of you asked why I want to use php4 as a cgi. > > basically it boils down to this, using PHP as CGI you can run

Re: [PHP] php quit working

2001-02-26 Thread php3
worked > just as it should, then I loaded phpmyadmin > and now when I make a request for a php file > it tries to download, my httpd.conf file seems > to be in order...any ideas? What file extension did you use on your phpinfo() attempt? What file extension does phpMyAdmin use?

Re: [PHP] Mail() Problems in a heterogenous network

2001-02-26 Thread php3
Addressed to: "Parker, John (Snorkel)" <[EMAIL PROTECTED]> "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> ** Reply to note from "Parker, John (Snorkel)" <[EMAIL PROTECTED]> Mon, 26 Feb 2001 16:02:32 -0600 > The behaviour is this: When I send mail from the webserver (running as > [EMAI

Re: [PHP] Enumerate files in a folder

2001-02-26 Thread php3
Addressed to: "Karl J. Stubsjoen" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Karl J. Stubsjoen" <[EMAIL PROTECTED]> Mon, 26 Feb 2001 15:28:27 -0700 > > Hello, > > I need a little help getting started with my project (i'm new to PHP). I > need to enumerate all of

Re: [PHP] DNS Lookups Fail

2001-02-26 Thread php3
Addressed to: "Scott Rothgaber" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Scott Rothgaber" <[EMAIL PROTECTED]> Mon, 26 Feb 2001 12:46:08 -0500 > > On 26 Feb 2001, at 10:21, [EMAIL PROTECTED] wrote: > > > The first thing to try is get a list of the host names that

Re: [PHP] header() and require()

2001-02-26 Thread php3
Addressed to: "Jason Jacobs" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Jason Jacobs" <[EMAIL PROTECTED]> Mon, 26 Feb 2001 11:28:37 -0500 > > Hi. In some of my files, I have a require statement to get some global > stuff accessable. I also have some header() red

Re: [PHP] DNS Lookups Fail

2001-02-26 Thread php3
Addressed to: "Scott Rothgaber" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Scott Rothgaber" <[EMAIL PROTECTED]> Mon, 26 Feb 2001 09:45:42 -0500 > > PHP 4.0.4 pl1, Apache 1.3.17, BSD/OS 4.1 pl37 > > Good Morning! > > Please forgive me if this has been covered ad na

Re: [PHP] Cookie References?

2001-02-24 Thread php3
Addressed to: <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from <[EMAIL PROTECTED]> Sat, 24 Feb 2001 16:42:09 -0600 > > Could you give me some URLs for tutorials related > to cookies and good reference material? Not directly, but there are a number of tutorial links at:

Re: [PHP] Can't connect php to mysql on linux

2001-02-24 Thread php3
L-3.23.33-1.i386.rpm and MySQL-client-3.23.33-1.i386.rpm. > MySql is working fine. I've even created a database also using > MySqlAdmin. > Regarding Php I've installed php-3.0.18-1.6.x.i386.rpm and as for > Apache : apache-1.3.14-2.6.2.i386.rpm. > I've even installed

Re: [PHP] Help INSERTing to MySQL

2001-02-23 Thread php3
Addressed to: Clayton Dukes <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from Philip Olson <[EMAIL PROTECTED]> Sat, 24 Feb 2001 01:31:30 + (GMT) > > > > Hello, This is my first attempt, so I'm prolly doing something stupid, > > but can someone tell me why this doesn't

Re: [PHP] file test

2001-02-23 Thread php3
Addressed to: "Kevin Beckford" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Kevin Beckford" <[EMAIL PROTECTED]> Fri, 23 Feb 2001 15:42:26 -0500 > > I am opening the top level of a a directory structure with dir. I want make > a list of the subdirectories, but not th

Re: [PHP] Undefinded Index on Mysql Result under Win98/PWS

2001-02-23 Thread php3
Addressed to: Jason Stechschulte <[EMAIL PROTECTED]> Greg Kopp <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from Jason Stechschulte <[EMAIL PROTECTED]> Fri, 23 Feb 2001 12:59:05 -0500 > > On Fri, Feb 23, 2001 at 12:20:19PM -0500, Greg Kopp wrote: > > I am us

Re: [PHP] Array Help

2001-02-23 Thread php3
Addressed to: <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from <[EMAIL PROTECTED]> Fri, 23 Feb 2001 12:20:12 -0500 > > I've tried and tried and tried ;-) > > I have this array; > > $bikes = array( > "Road" => array( > "Trek" => array( > "Trek 5200" =>

Re: [PHP] PDF Problems

2001-02-22 Thread php3
Addressed to: Mike Tuller <[EMAIL PROTECTED]> php mailing list <[EMAIL PROTECTED]> ** Reply to note from Mike Tuller <[EMAIL PROTECTED]> Thu, 22 Feb 2001 09:05:34 -0600 > > Do you have any idea when 4.0.5 will be out? If nothing goes wrong, they hope to do it around the first of

Re: [PHP] How do I request a new feature?

2001-02-22 Thread php3
Addressed to: "Ide, Jim" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Ide, Jim" <[EMAIL PROTECTED]> Thu, 22 Feb 2001 13:48:34 -0500 > > > Hi - > > How can/should I contact the developers of PHP > to request that they add a new feature to PHP? Submit a bug report at

Re: [PHP] Session problems

2001-02-22 Thread php3
Addressed to: Jack Davis <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from Jack Davis <[EMAIL PROTECTED]> Wed, 21 Feb 2001 14:58:13 -0600 > > We have designed a web based email program that we have > recently found a problem with...If you open up two email > accounts in t

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

2001-02-21 Thread php3
n the virtual host block for www.mysite.com. If it is not a virtual host, it can be added anywhere near the bottom of the config file. ForceType application/x-httpd-php If you are using php3, it is application/x-httpd-php3 This makes apache execute the file TSR as if it was TSR.php, withou

Re: [PHP] I'm confused about Regular Expressions.

2001-02-21 Thread php3
Addressed to: "Kenneth R Zink II" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Kenneth R Zink II" <[EMAIL PROTECTED]> Wed, 21 Feb 2001 11:42:28 -0600 > > --=_NextPart_000_00AC_01C09BFB.5E254010 > Content-Type: text/plain; > charset="iso-8859-1" > Content-T

Re: [PHP] Variable Strangeness

2001-02-21 Thread php3
Addressed to: Jason Murray <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from Jason Murray <[EMAIL PROTECTED]> Wed, 21 Feb 2001 11:37:40 -0600 > > Hi, > > I came across this: > > $confidential = 0; > echo "$confidential " . ($confidential == "yes"); > > In whic

Re: [PHP] Deleting mySql records based on dates

2001-02-21 Thread php3
Addressed to: "Kevin Cawthorne" <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> ** Reply to note from "Kevin Cawthorne" <[EMAIL PROTECTED]> Wed, 21 Feb 2001 13:19:54 - > > The reason I used that route was to show the logic. > > Yes its long- some people may not want a mysql reliant way

Re: [PHP] ftp_login problem

2001-02-20 Thread php3
Addressed to: [EMAIL PROTECTED] [EMAIL PROTECTED] ** Reply to note from [EMAIL PROTECTED] Mon, 19 Feb 2001 15:22:49 -0600 > >I wanted to check with all of you before I report a bug. > > Here is the problem: > I am attempting to access a OS2 server via ftp. When I login on the >

Re: [PHP] How to determine the parameter is a 1 dimension array or not?

2001-02-19 Thread php3
Addressed to: "Zenith" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Zenith" <[EMAIL PROTECTED]> Tue, 20 Feb 2001 02:45:12 +0800 > > In a self defined function, a one dimension or two dimension array may be > passed, > How can I check that, the passed in array is a on

Re: [PHP] Apache on Linux vs. IIS on W2K

2001-02-17 Thread php3
Addressed to: <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from <[EMAIL PROTECTED]> Sat, 17 Feb 2001 14:22:54 - > So the question is, why is this acting like this? (When I meet "pro" they > say Apache, Linux e.g.. is the best, and curse the IIS and W2K, but at this >

Re: [PHP] the best so far

2001-02-17 Thread php3
Addressed to: "Richard Lynch" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Richard Lynch" <[EMAIL PROTECTED]> Fri, 16 Feb 2001 17:21:03 -0600 > > Do you get the line number and filename of the script that *called* the > query function, or is it always the query func

Re: [PHP] the best so far

2001-02-16 Thread php3
Addressed to: "Richard Lynch" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Richard Lynch" <[EMAIL PROTECTED]> Thu, 15 Feb 2001 19:54:55 -0600 > Does die() give you a line number? If not, just put it in there. No, die() does not add to your message. Here is how

Re: [PHP] Specific PHP/JSP questions

2001-02-16 Thread php3
Addressed to: Gerald Gutierrez <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from Gerald Gutierrez <[EMAIL PROTECTED]> Thu, 15 Feb 2001 01:04:30 -0800 > 2) In JSPs, it is possible to do server-side page redirection, i.e. > "forward" a request from page A to page B, as if

Re: [PHP] SMTP

2001-02-16 Thread php3
Addressed to: "Richard Lynch" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Richard Lynch" <[EMAIL PROTECTED]> Thu, 15 Feb 2001 19:25:14 -0600 > > I think you *can* use the "for win32 only" stuff on Linux if you want to > send your mail to a different server... I do

RE: [PHP] PHP globals aren't really globals

2001-02-16 Thread php3
Addressed to: Maxim Maletsky <[EMAIL PROTECTED]> [EMAIL PROTECTED] Christian Dechery [mailto:[EMAIL PROTECTED]] ** Reply to note from Maxim Maletsky <[EMAIL PROTECTED]> Fri, 16 Feb 2001 12:18:27 +0900 > > I never used 50 of them, but I think there's such a thing as 'r

RE: [PHP] MySQL COUNT Won't Work

2001-02-16 Thread php3
Addressed to: Javier Muniz <[EMAIL PROTECTED]> Joe Sheble (Wizaerd) [mailto:[EMAIL PROTECTED]] [EMAIL PROTECTED] ** Reply to note from Javier Muniz <[EMAIL PROTECTED]> Fri, 16 Feb 2001 10:14:29 -0800 > > You should use fieldnames in your selects... I'd imagine count(*

Re: [PHP] foo[bar] _or_ foo['bar'] ?

2001-02-13 Thread php3
Addressed to: Derek Sivers <[EMAIL PROTECTED]> "Matthias Krehl" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from Derek Sivers <[EMAIL PROTECTED]> Tue, 13 Feb 2001 09:31:29 -0800 > > > >I'd really appreciate a clear statement whether to use better > >$foo

Re: [PHP] Time problem

2001-02-07 Thread php3
Addressed to: "Steve Werby" <[EMAIL PROTECTED]> "Roman" <[EMAIL PROTECTED]> "Php-General" <[EMAIL PROTECTED]> ** Reply to note from "Steve Werby" <[EMAIL PROTECTED]> Wed, 7 Feb 2001 09:28:29 -0500 Or you could do it the easy way in MySQL: SELECT SEC_TO_TIME( TIME_TO

Re: [PHP] Want to learn PHP

2001-01-31 Thread php3
Addressed to: "Patrick L." <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Patrick L." <[EMAIL PROTECTED]> Wed, 31 Jan 2001 00:55:47 -0800 > > I've been struggling with perl, till someone said why not give PHP a > shot. > > Where do I start? > > Aside from manuals, are

Re: [PHP] neat html output

2001-01-31 Thread php3
Addressed to: "Mark" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Mark" <[EMAIL PROTECTED]> Wed, 31 Jan 2001 08:29:57 -0600 > > I'd like my html output to be neatly written, including newlines is > helpful but does anyone know of a better way to output newlines than

Re: [PHP] disabling php ability via .htaccess

2001-01-30 Thread php3
Addressed to: "Martin Pitt" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Martin Pitt" <[EMAIL PROTECTED]> Tue, 30 Jan 2001 10:05:41 - > > Hiya, > > Ok this is going to a little weird, however I can assure you there is > a reason for it. > > Basically does anyone

Re: [PHP] Zeros get striped off my db entrees.... how to stop...

2001-01-30 Thread php3
> Ok, I have a string of bits that I combine to store as the privilege level > for our users it is 5 chars long "12345", and the default is "0" > this would be the most basic user. now, when there is a non 0 number at the > front it works and every thing is cool but, even thoug

Re: [PHP] how to rename a database

2001-01-25 Thread php3
Addressed to: "Chris Doyle" <[EMAIL PROTECTED]> "Fang Li" <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> ** Reply to note from "Chris Doyle" <[EMAIL PROTECTED]> Thu, 25 Jan 2001 09:38:55 +1000 To be completely safe: cd /var/mysql# or where ever your databases

Re: [PHP] Best way to describe Doc as HTML

2001-01-25 Thread php3
Addressed to: "Karl J. Stubsjoen" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Karl J. Stubsjoen" <[EMAIL PROTECTED]> Thu, 25 Jan 2001 08:36:43 -0700 > > Hello, So I think I've found 3 ways to describe the HTML Doc as > "HTML". Which one is the best? > > 1) Via MetT

Re: [PHP] date

2001-01-25 Thread php3
Addressed to: "Randy Johnson" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Randy Johnson" <[EMAIL PROTECTED]> Thu, 25 Jan 2001 11:25:52 -0500 > I am wondering if it would be more efficient to store the integer > value that the php function time() returns when a tra

Re: [PHP] Deleting all cookies so matter where they were set

2001-01-23 Thread php3
Addressed to: "Noah Spitzer-Williams" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Noah Spitzer-Williams" <[EMAIL PROTECTED]> Tue, 23 Jan 2001 10:09:22 -0500 > > Is there a way to remove all cookies so matter what path they were > set as long as it was from me (ex.

Re: [PHP] Not quite relevant question about coding and query

2001-01-18 Thread php3
Addressed to: "Jacky@lilst" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Jacky@lilst" <[EMAIL PROTECTED]> Fri, 19 Jan 2001 14:00:02 -0600 > > Sorry, I think it should be like this: > > $queryInsert = "insert into user values ('firstname','lastname','email')"; > $res

Re: [PHP] Not quite relevant question about coding and query

2001-01-18 Thread php3
Addressed to: "Jacky@lilst" <[EMAIL PROTECTED]> "Jason Murray" <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> ** Reply to note from "Jacky@lilst" <[EMAIL PROTECTED]> Fri, 19 Jan 2001 13:15:13 -0600 What happens when more than one person updates the tables at nearly the same

Re: [PHP] a text formating & cpu question

2001-01-18 Thread php3
Addressed to: Noel Akins <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from Noel Akins <[EMAIL PROTECTED]> Thu, 18 Jan 2001 22:05:46 + > > Hello, Question 1: A long time ago, I started my first big project > using php3 and MySQL that would return

[PHP] Gear Head -- From Home Pages to Popularity

2001-01-18 Thread php3
Addressed to: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] In his current column for Network World, Gear Hear (AKA Mark Gibbs) talks about PHP and Zend Technologies. Since you hang out on this mailing list, you may not learn much, but go ahead and take a look

[PHP] Gear Head -- From Home Pages to Popularity

2001-01-18 Thread php3
Addressed to: [EMAIL PROTECTED] [EMAIL PROTECTED] The current column for Gear Head, (AKA Mark Gibbs) in Network World magazine is all about PHP and Zend Technonogies. Since you hang around on this mailing list, you may not learn much but rejoice in the thought that his column is po

Re: [PHP] Array help needed

2001-01-18 Thread php3
Addressed to: CDitty <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from CDitty <[EMAIL PROTECTED]> Thu, 18 Jan 2001 06:58:22 -0600 I see someone else has another suggestion that might be better, using array_count(). You learn something new every day, which is why I watch

Re: [PHP] Array help needed

2001-01-18 Thread php3
Addressed to: CDitty <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from CDitty <[EMAIL PROTECTED]> Thu, 18 Jan 2001 05:40:13 -0600 > > Hello all, > > I have 6 numbers that are in an array. I need to know how many times > each number shows up in that array. > > ex Numbe

RE: [PHP] phpwebhosting.com

2001-01-17 Thread php3
Addressed to: Jason Murray <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from Jason Murray <[EMAIL PROTECTED]> Thu, 18 Jan 2001 10:50:24 +1100 > > > But even if they had 100 servers, have you priced an OC-12 lately? > > Actually, isn't it possible / more likely that they'r

Re: Fw: [PHP] Images ???

2001-01-17 Thread php3
Addressed to: "Miguel Loureiro" <[EMAIL PROTECTED]> [EMAIL PROTECTED] <[EMAIL PROTECTED]> ** Reply to note from "Miguel Loureiro" <[EMAIL PROTECTED]> Wed, 17 Jan 2001 09:39:08 - Agree, but my real problem is to show the images in a small size, is > ImageCopyResized the soluti

Re: [PHP] logging page views, which method is better????

2001-01-15 Thread php3
Addressed to: Alex Black <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from Alex Black <[EMAIL PROTECTED]> Sun, 14 Jan 2001 17:06:39 -0800 > > the problem with that is as soon as you run a load-baanced > installation, collecting apache logs start to be a pain in the a$$ :)

Re: [PHP] load balancing with php/apache?

2001-01-14 Thread php3
Addressed to: Alex Black <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from Alex Black <[EMAIL PROTECTED]> Sun, 14 Jan 2001 17:16:50 -0800 > > > Whoever said NFS is slow hasn't used a NetApp > OK, I'll bite. What is NetApp? Network Appliance? Is this a cache technolo

Re: [PHP] call time pass by reference - help

2001-01-14 Thread php3
Addressed to: "Matt Friedman" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Matt Friedman" <[EMAIL PROTECTED]> Sun, 14 Jan 2001 21:21:32 -0800 > > There are a number of methods in the session class of phplib. > > With phplib and php4.0.4 I am seeing the following war

Re: [PHP] logging page views, which method is better????

2001-01-14 Thread php3
Addressed to: "Dallas Kropka" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Dallas Kropka" <[EMAIL PROTECTED]> Sun, 14 Jan 2001 00:57:10 -0600 > > > I have a large site, with several hundred pages its a product > listing and shopping cart and I want to

Re: [PHP] RTFM me to IIF file format creation...

2001-01-13 Thread php3
Addressed to: "Dallas Kropka" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Dallas Kropka" <[EMAIL PROTECTED]> Sat, 13 Jan 2001 19:15:02 -0600 > > I need to create files and reports for importation into QuickBooks, > but they need to be in the IIF file format that Qu