[PHP] more on trimming

2001-02-16 Thread jaskirat
Since this thread is running I would like to know the gurus' opinons on the similar following situation Suppose there is a variable like this $var = "This is a variable "; Now I want to strip off white spaces on the end without losing them in the middle of the sentence .. I had figur

[PHP] location

2001-02-16 Thread Brandon Feldhahn
how would i make somthing in a IF statement that would take somone to the members page when they get the login correct -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrator

RE: [PHP] Database Code Portability

2001-02-16 Thread Dallas Kropka
Try taking a look at the ADODB class written by the people at www.phpeverywhere.com (net?) We are using this code. it supports all major functions of 9 different databases and is very solid. -Original Message- From: Dave Haggerty [mailto:[EMAIL PROTECTED]] Sent: Friday, February 16

[PHP] Installer

2001-02-16 Thread B Satish , Gurgaon
hai friends since two days i am trying to download the installer of PHP and as the file in the site got affected with virus. our network firewall is not allowing to install it here in my Pc. can any of you help me in sending the installer of PHP as att

[PHP] search

2001-02-16 Thread Brandon Feldhahn
How do i make a php and MySQL search engine? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] Database Code Portability

2001-02-16 Thread Michael Stearne
This topic is covered a lot. Right now there are two major DB abstraction packages, Manuel Lemos' Metabase ( http://phpclasses.UpperDesign.com/browse.html/package/20 ) and the one that is distrubuted with PHP located in your distributions PEAR directory. Try both, see which one works better for

RE: [PHP] Can I select only the newest record?

2001-02-16 Thread ..s.c.o.t.t..
there are two ways that come to mind of doing this if you're using some kind of auto-incrementing field (not necessarily AUTO_INCREMENT, but any field that increases [or decreases] with time) this will select the entire row, but limit the query to only return 1 result (and depending on how your o

RE: [PHP] Finding the? in $REQUEST_URI?page=blah

2001-02-16 Thread ..s.c.o.t.t..
with slight modifications, yes... that will work. 1) PHP doesnt support built-in regexp's (which is a constant sore in the side of any perl programmer) so you'll have to ditch the /:/ for ':' 2) you have to declare lists as list(), unlike the assumed behaviour in perl when it sees () =

[PHP] Database Code Portability

2001-02-16 Thread Dave Haggerty
I haven't seen this issue discussed, sorry if I missed it: My question is why are the PHP database functions so unportable? Is there a reason why they have to be specific to, say MySQL. It seems to me (even though I am an amatuer to this stuff) that the code should be much more easily portable

[PHP] about PHPLib

2001-02-16 Thread JW
would anyone answer my following question? i want to ask whether i should install "phplib" in php v3 before i use session. whether it only can work with mySQL? thank you very much! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

Re: [PHP] MySQL: Add Autoincrement Field?

2001-02-16 Thread Brian Drexler
alter table $TableName add column $ColumnName NOT NULL AUTO_INCREMENT PRIMARY KEY; Have a nice day! Brian Drexler Precision Web Design - Original Message - From: Jeff Oien <[EMAIL PROTECTED]> To: PHP <[EMAIL PROTECTED]> Sent: Friday, February 16, 2001 11:30 PM Subject: RE: [PHP] MySQL:

RE: [PHP] MySQL: Add Autoincrement Field?

2001-02-16 Thread Jeff Oien
Could you tell me how to add a field to an existing database? I'm having trouble finding out how to do it. Thanks. Jeff Oien > just add a field unique_id int auto_increment in the table...u dont have to > do anything more...it will start at 1 and every time a new record is added > to the table t

Re: [PHP] using tar to untar a file into a certain dir... In php ofcourse

2001-02-16 Thread lwh
tar on all my systems (got this from 'man tar') tar xf file.tar -C /dest/dir -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Can I select only the newest record?

2001-02-16 Thread Brian Drexler
Using PHP3/MySQL, is there a way I can select only the newest record from a MySQL table. I have a datetime field and an Auto_incremented field. Anyone got any ideas??? Brian Drexler -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

RE: [PHP] Can PHP execute a refresh to a new page?

2001-02-16 Thread ..s.c.o.t.t..
i've been using the header("...") approach myself, but was curious to see if there's a builtin PHP function that will accomplish the same thing im a kind-of new PHP programmer, and havent really been exposed to too much of the language yet, but i found it quite odd that such a function seems

