Re: [PHP] $_GLOBAL["var"] or $_GLOBAL['var'] or $_GLOBAL[var]; ???

2002-09-22 Thread Peter J. Schoenster
On 22 Sep 2002 at 12:10, Victor wrote: > $_GLOBAL["var"] or $_GLOBAL['var'] or $_GLOBAL[var] - I noticed that in > a mysql statement you can only use: $_GLOBAL[var]. > > I would like to get the advice of more experienced php programmers out > there about this. Which one of the above it the "mo

Re: [PHP] Designing N-tier applications in PHP (long)

2002-09-22 Thread Peter J. Schoenster
On 22 Sep 2002 at 10:23, Michael Sims wrote: > of creating this application. I decided (for various reasons) to > implement this application in Perl. I began programming in Perl back in 1995. Took up mod_perl (the only way to seriously use Perl btw on web apps) but as I work primarily on virt

Re: [PHP] return the amount of records in a mysql databace

2002-09-22 Thread Philip J. Newman
We have $sUsers registered users."; ?> This would be the best way (suggestions would be cool); - Original Message - From: "Mark Charette" <[EMAIL PROTECTED]> To: "Philip J. Newman" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday

Re: [PHP] Designing N-tier applications in PHP (long)

2002-09-22 Thread Peter J. Schoenster
On 22 Sep 2002 at 13:52, Michael Sims wrote: > Well, that is basically my question. I considered both SOAP and > XML-RPC (which you mention later) but I wasn't sure what the impact on > performance would be. I am basically looking for anecdotal evidence > from people who have implemented this s

Re: [PHP] return the amount of records in a mysql databace

2002-09-22 Thread Philip J. Newman
; this is only going to return records in a table, and not in a database > > > > > > > select count(*) as n from ... where ... > > > > > > -Original Message- > > > From: Philip J. Newman [mailto:[EMAIL PROTECTED]] > > > > &g

[PHP] Re: [PHP-DB] advise needed for 'authorized only' site

2002-09-23 Thread Peter J. Schoenster
On 23 Sep 2002 at 8:14, [EMAIL PROTECTED] wrote: > I have set up a section of my company site for use by authorized dealers > only. I am currently using mysql authorization, which works for the > first page, but if someone were to type in the url of an underlying page > they would be able to get i

Re: [PHP] Mail problem with more than 1k users

2002-09-23 Thread Philip J. Newman
I suggest you get a mailing list program if your sending to more than 1k of users Philip - Original Message - From: "Justin French" <[EMAIL PROTECTED]> To: "Research and Development" <[EMAIL PROTECTED]>; "PHP General List" <[EMAIL PROTECTED]> Sent: Tuesday, September 24, 2002 1:57 PM Sub

Re: [PHP] Re: Mail problem with more than 1k users

2002-09-23 Thread Peter J. Schoenster
> On 09/23/2002 08:08 PM, Research And Development wrote: > > So I re-designed the script to send emails in parts. 500 emails per > > header. But after the database reached more than 3,000 records the > > emailing did not work at all. Sendmail refused to send to any of the > > emails in the data

[PHP] Showing online users!

2002-09-24 Thread Philip J. Newman
esult)) { $sUser=$row["sUser"]; echo"$sUser, "; } ?> Is this the best way to do this? --- Philip J. Newman. Head Developer. PhilipNZ.com New Zealand Ltd. http://www.philipnz.com/ [EMAIL PROTECTED] Mob: +64 (25) 6144012. Tele: +64 (9) 5769491. Family Site: Philip J. Ne

Re: [PHP] Installing php in windows 95

2002-09-24 Thread Philip J. Newman
windows 95 your jokeing right? - Original Message - From: "Uma Shankari T." <[EMAIL PROTECTED]> To: "PHP" <[EMAIL PROTECTED]> Sent: Wednesday, September 25, 2002 4:13 PM Subject: [PHP] Installing php in windows 95 > > Hello, > > I need to install php for windows under particular folde

[PHP] Ah ha ... confirm delete.

2002-09-24 Thread Philip J. Newman
confirm() returns a true or fulse. what is confirm called as a veriable? --- Philip J. Newman. Head Developer. PhilipNZ.com New Zealand Ltd. http://www.philipnz.com/ [EMAIL PROTECTED] Mob: +64 (25) 6144012. Tele: +64 (9) 5769491. Family Site: Philip J. Newman Internet Developer http

Re: [PHP] Looking for a forum

2002-09-26 Thread Peter J. Schoenster
On 26 Sep 2002 at 1:26, John Taylor-Johnston wrote: > Hi, > I'm looking for some forum script, a bit like this: > http://www.chevelles.com/cgi-bin/forum/Ultimate.cgi > Can anyone post a link to something useful? I know a couple of webmasters who are using and like http://www.phpbb.com/ I've n

