Re: [PHP] How to check if a session exists

2001-12-20 Thread Peter J. Schoenster
On 20 Dec 2001, at 17:34, Alex Shi wrote: If a sesson_id is known, how can check if the session exists? I think this answers the question (function.session-id.html) session_id (PHP 4 = 4.0.0) session_id -- Get and/or set the current session id Description string session_id ([string id])

[PHP] 2 images, merge, make one transparent

2002-01-06 Thread Peter J. Schoenster
Hi, I've looked here: http://download.php.net/manual/en/function.imagecolortransparent.p hp I've read this: http://www.wdvl.com/Authoring/Languages/PHP/BeginningPHP4/tra nsparent.html But they lose me when they suddenly jump to PNG. I got their code but it doesn't work for me. I have all

Re: [PHP] counting with dates (help!)

2002-01-09 Thread Peter J. Schoenster
On 7 Feb 2002, at 23:21, Sander Peters wrote: Hello, This is my problem: $today = date(Ymd, mktime(0,0,0, date(m),date(d),date(Y))); $last_week = date(Ymd, mktime(0,0,0, date(m),date(d)-7,date(Y))); echo ($today - $last_week); The result is a number like 8876 (20020107-20011231 =

[PHP] anyone with a usenet editor

2002-01-13 Thread Peter J. Schoenster
Hi, I'm building a database of usenet postings for soc.culture.brazil. This was easy enough (with exception of handling mime in the postings); I'm just dumping the body of the message into the database. I plan to allow a person to select a thread, perhaps a user or whatever and then get all

Re: [PHP] Newbie database question

2002-01-13 Thread Peter J. Schoenster
On 13 Jan 2002, at 12:51, Dean Ouellette wrote: I am entering info from form into database, is there a way to check say firstname, lastname and address to see if it is a duplicate to what is already in database and if it is then just enter any new information they may enter and not create a

Re: [PHP] Invalid Email Characters

2002-01-13 Thread Peter J. Schoenster
On 13 Jan 2002, at 21:43, DL Neil wrote: Alexis, Could anybody confirm exactly which characters, if any, are NOT valid in an email address. =such rules of the Internet are laid out in documents called RFCs (initially they are Requests for Comment but once adopted become ...) You

Re: [PHP] PHP to another language

2002-01-20 Thread Peter J. Schoenster
On 20 Jan 2002, at 20:15, Andrew V. Romero wrote: I was wondering if there are any tools to convert PHP to another scripting language? scripting langauge? I designed this 2000 script and then learned that our information systems people would feel a lot more comfortable using a language

[PHP] what's equivalent of DBI quote

2002-01-26 Thread Peter J. Schoenster
Hi, Seems mysql_escape_string will just escape, seems like addslashes and quotemeta. quote in DBI will escape and quote if passed value is not an integer (don't know about float). Peter --- Reality is that which, when you stop believing in it, doesn't go away.

[PHP] improve turning urls into links routine

2002-01-28 Thread Peter J. Schoenster
Hi, I did a quick search for something like this below but did not find it. Would you please criticize it. Thanks. function MakeUrls($data) { $words = explode( , $data); $new_data = ; while (list ($key,$row) = each ($words) ) { if (preg_match

[PHP] PHP and XML

2002-02-03 Thread Peter J. Schoenster
Hi, I'd appreciate any pointers you recommend to good sources of information on how to use PHP and XML. Thanks, Peter --- Reality is that which, when you stop believing in it, doesn't go away. -- Philip K. Dick -- PHP General Mailing List

[PHP] Why does heredoc fail in this instance?

2002-02-04 Thread Peter J. Schoenster
Hi If I use $snippet = ; and escape the quotes in the block then it works. But if I use it as is below, it fails with no useful error message. Why? Thanks, Peter function GetAddCommentSnippet($args) { $topic_id = $args[id]; $return_page =

Re: [PHP] Phatt MySQL entry

2002-02-10 Thread Peter J. Schoenster
On 10 Feb 2002, at 14:30, Liam MacKenzie wrote: I have a form, with 196 fields that I need entered into a database. But the form and it's contents need to be changed every day, and I That distracts me. Does the form change? I think not. It looks like a data entry form and the only thing that

Re: [PHP] Interest in Project

2002-02-10 Thread Peter J. Schoenster
or discussion of their way. Now, perhaps I've missed these sites, if so please bombard me with the urls. Othewise, consider a site which does this. I have no end of bookmarks for sites with the tactical questions. Peter -- http://www.coremodules.com/ PETER J. SCHOENSTER (901)-652-2002 -- PHP General

Re: [PHP] Interest in Project

2002-02-10 Thread Peter J. Schoenster
On 10 Feb 2002, at 21:17, Viper wrote: I may have worded this wrong. The site will focus on PHP and the use of Databases with PHP, (Oracle, Postgres, MySQL, others...). I was typing fast and just threw MySQL out :) I do quite a bit of development in PHP and MySQL so I am most familiar with

[PHP] can I sandwich html docs with PHP

2002-02-11 Thread Peter J. Schoenster
Hi, With mod_perl I can set a handler to handle any documents so it's quite easy to dump a database where each select output is saved to a file. I can have my handler take any file in the output directory and create the html page on the fly (where the contents of the file can be manipulated,

Re: [PHP] can I sandwich html docs with PHP

2002-02-11 Thread Peter J. Schoenster
On 11 Feb 2002, at 19:30, Michael Sims wrote: I'm not sure I really know what you're asking, but if you are asking if you can use PHP code within HTML files (with *.html extensions) then the answer is yes. If you're running Apache, add the following to your httpd.conf: Please disregard if

[PHP] why AddType not working for me as expected?

2002-02-12 Thread Peter J. Schoenster
Hi, Given that it doesn't seem I can use PHP as a wrapper, I tried the following: AddType application/x-httpd-php .htm .html And oddly that did not work (seems to become an unknown type, gives me the option to download). This worked AddType application/x-httpd-php .ghtm .ghtml And of

Re: [PHP] PHP Work in New York

2002-02-12 Thread Peter J. Schoenster
On 12 Feb 2002, at 13:30, George PHP wrote: So you want to say that PHP is going nowhere in the States? Maybe we should be doing ASP! You should probably be doing Java, but oh well. Java on M$ with Oracle. I've been hitting the job boards and those are the jobs that are jumping out. If you

Re: [PHP] good practice

2002-02-14 Thread Peter J. Schoenster
On 14 Feb 2002, at 11:09, James Taylor wrote: Can someone recommend a better method for doing something like the following? All of my programs are written like this, but it's really poor form considering I'm not predeclaring my variables, etc. Only thing I can really think of is to assign

Re: [PHP] good practice

2002-02-14 Thread Peter J. Schoenster
On 14 Feb 2002, at 16:26, J Smith wrote: Using global in the global scope (i.e. global $Config;) does nothing. If something is declared in the global scope of a file and then included into another file, it's still global. You don't need to actually say global $whatever unless you're in a

Re: [PHP] good practice

2002-02-14 Thread Peter J. Schoenster
On 14 Feb 2002, at 16:40, Michael Kimsal wrote: On that same topic, *why* do people name files with both .inc and .php? Your .inc file has PHP code in it, right? Why not just call it .php and spare the server reconfiguration. If knowing which files are include files (long time since

Re: [PHP] good practice

2002-02-15 Thread Peter J. Schoenster
On 15 Feb 2002, at 17:04, Philip J. Newman wrote: WHo really cares, if it works it don't matter what they call it. In response to: On that same topic, *why* do people name files with both .inc and .php? Your .inc file has PHP code in it, right? Why not just call it .php and

Re: [PHP] The ASP application object in PHP?

2002-02-15 Thread Peter J. Schoenster
On 15 Feb 2002, at 14:43, Bendik Simonsen wrote: I have however, noticed one feature that ASP has that I have not found an equal for in PHP: the application object. For those of you not familiar with ASP, the lowdown is this: The application object acts like a global session. You assign

Re: [PHP] Looking for optimal coding

2002-02-15 Thread Peter J. Schoenster
On 14 Feb 2002, at 22:18, Phillip S. Baker wrote: This is not a big thing. But I am looking at this thinking there is a way to make the code take up even less lines. Just want to stick this in my cap for future reference. for($i=01;$i=50;$i++) { if (!empty($content)) {

Re: [PHP] The ASP application object in PHP?

2002-02-15 Thread Peter J. Schoenster
On 15 Feb 2002, at 23:12, michael kimsal wrote: Tom Rogers wrote: Hi It uses cookies and only cookies and it seems that sessions are started on every access but can be turned off on individual pages if required. Tom Sorry Tom, but the application object has nothing to do with

Re: [PHP] The ASP application object in PHP?

2002-02-16 Thread Peter J. Schoenster
On 16 Feb 2002, at 8:37, michael kimsal wrote: I don't believe the original poster you quote really had/has a firm grasp on what it actually does. The tried and true example is a hit counter. No matter who hits a page, if that page increases an application variable called counter for

[PHP] must I use var

2002-02-17 Thread Peter J. Schoenster
HI, I was reading the docs and I see this: /* This is how it should be done. */ class Cart { var $todays_date; var $name; var $owner; var $items; function Cart() { $this-todays_date = date(Y-m-d); $this-name = $GLOBALS['firstname'];

Re: [PHP] Re: must I use var

2002-02-17 Thread Peter J. Schoenster
On 17 Feb 2002, at 23:20, Raymond Lilleodegard wrote: The var $somevariable means that the variable is defined. You only need to use var in classes. So if you only write ordinary scrpits, you dont need to use it. Raymond, Thanks. Someone else said it just helped to see what your class

Re: [PHP] zend studio 2.0

2002-02-17 Thread Peter J. Schoenster
On at , Unknown wrote: i write in php about 1.5 years. from the beginning i use macromedia homesite and i`m quite content of it. but...debugger, environment not optimized for php developers etc. so i wanted to try zend studio, i i`ve read this

Re: [PHP] zend studio 2.0

2002-02-17 Thread Peter J. Schoenster
On 17 Feb 2002, at 16:12, Chris Lott wrote: I hope we aren't going to get another chest-pounding real coders type of argument going here. Homesite *IS* a text editor. It provides Yeah, my bad. an amazing number of shortcuts to tasks, including mouse-based tasks, many of which I guarantee

[PHP] Re: [PHP-DB] Updating Database at a specified time

2002-02-17 Thread Peter J. Schoenster
On 17 Feb 2002, at 21:01, Jennifer Downey wrote: Would someone please help? I have looked everywhere and can not find how to update a database at a certain time. I am trying to get this to update at midnight instead of every time the browser refreshes. My hosting service has cron jobs but

[PHP] how to use PHP on command line in windows

2002-03-01 Thread Peter J. Schoenster
Hi, I use NT for development and I like to write snippets of code and test them on my local box I can do this in Perl How can I do that in PHP without installing a webserver etc etc I guess I can install a version of PHP and just make sure I've got the path in my env Thanks, Peter

[PHP] how to sort by value in associative array

2002-04-06 Thread Peter J. Schoenster
Hi, I have the array below and I want to sort on language. Can't figure it out. Below the array is what I tried $ArrayOfNewsLinks = array( http://dailynews.yahoo.com/fc/World/Brazil/; = array( title = 'Yahoo Brazil News', category = 'news', language = 'English', ),

Re: [PHP] Re: how to sort by value in associative array

2002-04-06 Thread Peter J. Schoenster
On 6 Apr 2002, at 14:38, Chris Adams wrote: On Sat, 6 Apr 2002 10:36:18 -0600, Peter J. Schoenster [EMAIL PROTECTED] wrote: $ArrayOfNewsLinks = array( http://dailynews.yahoo.com/fc/World/Brazil/; = array( title = 'Yahoo Brazil News', category = 'news', language

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 play,

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 want to be able to throw

[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

[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

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

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] I have a

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? Certainly you

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's a

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] 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 able to

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

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 idea

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 best way to

[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

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

[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

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 what you

Re: [PHP] Paying Job...

2002-07-25 Thread Peter J. Schoenster
On 25 Jul 2002 at 11:46, Gerard Samuel wrote: Basically, someone is looking to get a database driven site built, and Ive never written code for money before. Im looking for advice, as to how the experienced coders in here charge for their work. Do you charge by the page, script or by the

[PHP] OT project dev prroces was .. Paying Job...

2002-07-25 Thread Peter J. Schoenster
On 25 Jul 2002 at 12:12, Matt Babineau wrote: When first speaking with a client, would you charge an initial constation fee for lets say conference calls? How would you invoice stuff like this? on a monthly basis? Or every two weeks? Hi, I apologize for adding some noise but I really don't

[PHP] why doesn't $books[$val][display] show the value

2002-05-09 Thread Peter J. Schoenster
Hi, I've got an array like the following: $books = array( 1572316217 = array( category= 'tech', display = 'Steve McConnell\'s Software Project Survival Guide', href=

Re: [PHP] Re: why doesn't $books[$val][display] show the value

2002-05-09 Thread Peter J. Schoenster
On 9 May 2002 at 15:25, Philip Hallstrom wrote: It has to do with precedence (I think). When inside a double quoted string PHP evalutes $books[$val] *first* and doesn't catch that there's more to it... You can do this: $html.= Yaddda yadda . $books[$val][display]; And I think this

RE: [PHP] Close A Databse Connection

2002-07-26 Thread Peter J. Schoenster
Hi, The question was about the use of mysql_close. Use it or not (not when to use it or when not to). So far: Agreed... you should always clean up after yourself. PHP will close the connection automatically will be closed and all information cleared. I advised a newbie to always use

RE: [PHP] How to become a good PHP coder?

2002-07-30 Thread Peter J. Schoenster
On 31 Jul 2002 at 11:38, Martin Towell wrote: The best way to become proficient in programming (or anything, come to that) is with _lots_ of practice. ...snip Personally, I don't bog myself down in code from the start. I think in sorta pseudo-code, then once I have a solution, I then

Re: [PHP] Matchmaking site

2002-08-08 Thread Peter J. Schoenster
On 9 Aug 2002 at 0:59, Oficina Digital wrote: Hello, I am new to the list and don't know how kind you are helping complete beginners in PHP. I intend to set a personals matchmaking site for people interested in entheogens (http://singlemates.yage.net) I don't know where to begin, I have

Re: [PHP] Whois...

2002-08-12 Thread Peter J. Schoenster
On 12 Aug 2002 at 20:48, Christian Ista wrote: Hello, I'd like to implement on my web site an whois to know the information about a domain name (.com, org, ) Could you tell me how to do that ? http://promoxy.mirrors.phpclasses.org/search.html?words=whoisgo_search=1

Re: [PHP] progress bar for uploading files

2002-08-16 Thread Peter J. Schoenster
On 16 Aug 2002 at 23:40, electroteque wrote: hi guys i was wondering if there was anyway to have a progress bar for uploading images ? TMTOWDI, but here is a way I did something similar. I was spidering remote sites and to get user's data and store in a database and the user could not

[PHP] Re: progress bar for uploading files

2002-08-16 Thread Peter J. Schoenster
On 16 Aug 2002 at 12:38, Philip Hallstrom wrote: This wouldn't work for uploading files however since the long part of the process is the act of uploading the file and until that completes your save.php (or whatever) isn't called. So in regards to file uploading it has to be done with

Re: [PHP] PHP IDEs

2002-08-21 Thread Peter J. Schoenster
On 21 Aug 2002 at 8:55, Michael Egan wrote: I know similar threads have come up on this in the past but I suspect it's a constantly changing picture. I recently saw a favourable review of Zend Studio 2.5 but wondered, out of curiosity, what sort of tools people use to develop PHP scripts

Re: [PHP] UPS Ship Rates avail? XML?

2002-08-21 Thread Peter J. Schoenster
has done a real good thing here that might wake up some other companies. All this stuff was available years ago. Who's working at these big companies. Here is a site with lots of shipping info: http://shipping.langenberg.com/ Peter -- http://www.coremodules.com/ PETER J. SCHOENSTER (901)-652

[PHP] register_globals off or on, why on

2002-08-25 Thread Peter J. Schoenster
Hi, I'm working on a site where I'm using geeklog http://geeklog.sourceforge.net/ It has the requirement that Geeklog needs the register_globals variable turned on in order to work. Since PHP 4.2.0, the default for register_globals is off. To fix it, simply add the following line to your

[PHP] Anyone use DB_DataObject

2002-09-05 Thread Peter J. Schoenster
Hi, I'm trying to use Pear stuff but don't know if I should post to that list as just a user. I'm lost when it comes to Auto Building. It has an example of that and I tried to do it on a local linux box where I'm root but it failed all to undefined function: getstaticproperty and I found

Re: [PHP] XML Parser Question

2002-09-11 Thread Peter J. Schoenster
On 12 Sep 2002 at 0:13, OrangeHairedBoy wrote: Yeah...i should have mentioned I had thought of that...but I really don't want to :) It just doesn't look right when it's a math expression. Know a permenant solution? I want to be able to handle the tag mytag value=xy/, but the parser

Re: [PHP] PreCaching Db into Variables Slows it down?!??

2002-09-11 Thread Peter J. Schoenster
On 12 Sep 2002 at 1:35, M1tch wrote: Just spent ages (well, 2hours) on a precaching system for my PHP code that didn't work out! Hang on, I'll backtrack a bit... My website is using a php engine that picks at snippets of html from the database, and builds them up to form the page. A

[PHP] can you recommned a simple banner rotator in PHP

2002-09-12 Thread Peter J. Schoenster
Hi, I've got a customer who needs a banner rotation system. I don't want to recreate any wheels and I'm tryin to avoid a lot of research. I'd like one that doesn't use globals, it uses PEAR classes and preferably uses the Smarty template system or another template system, or you've used it

[PHP] can you recommend PHP shopping cart

2002-09-18 Thread Peter J. Schoenster
Hi, Looking for a shopping cart. I've written plenty in the past but in Perl. I'm looking for one in PHP and I don't want to write my own. I looked at this: http://www.x-cart.com/ And I asked to see their code but I have not heard anything back. I'm already favorable to anything that uses

Re: [PHP] Calling on functions in a url

2002-09-19 Thread Peter J. Schoenster
On 19 Sep 2002 at 16:13, Tom Ray wrote: I have a question that I have yet to figure out. Let's say I have a PHP script with multiple fuctions, how do I call on the script to perfom specific functions through a url? Ex: http://www.sample.com/script.php?fucntion1 I wouldn't say this is a

Re: [PHP] Best Practice

2002-09-21 Thread Peter J. Schoenster
On 21 Sep 2002 at 12:51, Ashley M. Kirchner wrote: I'm working on converting several static (price) pages on our site into dynamic pages, with the data stored in an MySQL database and PHP to pull the data out, with CSS to build the page and present it. I don't see how CSS would

Re: [PHP] Best Practice

2002-09-21 Thread Peter J. Schoenster
On 22 Sep 2002 at 12:31, Edwin wrote: Actually, in a sense, CSS can build a page--esp. if build means how data are to be presented (formatted) by the browser. Remember, with CSS you can hide and unhide elements? Ah .. yes ... forgot about that. That is building. Appreciate the reminder.

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 most best

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

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 sort

[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 in

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 database

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

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=somepasswordusern am e= MyUserName //store

[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

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 more

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, I

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.

Re: [PHP] Generating forms using OOP

2002-12-06 Thread Peter J. Schoenster
On 7 Dec 2002 at 0:43, Davy Obdam wrote: I ve just started with some OOP programming in PHP and now i have to build a set of classes that can generate a html form.. But i have a problem with the selectoption/option/select thing I hope someone can help me here or give me some pointers,...

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

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

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] 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: FORM ACTION=hello.php METHOD=POST INPUT TYPE=TEXTAREA NAME=textbox ?php printf(BRhello %s!,$textbox); ? This script works fine with php in redhat 7.2 system but does not work in solaris 7 ! I

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: ?php $string = 'asfddsaz'; if (eregi('\s', $string)) { echo Whitespace present; }else { echo NO Whitespace present; } ? Why does the above return true? There is no whitespace in the string. What am I missing? Peter -- PHP General Mailing List

[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