Re: [PHP] Simple forms query

2003-07-09 Thread Matt Matijevich
I am not 100% sure but I think you could use the $_POST array or the $_GET array (depending on the method of your form) with the print_r function. Enda Nagle [EMAIL PROTECTED] 07/09/03 11:04AM I know this has prob been gone through hundreds of times... I have a form, and I want to display all

Re: [PHP] nested for loops

2003-07-09 Thread Matt Matijevich
your syntax is correct, just need to change for ($j=0: $j 5; $j++) to for ($j=0; $j 5; $j++) Micah Montoy [EMAIL PROTECTED] 07/09/03 12:56PM Anyone ever do a nested for loop? $i =0; $j =0; for ($x=0; $x 50; $x++){ echo (1 to 50); for ($j=0: $j 5; $j++) { echo (less

[PHP] Can anyone please help me? Re: Using PHP to change unixenvironment

2003-07-09 Thread Matt Matijevich
snip Does anyone know if there is a way to change the referer information prior to using php's header function? I've tried things like: header(Referer: $referer); where the $referer variable holds the original referer minus the search term without luck. /snip How is the search term passed? Is

Re: [PHP] nested for loops

2003-07-09 Thread Matt Matijevich
snip $result = mssql_query(SELECT * FROM files WHERE file_id = '$cat_name' ORDER BY file_name ASC); $i = $col_num; $j = 0; $filename= mssql_result($result,0,file_name); $fileID = mssql_result($result,0,file_id); for ($k = 0; $k mssql_num_rows($result); $k++) { //changes row color if

Re: [PHP] Object assignment

2003-07-09 Thread Matt Grimm
is outputting this: rootElement record id=2Value 1Value 2/record /rootElement Any ideas? -- Matt Grimm Web Developer The Health TV Channel, Inc. (a non - profit organization) 3820 Lake Otis Parkway Anchorage, AK 99508 907.770.6200 ext. 686 907.336.6205 (fax) E-mail: [EMAIL PROTECTED] Web

Re: [PHP] Credit card/Debit card validation

2003-07-09 Thread Matt Matijevich
I have a mod10 validation script written in another scripting language. I could try to convert it if you would like but I am sure that someone has already done it. Did you try google? http://www.google.com/search?hl=enlr=ie=UTF-8oe=utf-8q=php+mod+10spell=1 -- PHP General Mailing List

[PHP] Get previous folder

2003-07-10 Thread Matt Palermo
out? I appreciate it. Thanks. Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re[2]: [PHP] Object assignment

2003-07-10 Thread Matt Grimm
source is here: http://www.healthtvchannel.org/test/php2xml.phps -- Matt Grimm Web Developer The Health TV Channel, Inc. (a non - profit organization) 3820 Lake Otis Parkway Anchorage, AK 99508 907.770.6200 ext. 686 907.336.6205 (fax) E-mail: [EMAIL PROTECTED] Web: www.healthtvchannel.org Tom Rogers

Re: Re[2]: [PHP] Object assignment

2003-07-10 Thread Matt Grimm
Interesting -- the clone_node() function does make certain that each element gets its own representation in the output, for any XML I tested. I guess then my problem lies with how I'm looping through the aforementioned array structure to get the values themselves. Thanks, -- Matt Grimm Web

Re: Re[2]: [PHP] Object assignment

2003-07-10 Thread Matt Grimm
and distinguishing them with attributes. I'd still like the code to work with XML that did have similarly named elements in the same node level.. can you see anything in my DOMXML calls that might indicate the problem? Source: http://www.healthtvchannel.org/test/php2xml.phps -- Matt Grimm Web Developer

Re: [PHP] Excel Parser

2003-07-10 Thread Matt Matijevich
snip Does anyone know of any free Excel parsing non-COM code available on the net? Just straight php driven? /snip I have not tried any of these but there might be something in here you can use. http://www.phpclasses.org/search.html?words=Excelgo_search=1 -- PHP General Mailing List

[PHP] download hyperlink

2003-07-10 Thread Matt Palermo
Does anyone know how I can set a hyperlink to a file so that someone can download the file instead of viewing it in the browser? Please let me know. Thanks. Matt

[PHP] Using DOMXML with homogenous elements

2003-07-10 Thread Matt Grimm
] = Value 2 ) ) ) ) ) [/array] Source: http://www.healthtvchannel.org/test/php2xml.phps Thanks, -- Matt Grimm Web Developer The Health TV Channel, Inc. (a non - profit organization) 3820 Lake Otis Parkway Anchorage, AK