Re: [PHP] Can PHP execute a refresh to a new page?

2001-02-16 Thread Chris Lee
HTTP can also tell a broswer to 'refresh' http://$SERVER_NAME$PHP_SELF"); ?> -- Chris Lee Mediawaveonline.com em. [EMAIL PROTECTED] ph. 250.377.1095 ph. 250.376.2690 fx. 250.554.1120 ""Kenneth R Zink II"" <[EMAIL PROTECTED]> wrote in message 014501c09890$cf4322d0$[EMAIL PROTECTED]">news:0

Re: [PHP] Code Optimizer

2001-02-16 Thread Michael Stearne
You can set your error reporting in your php.ini file or set error_reporting() in your scripts to be very sensitive where it will tell you such things as variables that weren't defined properly. Look into http://www.php.net/manual/en/features.error-handling.php Michael Joe Sheble aka Wizaerd w

Re: [PHP] Can PHP execute a refresh to a new page?

2001-02-16 Thread Brian Drexler
HTML can create a refresh to a new page. Put this in the header http://newurl.com"> 3 is the number of seconds that it is delayed Brian Drexler Precision Web Design - Original Message - From: Kenneth R Zink II <[EMAIL PROTECTED]> To: PHP <[EMAIL PROTECTED]> Sent: Friday,

[PHP] Can PHP execute a refresh to a new page?

2001-02-16 Thread Kenneth R Zink II
Can PHP execute a refresh to a new page? If so, how? Thanks. Kenneth R Zink II [EMAIL PROTECTED]ICQ# 5095094 '87 2.8L TBI GMC S-15 Ext. Cab (Hurricane) ...524 in the works !!! http://www.s-series.org/htm/windstorm/project-windstorm.htm '85 3.4L Carbed Chevy S-10 Blazer (FireStorm) ...

Re: [PHP] MySQL: Add Autoincrement Field?

2001-02-16 Thread Chad Guilette
just add a field unique_id int auto_increment in the table...u dont have to do anything more...it will start at 1 and every time a new record is added to the table this value will be incremented - Original Message - From: "Jeff Oien" <[EMAIL PROTECTED]> To: "PHP" <[EMAIL PROTECTED]> Se

[PHP] Dir? Can I get a dir listing of the current dir my php file is in?

2001-02-16 Thread Brandon Orther
Hello, I am looking for a way to get a dir listing of the current dir my phpscript is in and putting it into an array. Does anyone have a quick way to do this? Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-

Re: [PHP] Quick hellp, How do I stip new lines?

2001-02-16 Thread Toby Butzon
> Trim() will in fact only strip whitespace from the beginning or end of > the string; if he has \n's anywhere in the middle of the string, trim > will do perform the desired operation. CORRECTION : "trim will not perform the desired operation" -- PHP General Mailing List (http://www.php.net/

Re: [PHP] Quick hellp, How do I stip new lines?

2001-02-16 Thread Toby Butzon
Trim() will in fact only strip whitespace from the beginning or end of the string; if he has \n's anywhere in the middle of the string, trim will do perform the desired operation. Ereg_replace() is unnecessary for a simple search/replace operation; str_replace() will suffice and is faster to some

Re: [PHP] Quick hellp, How do I stip new lines?

2001-02-16 Thread Brian Clark
Hi Kath, @ 9:41:34 PM on 2/16/2001, [EMAIL PROTECTED] wrote: > You want to totally remove \n? > $something = ereg_replace("\n"," ",$something); trim() will suffice. http://www.php.net/manual/en/function.trim.php -Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-

Re: [PHP] Quick hellp, How do I stip new lines?

