RE: [PHP] displaying string combinations

2001-04-20 Thread Maxim Maletsky
you can do: echo ${"banner$RandBanner"} this will create a variable for you. However, I think you should be using an array. Things are getting much faster and better. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.

[PHP] Zend Optimizer on Solaris8 x86. Help!!

2001-04-20 Thread Chris
Anyone know how to get the Zend Optimizer work on Solaris 8 x86? i can only download the Sparc version of Zend Optimizer, but it don't work on x86. Thanks in advance. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

Re: [PHP] bounces from messages send to this list

2001-04-20 Thread Rasmus Lerdorf
I have removed [EMAIL PROTECTED] from the lists. That address was causing a number of the bounces. Gave him a full day to fix his MX loop... As for solfix.net. Not sure what can be done about them. There is no solfix.net address subscribed and that domain is blocked from posting to any of the

RE: [PHP] SETUP PHP , MYSQL, APACHE

2001-04-20 Thread Maxim Maletsky
See a tutorial on PHPBeginner.com http://www.phpbeginner.com/columns/enygma/install this will pass you through the process. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: B.

Re: [PHP] regarding time()

2001-04-20 Thread David Robley
On Fri, 20 Apr 2001 16:45, you wrote: > hello > no even localtime didn't helped me.. > it's displaying the current time as 15:14 though the correct time is > 12:45. please suggest if there is any other alternative.. > thanx.. > reena > > On Thu,

Re: [PHP] more an SQL issue but I can't find any help

2001-04-20 Thread David Robley
On Fri, 20 Apr 2001 17:02, you wrote: > Yes but how I can "say" 18 years ??? > > Marian Vasile > IT Manager > Schnecker van Wyk & Pearson > www.investments.ro > +40 (0) 1 2309000 > > > -Original Message- > > From: David Robley [mailto:[EMAIL PROTECTED]] > > Sent: Friday, April 20, 2001 5:3

RE: [PHP] Authentication

2001-04-20 Thread Navid Yar
Kath, Thank you, I completely forgot to strip the UserID and Password to MySQL. The book is called PHP, Fast & Easy Web Development by Julie C. Meloni. The errata is located at the somewhat famous www.thickbook.com (more specifically http://www.thickbook.com/books/index.phtml, the book is the fir

RE: [PHP] mail() and stripslashes()

2001-04-20 Thread Navid Yar
Isaac, Something like this worked for me... go back and type an article before sending.'; } ?> Where $article would be the e-mail sent out in raw form. -Original Message- From: Isaac Force [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 19, 2001 4:03 PM To: [EMAIL PROTECTED] Subject

Re: [PHP] Treestructure

2001-04-20 Thread Johan Evers Petersen
Yes thx, but it seems that my tree is build allright, I just can't get it out on print... I have in my add() function a printout and from this I believe that the tree is build allright. All the treenodes are added to the correct subtree arrays. function add($currentNode) { //This function is used

[PHP] network error

2001-04-20 Thread claudia
Hi, has anyone ever seen the message "Network error occured while Netscape was receiving data ..." This happens when i save data in my informix database. The values are saved, but i get the error message when the browser trys to load the new page. The strange thing is, it happens only sometimes

php-general Digest 20 Apr 2001 07:51:33 -0000 Issue 638

2001-04-20 Thread php-general-digest-help
php-general Digest 20 Apr 2001 07:51:33 - Issue 638 Topics (messages 49411 through 49530): Re: Which is better coding style... 49411 by: Steve Lawson 49416 by: Sander Pilon 49417 by: Miles Thompson 49419 by: Martín Marqués 49424 by: ..s.c.o.t.t.. [gts

[PHP] Re: Using mogrify ..

2001-04-20 Thread Mathur
Hi ! actually, php is working as a shared object module in apache, which is dynamically loaded thru a .so file. I will look into this and see if there is away of initialising these env vars to a value at startup o webserver .. U absolutely right when u say 1 can set these environment vars, using

[PHP] Credit Card Class...how do u access?

2001-04-20 Thread Dhaval Desai
Hi! I have the following class for checking a credit card type.Can anybody tell me how do I access this class. I mean how should I check a credit card type using this class..? Thank you DHaval Desai $valid, 'type' => $type); } } __ Do You

[PHP] Credit Card easy script ..how 2 get results?