[PHP] Re: Using DOMXML with homogenous elements

2003-07-10 Thread Matt Grimm
I failed to show the output XML in my last message. It's outputting like so: [xml] rootElement record id=2Value1Value2/record /rootElement [/xml] -- Matt Grimm Matt Grimm [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have a final kink to work out of an array to XML parser

Re: [PHP] Long lines

2003-07-11 Thread Matt Matijevich
snip can you tell me How can I set a line break in longs line of my code?. /snip I think you want to use \n -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] So in summary this can't be done due to permission problems?

2003-07-11 Thread Matt Schroebel
-Why the concern about letting that user have execute permissions, and then prevent anyone (except those that have valid reasons) from having write/execute permission to the webroot. The permissions are Read, Write, and Execute. Read and Write are self explanatory (for directories Write means

[PHP] Re: Using DOMXML with homogenous elements

2003-07-11 Thread Matt Grimm
And nevermind, problem solved in another thread. -- Matt Grimm Web Developer The Health TV Channel, Inc. (a non - profit organization) 3820 Lake Otis Parkway Anchorage, AK 99508 907.770.6200 ext. 686 907.336.6205 (fax) E-mail: [EMAIL PROTECTED] Web: www.healthtvchannel.org Matt Grimm [EMAIL

[PHP] Sessions and objects

2003-07-14 Thread Matt Silva
the session after the requires and includes, so then I thought ok require_once so I change it to require and then it doesn't load the class the for some reasone (sigh). Any Ideas? Thanks for your help in advance Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Object can not be used after a session

2003-07-15 Thread Matt Silva
my head in confusion. I require_once the Customer class and start the session after the requires and includes, so then I thought ok require_once so I change it to require and then it doesn't load the class the for some reason (sigh). Thanks for your help in advance Matt -- PHP General Mailing

[PHP] Insert leading zeros

2003-07-15 Thread Matt Palermo
that will force the incremented value to be exactly 4 digits no matter what number it increments? Please let me know if there is a function that will insert these leading zeros or truncate it to 4 digits if necessary. Thanks. Matt

RE: [PHP] Insert leading zeros

2003-07-15 Thread Matt Palermo
Thanks a lot. It works like a charm! -Original Message- From: Curt Zirzow [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 8:45 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Insert leading zeros Matt Palermo [EMAIL PROTECTED] wrote: I have a string of digits that looks like

[PHP] Re: Object can not be used after a session

2003-07-15 Thread Matt Silva
']['serializedCustomer']); and now you can access the object. There is a hidden jewl about this method, I now no longer have to include or require the class file because it is already defined in the serialized string. Matt Matt Silva wrote: Hi I was wondering if anybody has any Ideas about or has

Re: [PHP] Re: Object can not be used after a session

2003-07-16 Thread Matt Silva
() function it automatically serializes but again I'd like to avoid that. Right now it seems I have many unkowns, so i'm going to narrow them down Matt Mike Migurski wrote: $customer = new Customer($_GET['facilityID'], $_GET['customerID']); $_SESSION['acceptPayment']['serializedCustomer

Re: [PHP] Re: Object can not be used after a session

2003-07-16 Thread Matt Silva
the __sleep() and __wakeup functions and then serializing/unserializing within those functions? so far manually serialize-ing and unserialize-ing prior to assigning the object and after retrieving the object seems to work. Matt Mike Migurski wrote: Wow thats strange?? I am using PHP 4.3.2

[PHP] Problem adding value to session array

2003-07-17 Thread Matt Palermo
: .$sessionArray[1];// result: nospace // This doesn't work $sessionArray[1] = with space; echo result: .$sessionArray[1];// result: with // should be result: with space Anyone know how to fix or avoid this from happening? Thanks, Matt -- PHP General

Re: [PHP] back button and session variables

2003-07-17 Thread Matt Matijevich
snip To make matters more confusing the problem occurs on Windows machines but does not occur on Macintoshes /snip Could you give me a little more info about what is happening? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Array key names - can they be called as strings?

2003-07-17 Thread Matt Matijevich
snip The question is the - the assigned string key - is there a way to retrieve that in a loop? Foreach, for, while or otherwise? /snip I think this is what you want. http://www.php.net/manual/en/control-structures.foreach.php foreach(array_expression as $value) statement

[PHP] Input Submi Help

2003-07-17 Thread Matt Palermo
. Is this possible to have 2 buttons going to 2 different places, but using the same data for all other form elements? I would really appreciate any help I can get. Thanks. Matt

Re: [PHP] Multidimensional arrays

2003-07-18 Thread Matt Matijevich
snip select id, name from customer redim custarray(recordcount,2) i = 0 while not eof custarray(i,0) = id; custarray(i,1) = name; i = i+1; movenext wend /snip Not sure what kind of db you are using but I put this together using postgresql using the manual. So this is untested.

[PHP] replacing everything between 2 strings

2003-07-21 Thread Matt Palermo
it keeps the two end points but just replaces everything in the middle with a new specified string. Please help me if you can. Thanks. Matt

RE: [PHP] replacing everything between 2 strings

2003-07-21 Thread Matt Palermo
That doesn't really help much... I think you just replied to the wrong post. That answer really doesn't have anything to do with my question, I don't think... Thanks anyway. Matt -Original Message- From: Daryl Meese [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2003 8:09 PM

RE: [PHP] tracking bulk email

2003-02-04 Thread Matt Schroebel
-Original Message- From: Lowell Allen [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 12:38 PM To: PHP Subject: [PHP] tracking bulk email (1) My client is nervous about the script failing mid-list and not being able to determine which contacts were sent mail. I need a

[PHP] possible mail() bug

2003-02-11 Thread Matt Phillips
script that looked that this: ? if(mail('[EMAIL PROTECTED]','Testing','testinging 123')); echo sent ? it would always show sent, but the message never arrived. My orginal script used PEAR, but since PEAR uses the mail() I think that this is problem. Matt Phillips -- PHP General Mailing

Re: [PHP] RSA implementation

2003-02-12 Thread Matt Vos
by the user as a password, then the user is authenticated. In this way the user can easily change their password, as well you get (seemingly) random authentication encryption. Or just try SSL. Matt - Original Message - From: Chris Hewitt [EMAIL PROTECTED] To: José León Serna [EMAIL

RE: [PHP] Process array after form submission problem

2003-02-13 Thread Matt Schroebel
-Original Message- From: Steve Jackson [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 2:10 PM To: Php-General Subject: [PHP] Process array after form submission problem Hi, My problem is that I have a dynamic form with vars which I want to process. The

[PHP] search results from another site

2003-02-15 Thread Matt Holmen
Is there any way to use PHP to do the following.. Strip the results of a page (ie a search on another site) and then display them on your site the way you want to. Similar to the CFHTTP command used in Coldfusion? Thanks Matt -- PHP General Mailing List (http://www.php.net

Re: [PHP] RSA implementation

2003-02-17 Thread Matt Vos
reason you can't run SSL, then upgrade the box (altho I don't think you would really need to). Matt - Original Message - From: José León Serna [EMAIL PROTECTED] To: Jason Sheets [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, February 17, 2003 12:13 PM Subject: Re: [PHP] RSA

Re: [PHP] RSA implementation

2003-02-20 Thread Matt Vos
So forward the ports (80,443) to a box that u can run a webserver on, then you can user SSL. Matt - Original Message - From: José León Serna [EMAIL PROTECTED] To: Matt Vos [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, February 20, 2003 5:28 AM Subject: Re: [PHP] RSA

[PHP] Logging Referer

2003-02-21 Thread Matt Honeycutt
? I'd like for the counter to work even when included in static HTML pages, so the including page cannot use any PHP to help facilitate this logging functionality. I hope all that makes sense. Anyone have any suggestions on how to achieve what I'm after? ---Matt -- PHP General Mailing List (http

RE: [PHP] Logging Referer

2003-02-21 Thread Matt Honeycutt
Yeah, I had thought about using JavaScript. I had hoped that there was another way, but if there is, I can't figure it out. ---Matt -Original Message- From: Justin French [mailto:[EMAIL PROTECTED] Sent: Friday, February 21, 2003 8:37 PM To: Matt Honeycutt; Php-General Subject: Re: [PHP

RE: [PHP] Re: including in shtml

2003-02-21 Thread Matt Honeycutt
If you figure out how to do this successfully, please share. I'm forced to use SHTML for my error pages (404.shtml and whatnot), but I'd like to get those to interact with PHP as well. ---Matt -Original Message- From: Hans Prins [mailto:[EMAIL PROTECTED] Sent: Friday, February 21, 2003

RE: [PHP] Re: including in shtml

2003-02-21 Thread Matt Honeycutt
I'll check, but I'm pretty sure my host only allows me to edit the existing *.shtml files to customize my error pages. I don't think it will allow me to set the error pages to different URL's. ---Matt -Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Friday

RE: [PHP] Displaying images

2003-02-22 Thread Matt Honeycutt
Robert, The image functions do indeed work, check the PHP docs for more info: http://www.php.net/manual/en/ref.image.php However, your server must have the GD libraries installed and PHP must be properly configured. The docs should be a good starting point if nothing else. ---Matt

RE: [PHP] Help with Multiple Checkboxes

2003-02-23 Thread Matt Honeycutt
Yup, id is a valid attribute for virtually every HTML tag. I can't remember for sure which W3C specification that was in, but you can refer to most elements through JavaScript by using their ID's in both IE and Netscape 6+. ---Matt -Original Message- From: John Taylor-Johnston [mailto

[PHP] Another Logging Question

2003-02-23 Thread Matt Honeycutt
into a DB (probably MySQL), then process the data whenever the administrator wants to view his stats. Anyone have any suggestions or considerations on which method would work better? Is there something else I should do instead? Thanks for any input, ---Matt -- PHP General Mailing List (http

[PHP] ftp browsing

2003-02-23 Thread Matt Palermo
some advice? I would really appreciate it. Thanks. Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] ftp browsing

2003-02-23 Thread Matt Palermo
I am using Windows XP Pro, and I am using Serv-U to run my FTP server. It is just a server running from my machine. Is it supposed to have PHP installed somewhere? -Original Message- From: Rich Gray [mailto:[EMAIL PROTECTED] Sent: Sunday, February 23, 2003 9:05 PM To: Matt Palermo

RE: [PHP] ftp browsing

2003-02-23 Thread Matt Palermo
The web server is RedHat Linux and it's PHP version 4.2.3. -Original Message- From: Rich Gray [mailto:[EMAIL PROTECTED] Sent: Sunday, February 23, 2003 9:21 PM To: Matt Palermo; [EMAIL PROTECTED] Subject: RE: [PHP] ftp browsing I am using Windows XP Pro, and I am using Serv-U to run my

RE: [PHP] Another Logging Question

2003-02-23 Thread Matt Honeycutt
as it keeps me from having to even think about file locking issues. ---Matt -Original Message- From: Justin French [mailto:[EMAIL PROTECTED] Sent: Sunday, February 23, 2003 5:12 PM To: Matt Honeycutt; Php-General Subject: Re: [PHP] Another Logging Question on 24/02/03 3:30 AM, Matt Honeycutt

RE: [PHP] Another Logging Question

2003-02-23 Thread Matt Honeycutt
grab statistics directly from Apache's logs, but that's going to be much later on after I finish up some other projects. ---Matt -Original Message- From: David Freeman [mailto:[EMAIL PROTECTED] Sent: Sunday, February 23, 2003 5:44 PM To: 'Php-General' Subject: RE: [PHP] Another Logging

RE: [PHP] server hostname

2003-02-23 Thread Matt Honeycutt
This information is quite easy to find in the PHP docs. You are looking for $_SERVER['SERVER_NAME'], which is a predefined variable. ---Matt -Original Message- From: Michael P. Carel [mailto:[EMAIL PROTECTED] Sent: Sunday, February 23, 2003 8:24 PM To: [EMAIL PROTECTED] Subject: [PHP

RE: [PHP] text file reading and overwrite

2003-02-24 Thread Matt Honeycutt
I can't tell you anything about your problem without knowing what's going on (error messages are helpful). As for overwriting a file, just use: fopen($filename,w); The w option tells it to open the file for writing and to truncate it to zero-length. ---Matt, XPODesigns.com -Original

RE: [PHP] having php auto load a page

2003-02-24 Thread Matt Honeycutt
Look up the header() function in the docs. Basically, you would do this: if($logged_in_ok) header(Location: .$url_to_go_to); There are some things to note when using header, so again, check the docs before you use it. ---Matt, XPODesigns.com -Original Message- From: Antoine

RE: [PHP] One more string question

2003-02-26 Thread Matt Honeycutt
Trying using stripslashes() on the string variable prior to displaying it. That *might* not work for you, but I'd try that first. ---Matt -Original Message- From: Gregory Chagnon [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 11:12 PM To: [EMAIL PROTECTED] Subject: [PHP

RE: [PHP] Emacs?

2003-02-26 Thread Matt Giddings
Don't you mean 42? -Original Message- From: Larry Brown [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 7:55 PM To: PHP List Subject: RE: [PHP] Emacs? 25 -Original Message- From: Sascha Braun [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003

RE: [PHP] problem in writing into an html text file

2003-02-27 Thread Matt Honeycutt
Check stripslashes(), I think that will help you. ---Matt -Original Message- From: Michael P. Carel [mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 4:53 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] problem in writing into an html text file this code add a backslashes in all

RE: [PHP] re: strip comma from $value

2003-02-28 Thread Matt Honeycutt
) { if(strstr($value,,)) { $value = ereg_replace(,,,$value); echo comma stripped); } } Give that a shot and see if it works (I didn't test it, but it should). ---Matt -Original Message- From: Jim Long [mailto:[EMAIL PROTECTED] Sent: Friday

RE: [PHP] re: strip comma from $value

2003-02-28 Thread Matt Honeycutt
: Matt Honeycutt [mailto:[EMAIL PROTECTED] Sent: Friday, February 28, 2003 11:56 AM To: php Subject: RE: [PHP] re: strip comma from $value ereg_replace returns a string, regardless of whether or not any replacement occured. If no replacement occurs, the original string is returned. Additionally

RE: [PHP] re: strip comma from $value

2003-02-28 Thread Matt Honeycutt
work): for($i=0; $i size($numeric_array); $i++) { if(strstr($numeric_array[$i],,)) { $numeric_array[$i] = ereg_replace(,,,$numeric_array[$i]); echo comma stripped; } } Give that a shot and see what happens... ---Matt -Original Message

[PHP] Getting Numerical Index of a Key

2003-03-03 Thread Matt Honeycutt
Is there an easy way to get the numerical index of a text key for an array? I don't see anything in the manual, but before I waste time writing code to find this info, I thought I would double check here. ---Matt

RE: [PHP] Getting Numerical Index of a Key

2003-03-03 Thread Matt Honeycutt
everything up. ---Matt -Original Message- From: Leif K-Brooks [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 12:35 AM To: Matt Honeycutt Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Getting Numerical Index of a Key What makes you think it HAS a numerical index? Matt Honeycutt wrote

RE: [PHP] Getting Numerical Index of a Key

2003-03-03 Thread Matt Honeycutt
referring to with the numerical index is the original value, not the one that was modified. I'm just going to spend the extra 5 minutes and rewrite that little chunk of code. ---Matt -Original Message- From: Leif K-Brooks [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 12:39 AM

RE: [PHP] new to PHP

2003-03-06 Thread Matt Schroebel
From: juan [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2003 9:36 AM Subject: [PHP] new to PHP New to php and looking to by this book PHP For the World Wide Web: A Visual QuickStart Guide The book says it covers PHP version 4.04. Will this book be current enough for me Get

[PHP] Collating Values from database fields

2003-03-14 Thread Matt MacLeod
of appearances (fixtureID, playerID, tries scored, penalties scored, cautions etc. When a player is selected from a drop-down list, their data will appear in a table by drawing from the 'appearances' table based on the player's ID thus: Player: Matt MacLeod - Tournament 1 / 19/01

RE: [PHP] lurker awakes

2003-03-20 Thread Matt Giddings
be the password. Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 5:29 PM To: [EMAIL PROTECTED] Subject: [PHP] lurker awakes Hi guys, we have been silent observers to this list over the last few weeks. most of our web-app

RE: [PHP] How to Return 403 Forbidden headers

2003-03-27 Thread Matt Schroebel
-Original Message- From: Christopher Ditty [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 10:42 AM To: [EMAIL PROTECTED] Subject: [PHP] How to Return 403 Forbidden headers header('HTTP/1.0 403 Forbidden'); -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

RE: [PHP] How to Return 403 Forbidden headers

2003-03-27 Thread Matt Schroebel
-Original Message- From: Christopher Ditty [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 10:59 AM To: Matt Schroebel; [EMAIL PROTECTED] Subject: RE: [PHP] How to Return 403 Forbidden headers Thanks, but it returns a blank page. Works for me in I.E 6. ?php header

RE: [PHP] How to Return 403 Forbidden headers

2003-03-27 Thread Matt Schroebel
-Original Message- From: Christopher Ditty [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 11:15 AM To: Matt Schroebel Subject: RE: [PHP] How to Return 403 Forbidden headers Try it in Netscape 7 if you have it. 6.5 showed blank, and if you add html it shows up

RE: [PHP] RE: Anew set of eyes

2003-03-27 Thread Matt Schroebel
-Original Message- From: Richard Whitney [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 1:02 PM To: [EMAIL PROTECTED] Subject: [PHP] RE: Anew set of eyes Can you folks help me out b y looking at this code? It all of a sudden is not grabbing the email address from

RE: [PHP] redirect using header

2003-03-27 Thread Matt Schroebel
-Original Message- From: David Banning [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 2:15 PM To: [EMAIL PROTECTED] Subject: [PHP] redirect using header I have been trying to do a redirect with header; HTML HEAD TITLEOptex Staging and Services Inc. /TITLE

RE: [PHP] Is there a PHP for Dummies?

2003-03-28 Thread Matt Giddings
hope) it is going to change even more. You're best bet is to take the time to read the manual (if you haven't already) and follow this list, you'll soon find that php's resources are very well organized. Matt -Original Message- From: Beauford.2002 [mailto:[EMAIL PROTECTED] Sent

Re: [PHP] So many functions!

2003-04-02 Thread Matt Vos
Try $languages = array_keys($lang); This will create an array $languages = array(english,francais); Matt - Original Message - From: Vincent M. [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, April 02, 2003 4:58 PM Subject: [PHP] So many functions! Hello, There so many

RE: [PHP] chill out

2003-04-02 Thread Matt Giddings
. I've been a member of this list for about two years now, and I have seen a few questionable posts, but over all it has been one of the best lists I had the honor of belonging to. Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 02, 2003

RE: [PHP] QUESTION - user management

2003-04-02 Thread Matt Giddings
Someone recently posted code for this exact topic on phpclasses.org, follow the link below. http://phpclasses.mirrors.nyphp.org/browse.html/package/1018.html Matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 02, 2003 5:58 AM To: [EMAIL

RE: [PHP] RE: [newbie] embed php in html file

2003-04-03 Thread Matt Schroebel
-Original Message- From: Bobby Rahman [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2003 11:25 AM To: [EMAIL PROTECTED] Subject: [PHP] RE: [newbie] embed php in html file I have a header.php : ? session_start(); echo BRfont face=\Verdana\font color=\red\size=\3\Logged

RE: [PHP] datetime

2003-04-03 Thread Matt Schroebel
-Original Message- From: Tim Haskins [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2003 2:45 PM To: [EMAIL PROTECTED] Subject: [PHP] datetime How does one retrieve the date and time off a server in the following format? 2003-04-03 11:11:38 Plenty of examples here:

[PHP] Determining platform PHP is running on?

2002-09-30 Thread Matt Giddings
Is there a way to determine what platform PHP is running on? I'm trying to write a script that parses path names which we all know unix and windose don't agree with each other. Thanks, Matt --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com

RE: [PHP] Determining platform PHP is running on?

2002-09-30 Thread Matt Giddings
I'm looking for something that returns just the OS type, not tons of information. :) I think the constant PHP_OS is what I'm looking for. I just found it. Thanks for the suggestion though, Matt -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED]] Sent: Monday

RE: [PHP] Setting date fields in mysql queries

2002-10-02 Thread Matt Schroebel
From: Brad Harriger [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 02, 2002 3:17 PM Subject: [PHP] Setting date fields in mysql queries I have the following line in a program I'm working on: $query = UPDATE countertable SET CurrDate = '$ndate' WHERE ID = $id $ndate is a

RE: [PHP] Argh! nulls un stuff..

2002-10-14 Thread Matt Giddings
that this code has not been tested and is prone to typos. :) Matt -Original Message- From: Francis [mailto:[EMAIL PROTECTED]] Sent: Monday, October 14, 2002 9:23 AM To: [EMAIL PROTECTED] Subject: [PHP] Argh! nulls un stuff.. ok going mad all I need to do is check a variable

RE: [PHP] Packaging files for download

2002-10-24 Thread Matt Schroebel
Look at the user notes on the man page for zip http://www.php.net/manual/en/ref.zip.php, there are several solutions there -Original Message- From: Brent Baisley [mailto:brent;landover.com] Sent: Thursday, October 24, 2002 10:30 AM To: php-gen Subject: [PHP] Packaging files for

RE: [PHP] Information Retrieval.. help

2002-11-05 Thread Matt Schroebel
Why don't you use full text search, which creates a score? Two tutorials: http://www.mysql.com/doc/en/Fulltext_Search.html http://www.zend.com/zend/tut/tutorial-ferrara1.php The match words need to be at least 3 characters in length or you'll get no results. -Original Message- From:

[PHP] mssql.datetimeconvert bug ?

2002-11-13 Thread Matt Brown
for a solution says that the flag mssql.datetimeconvert = 0 or Off fixes this problem, however in our config it does not ... Anyone have any suggestions ? Regards Matt Brown -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mssql.datetimeconvert bug ?

2002-11-13 Thread Matt Brown
for a solution says that the flag mssql.datetimeconvert = 0 or Off fixes this problem, however in our config it does not ... Anyone have any suggestions ? Regards Matt Brown -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mssql.datetimeconvert bug ?

2002-11-13 Thread Matt Brown
for a solution says that the flag mssql.datetimeconvert = 0 or Off fixes this problem, however in our config it does not ... Anyone have any suggestions ? Regards Matt Brown -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

re: [PHP] mssql.datetimeconvert bug ?

2002-11-13 Thread Matt Brown
Sorry for the multiple posts, my mailer barfed and went mad on send, more than once. Regards Matt Brown -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] FTP'ing with function

2002-11-25 Thread Matt Vos
, it will truncate, as some value may look like an EOL/EOF char. Matt - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 25, 2002 3:46 PM Subject: [PHP] FTP'ing with function I am trying to ftp with php code. The code works, but the file is truncated for some

[PHP] Shipping Purolator Class?

2002-11-25 Thread Matt Friedman
Hi Folks, Just checking around to see if anyone is using a Purolator web service to determine shipping costs online. Wondering if there are classes available and if the service is hard to use. Thanks very much, Matt Friedman -Original Message- From: John W. Holmes [mailto:[EMAIL

[PHP] (( Purolator Shipping ))

2002-11-25 Thread Matt Friedman
Hi Folks, Just checking around to see if anyone is using a Purolator web service to determine shipping costs online. Wondering if there are classes available and if the service is hard to use. Thanks very much, Matt Friedman -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] re-writing to the same socket

2002-11-26 Thread Matt Vos
as a global variable/pointer, or pass it through functions with the arguments. Matt - Original Message - From: Gareth Thomas [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 26, 2002 1:26 PM Subject: [PHP] re-writing to the same socket Hi, I have some code that writes data

Re: [PHP] decimal places

2002-11-26 Thread Matt Vos
As an addition to that, if you don't want the thousands separator to be ','; do the following: $amount = 1234.567 $fmt1 = number_format($amount,2); $fmt2 = number_format($amount,2,'.',''); echo($fmt1\n$fmt2); This will output: 1,234.56 1234.56 Matt - Original Message - From: Van Andel

Re: [PHP] Upload problem - PC, *nix, and Max EOL characters

2002-11-26 Thread Matt Vos
); $row_split = preg_split(/\s+/, $filerow); $value1 = $row_split[0]; $value2 = $row_split[1]; $value3 = $row_split[2]; } Matt - Original Message - From: Lee P. Reilly [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 26, 2002 2:58 PM Subject: [PHP] Upload

Re: [PHP] Upload problem - PC, *nix, and Max EOL characters

2002-11-26 Thread Matt Vos
No, fgets() reads to EOL, I use it all the time. fread() will read to EOF, if you let it, as it is binary safe. Matt - Original Message - From: Lee P. Reilly [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, November 26, 2002 4:09 PM Subject: Re: [PHP] Upload problem - PC, *nix

Re: [PHP] **** Converting dynamic webpages into static HTML pages

2002-11-27 Thread Matt Vos
Matt - Original Message - From: Ron Stagg [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 27, 2002 2:18 PM Subject: [PHP] Converting dynamic webpages into static HTML pages I have an interesting challenge. I have built an online product catalog that is driven entirely

Re: [PHP] **** Converting dynamic webpages into static HTML pages

2002-11-27 Thread Matt Vos
. The other alternative is to have a script require() the php file, just set your variables in the script, then require('catalog.php'); All code will be executed as if it were part of the script. Matt - Original Message - From: Ron Stagg [EMAIL PROTECTED] To: Matt Vos [EMAIL PROTECTED] Sent

Re: [PHP] Multidimensional arrays (more and more...)

2002-11-28 Thread Matt Vos
; /*** Grab the keys ***/ $fruit_types = array_keys($fruits); $count = 0; while ($count count($fruit_types)) { $fruit = $fruit_types[$count]; $color = $fruits[$fruit]['color']; $diameter = $fruits[$fruit]['diameter']; } Matt - Original Message - From: Mako Shark [EMAIL

Re: [PHP] XML-RPC, is this the best approach for something like this?

2002-12-01 Thread Matt Vos
- Original Message - From: Jonathan Chum [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, December 01, 2002 3:27 PM Subject: [PHP] XML-RPC, is this the best approach for something like this? Hi guys! I'm wrapping up a web hosting control panel written in PHP that fills up a

[PHP] re: ini_set() / Jason Wong / dynamically setting this?

2002-12-02 Thread Matt Babineau
have a solution to this. Thanks, Matt

[PHP] PHP Shipping Rate Question

2002-12-02 Thread Matt Friedman
Hi, I've found a number of UPS rate calculators in php and I'm wondering if anyone has used many shipping calculators written in php. If so, what success have you had? Any stories/recommendations to share? Thanks very much, Matt -- PHP General Mailing List (http://www.php.net

[PHP] php shipping rate question

2002-12-02 Thread Matt Friedman
Hi, I've found a number of UPS rate calculators in php and I'm wondering if anyone has used many shipping calculators written in php. If so, what success have you had? Any stories/recommendations to share? Thanks very much, Matt -- PHP General Mailing List (http://www.php.net

<    5   6   7   8   9   10   11   12   13   14   >