2001-02-16 Thread Kath
You want to totally remove \n? $something = ereg_replace("\n"," ",$something); That should do it. If you mean making \n into BR: $something = ereg_replace("\n","",$something); - Kath - Original Message - From: "Brandon Orther" <[EMAIL PROTECTED]> To: "PHP User Group" <[EMAIL PROTECT

[PHP] Quick hellp, How do I stip new lines?

2001-02-16 Thread Brandon Orther
Hello, Hey I can't remeber how to do it but I'm sure one of you will. How do I strip the \n from a variable? Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com --

[PHP-CVS] cvs: php4 /ext/dotnet dotnet.cpp

2001-02-16 Thread Harald Radi
phanto Fri Feb 16 18:16:28 2001 EDT Modified files: /php4/ext/dotnetdotnet.cpp Log: multiple codepage support export global constants Index: php4/ext/dotnet/dotnet.cpp diff -u php4/ext/dotnet/dotnet.cpp:1.5 php4/ext/dotnet/dotnet.cpp:1.6 --- php4/ext/dot

[PHP-CVS] cvs: php4 /ext/com COM.cpp conversion.c conversion.h typedef_VARIANT.c

2001-02-16 Thread Harald Radi
phanto Fri Feb 16 18:15:12 2001 EDT Modified files: /php4/ext/com typedef_VARIANT.c conversion.h conversion.c COM.cpp Log: multiple codepage support export global constants Index: php4/ext/com/typedef_VARIANT.c diff -u php4/ext/com/typedef_VARIANT.c:1

[PHP] [S.O.S.] round() problem

2001-02-16 Thread SED
I have been writing this project in PHP4 but had to save it for PHP3 an apache server. http://www.sed.is/sereign_145.php3 When I saved it on an apache server (I have W2K - where it's 100% ok!) as php3 I get these errors: Warning: Wrong parameter count for round() in /sereign_145.php3 on

Re: [PHP] PHP Book Recommendations

2001-02-16 Thread Philip Olson
The most useful "second" book is : PHP Developers Cookbook It really is nice. I say "second" because it's geared towards those that understand a bit already but still, it'll even help the complete newbie (easy to read). Excellent tips, short-cuts, examples, etc. Includes uses of various

Re: [PHP] PHP Editors

2001-02-16 Thread Alexander Wagner
Dave Goodrich wrote: > The only reason I have a Mac on my desk is for Bbedit. Hoping they > port to OSX and allow it to run on my FBSD box. Isnt BBedit originally from BeOS? This way, you could at least run it on your x86-Box. regards Wagner -- Three may keep a secret, if two of them are dead

[PHP] MySQL: Add Autoincrement Field?

2001-02-16 Thread Jeff Oien
I have an existing database from a flat file that I imported into a MySQL table. Some of the title fields are duplicates - songs with the same name from different song books. So if I want to delete a record by title, I'll end up deleting all songs with that title. Is there a way I can add a uniqu

Re: [PHP] Finding the? in $REQUEST_URI?page=blah

2001-02-16 Thread John Monfort
Is the PHP split command the same as that in Perl? ex. ($var_1, $var_2) = split(/:/,$string, 2); will something like that work? On Fri, 16 Feb 2001, ..s.c.o.t.t.. [gts] wrote: > i'd use split, to split the value up into an array: > > if this is your url > $url = "/pages/e

Re: [PHP] save some typing

2001-02-16 Thread Mark Maggelet
On Fri, 16 Feb 2001 17:31:46 -0600, Christopher Allen ([EMAIL PROTECTED]) wrote: >Hola: >http://www.google.com/intl/en_extra/options/winnetscape.html > >Its kinda helpful: I modified the above to utilize the >www.php.net/some_function > >Heres the trivial js code: >javascript:q=document.getSelecti

RE: [PHP] input type=file

2001-02-16 Thread Joe Sheble (Wizaerd)
that would be one option... however, if you're going to let them navigate through different directories, it would be a bit tougher in a dropdown... but if all you need is to display a list of files to them, then that would work great Joseph E. Sheble a.k.a. Wizaerd Wizaerd's Realm Canvas, 3

RE: [PHP] input type=file

2001-02-16 Thread Jerry Lake
that should be contents of, not contents or... Jerry Lake- [EMAIL PROTECTED] Web Designer Europa Communications - http://www.europa.com Pacifier Online - http://www.pacifier.com -Original Message- From: Jerry Lake [mailto:[EMAIL PROTECTED]] Sent: Friday, February 16, 200

RE: [PHP] input type=file

2001-02-16 Thread Jerry Lake
so then maybe, if I understand it correctly (which may or may not be true) I could read the contents or a directory and populate a dropdown list...? Jerry Lake- [EMAIL PROTECTED] Web Designer Europa Communications - http://www.europa.com Pacifier Online - http://www.pacifier.com

Re: [PHP] using tar to untar a file into a certain dir... In php of course

2001-02-16 Thread Brian Drexler
Try just specifying the path system("tar -xvf /home/httpd/html/file.tar /home/httpd/html/filedirectory/."); Let me know if this helps. Brian Drexler - Original Message - From: Brandon Orther <[EMAIL PROTECTED]> To: PHP User Group <[EMAIL PROTECTED]> Sent: Friday, February 16, 2001

[PHP] Newbie: Fundamental question. Long.

2001-02-16 Thread james
I have a feeling that after receiving answer to this question I will be able to do everything I want...:) SHOP: Page has three frames: left, right_top and right_down. Left frame: "; echo " "; echo " "; echo " "; echo " "; echo " "; echo " "; ?> Right_top frame: (right_top.php) if ($actio