Re: [PHP] Looking for some help on web header coding.

2002-09-26 Thread Peter J. Schoenster
On 26 Sep 2002 at 10:35, Joshua Patterson wrote: > I have been working to try and have flash MX use PHP to access a > database but have been having issues with retrieving the post values in > php. > http://127.43.1.1/learning/checkpassword.php?password=somepassword&usern > am e= MyUserName > //

[PHP] seeking data validation class

2002-09-27 Thread Peter J. Schoenster
Hi, I looked at phpclasses but saw nothing as simple as I wanted. There's a Perl module which does just what I want and perhaps I'll have to port it. The class accepts an assoc array of name=>value, and the key to another assoc array which describes the constraints for the assoc array I'm pa

Re: [PHP] Re: seeking data validation class

2002-09-27 Thread Peter J. Schoenster
On 27 Sep 2002 at 22:09, Manuel Lemos wrote: > Assumming that you tried the forms generation and validation class, what > did you realize that was missing to match your needs? > > http://www.phpclasses.org/formsgeneration Well that's the first thing I found and I downloaded it. It does much mo

[PHP] PHP and MSSQL Problem

2002-09-28 Thread Christopher J. Crane
I wrote a simple script to return data from a query. The database is MS SQL and the field I am looking to return is a VARCHAR(5000). Everything seems to work except the data returned is not the whole field it is shortened. It only returns a portion of the field. Here is the field: 99 Services, In

[PHP] Re: Carriage returns don't display in HTML

2002-09-28 Thread Christopher J. Crane
On thing you could do is output tags around the text you want to display. The <> tags keeps simple formatting like tabs and new line characters. "Shane" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Greetings folks. I need my carriage returns to show up in my H

[PHP] Re: PHP and MSSQL Problem