2001-04-20 Thread Dhaval Desai
Hi! Well the Class that I had sent earlier was really complicated. SO I just found an easier script. Can anybody tell me how this should work. If it returns 1, 0, -1 what should I do?. I am a begineer so please bear with me. THank You =0; $i-=2){ $dbl[$j] = $dig[$i] * 2;

[PHP] database server comparation

2001-04-20 Thread yanto
Hi is there one one know about any site explain comparation among database server software from various perspective. thanx. -toto- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

Re: [PHP] Credit Card Class...how do u access?

2001-04-20 Thread elias
do like: if (credit_card::validate("123412341234")) { // yes correct... } else { // no not correct.. } I believe this class is from WeberDev and I believe it comes with lots of comments showing how it works... -elias http://www.kameelah.org/eassoft "Dhaval Desai" <[EMAIL PROTECTED]> wrote

[PHP] PHPSESSID in session

2001-04-20 Thread nicuc.ac.jp
I use session in my Shopping cart program. start with session_start() ; and register the value with session_register('uid') ; when I want to pass the session value to another page I use echo "click" ; In 'somepage.php' I try to echo $uid the output that correct My question is why m

[PHP] PHPSESSID in session

2001-04-20 Thread nicuc.ac.jp
I use session in my Shopping cart program. start with session_start() ; and register the value with session_register('uid') ; when I want to pass the session value to another page I use echo "click" ; In 'somepage.php' I try to echo $uid the output that correct My question is why m

Re: [PHP] FastCGI and PHP

2001-04-20 Thread Thies C. Arntzen
On Wed, Apr 18, 2001 at 01:58:03PM +0200, Alexander Skwar wrote: > (Learning from my last mistake, I'll now try to make clear right away what > each sentence means *G*) > > Introductory lines: > I want to write a FastCGI compatible PHP script. In order to do so, PHP > obviously need to recompile

[PHP] Uninstalling PHP

2001-04-20 Thread Maron Kristófersson
Hello! I want to uninstall PHP and Apache but I installed them according to the quick install instructions on the PHP site. The reason I'm uninstalling is because I want to reinstall both of them via RPM. I've tried make uninstall (not sure if that's the right syntax) but it doesn't work. An

Re: [PHP] Which is better coding style...

2001-04-20 Thread Christian Reiniger
On Thursday 19 April 2001 22:31, you wrote: > Definitely the second style :) > > (If we were talking about C(++) then the first would have even been > forbidden by my companies coding standard as well as several coding > standards of other companies I worked for.) Urgh That's a rule back from ye

Re: [PHP] ENUM or SET and PHP

2001-04-20 Thread Christian Reiniger
On Thursday 19 April 2001 21:56, you wrote: > Does PHP sport an ENUM or SET statement? Print out the PHP manual, place it on the altar of your local church, run around it 42 times dressed in ritual aborigine war fashion, sacrifice the caffeine-rich fruits of a south american plant by crushing t

Re: [PHP] `AM_PROG_LIBTOOL' not found in library

2001-04-20 Thread Christian Reiniger
On Thursday 19 April 2001 23:24, you wrote: > I changed the version to bison 1.28...here is the log: > checking for working automake... found > checking for working autoheader... found > checking for working makeinfo... found > checking whether to enable maintainer-specific portions of Makefiles.

[PHP] Regular expressions

2001-04-20 Thread Matt Williams
Hi I have the script below which encases every occurance of span in a tag The problem is I don't want it to replace any occurance of span that is inside a tag. how could I acheive this? I'm using perl regular expressions to keep the original case of the string. So, how could I replace occurance

[PHP] Many email... and just one "mail" function

2001-04-20 Thread Marian Vasile
Guyz I have a huge database wih emails. Now I want to send them news weekly and I can't how I can send many emails using mail() function ??? but in a faster manner that ussualy ?... is that possible ? I'm not talking about SPAM here... I have registered users... :) How I can send all these 3

[PHP] Linux, Apache, PHP and Sendmail

2001-04-20 Thread Ben Cairns
I am having a problem getting Sendmail to work on RH Linux 6.0 I am trying to get it to relay messages through our mail server. But it is not even attempting to connect to the mail server. The Mail functions worked when the scripts were on a Winnt box. -- Ben Cairns - Head Of Technical Operat

Re: [PHP] FastCGI and PHP

2001-04-20 Thread Alexander Skwar
So sprach Thies C. Arntzen am Fri, Apr 20, 2001 at 01:03:50PM +0200: > there is noe. > > in fast-cgi mode you scripts are executed the same way as if > you were running as an apache module. there's no support to > keep your script alive over request-boundaries (yet). Thanks, that

RE: [PHP] PDFlib 4.0.0.... any experiences..

2001-04-20 Thread Grimes, Dean
I just sent a post yesterday on how to get this to work. I does work well. Here is the post I sent yesterday: Try using the new pdflib-4.0.0 It works great. Here is what you have to do: Goto: http://www.pdflib.com/pdflib/download/index.html and download the source for unix. Unzip and unt

[PHP] Re: Many email... and just one "mail" function

2001-04-20 Thread yanto
all you need is to write cron file (with your preferable script) running every week. Than read customer list information (connect to pop server, or customer database, or if every customer has an email, just read from customer table), then use your preferable smtp mail to send an email to that cus

RE: [PHP] PDFlib 4.0.0.... any experiences..

2001-04-20 Thread Taylor, Stewart
Dean, I too want to instal pdflib4, however I can't see a reference to pdflib4 on the web page you've given (unless my visions not working correctly of course). All the links are for pdflib3.3 Are they on this actual page or are they hidden somewhere. -Stewart -Original Message- From

[PHP] Site Sessions: Online/Offline - help?

2001-04-20 Thread Richard
Greetings. (the thread was too far down to be read by anyone) I am having some problems with the code itself! I have done like so, that whenever peopel wishes to see the "onliners", I start a function called DelOld(). This will not decrease server speed, nor create conflicts when writing to t

[PHP] RE: Site Sesions: Online/off...

2001-04-20 Thread Richard
Greetings. (the thread was too far down to be read by anyone) I am having some problems with the code itself! I have done like so, that whenever peopel wishes to see the "onliners", I start a function called DelOld(). This will not decrease server speed, nor create conflicts when writing to t

RE: [PHP] Advanced Help Needed

2001-04-20 Thread Matthew Luchak
check the enctype of your form has not changed I had some inconsistencies using multipart... >when I post a file in the form I recieve an "Cannot Find Server". When >there isnt a file posted then the form works fine. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-ma

Re: [PHP] PDFlib 4.0.0.... any experiences..

2001-04-20 Thread Paul Gardiner
Hi Stewart, Try again my friend. I've just been there and version 4 is definately available. I won't ask why your vision is blury - you know what they say, hairy palms and all that! ;o) Thanks Dean for the info, I'll give it a whirl when I've got some free time. Best regards, - Paul - - Or

Re: [PHP] Linux, Apache, PHP and Sendmail

2001-04-20 Thread Steve Werby
"Ben Cairns" <[EMAIL PROTECTED]> wrote: > I am having a problem getting Sendmail to work on RH Linux 6.0 > > I am trying to get it to relay messages through our mail server. But it is not > even attempting to connect to the mail server. Is the relaying being done via a PHP script? If not, I'm co

Re: [PHP] Many email... and just one "mail" function

2001-04-20 Thread Steve Werby
"Marian Vasile" <[EMAIL PROTECTED]> wrote: > Guyz I have a huge database wih emails. > Now I want to send them news weekly and I can't how I can send many > emails using mail() function ??? > but in a faster manner that ussualy ?... is that possible ? > > I'm not talking about SPAM here... I h

Re: [PHP] Add data to three tables at once from one form

2001-04-20 Thread Steve Werby
"Julian Wood" <[EMAIL PROTECTED]> wrote: > > That's it. There's nothing special to do. > > Except if one insert fails and the others succeed, you run into a bit of > sync trouble. This is what transactions are for. You might want to consider > a BDB table type, which supports transactions, then y

[PHP] OFF THIS LIST, PLEASE

2001-04-20 Thread Jon Jacob
I have tried to unsubscribe, but can't seem to get the message through. Please help. _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

[PHP] This should be simple...

2001-04-20 Thread Joseph Koenig
I have a client who insists on being able to put quotes into one of the fields of the database. That's fine with me, however, when editing records, anything in the quotes won't show up on the admin page. Essentially what happens is this: Well, obviously there's a problem with that. The form field

Re: [PHP] Which is better coding style...

2001-04-20 Thread Geir Eivind Mork
On Thursday 19 April 2001 21:48, Steve Lawson wrote: > Personally, I hate trailing {'s Personally, I hate having the {'s on the next line. I always trail them in others code when they have them on the next line :) and there are thousand of ways that the people here displays textblocks. some

Re: [PHP] This should be simple...

2001-04-20 Thread Alexander Wagner
Joseph Koenig wrote: > > Well, obviously there's a problem with that. The form field will show > "Here's the text " and then thinks it ends. Is there any way to get > around this, other than stripping out her quotes? Thanks, http://php.net/htmlentities regards Wagner -- "A conference is a gat

Re: [PHP] This should be simple...

2001-04-20 Thread Morgan Curley
replace " with " before using it as an initial form value. works in IE I am not sure if netscape interprets these codes in form fields though morgan At 09:57 AM 4/20/2001, Joseph Koenig wrote: >I have a client who insists on being able to put quotes into one of the >fields of the database. Tha

RE: [PHP] This should be simple...

2001-04-20 Thread Boget, Chris
> > > > Well, obviously there's a problem with that. The form field will show > > "Here's the text " and then thinks it ends. Is there any way to get > > around this, other than stripping out her quotes? Thanks, > http://php.net/htmlentities Or, even better, just use addslashes(); $query = "INS

Re: [PHP] This should be simple...

2001-04-20 Thread Alexander Wagner
Boget, Chris wrote: > > http://php.net/htmlentities > > Or, even better, just use addslashes(); > > $query = "INSERT INTO table VALUES = ( " . addslashes( $formField ) . > " )"; > > That way the quotes will remain in the value to display. This isn't the Problem. The string was cut in the input fi

Re: [PHP] Regular Expressions?

2001-04-20 Thread Morgan Curley
I don't use ereg(i)? much myself but for a perl compat regex I would: /^(([0-9a-z](\2*))\.([0-9a-z](\2*)))/i the \# refer to parenthized matches starting at 1 and counting left parens. The match array index you will want is $myArray[1]. if you don't mind matching 1a2.1a2 you can use /^(([0-9a-z]+

Re: [PHP] OFF THIS LIST, PLEASE

2001-04-20 Thread Jon Jacob
Matthew Luchak wrote: > > To unsubscribe, e-mail: [EMAIL PROTECTED] Hey, great idea. Wish I had thought of it : ) Actually, I did. And I sent the mail for both this list and the Dev list but the admin server does not seem to be doing its job.

Re: [PHP] This should be simple...

2001-04-20 Thread Joseph Koenig
Right on. That did it. I probably should have been RTFM'ed for that one :) I knew there was a simple solution. Joe Alexander Wagner wrote: > > Joseph Koenig wrote: > > > > Well, obviously there's a problem with that. The form field will show > > "Here's the text " and then thinks it ends. Is t

[PHP] how to modify xml files using php

2001-04-20 Thread Serge Vleugels
hi, I've got to change a XML document, so read the file, display it, provide a way to modify it and then write the modifications. has anyone done this allready or has any experiance ? thx Serge "Zeddicus Zu'l Zorandre" Vleugels -- freedom is the wizard's only choice -- -- PHP General Mail

[PHP] Warnings w/ !$var!?

2001-04-20 Thread Nicholas Pappas
I just installed PHP4 on a Windows 2000 box (tried it both as CGI and ISAPI) and am getting a very annoying behavior from it, that I do not see on my installation in Linux. When I check a variable (say, in a if() statement) via !$var, I get a Warning message printed saying that

RE: [PHP] Cache Control with forms

2001-04-20 Thread Diego Fulgueira
Rasmus, thanks a lot!! Your information has been very helpful because now I know more ways to play with the headers!. Still, I am almost sure that it's possible to do what I want to do because I think I've seen such behaviour in other websites, for example Yahoo! Mail (note that the site does not

RE: [PHP] Warnings w/ !$var!?

2001-04-20 Thread Johnson, Kirk
> I just installed PHP4 on a Windows 2000 box (tried it > both as CGI and > ISAPI) and am getting a very annoying behavior from it, that I do not > see on my installation in Linux. > When I check a variable (say, in a if() statement) via > !$var, I get a > Warning message printed

Re: [PHP] PHP Sessions Problem

2001-04-20 Thread Larry Hotchkiss
Thats very interesting. I normally use Netscape 4.7 myself, I find 6 to be a resource hog and just plain slow. I tried your site and as you pointed out, with 4.7 the registered var does not show. Yet, when I fire up IE all works fine. I guess what I find strange is that I am using sessions

[PHP] Headers sent by - need to clear screen - help me

2001-04-20 Thread Michael Champagne
I don't know if I'm wording this right. I have a display_error function in PHP that I want to generate a screen with some information about the error, send us email, etc. The problem is that sometimes it's called after the headers have been sent and in the middle of a page. Is there a way to 'c

RE: [PHP] PHP Sessions Problem

2001-04-20 Thread Johnson, Kirk
I have also seen this problem with one of my sites, but only *occasionally*. I have no clue as to what the problem is. Anyone else have any ideas? Kirk > -Original Message- > From: Luke Muszkiewicz [mailto:[EMAIL PROTECTED]] > > Hey Folks: > > I am using PHP sessions in IE 5.5 and NN 6

[PHP] session_register()

2001-04-20 Thread Wade
I am registering a number of variables. Can I combine them into one session_register, such as session_register("one", "two" ... "n")? Thanks Wade -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To c

RE: [PHP] session_register()

2001-04-20 Thread Johnson, Kirk
I do. Kirk > -Original Message- > From: Wade [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 20, 2001 9:16 AM > To: [EMAIL PROTECTED] > Subject: [PHP] session_register() > > > I am registering a number of variables. Can I combine them into one > session_register, such as session_regis

Re: [PHP] PHP Sessions Problem

2001-04-20 Thread Felix Kronlage
On Fri, Apr 20, 2001 at 08:58:24AM -0600, Johnson, Kirk wrote: > I have also seen this problem with one of my sites, but only *occasionally*. > I have no clue as to what the problem is. Anyone else have any ideas? Maybe someone remembers my post about my session-problem. Pretty much the same typ

[PHP] Session_register

2001-04-20 Thread Alok K. Dhir
Is there a down side to registering a var with the session more than once? I.e. which would be preferred and why in a frequently accessed page in a web application: session_register('var'); or If (!session_is_registered('var') session_register('var'); FWIW - either wa

[PHP] persistient connections in FastCGI environment

2001-04-20 Thread Kevin Beckford
When using php as a FastCGI, do the database persistent connections work in the same way that they would under mod_php? Do they work at all? or are persistent connections only a feature under mod_php? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: [PHP] PHP Sessions Problem

2001-04-20 Thread Johnson, Kirk
> Maybe someone remembers my post about my session-problem. > Pretty much the same > type. session gets registered just fine, but the var's are > not being serialized() > and put into the session-file. I never really relized that > this only happens if I > work at home, which is with a netscape

RE: [PHP] Regular Expressions?

2001-04-20 Thread Chris Cocuzzo
Maybe I'm wrong on this, but could this regex also be used like this? if(eregi("^[a-zA-Z0-9]+\.[a-zA-Z0-9]+$", $myArray[x])) --Chris -Original Message- From: Jason Caldwell [mailto:[EMAIL PROTECTED]] Sent: Friday, April 20, 2001 1:43 AM To: [EMAIL PROTECTED] Subject: [PHP] Regu

Re: [PHP] Site Searchable function

2001-04-20 Thread ~~~LeoN~
On 19 Apr 2001 13:25:09 -0700 impersonator of [EMAIL PROTECTED] ("Steve Lawson") planted &I saw in php.general: >fopen("http://localhost/name-of-file") will return the rendered page instead Sounds good (theoretically:). Hovever, in practical attempt on my remote server it gave: Warning: fopen

Re: [PHP] `AM_PROG_LIBTOOL' not found in library

2001-04-20 Thread Pablo Sabatino
I deleted php4 and downladed the software again from the cvs and compiled it. This is the error message when executed ./make gmake: *** [zend_language_parser.c] Violación de segmento pablo@pablito:~/php4/Zend > cd .. pablo@pablito:~/php4 > gmake Making all in Zend gmake[1]: Entering directory `/h

Re: [PHP] how to modify xml files using php

2001-04-20 Thread Sebastien Roy
Hi, Use the dom xml function privided with the --with-dom=/usr/local/libxml (witch is the path to the libxml library). There is a good tutorial about DOM at www.phpbuilder.com. Enjoy! Sebastien Roy [EMAIL PROTECTED] Serge Vleugels wrote: > hi, > > I've got to change a XML document, > so read

RE: [PHP] Site Searchable function

2001-04-20 Thread Matthew Luchak
check php.ini file for "allow fopen" I think. Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] -Original Message- From: ~~~LeoN~ [mailto:[EMAIL PROTECTED]] Sent: Friday, April 20, 2001 10:59 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Site Sear

Re: [PHP] Regular Expressions?

2001-04-20 Thread Jason Caldwell
Ahh It makes more sense now. Thanks. Jason "Brian Clark" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi Jason, > > @ 3:08:06 AM on 4/20/2001, Jason Caldwell wrote: > > > Sorry if I seem dense. Your answer (although probably right on target) > > leave

Re: [PHP] ENUM or SET and PHP

2001-04-20 Thread Jason Caldwell
Actually did that... plus sacrificed several small rodents, rubbing their internal organs all over the manual... in hopes that the PHP Gods would be kind and giving went into a cave for 12 years, then came back out ... having learned and understood much... but still no SET or ENUM. I've since

[PHP] Help Needed in a short project with LDAP(NDS), Mirapoint and PHP as the main application server - OT (sorry)

2001-04-20 Thread Romulo Roberto Pereira
Hello, Vox2Vox needs 2 developers for a short project. They don't need to work on site. The company is in Miami/FL and the developers can be anywhere. Please send Curriculum Vitae with your answer... Contact me directly. Pre-requisites: - Availability: NOW - 3 years experience minimum pr

[PHP-CVS] cvs: php4(PHP_4_0_5) / NEWS

2001-04-20 Thread Andrei Zmievski
andrei Fri Apr 20 09:55:14 2001 EDT Modified files: (Branch: PHP_4_0_5) /php4 NEWS Log: This actually made it in. Index: php4/NEWS diff -u php4/NEWS:1.611.2.3 php4/NEWS:1.611.2.4 --- php4/NEWS:1.611.2.3 Thu Apr 5 19:09:43 2001 +++ php4/NEWS Fri Apr

RE: [PHP] Use of special characters in filenames results in IE problems

2001-04-20 Thread Diego Fulgueira
The is no function that i know specific to do that. But you can work it out with a RegExp. Try: $fileName=ereg_replace("_", "[^A-Za-z0-9_%]", $fileName); Cheers!! -Original Message- From: Floyd Piedad [mailto:[EMAIL PROTECTED]] Sent: Thursday, 19 April, 2001 11:24 PM To: [EMAIL PROTECTE

[PHP] convert class

2001-04-20 Thread Joe Stump
I've heard a lot of people asking for info on imagemagick & php. I've created a small class that resizes images, gets info, and stamps images. It's nothing to call home to mom about, but it works. http://www.miester.org/software/convert.php.asc --Joe /* Joe Stump * Sr. PHP Developer * http:/

[PHP] Databases and HTML forms

2001-04-20 Thread Michael Champagne
I'm needing to have a form that pulls a bunch of database fields into it and then allows you to modify the fields and does the subsequent update in the database. This seems like something that has to be done all the time. Is there a right way to go about doing this? Some kind of class library o

Re: [PHP] Warnings w/ !$var!?

2001-04-20 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Nicholas Pappas) wrote: > When I check a variable (say, in a if() statement) via !$var, I get a > Warning message printed saying that it is not initialized (if that is > the case)... well, that's part of the reason why I bloody doing the

[PHP-CVS] cvs: php4 / NEWS

2001-04-20 Thread Andrei Zmievski
andrei Fri Apr 20 09:56:55 2001 EDT Modified files: /php4 NEWS Log: That made it into 4.0.5. Index: php4/NEWS diff -u php4/NEWS:1.633 php4/NEWS:1.634 --- php4/NEWS:1.633 Mon Apr 16 18:09:32 2001 +++ php4/NEWS Fri Apr 20 09:56:55 2001 @@ -39,8 +3

Re: [PHP] Handling Macintosh filenames in PHP

2001-04-20 Thread Brian S. Dunworth
At 09:52 PM 4/19/01 -0400, Shawn Reed <[EMAIL PROTECTED]> wrote: >However, it occurred to me that there isn't really a way (that I know of) >to directly address a specific filename on a Macintosh as there is in >other operating systems. For example, in Windows I could type >C:\WINDOWS\SYSTEM

Re: [PHP] Re: Regular Expressions?

2001-04-20 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] ("yanto") wrote: > (eregi("([0-9][a-z][A-Z]\.[0-9][a-z][A-Z]", $myArray[x])) > > and don't use character '^' in front of the pattern. (Note that since the parentheses are unbalanced, the above will thorw a parse error.) Since it's eregi, you

[PHP] fflush() function

2001-04-20 Thread Thomas Deliduka
This function: http://www.php.net/manual/en/function.fflush.php Has no example on how you would code with it. Does anyone know? It mentions "buffered output" how do you buffer output? -- Thomas Deliduka IT Manager - New Eve Media The Solution To Your Internet Angs

[PHP-CVS] cvs: php4 /ext/wddx config.m4 setup.stub

2001-04-20 Thread Andrei Zmievski
andrei Fri Apr 20 12:33:22 2001 EDT Removed files: /php4/ext/wddx setup.stub Modified files: /php4/ext/wddx config.m4 Log: Enabling WDDX by default. Index: php4/ext/wddx/config.m4 diff -u php4/ext/wddx/config.m4:1.6 php4/ext

Re: [PHP] PHP Sessions Problem

2001-04-20 Thread Scott
I posted about this same problem over a year ago. I finally gave up and reverted back to PHP 3 techniques of 1)generating a sessid, 2)registering the session by storing the sessid and the variables in a mysql database and 3)passing the sessid in the url. This works like a charm. I'd be curious if

php-general Digest 20 Apr 2001 20:25:39 -0000 Issue 639

2001-04-20 Thread php-general-digest-help
php-general Digest 20 Apr 2001 20:25:39 - Issue 639 Topics (messages 49531 through 49595): Re: Using mogrify .. 49531 by: Mathur Credit Card Class...how do u access? 49532 by: Dhaval Desai 49535 by: elias Credit Card easy script ..how 2 get results? 49533 b

[PHP] Sessions and header-redirect

2001-04-20 Thread Scott
Does anyone know of a way to use sessions and still be able to redirect with the header function. In the code below I test for the existence of the PHPSESSID and send the user to register if it doesn't exist. If it does exist I start a session to retrieve the session variables then call a class th

[PHP-CVS] cvs: php4 / NEWS

2001-04-20 Thread Andrei Zmievski
andrei Fri Apr 20 13:08:24 2001 EDT Modified files: /php4 NEWS Log: Let people know what the heck I was up to. Index: php4/NEWS diff -u php4/NEWS:1.634 php4/NEWS:1.635 --- php4/NEWS:1.634 Fri Apr 20 09:56:55 2001 +++ php4/NEWS Fri Apr 20 13:08:2

[PHP] PERL vs. PHP

2001-04-20 Thread Jason Caldwell
If I know PHP will I *basically* know PERL? Looking at some PERL code... it looks nearly identical. Thanks. Jason -- 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

Re: [PHP] PERL vs. PHP

2001-04-20 Thread Steve Lawson
No, you won't. PHP is has very similar syntax to c/c++ and perl but the concepts are extremely different. SL. - Original Message - From: "Jason Caldwell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 20, 2001 3:10 PM Subject: [PHP] PERL vs. PHP > If I know PHP will

Re: [PHP] PERL vs. PHP

2001-04-20 Thread Butler, Shaun
maybe for basics but in general no way, I think going the other way, from Perl to PHP is a much easier transition. - Shaun On Friday 20 April 2001 17:10, Jason Caldwell wrote: > If I know PHP will I *basically* know PERL? Looking at some PERL code... > it looks nearly identical. > > Thanks. >

[PHP] --enable-trans-sid

2001-04-20 Thread Boget, Chris
I wasn't able to find this in the docs, so could someone tell me exactly how --enable-trans-sid is supposed to work behind the scenes? Why would this option work and transmit the SID for this url: " target="_top">here while it won't for this url: here It makes no sense to me... Any help would

RE: [PHP] --enable-trans-sid

2001-04-20 Thread Boget, Chris
> I wasn't able to find this in the docs, so could someone > tell me exactly how --enable-trans-sid is supposed to work > behind the scenes? > Why would this option work and transmit the SID for > this url: > while it won't for this url: > It makes no sense to me... > Any help would be greatly app

RE: [PHP] PERL vs. PHP

2001-04-20 Thread ..s.c.o.t.t.. [gts]
PHP was started as a suite of perl programs... it is heavily influenced by perl. if you understand PHP and are comfortable with it, you should not have any problems learning Perl. there are some very important differences between the two languages that you need to keep your eyes open for, thing

Re: [PHP] session_register()

2001-04-20 Thread Martín Marqués
On Vie 20 Abr 2001 18:15, Wade wrote: > I am registering a number of variables. Can I combine them into one > session_register, such as session_register("one", "two" ... "n")? Well, the manuals say YES! Saludos... :-) -- El mejor sistema operativo es aquel que te da de comer. Cuida tu dieta. -

Re: [PHP] --enable-trans-sid

2001-04-20 Thread Martín Marqués
On Sáb 21 Abr 2001 00:27, Boget, Chris wrote: > > I wasn't able to find this in the docs, so could someone > > tell me exactly how --enable-trans-sid is supposed to work > > behind the scenes? > > Why would this option work and transmit the SID for > > this url: > > while it won't for this url: >

RE: [PHP] PERL vs. PHP

2001-04-20 Thread ..s.c.o.t.t.. [gts]
i program in both PHP/Perl, and the concepts are extremely similar... granted, there are some similarities to C++, but by far, the largest contributor to PHP's language design has been Perl. > -Original Message- > From: Steve Lawson [mailto:[EMAIL PROTECTED]] > Subject: Re: [PHP] PERL

Re: [PHP] Use of special characters in filenames results in IE problems

2001-04-20 Thread Dan Lowe
rawurlencode() - http://php.net/rawurlencode '; $enc = rawurlencode($str); print $enc . ''; ?> -dan Previously, Floyd Piedad said: > > I discovered a bug in my program for uploading files, which stores the > filename in the database in order to create a link for it on the web page in > th

RE: [PHP] PERL vs. PHP

2001-04-20 Thread Rasmus Lerdorf
> PHP was started as a suite of perl programs... it is heavily > influenced by perl. if you understand PHP and are comfortable > with it, you should not have any problems learning Perl. Not quite. I prototyped the initial parser with a Perl program (pre version 1), but the "suite" as you call i

Re: [PHP] PERL vs. PHP

2001-04-20 Thread Alec Smith
Perl to PHP is proving to be no big deal for me. I've only just started looking at PHP 3 days ago, and am already generating production code. PHP to Perl would most likely be a harder move since you'd have to add quite a few new concepts to your knowledgebase. In general, I'd have to say that PHP

RE: [PHP] PERL vs. PHP

2001-04-20 Thread ..s.c.o.t.t.. [gts]
ahhh... sorry. i thought the history of PHP was a bunch of perl scripts that were used to keep track of website statistics or somethign guess i was wrong. but since you replied, can i ask what influenced you most when developing PHP? personally, i see perl influence everywhere in PHP, but

[PHP] Another easy question!

2001-04-20 Thread Anthony Daniels
Hello, I really like how this group responds quickly. Here is another minor problem I am facing. My programmers are in Romania and have shut down shop for the weekend. Well, I am in somewhat of a dilema. I have a MySql database and php enhanced admin. section on my site. The problem I am

RE: [PHP] PERL vs. PHP

2001-04-20 Thread Rasmus Lerdorf
> but since you replied, can i ask what influenced you most > when developing PHP? Whenever I couldn't decide what sort of syntax to use I copied C -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

RE: [PHP] Another easy question!

2001-04-20 Thread ..s.c.o.t.t.. [gts]
it depends. is it a char restriction that MySQL is placing on you? e.g. a TINYTEXT field type can only contain 255 chars, whereas a TEXT type can contain 16MB (or something like that) if it's a PHP restriction, you'll have to wade thru PHP scripts to find the function that checks the length, and

Re: [PHP] `AM_PROG_LIBTOOL' not found in library

2001-04-20 Thread Kelly Cochran
Ok, now I have no idea. I'd suggest grabbing the latest RC or waiting for the release at this point. CVS versions require a bunch of tools to generate files (autoconf, libtool, etc.). The RC and releases come with the generated files. There appears to be some odd problem with you buil

Re: [PHP] Add data to three tables at once from one form

2001-04-20 Thread Godd
you have the idea. Just add the other sql statements and run it again. (Just multiply the script by 3) or you can use a loop to add the next sql to run eg. $sql1= "insert statement 1"; $sql2="insert statement 2"; $sql3= "insert statement 3"; for ($i=0; $i<3; $i++) { $qryno = '$sql' + $i $res

  1   2   >