RE: [PHP] input type=file

2001-02-16 Thread Joe Sheble (Wizaerd)
to put it simply, you can't... but you could put an input type of text with a link or a button next to it manually, and then on the onClick of either this button or link open a secondary window running a PHP script that reads a particular directory structure with full navigation support. Then wh

Re: [PHP] Delete from cart

2001-02-16 Thread Gary
Thanks Chris, It is a little late in the design to use your class, but it has given me an idea on how to delete from my code. Thanks Gary Chris Lee wrote: > here is a very simple cart in sessions. you have stockno and quan, it can be > easily modified to handle various other variables. > >

RE: [PHP] using tar to untar a file into a certain dir... In php of course

2001-02-16 Thread Brandon Orther
Hello, I can't seem to get cd to work while using system I even use the whole root path. Anyone got any ideas? Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com --

[PHP] input type=file

2001-02-16 Thread Jerry Lake
this doesn't relate directly to PHP, but it will when I am done. How can I create a file input that reads from a directory on the server instead of the users machine Jerry Lake- [EMAIL PROTECTED] Web Designer Europa Communications - http://www.europa.com Pacifier Online - http://

Re: [PHP] Delete from cart

2001-02-16 Thread Chris Lee
here is a very simple cart in sessions. you have stockno and quan, it can be easily modified to handle various other variables. cart_product_id[$product_id] = $product_id; $this->cart_product_quan[$product_id] = $product_quan; } function add_single($var_name) { if ( !isset($GLOBALS[

RE: [PHP] CORBA?

2001-02-16 Thread Jonathan Sharp
Well, since Gerald's answer was so informative...check out www.corba.com they list the main concepts and give standards. Cheers, -Jonathan > -Original Message- > From: DanO [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 16, 2001 3:47 PM > To: Gerald Gutierrez; Jonathan Sharp; [EMAIL

RE: [PHP] shopping cart classes

2001-02-16 Thread Thor M. Steindorsson
Seems to be good enough for NASA. :) -Original Message- From: Chris Lee [mailto:[EMAIL PROTECTED]] Sent: Friday, February 16, 2001 1:51 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] shopping cart classes I found the same as you, I wrote some classes of my own. have you done much with post

RE: [PHP] CORBA?

2001-02-16 Thread DanO
how is this type of comment on a mailing list productive? DanO -Original Message- From: Gerald Gutierrez [mailto:[EMAIL PROTECTED]] Sent: Friday, February 16, 2001 3:26 PM To: Jonathan Sharp; [EMAIL PROTECTED] Subject: Re: [PHP] CORBA? At 02:49 PM 2/16/2001 -0800, Jonathan Sharp wrot

Re: [PHP] Finding the? in $REQUEST_URI?page=blah

2001-02-16 Thread ..s.c.o.t.t.. [gts]
i'd use split, to split the value up into an array: if this is your url $url = "/pages/error.php?/pages/login.php?user=scott"; and use this code: $thing = split('\?', $url); print $thing[0] ." \n "; print $thing[1] ." \n "; print $thing[2] ." \n "; output will be: /pages/error.php

[PHP] save some typing

2001-02-16 Thread Christopher Allen
Hola: http://www.google.com/intl/en_extra/options/winnetscape.html Its kinda helpful: I modified the above to utilize the www.php.net/some_function Heres the trivial js code: javascript:q=document.getSelection();for(i=0;ihttp://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

Re: [PHP] CORBA?

2001-02-16 Thread Gerald Gutierrez
At 02:49 PM 2/16/2001 -0800, Jonathan Sharp wrote: >I've seen mentions of CORBA before and skimmed a book at the local b&n, but >what exactly is it? Is it programming standards? A seperate language all >together? (something like COM?) > >Thanks, >-Jonathan Sharp > >Technology Director >Imprev, In

Re: [PHP] deleting cart items on session expire

2001-02-16 Thread Lic. Rodolfo Gonzalez Gonzalez
On Fri, 16 Feb 2001, Jason Brooke wrote: > > However, there's no necessity to have the cgi version if you already have > > the modular version. All that is needed is to call the appropriate script > No there's not - I think that goes without saying though. > install' - then you can use this awes

[PHP] PHP-as-servlet can't ldopen php_java

2001-02-16 Thread Clark Freifeld
Dear PHP experts, I am trying to install PHP as a servlet. I have Apache+Tomcat (Apache v1.3.17, PHP 4.0.4pl1, Tomcat 3.2.1) running with mod_jk fine as far as I can tell: I have no problem executing ordinary servlets and jsp. I have merged the web.xml file into examples/web.xml and made a php su

[PHP-CVS] cvs: php4 / NEWS

2001-02-16 Thread Sascha Schumann
sas Fri Feb 16 15:10:13 2001 EDT Modified files: /php4 NEWS Log: Add some old and some recent news Index: php4/NEWS diff -u php4/NEWS:1.592 php4/NEWS:1.593 --- php4/NEWS:1.592 Thu Feb 15 18:09:23 2001 +++ php4/NEWS Fri Feb 16 15:10:12 2001 @@

Re: [PHP] ereg problem

2001-02-16 Thread Jeff Warrington
In article <[EMAIL PROTECTED]>, "Janet Valade" <[EMAIL PROTECTED]> wrote: if you include a hyphen in a character class, it must be the last entry in the range, otherwise it is interepreted as the range separator. [0-9+.\()-] is what you want (probably have to escape some of the chars above).

RE: [PHP] Finding the? in $REQUEST_URI?page=blah

2001-02-16 Thread Javier Muniz
An exceptionally easy way to do this would be to pass both $PHP_SELF and $REQUEST_URI. Alternatively, you can use explode(): "> Username: etc -Original Message- From: James, Yz [mailto:[EMAIL PROTECTED]] Sent: Friday, February 16, 2001 2:57 PM To: [EMAIL PROTECTED] Subject: [PHP] Fin

[PHP-CVS] cvs: php4 /ext/ircg ircg_scanner.c ircg_scanner.re

2001-02-16 Thread Sascha Schumann
sas Fri Feb 16 14:59:58 2001 EDT Modified files: /php4/ext/ircg ircg_scanner.re ircg_scanner.c Log: Reverse the priority of the entity matches vs. anything. If it sees a single entity, it should handle it immediately. Index: php4/ext/ircg/ircg_sc

Re: [PHP] splitting up contents of a test box

2001-02-16 Thread James, Yz
If each of the scrolling lines is separated by something regular, like a carriage return, or a line break, tab (etc), you could use explode(); and have the values returned as an array. James. > I have a form that contains a scrolling text box. When I display the > contents of the text box, say

Re: [PHP] Delete from cart

2001-02-16 Thread Gary
Chris Lee wrote: > are you using a spec cart system? or did you write your own? its hard to > give an accurate answer without knowing. Ive wrote my own simple cart, using > sessions, to delete an item I just unset the variable. > > unset($stockno['1234']); > > where $stockno is an session array

[PHP-CVS] cvs: php4 /ext/ircg ircg.c ircg_scanner.c ircg_scanner.re

2001-02-16 Thread Sascha Schumann
sas Fri Feb 16 14:53:18 2001 EDT Modified files: /php4/ext/ircg ircg.c ircg_scanner.c ircg_scanner.re Log: Move the separate entity encoding into the scanner. Otherwise, we cannot properly differentiate between (apparent) HTML which was generated by

Re: [PHP] PHP Book Recommendations

2001-02-16 Thread ..s.c.o.t.t.. [gts]
I agree... The red book "Professional PHP Programming" (WROX "Programmer to Programmer" series) is an exellent PHP book but, if you're looking for novice level stuff, WROX also published a companion called "Beginning PHP4". i was fluent in perl when i picked up the professional one, and had no

[PHP] Finding the? in $REQUEST_URI?page=blah

2001-02-16 Thread James, Yz
I really wouldn't ask this if I wasn't completely exausted, but the last thing I feel like doing just now is reading up on this when someone can probably answer it in a matter of seconds. OK, I've an error handling page. Basically, I want to split (that might even be one of the functions I'l

[PHP] CORBA?

2001-02-16 Thread Jonathan Sharp
I've seen mentions of CORBA before and skimmed a book at the local b&n, but what exactly is it? Is it programming standards? A seperate language all together? (something like COM?) Thanks, -Jonathan Sharp Technology Director Imprev, Inc. http://imprev.com [EMAIL PROTECTED], [EMAIL PROTECTED] EP

RE: [PHP] using tar to untar a file into a certain dir... In php of course

2001-02-16 Thread Javier Muniz
Don't calls to system() live within their own shell and environment? If so you may need to: system("cd /destination/dir && tar -xpf /some/path/to/tarfile.tar"); this will also insure that if the cd fails for some reason, tar will not execute. -jm -Original Message- From: DanO [mailto:

Re: [PHP] multiple select

2001-02-16 Thread Toby Butzon
Change the name of your select to "test[]" instead of "test", then access it like an array: foreach($test as $current) { echo "$current was selected\n"; } --toby Pablo Martin De Natale wrote: > > Hello, I'm trying to make a multiple select... > > I've this code... > > > 1 > 2 > 3 > > >

RE: [PHP] using tar to untar a file into a certain dir... In php of course

2001-02-16 Thread DanO
good point. i should think before i post. here is another go: i can't test this as i am on a windows box at the moment, but i think you can get the gist of it. change the working directory of php and then extract from another file. DanO -Original Message- From: Brandon Orther [m

[PHP] multiple select

2001-02-16 Thread Pablo Martin De Natale
Hello, I'm trying to make a multiple select... I've this code... 1 2 3 then I select more than one option but when I see the value of $test, I only see the last value that I checked. Somebody can help me? Thanks Pablo -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] the best so far

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

Re: [PHP] PHP Book Recommendations

2001-02-16 Thread John Monfort
Profession PHP Programming ISBN: 1-861002-96-3 __John Monfort_ _+---+_ P E P I E D E S I G N S www.pepiedesigns.com "The world is waiting, are you ready?" -+___+- On Fri, 16 Feb 2001, Bri

Re: [PHP] New Mod-gzip

2001-02-16 Thread David VanHorn
At 04:53 PM 2/16/01 -0500, Michael Kimsal wrote: >Does it work when you print from Netscape? I don't have a printer hooked Hmm. Couldn't tell you, I don't have Netscape. The only bug reports so far, all involve a relatively minor config tweak. I've had no problem reports on my page. -- Dave's

FW: [PHP] using tar to untar a file into a certain dir... In php of course

2001-02-16 Thread Brandon Orther
From: Brandon Orther [mailto:[EMAIL PROTECTED]] Sent: Friday, February 16, 2001 2:07 PM To: DanO Subject: RE: [PHP] using tar to untar a file into a certain dir... In php of course That just untars it into the current dir the php script is in. -Original Message- From: DanO [mailto:[EMAI

RE: [PHP] Specific PHP/JSP questions

2001-02-16 Thread DanO
see: http://www.php.net/manual/en/function.header.php it works just like JSP. DanO -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, February 16, 2001 2:01 PM To: Gerald Gutierrez; [EMAIL PROTECTED] Subject: Re: [PHP] Specific PHP/JSP questions Add

Re: [PHP] Specific PHP/JSP questions

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

RE: [PHP] using tar to untar a file into a certain dir... In php of course

2001-02-16 Thread DanO
have you tried: mv mytar.tar /my/path/to/dir/; tar -xpf /my/path/to/dir/mytar.tar this should work, but there may be a more direct unix-y way to do it. DanO -Original Message- From: Brandon Orther [mailto:[EMAIL PROTECTED]] Sent: Friday, February 16, 2001 1:49 PM To:

Re: [PHP] New Mod-gzip

2001-02-16 Thread Michael Kimsal
Does it work when you print from Netscape? I don't have a printer hooked up, but that was a problem with some other gzip stuff I used in the past. David VanHorn wrote: > There's a new mod_gzip out that does work with PHP output. > Have a look at www.dvanhorn.org > All the pages are PHP genera

[PHP-CVS] cvs: php4 /ext/midgard/logo midgard-logo.gif

2001-02-16 Thread David Guerizec
davidg Fri Feb 16 13:50:09 2001 EDT Removed files: /php4/ext/midgard/logo midgard-logo.gif Log: deleting logo to slim down the Midgard extension -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP-CVS] cvs: php4 /ext/midgard midgard-logo.h midgard-team.h midgard.c

2001-02-16 Thread David Guerizec
davidg Fri Feb 16 13:49:01 2001 EDT Removed files: /php4/ext/midgard midgard-logo.h midgard-team.h Modified files: /php4/ext/midgard midgard.c Log: deleting logo & picture to slim down the Midgard extension Index: php4/ext/midgard

Re: [PHP] shopping cart classes

2001-02-16 Thread Joe Stump
Odd - we serve millions of pages a day off of MySQL - solid as a rock. Hhm wonder if that Quad SPARC has anything to do with it... --Joe On Fri, Feb 16, 2001 at 01:50:59PM -0800, Chris Lee wrote: > I found the same as you, I wrote some classes of my own. have you done much > with postgres ?

Re: [PHP] shopping cart classes

2001-02-16 Thread Chris Lee
I found the same as you, I wrote some classes of my own. have you done much with postgres ? Ive used mySQL alot here and am not happy with the stability, postgres (beta) seems to be faster but havent used it in products so cant comment on stability. Im curious. -- Chris Lee Mediawaveonline.com

Re: [PHP] SMTP

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

[PHP] using tar to untar a file into a certain dir... In php of course

2001-02-16 Thread Brandon Orther
Hello, I am making a php file that untars files. What I can't seem to figure out is how to untar a file into another folder. I have tried: tar -xpf file.tar /new/folder/* & and & tar -xpf file.tar /new/folder/ does anyone know how to do this? Thank you,

[PHP-CVS] cvs: php4 /ext/notes notes.dsp notes.dsw php_notes.c php_notes.h

2001-02-16 Thread Zeev Suraski
zeevFri Feb 16 13:36:29 2001 EDT Added files: /php4/ext/notes notes.dsp notes.dsw php_notes.c php_notes.h Log: import notes modules from Brad Atkins Index: php4/ext/notes/notes.dsp +++ php4/ext/notes/notes.dsp # Microsoft Developer Studio Projec

[PHP] Re: PHP and cookies and/or headers

2001-02-16 Thread Angela
When they click on the tab to change languages, you could have that go back to a page on the main site, reset the cookie, and then send it on to the site you want it to go to. -Angela Jeremy Gillies wrote: > > angela, > > this would work if people did not switch back and forth between langauge

Re: [PHP] Delete from cart

2001-02-16 Thread Chris Lee
are you using a spec cart system? or did you write your own? its hard to give an accurate answer without knowing. Ive wrote my own simple cart, using sessions, to delete an item I just unset the variable. unset($stockno['1234']); where $stockno is an session array variable. its very spec on what

php-general Digest 16 Feb 2001 21:24:00 -0000 Issue 516

2001-02-16 Thread php-general-digest-help
php-general Digest 16 Feb 2001 21:24:00 - Issue 516 Topics (messages 40120 through 40228): Re: Count columns in array 40120 by: Tim Ward Re: True || False ? 40121 by: Tim Ward 40122 by: Maxim Maletsky 40125 by: Robin Vickery Re: PHP Editors 40123 by

[PHP] cobalt raq3 php mysql

2001-02-16 Thread Nicolae Mihalache
Hello! Has anyone succeded installing php4 on a cobalt raq3 server? I have the following problem: If I compile php with mysql included in php distribution, it can't connect to database. For example phpMyAdmin gives me this error(it seems that mysql_error() return nothing): Warning: MySQL Connect

Re: [PHP] PHP Editors

2001-02-16 Thread lou
Also... Bbedit was bundled with dreamweaver for the longest time. Maybe still... > BBedit gets that share because I know people who use a Mac for development, > just for BBedit. > > Regx, ftp, custom tags, volume wide search and replace, glossaries, > scriptable and attachable, syntax checking,

[PHP] Insert AS400 - We figured it out!

2001-02-16 Thread Karl J. Stubsjoen
Hello All, Sometime later today, I will share with all of you how to perform inserts from PHP using the DB2 Universal Connection into an AS400 Table. Yes, we figured it out! Look for my post by end of day (Friday). Karl -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mai

Re: [PHP] PHP compiler

2001-02-16 Thread dmalcolm
Jim Jagielski wrote: > At 9:10 AM -0600 2/16/01, dmalcolm wrote: > >Is there such a thing as a PHP compiler? Linux based? Windoze based? > > > >Thanks in advance. > > > > Depends on what you mean by a compiler. If you mean a "package" > that turns your PHP script into a 100% stand-alone binary

Re: [PHP] PHP Book Recommendations

2001-02-16 Thread Egon Schmid (@vacation)
Brian V Bonini wrote: > > Can I get some recommendations on some good PHP > books. Something broad but with good novice > concepts There are many at http://php.net/books.php. Maybe Leon Atkinsons Core PHP (second edition) or Sterling Hughes Developer's Cookbook. -Egon -- SIX Offene Sy

Re: [PHP] PHP compiler

2001-02-16 Thread dmalcolm
Chris Lee wrote: > Zend Technologies has an encoder, might be what your looking for, might not. > why do you want to compile your code, you havent mentioned ? > > -- > > Chris Lee > Mediawaveonline.com > > em. [EMAIL PROTECTED] > > ph. 250.377.1095 > ph. 250.376.2690 > fx. 250.554.1120 > > "dmalc

Re: [PHP] PHP Editors

2001-02-16 Thread Dave Goodrich
BBedit gets that share because I know people who use a Mac for development, just for BBedit. Regx, ftp, custom tags, volume wide search and replace, glossaries, scriptable and attachable, syntax checking, syntax coloring (html, css, js, php, c, c++, java) entity conversion (both ways), spell che

[PHP] PHP Book Recommendations

2001-02-16 Thread Brian V Bonini
Can I get some recommendations on some good PHP books. Something broad but with good novice concepts -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail:

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

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

Re: [PHP] undefined functions question

2001-02-16 Thread Toby Butzon
Try include_once() for your includes instead of simply include(). --toby Matt Williams wrote: > > > > > This has been an ongoing problem, when I include a file which contains a > > call to a function I get undefined function errors but when I try > > to include > > the file containing the funct

Re: [PHP] MySQL COUNT Won't Work

2001-02-16 Thread Andrew Rush
On Friday, February 16, 2001, at 09:27 AM, Jeff Oien wrote: > $result = mysql_query($sql,$connection) > or die("Couldn't execute query."); //<$queryhttp://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list admini

RE: [PHP] MySQL COUNT Won't Work

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

RE: [PHP] counting files

2001-02-16 Thread Andrew Rush
On Friday, February 16, 2001, at 10:31 AM, Hoover, Josh wrote: > Try this bit of code and see if it works. (I don't know if there's a less > taxing (on the server) way to get a count of files in a directory or not.) this code snippet won't work as a standalone. you are referencing an object

Re: [PHP] PHP Code Obfuscator?

2001-02-16 Thread Jim Jagielski
At 3:30 AM +0800 2/17/01, Tiger Quimpo wrote: > >I could go with the Zend tools, I suppose. but there isn't enough >money here for that yet (third-world... who can afford software that >costs the same as the salaries of 8 to 10 programmers?). someday... > Even with the new Developer's Suite and

[PHP] Delete from cart

2001-02-16 Thread Gary
Hi All, It is Friday afternoon here and I don't want to have to reinvent the wheel. What would be the easiest way to delete an item from a shopping cart? I know what is required for Mysql but I am stumped on how to implement it. TIA Gary -- PHP General Mailing List (http://www.php.net/) T

Re: [PHP] displaying more than one result

2001-02-16 Thread Christopher Ostmo
Matt Davis pressed the little lettered thingies in this order... > I have a php script which runs a query and then outputs the results in to > html. The html should repeat itself depending on the number of results. i.e > to produce search results. > > I know that my current query should return 5

  1   2   3   >