2002-09-28 Thread Christopher J. Crane
... > Hello, > > ...just wondering... > > Are you sure VARCHAR in MS SQL can handle 5000? Should be 255 only? (I'm not > really familiar with MS SQL but you can count the number of characters > returned by php...) > > - E > > > "Christopher J. Crane" <

[PHP] Re: Htmlentities and Newlines?

2002-09-28 Thread Christopher J. Crane
$Something = str_replace("\n", "", $Something); This is old but still works well. "Andre Dubuc" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Perhaps I don't understand the use of 'htmlentities' too well, but I would > like newlines to be retained/inserted int

Re: [PHP] Smarty template question

2002-09-28 Thread Peter J. Schoenster
On 28 Sep 2002 at 15:48, Matt Giddings wrote: > Hello, > > Be for warned that I am new to smarty and for some reason I'm > finding it very difficult to learn. ??? Anyway, my question is how do > I access an array of associative arrays via the {section} statement? > > Heres the code: Matt,

RE: [PHP] Smarty template question

2002-09-28 Thread Peter J. Schoenster
Was written > > > while( $row = $result->fetchRow( DB_FETCHMODE_ASSOC ) ) { > > > $rowdata[$i] = $row; > > > $i++; > > > > I don't think you need the $i. > > I need the $i because I'm assigning the every row from the result into > an array. http://www.php.net/manual/en/language.ty

[PHP] Help with Numbers

2002-10-02 Thread Christopher J. Crane
I am looking for a way to find the highest 5 and lowest 5 numbers within 300 or so numbers. Here is what I have so far... $Tickers = array(); $Current = array(); // SQL QUERY TO GET TICKERS MSSQL_CONNECT($HostName,$UserName,$Password); mssql_select_db($DBName) or DIE("Table unavailable");

Re: [PHP] Help with Numbers

2002-10-02 Thread Christopher J. Crane
t and last elements. > > On Wed, 2 Oct 2002, Christopher J. Crane wrote: > > > I am looking for a way to find the highest 5 and lowest 5 numbers within 300 > > or so numbers. Here is what I have so far... > > > > $Tickers = array(); > > $Current = array(); >

Re: [PHP] Global variables

2002-10-02 Thread Peter J. Schoenster
On 2 Oct 2002 at 22:06, Anna Gyor wrote: > how can I use global variables in my web portal? I have read the php > documentation, but it works only in the same file. I want use more > global variable on many php site. > > For example: > In login.php I use the code > > $first=mysql_resul

[PHP] Trouble with understanding arrays

2002-10-02 Thread Christopher J. Crane
I am having problems with arrays. I guess I just don't understand them all that well. I have an simple array of stock tickers. Then for each ticker I go to Yahoo to get their current price and try to push the Name of the ticker and it's value into an associative array(I think). Then I want to sort

Re: [PHP] HYML Forms to Validate?

2002-10-03 Thread Peter J. Schoenster
On 3 Oct 2002 at 12:27, Stephen wrote: > I've been reading tutorials lately on user authentication in PHP and > they all are for the HTTP way of authentication. How can I use the same > system but with forms instead of that ugly pop-up box? Of course the best solution for this is mod_perl (for t

RE: [PHP] Re: access denied

2002-10-04 Thread Timothy J Hitchens
Please don't 777 anything... do you have shell access (if platform/access supports it) login and and see what the perms are and work on the problem don't hammer it with a fix all. Timothy Hitchens (HITCHO) [EMAIL PROTECTED] HITCHO has Spoken! -Original Message- From: Chen Shuang [

RE: [PHP] Findng a pattern

2002-10-04 Thread Timothy J Hitchens
Are you saying you want to be able to extract the numbers etc? Timothy Hitchens (HiTCHO) [EMAIL PROTECTED] HiTCHO has Spoken! -Original Message- From: Henry [mailto:[EMAIL PROTECTED]] Sent: Saturday, 5 October 2002 2:36 PM To: [EMAIL PROTECTED] Subject: [PHP] Findng a pattern D

RE: [PHP] Findng a pattern

2002-10-04 Thread Timothy J Hitchens
Are the value in the same order each time? Timothy Hitchens (HITCHO) [EMAIL PROTECTED] HITCHO has Spoken! -Original Message- From: Henry [mailto:[EMAIL PROTECTED]] Sent: Saturday, 5 October 2002 2:44 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Findng a pattern Thanks, but I don

RE: [PHP] Findng a pattern

2002-10-04 Thread Timothy J Hitchens
ll always have the same meaning. "Timothy J Hitchens" <[EMAIL PROTECTED]> wrote in message 001101c26c2b$55adc400$0500a8c0@BAMBINO">news:001101c26c2b$55adc400$0500a8c0@BAMBINO... > Are the value in the same order each time? > > > Timothy Hitch

RE: [PHP] post(ing) data without a form

2002-10-05 Thread Timothy J Hitchens
The other thing.. the header will redirect and the rest won't happen??? > header ( 'Location: ../test/test.php' ); Just out of interest sake do you or not have register global on/off?? Timothy Hitchens (HITCHO) [EMAIL PROTECTED] HITCHO has Spoken! -Original Message- From: Pablo

RE: [PHP] How to drop a element from an array

2002-10-06 Thread Timothy J Hitchens
Hint... look at array_push etc (like a stack) Timothy Hitchens (HITCHO) [EMAIL PROTECTED] HITCHO has Spoken! -Original Message- From: Alex Shi [mailto:[EMAIL PROTECTED]] Sent: Monday, 7 October 2002 8:35 AM To: [EMAIL PROTECTED] Subject: [PHP] How to drop a element from an array

RE: [PHP] How to drop a element from an array

2002-10-06 Thread Timothy J Hitchens
is to say not to cost too much memery. Alex Shi "Timothy J Hitchens" <[EMAIL PROTECTED]> дÈëÏûÏ¢ÐÂÎÅ :002e01c26d89$780c14c0$[EMAIL PROTECTED] > Hint... look at array_push etc (like a stack) > > > Timothy Hitchens (HITCHO) > [EMAIL PROTECTED] > > HITCHO has S

RE: [PHP] server error sending email from script

2002-10-06 Thread Timothy J Hitchens
I don't use Windows for development/production but I read somewhere that you needed to set in your php.ini for windows a config for either the host server that had email capabilities. That's all I can offer. Timothy Hitchens (HITCHO) [EMAIL PROTECTED] HITCHO has Spoken! -Original Mes

RE: [PHP] page expires

2002-10-07 Thread Timothy J Hitchens
You have posted data from a previous page into this page.. "FORM" Timothy Hitchens (HITCHO) [EMAIL PROTECTED] HITCHO has Spoken! -Original Message- From: Wilbert Enserink [mailto:[EMAIL PROTECTED]] Sent: Monday, 7 October 2002 5:48 PM To: [EMAIL PROTECTED] Subject: [PHP] page exp

RE: [PHP] Referrer

2002-10-07 Thread Timothy J Hitchens
You can't know the name of the script but you can know the complete URI (if available) $_SERVER['HTTP_REFERER'] Timothy Hitchens (HITCHO) [EMAIL PROTECTED] HITCHO has Spoken! -Original Message- From: Alex Shi [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 8 October 2002 9:39 AM To: [E

RE: [PHP] Re: PHP to Excel (csv)

2002-10-07 Thread Timothy J Hitchens
If it is in Mysql format why not reimport into a database and write an export script... that does the work? Timothy Hitchens (HITCHO) [EMAIL PROTECTED] HITCHO has Spoken! -Original Message- From: Owen Prime [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 8 October 2002 4:31 PM To: [EM

[PHP] global variables that are arrays

2002-10-08 Thread Christopher J. Crane
Can you global a variable at the same time as making it an array? I usually do this: $Ticker = array(); global $Ticker; Can I do this? global $Ticker=array(); Thank you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] global variables that are arrays

2002-10-08 Thread Christopher J. Crane
I didn't do it yet. The script I am working on is large with many variables so I was hoping someone else would know before I do it. "Chris Hewitt" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Christopher J. Crane wrote: >

RE: [PHP] register_global variables on Mac OS X

2002-10-08 Thread Timothy J Hitchens
Make a page with then display the page threw the server into the browser... and it should like the location in the top area. Timothy Hitchens (HITCHO) [EMAIL PROTECTED] HITCHO has Spoken! -Original Message- From: Jule Slootbeek [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 9 Oct

RE: [PHP] Calling C functions

2002-10-08 Thread Timothy J Hitchens
If it is a command line executable just do: Notice the backward ` they send it to the shell. Have fun!! Timothy Hitchens (HITCHO) [EMAIL PROTECTED] HITCHO has Spoken! -Original Message- From: Sharad Tiwari [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 9 October 2002 1:07 PM To

RE: [PHP] Mail

2002-10-09 Thread Timothy J Hitchens
Get a SMTP sender class.. have a look at www.zend.com Timothy Hitchens (HITCHO) [EMAIL PROTECTED] HITCHO has Spoken! -Original Message- From: Steel [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 9 October 2002 7:32 PM To: [EMAIL PROTECTED] Subject: [PHP] Mail Hi group, I have a p

RE: [PHP] how to create files??

2002-10-09 Thread Timothy J Hitchens
If the script is in the same directory just try either "{file}" nothing in front or "./{file}" What function are you using to create files? Timothy Hitchens (HITCHO) [EMAIL PROTECTED] HITCHO has Spoken! -Original Message- From: Aidal [mailto:[EMAIL PROTECTED]] Sent: Wednesday,

RE: [PHP] POST method not allowed

2002-10-09 Thread Timothy J Hitchens
Are you sure that .php3 files are being processed by PHP ??? Timothy Hitchens (HITCHO) [EMAIL PROTECTED] HITCHO has Spoken! -Original Message- From: Muhammad Khairuzzaman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 9 October 2002 12:54 PM To: [EMAIL PROTECTED] Subject: [PHP] POST

RE: [PHP] POST method not allowed

2002-10-09 Thread Timothy J Hitchens
PROTECTED] Subject: Re: [PHP] POST method not allowed "Timothy J Hitchens" <[EMAIL PROTECTED]> wrote in message 006c01c26f7b$529a7530$0500a8c0@BAMBINO">news:006c01c26f7b$529a7530$0500a8c0@BAMBINO... > Are you sure that .php3 files are being processed by PHP ??? >

RE: [PHP] Spiders, Sessions, trans SID, and mod_rewrite

2002-10-09 Thread Timothy J Hitchens
I would suggest that you look at php as the total solution not mod_rewrite that way you have access to include the PHPSESS information into the URL directly eg: http://www.yourhost.com/application/first_name/john/sess_id/99f9f99f9f9f 9ijfjf9f/cart_full/yes You can achieve this by reading the fol

RE: [PHP] My boss wants to know...

2002-10-09 Thread Timothy J Hitchens
Look at the odbc access using php: http://www.php.net/manual/en/ref.odbc.php You will still need to have a windows box with odbc to your webserver.. pref unixish.. Timothy Hitchens (HITCHO) [EMAIL PROTECTED] HITCHO has Spoken! -Original Message- From: Randum Ian [mailto:[EMAIL

Re: [PHP] CC Processing Merchants

2002-10-09 Thread Peter J. Schoenster
On 10 Oct 2002 at 0:48, Andrew Brampton wrote: > Sorry for this slightly off topic question, but I beleive many of you > will have delt with this kind of thing before. Yeah off-topic but I was wondering the same thing myself as I have not done many carts in awhile. > So can anyone recommend a

RE: [PHP] how to ping

2002-10-10 Thread Timothy J Hitchens
Use a call out to a shell ... eg $result = `ping x.xy.z.i`; oh and you may need to use a path and capture the stand out.. as well. Timothy Hitchens (HITCHO) [EMAIL PROTECTED] HITCHO has Spoken! -Original Message- From: Achi [mailto:[EMAIL PROTECTED]] Sent: Thursday, 10 October

RE: [PHP] NewB PHP / mysql Q

2002-10-10 Thread Timothy J Hitchens
Try this.. select u.id, u.lname as lastname, u.frname as firstname, ... etc oh and the reason you get an error is that you can't have a dot in a variable etc... Timothy Hitchens (HITCHO) [EMAIL PROTECTED] HITCHO has Spoken! -Original Message- From: inpho [mailto:[EMAIL PROTECTE

RE: [PHP] connecting to a txt file - newbie

2002-10-10 Thread Timothy J Hitchens
Try: Timothy Hitchens (HITCHO) [EMAIL PROTECTED] HITCHO has Spoken! -Original Message- From: jennifer [mailto:[EMAIL PROTECTED]] Sent: Friday, 11 October 2002 12:14 AM To: [EMAIL PROTECTED] Subject: [PHP] connecting to a txt file - newbie good morning, im having some issues

RE: [PHP] Refresh my Memory

2002-10-10 Thread Timothy J Hitchens
You will need to use Javascript... NOT PHP.. Timothy Hitchens (HITCHO) [EMAIL PROTECTED] HITCHO has Spoken! -Original Message- From: Stephen [mailto:[EMAIL PROTECTED]] Sent: Friday, 11 October 2002 8:05 AM To: PHP List Subject: [PHP] Refresh my Memory Hello, I forget exactly h

RE: [PHP] Converting audio files and display/play in browser

2002-10-11 Thread Timothy J Hitchens
Why don't you call your converter then pipe out to a file... the then send headers for that type of file and readfile to the browser.. Timothy Hitchens (HITCHO) [EMAIL PROTECTED] HITCHO has Spoken! -Original Message- From: Thomas Nilsen [mailto:[EMAIL PROTECTED]] Sent: Saturday,

RE: [PHP] Converting audio files and display/play in browser

2002-10-11 Thread Timothy J Hitchens
ut I'm not sure how to get the browser to read the converted file once it's ready. "Timothy J Hitchens" <[EMAIL PROTECTED]> wrote in message 005301c27159$483dc170$0500a8c0@BAMBINO">news:005301c27159$483dc170$0500a8c0@BAMBINO... > Why don't you call your c

RE: [PHP] Converting audio files and display/play in browser

2002-10-11 Thread Timothy J Hitchens
October 2002 6:31 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Converting audio files and display/play in browser Excellent! Works like a charm. Thanks for your speedy help Timothy. Regards, Thomas "Timothy J Hitchens" <[EMAIL PROTECTED]> wrote in message 005f01c27162$0804c820$

RE: [PHP] trying to get a certain num of rows in mysql

2002-10-13 Thread Timothy J Hitchens
Look at limit... eg Select * from xyz limit 1,5 Timothy Hitchens (HITCHO) [EMAIL PROTECTED] HITCHO has Spoken! -Original Message- From: Pablo Oliva [mailto:[EMAIL PROTECTED]] Sent: Sunday, 13 October 2002 8:44 AM To: [EMAIL PROTECTED] Subject: [PHP] trying to get a certain num of

Re: [PHP] standardization across apps?

2002-10-28 Thread Peter J. Schoenster
On 29 Oct 2002 at 0:14, taylor wrote: > i might be crazy, but why don't the many CMS, forum, link directory, etc > packages integrate with a unified user manager? is this possible? is > there perhaps an xml standard for contact datatypes that could be used? I'm not sure I understand you but I

Re: [PHP] Passing the variables ...

2002-10-29 Thread Peter J. Schoenster
On 29 Oct 2002 at 9:41, Mukta Telang wrote: > I have written followong code in hello.html: > > > printf("hello %s!",$textbox); > ?> > This script works fine with php in redhat 7.2 system > but does not work in solaris 7 ! > > I have done the php installation... > What are the chances th

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

2002-10-30 Thread Peter J. Schoenster
On 30 Oct 2002 at 17:11, Michael Zornek wrote: > I can't really use that class. I'm looking for a table of zip codes, > with relating lat and lon cords. I already wrote the calculation code. > That PHP class is reliant on a web service which I'm not interested in. Umm .. I bought such a database

[PHP] why does eregi match for whitespace when there is none?

2002-10-31 Thread Peter J. Schoenster
Here is the example: Why does the above return true? There is no whitespace in the string. What am I missing? Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] XML into PHP

2002-11-12 Thread Philip J. Newman
How would i call a page in PHP that is XML? eg; if i had a file that was like below. http://www.philipnz.com/news/rss.xml and i wanted to include it onto a page. HELP (looking through the docs now) --- Philip J. Newman. Head Developer. PhilipNZ.com New Zealand Ltd. http://www.philipnz.com

[PHP] seeking good Bug Tracker in PHP

2002-11-12 Thread Peter J. Schoenster
Hi, I'm seeking a good Bug Tracker in PHP. I've tried Mantis. I was at freshmeat and tried a bunch of those. Found nothing I liked. I did find one bug tracker that used Smarty but I did not like it. I'm seeking a Bug Tracker where everything is in classes. Design is in a template class (strong

[PHP] something like array_walk?

2002-11-15 Thread A. J. McLean
I want to take an array and get the soundex() for each element in that array and return the results into another array. Is there an clean way to do this? $color = array("blue", "green", "orange", "purple", "red", "yellow"); function sound(&$word){ $word = soundex($word); } array_walk($color, '

Re: [PHP] something like array_walk?

2002-11-15 Thread A. J. McLean
Thanks! Just what I was looking for! "Jon Haworth" <[EMAIL PROTECTED]> wrote in message news:67DF9B67CEFAD4119E4200D0B720FA3F0241E788@;BOOTROS... > Hi, > > > I want to take an array and get the soundex() for each element > > in that array and return the results into another array. > > How about:

[PHP] Re: Not php related - php.net logo in Netscape 7?

2002-06-07 Thread Timothy J. Luoma
I believe it is a favicon.ico MSIE started this and apparently Netscape/Mozilla now have them too. TjL -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Not php related - php.net logo in Netscape 7?

2002-06-07 Thread Timothy J. Luoma
Oh, I forgot to mention that it is a different way of indicating that a favicon to be used, which is found in the HEAD of the HTML document. This works in browsers other than IE, but I don't think that IE supports this TjL -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Re: phpDocumentor version 1.1.0rc1 RELEASE ANNOUNCEMENT

2002-06-10 Thread Timothy J. Luoma
On Mon, 10 Jun 2002, Miguel Cruz wrote: > On Sun, 9 Jun 2002, Greg Beaver wrote: > > June 9, 2002 > > RELEASE ANNOUNCEMENT > > phpDocumentor version 1.1.0rc1 > > http://www.phpdoc.org > > Best of all, with OSX IE 5.14, the page comes up completely blank. Well in Opera6/Win it's just a big mess,

[PHP] Re: Can a php script be placed within a stylesheet?

2002-06-10 Thread Timothy J. Luoma
On Mon, 10 Jun 2002, Andrew Brampton wrote: > Yes you can place one in a style sheet you just need to tell apache (or > whatever) that .css should be parsed by PHP, this can be done via a > .htaccess or something similar... Here is a example in a .htaccess file: > > AddType application/x-httpd-ph

[PHP] Determine if variable is set

2002-06-11 Thread J. Anderson Scarbrough
This is probably an easy answer, but I cannot seem to find it. Is it possible to determine whether a variable is set with either $_POST or $GET without having to do: if(isset($_POST['foo']) || isset($_GET['foo'])) //do something _

[PHP] Re: forcing file downloads

2002-06-13 Thread Timothy J. Luoma
On Wed, 12 Jun 2002, Justin French wrote: > I know this has been discussed many times, but I've been hunting through > the archives with very little resolution on the issue. The user can define certain things given the way they want mime types to be handled. PDF used to be a good solution until

[PHP] Re: Email validation

2002-06-13 Thread Timothy J. Luoma
On Wed, 12 Jun 2002, Pedro Pontes wrote: > function checkEmail($strEMailAddress) > { > return eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)+$", > $strEMailAddress); > } > > You have it now :). I'm still learning my PHP regex... does the above allow someone to have a literal "+" i

RE: [PHP] PHP to Excel?

2002-06-18 Thread J. Anderson Scarbrough
I often build simple reports using HTML tables and then add an Excel MIME header to the page which launches Excel. Since newer verions of Excell suport HTML natively, Excel can read the HTML tables and render them appropriately with all your formatting. I find this works well for simple repo

[PHP] JPGraph errors

2002-06-23 Thread Christopher J. Crane
I have gotten JPGraph to work if I suppress the output of errors. I am using the example of backgroundex02.php. If I add the line "error_reporting(0);" at the top, I get the graph, if I remove it...I get the following error; " Warning: Use of undefined constant LC_TIME - assumed 'LC_TIME' in ../j

Re: [PHP] Seperating presentation from logic

2002-06-26 Thread Peter J. Schoenster
On 25 Jun 2002 at 17:40, Jean-Christian Imbeault wrote: > Some of the "issues" are things like how to make it painless for both > the designers and me if one day, out of the blue, a designers decides > that the background colour should be changed, or the graphics changed. > Or even worse the two

RE: [PHP] Keeping "Secrets" in PHP Files

2002-06-28 Thread Peter J. Schoenster
On 28 Jun 2002 at 17:54, Jonathan Rosenberg wrote: > -Original Message- > > From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED]] > > Subject: Re: [PHP] Keeping "Secrets" in PHP Files > > > With shell access, you can't see each others > > files. This is where the permissions come into > >

[PHP] checking date is not greater than today

2002-06-30 Thread Timothy J. Luoma
year it is. date z - day of the year; i.e. "0" to "365" strftime %j - day of the year as a decimal number (range 001 to 366) I have these variables defined $SEARCHYEAR = i.e 2002 $SEARCHMONTH = MM i.e. 06 $SEARCHDAY = DD

Re: [PHP] checking date is not greater than today

2002-06-30 Thread Timothy J. Luoma
On Sun, 30 Jun 2002, John Holmes wrote: > $today = date("Ymd"); > if($input_date > $today) > { echo "Date must be before today!"; } *thwaps self* DUH! Thanks... been staring at this for too long. > It looks like you're dealing with MySQL dates. There are a ton of useful > functions you can u

Re: [PHP] checking date is not greater than today

2002-06-30 Thread Peter J. Schoenster
On 30 Jun 2002 at 22:31, Timothy J. Luoma wrote: > > I am trying to compare a given date string (i.e. June 30, 2002 is > 20020630). I want to make sure that the input string that is given is > not greater than today (i.e. if today is June 30, and you ask for > 20020701, I wan

[PHP] Re: checking date is not greater than today

2002-06-30 Thread Timothy J. Luoma
On Mon, 1 Jul 2002, Peter J. Schoenster wrote: > On 30 Jun 2002 at 22:31, Timothy J. Luoma wrote: > > > I am trying to compare a given date string (i.e. June 30, 2002 is > > 20020630). I want to make sure that the input string that is given is > > not greater than toda

[PHP] is their a jobs mailing list?

2002-07-07 Thread Peter J. Schoenster
Hi, I was here first: http://www.php.net/manual/en/faq.mailinglist.php#faq.mailinglist.guideline > Before you post to the list please have a look in this FAQ But I found nothing about a jobs mailing list. I'm really a Perl programmer and we have jobs.perl.org which has a list which does a re

[PHP] seeking experienced PHP programmer in Houston, TX (no telecommuting)

2002-07-08 Thread Peter J. Schoenster
Hello, I'm posting this ad for the company looking for a PHP programmer. I have no clue if the company is good or not. Do your due dilligence. __BEGIN JOB POST We are a Houston, Texas based company in need of 1-2 VERY GOOD AND EXPERIENCED PHP programmers for 4-6 weeks to build a new web site.

[PHP] Re: PHP Script Speed

2002-07-08 Thread Christopher J. Crane
I think this is whenever I would like to display a variable I have to put > in > > a script tag like . I might have as many as 20 > of > > these on a page. Every time doesn't PHP have to start again and parse out > > this information causing it to be really slow? > &g

Re: [PHP] Best Content Management METHOD...

2002-07-08 Thread Peter J. Schoenster
On 9 Jul 2002 at 11:54, Justin French wrote: > I'm a firm believer in option 1. 750,000 page views per month is only > 1 page every 3.4 seconds (ish) on average, so I don't believe you'd > see any server load even in peak periods. > > If there IS server load, you can have an option 3, which bas

Re: [PHP] Postal / Zip Code Proximity Search

2002-07-09 Thread Peter J. Schoenster
On 9 Jul 2002 at 10:39, Ray Hunter wrote: > One suggestion is to use the geo functionality of Postgres > > We use postgres to calculate city, state, and/or country by using the > geo functions in postgresql. > - Original Message - > From: "Brandon Pearcy" <[EMAIL PROTECTED]> > >

Re: [PHP] hiding submitted variable values in location bar of browser !

2002-07-09 Thread Peter J. Schoenster
On 9 Jul 2002 at 22:09, [EMAIL PROTECTED] wrote: > Is there any way to hide my form submitted variables (like > passwords etc) > in the location > bar "http://somedomain.org/checkpassword.php? > password=mypassword" > or atleast show in an encypted form n the location bar. But why bother? Certai

Re: [PHP] Commit/Roll Back Transaction in PHP/mySQL

2002-07-09 Thread Peter J. Schoenster
On 9 Jul 2002 at 22:07, Thomas Edison Jr. wrote: > why the transaction is interrupted, i would like the > transaction to roll back.. that is, all the records > entered before the interruption SHOULD NOT remain in > the database, they should get deleted or something, so > that the transaction can

Re: [PHP] Development Tools

2002-07-10 Thread Peter J. Schoenster
On 10 Jul 2002 at 18:07, Uwe Birkenhain wrote: > I think that - on windows - nothing is better than textpad > (www.textpad.com). > Simply the best editor the world has seen so far! > > What makes development tools better than a good editor? (serious > question) Well let me get my 2 cents in. It

Re: [PHP] PHP and geographic maps

2002-07-11 Thread Peter J. Schoenster
On 11 Jul 2002 at 16:42, Lowell Allen wrote: > A client wants a database-driven site that records information about > real estate properties and includes geographic maps of property > locations (throughout the US). The client has seen a presentation of a > JavaScript-powered, Windows-only product

Re: [PHP] PHP and geographic maps

2002-07-11 Thread Peter J. Schoenster
Was written: > > Using coordinates to accomplish this seems possible, but overly > > complex. You'll literally be creating a 3D world and that means At pixxures.com the client just entered their ADDRESS. Then the backend (probably a bit too much for javascript) would return a sattelite view of

[PHP] PHP codes and variables

2002-07-12 Thread J. Alden Gillespy
Anyone know how to do have a variable equal the contents of a file? I tried the include function, but it just prints the file out on the screen rather than including the contents in the variable itself. I need help with this ASAP. Thanks. J. Alden Gillespy (DJ Rage) Broadcasting on Test

Re: [PHP] PHP codes and variables

2002-07-12 Thread J. Alden Gillespy
Which method makes it possible to process any variables in the included file? See, I have variables in the included file that are defined in the page that's calling it. J. Alden Gillespy (DJ Rage) Broadcasting on Test Pattern Radio Shock Rock! Every Sunday 5-8pm edt (21-0 gmt)

[PHP] Trying to build intelligent query from question

2002-07-14 Thread Peter J. Schoenster
Hi, I may be doing this all the wrong way :) so feel free to let me know, thanks. I've been developing a q/a database. I don' want to search on "what I consider" common words. Certainly there must be a list of these. Anyhow, I explode the question string into words and then iterate as such:

Re: [PHP] Trying to build intelligent query from question

2002-07-14 Thread Peter J. Schoenster
> > foreach($words as $Key=>$Value) { > > if($ignoreWords[strtolower($Value)]) { > > continue; > > } > > You would be better off using array_diff(). Jason, Thanks, that works except that it doesn't account for case. I want to ignore case as it doesn't apply here. But I was

Re: [PHP] PHP, JAva history

2002-07-14 Thread Peter J. Schoenster
On 14 Jul 2002 at 13:42, Saci wrote: > I would like to see from where visitor come from mypage i need a > function who return the last visited page prior to mine. > > I didn't found any function on php for that purpose and I'm thinking > in mix Java and php for that purpose, using the browser hi

Re: [PHP] integrating usenet into http? how is this done???

2002-07-15 Thread Peter J. Schoenster
On 15 Jul 2002 at 14:55, Andy wrote: > I just found a site where they have integrated a usenet forum into > their own forum. I am wondering how this is technicaly done? The > postings seem to be pretty up to date ( I did compare them with the > usenet ones) Here is the link: > Has anybody an ide

Re: [PHP] Search Page question

2002-07-16 Thread Peter J. Schoenster
On 16 Jul 2002 at 10:51, Mark McCulligh wrote: > I have newbie question. > > I am building a search page that will return any number of records and > want to display only 30 at a time say. Then have one of though "Page > 1 of 3 [1] [2] [3] Next>" on top of the record list. > > What is the bes

[PHP] pros and cons of ezpublish

2002-07-16 Thread Peter J. Schoenster
Hi, Someone wants to know what I can do with ezpublish and so I've downloaded it. Wow ... just looking at it now. What a package. ezpublish. I'd like to test this on a virtural server (can't afford my own box on the net) and I have a host where I can modify my apache conf files ... but I won

Re: [PHP] Classes vs. Functions

2002-07-16 Thread Peter J. Schoenster
On 17 Jul 2002 at 12:43, Michael Hall wrote: > There is no simple answer here. I have started using classes where I > find I am writing a lot of related functions that share similar > parameters. Database connection and queries are a good example. > Authentication is another. Yeah. > I have an

[PHP] Tips for better PHP, wish I read yesterday

2002-07-17 Thread Peter J. Schoenster
Hi, Awhile back I was asking for just what I'm reading here: http://www.php9.com/index.php/section/articles/name/PHP%20Guidelines Some snippets to give you an idea what you will find on that page: > Another mistake I see around a lot is people writing scripts that will > not work if register_g

Re: [PHP] Of Jobs and Certs

2002-07-17 Thread Peter J. Schoenster
On 17 Jul 2002 at 12:55, Miguel Cruz wrote: > On Wed, 17 Jul 2002, Martin Clifford wrote: > > I'd like to get everyone's input on Jobs and Certs. I know there > > are a couple Certifications for web developers out there, such as > > the CIW and CWP certifications. > > I don't know if this is w

<    2   3   4   5   6   7   8   9   10   11   >