[PHP-CVS] cvs: php4 /ext/domxml php_domxml.c php_domxml.h

2001-01-26 Thread Uwe Steinmann
steinm Fri Jan 26 00:15:58 2001 EDT Modified files: /php4/ext/domxmlphp_domxml.c php_domxml.h Log: - changed naming of some functions (kept compatibility) Index: php4/ext/domxml/php_domxml.c diff -u php4/ext/domxml/php_domxml.c:1.25 php4/ext/domxml/php_

[PHP-CVS] cvs: php4 /ext/pdf pdf.c php_pdf.h

2001-01-26 Thread Uwe Steinmann
steinm Fri Jan 26 00:20:23 2001 EDT Modified files: /php4/ext/pdf pdf.c php_pdf.h Log: - This is major change of the php pdf api to be closer to the pdflib api done by Rainer Schaaf from pdflib GmbH. - Some more functions has been implemented as well.

[PHP-CVS] cvs: CVSROOT / avail gen_acl_file.m4

2001-01-26 Thread Rasmus Lerdorf
rasmus Fri Jan 26 00:38:58 2001 EDT Modified files: /CVSROOTavail gen_acl_file.m4 Log: More karma for Uwe Index: CVSROOT/avail diff -u CVSROOT/avail:1.56 CVSROOT/avail:1.57 --- CVSROOT/avail:1.56 Thu Jan 25 17:42:59 2001 +++ CVSROOT/avail Fri Jan

[PHP-CVS] cvs: php4 /ext/ircg README.txt

2001-01-26 Thread Sascha Schumann
sas Fri Jan 26 08:04:58 2001 EDT Modified files: /php4/ext/ircg README.txt Log: Whitespace change. Index: php4/ext/ircg/README.txt diff -u php4/ext/ircg/README.txt:1.4 php4/ext/ircg/README.txt:1.5 --- php4/ext/ircg/README.txt:1.4Thu Jan 18 0

[PHP] Tracing

2001-01-26 Thread Morten Rønseth
Hi, Is there any way to do a stack crawl/trace when an error occurs? Today, I only get the line in the script in which the error occured, but I have to put on my Sherlock habit in order to find the actual sequence of avents that led up to the error Cheers, -Morten

php-general Digest 26 Jan 2001 16:10:25 -0000 Issue 477

2001-01-26 Thread php-general-digest-help
php-general Digest 26 Jan 2001 16:10:25 - Issue 477 Topics (messages 36681 through 36739): PHP/MYSql equivalent to Hypermail/Monharc? 36681 by: Greg Schnippel Password security from PHP to MySQL 36682 by: Egan Re: SQL Server DB to mySQL DB 36683 by: Jason Bouwmeest

[PHP] Invoke PHP script from onLoad handler?

2001-01-26 Thread Chuck Mayo
Sorry if this has come up before. I want to update a select list from a mySql database whenever the browser window gets the focus. This is because I anticipate that the user will frequently use a second window to make additions to the database that holds the list values while filling in the form,

[PHP] max size of array

2001-01-26 Thread Giancarlo
what is the max number of elements into an array?

[PHP] max size of array

2001-01-26 Thread Giancarlo
what is the max number of elements into an array?

[PHP] URGENT:Passing input type file

2001-01-26 Thread Tan JH
Hi, how can I pass an input type of file? I can get the value & I am able to open the specified file when I pass it from the original form to the second form but when I pass the value from the second form to the third form using the hidden type, the file cannot be found... please help. Thanks

[PHP] Accessing variables from other Apache modules

2001-01-26 Thread Andreas 'Count' Kotes
Hi! I'd like to get SSL_CLIENT_S_DN from mod_ssl but don't seem to be able to get it using getenv() or apache_note(), it doesn't even show up when doing phpinfo() .. any hints? Count -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

Re: [PHP] Splitting at word count

2001-01-26 Thread Christian Reiniger
On Thursday 25 January 2001 21:06, H. Wade Minter wrote: > Does anyone have a good idea on how to split after a certain number of > words? Attached is code that semi-intelligently limits strings to a certain number of characters. Perhaps that helps you. -- Christian Reiniger LGDC Webmaster (ht

[PHP] Uninstallation of CGI Version of PHP

2001-01-26 Thread [ rswfire ]
Hello... I just upgraded my computer to NT5. When doing so, I accidentally installed the wrong version of PHP. =( I installed the CGI version... I want to use the ISAPI module. How can I effectively undo what the installation program did to install the CGI version? What should I do to in

[PHP] AUTH_PW & External Authentication

2001-01-26 Thread Chen Shiyuan
Hello everyone! I am currently using Apache-1.3.14 with php-4.0.4pl1 compiled statically into it and running on RedHat Linux 6.2 . Apache is configured to do authentication for certain URLs via a auth_ldap module which is dynamically loaded when Apache starts. I noticed that when I access the

Re: [PHP] Search for the documentation

2001-01-26 Thread Philip Olson
Hi Brian, This is a good idea. I just played with it a bit and notice for it to work "properly" one must space out the function so (pretending that | is our cursor) : This works : |mysql_pconnect ('...'); This does not : |mysql_pconnect('...'); As it interpets it all together as one

[PHP] mirroring of databases with mysql

2001-01-26 Thread Markus H. Maussner
hi.. are there anny functions / tools to "syncronize" or "mirror" two databases.. ? like i have one database (mysql) at my isp and one local here at my development server, and i want to start every xx h a scripte who compares the two databases and makes them "the same".. thanks a lot -- PH

Re: [PHP] HELP!!! PDFLIB FOR PHP!!!!!

2001-01-26 Thread webbie
Quoting Bruno Freire <[EMAIL PROTECTED]>: > I need learn how to install this library to create pdf files > dinamicaly.!!! There are three ways to generate PDF files in PHP. 1. PDFlib 2. ClibPDF 3. Adobe FdfTk (which is really Forms Data Format and not PDF and may require one of the above in add

[PHP] phpinfo ?

2001-01-26 Thread kaab kaoutar
Hi there! I'm sure it's a stupid problem but the phpinfo does work while trying the following html code: PHP Test the result is a blank page! And when i create an php file with only: i have a dos window where a list of information is listed quickly then shut!(i can hardly see it) by the

[PHP] Echo and Print

2001-01-26 Thread php4
I know it is a kind of stupid question but I was trying to figure out the difference between "Echo" and "Print" and I didn't find it...Could anybody explain that to me?? Thank you Felipe Lopes MailBR - O e-mail do Brasil -- http://www.mailbr.com.br Faça já o seu. É gratuito!!! -- PHP

[PHP] where is -> and <<< in the manual

2001-01-26 Thread Noel Akins
where is -> and <<< in the manual? I see -> used with vars and <<< with doc. I assume that they are operators of some kind, but didn't find them in the operators section of the manual. Are there any other items like these found in php4? thanks -- PHP General Mailing List (http://www.php.net/

[PHP] PHP 4.0.3 on Debian?

2001-01-26 Thread Thomas Wentzel
Hi again, Okay! I am now able to compile (and use) Lerdorfs stocks example on my Laptop which runs RedHat... But I still can't get it to work on my Debian (work machine). I use the following configure string on both machines - only differences is the paths to pgsql and apxs configure --enable-

Re: [PHP] pdflib: unable to generate on the fly, need to write to file

2001-01-26 Thread webbie
Quoting Dominic <[EMAIL PROTECTED]>: > > Any reason why I have to write the pdf to disk instead of just sending > it to the browser? Am I missing an output function? Thanks. > I don't know, but I'd love to know the answer to this, too. I currently have to do the same as you: output to file an

[PHP] Authentication through a login form

2001-01-26 Thread Patrick Dunford
I want to replace the popup dialog box that occurs when a user accesses a password protected area, with a login screen. How do I do that? Someone told me I had to use a cookie to say the person is logged on and read it whenever I needed to verify their access. Is it possible to trap the request

[PHP] Was I'm confused, figured it out

2001-01-26 Thread Noel Akins
parse lines right to left thanks anyway -- 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] Post without submit?

2001-01-26 Thread Max A. Derkachev
Hello Chris, Friday, January 26, 2001, 8:23:27 AM, you wrote: C> is there anyway to post without clicking a submit button? You can, e.g. using javascript event. on="document.forms['formname'].submit()" -- Best regards, Max A. Derkachev mailto:[EMAIL PROTECTED] Symbol-Plus Publishing Ltd. phon

Re: [PHP] How to make links?

2001-01-26 Thread Richard Lynch
> How do make admin site that lists htm documents from directory and i can > define link name to each of these? > So when user comes, he sees link list to these documents, with names i > defined. Something not unlike this might work: [Untested code] create table links( linkid int(11) auto_in

Re: [PHP] Date -1

2001-01-26 Thread Richard Lynch
>I am trying to show the records created from the previous day. How can I make it show the date before today? My date field is like 2001-01-24 16:13:51. Below shows the current day... > > >$FileDate = date ("Y-m-d"); > >$connection = mysql_connect ("localhost", "*", "**"); >if ($connection

Re: [PHP] Zend hit (Encoder price)

2001-01-26 Thread Richard Lynch
> > Well, without the Encoder the entire *possibility* of "seriously proprietary > > kickass scripts" that people distribute and sell is out of the question. > > If there are some things you really need to hide, and perhaps also really > need to make fast, then write yourself a PHP extension in C

Re: [PHP] Zend hit (Encoder price)

2001-01-26 Thread Richard Lynch
> You are entirely correct. However, I (personally) feel that by pricing it so > high you're targeting a very small niche market at a higher rate. Pricing it > in the "$300.00" range would not cost you that niche - but it would gain you > the "x-million" users/freelance developers. Sure, $6,000

Re: [PHP] Urgent answers needed for FILE UPLOAD problem....

2001-01-26 Thread Richard Lynch
> Hello all. I've spent the past month or two implementing a file upload > utility for the web based on PHP's http upload method. It works fine for > smaller files, and it's been working fine for files I've tried up to and > including 400 megs at a time. The problem I'm having is that we want to >

Re: [PHP] can't upload files if extension has more than one dot.

2001-01-26 Thread Richard Lynch
> I am trying to upload the files to the sever. For files that has only one > dot such as abc.txt and 123.doc, it works fine. But when uploading files > that have more than one dot such as 123.txt.pdf, there's problem, and I > tried to echo the $userfile[i], and it is "none". Codes are attached as

Re: [PHP] trouble with updating the id numbers

2001-01-26 Thread Richard Lynch
> Hi all. In the project I'm working on, I've got a table with ids that are > written based on how many records are in the table. i.e., the first record > has an ID of 1, the 50th is 50, etc. When a row gets deleted (I created a > web interface, I don't want all these members using phpMyAdmin),

Re: [PHP] Read Vs. Include

2001-01-26 Thread Richard Lynch
> I want to *read* a file into a page and not process any PHP. I'm just > reading an HTML file. I though it was simple, I thought I had it figured > out, but now when I try, I get the following error: Unless there is PHP code in there that you want to make sure it doesn't get executed, 'include

Re: [PHP] Splitting at word count

2001-01-26 Thread Richard Lynch
> I'm doing a page where the front page will show "news" stories. What I'd > like is if the story is longer than X words/chars/etc, the index page will > show the first X words, then a link for the full story. > > Does anyone have a good idea on how to split after a certain number of > words? 5

Re: [PHP] Anyone who can help me making a loop of this?

2001-01-26 Thread Richard Lynch
The "easiest" way to do that kind of output is "recursion" It's a kind of iteration/looping thing where a function calls itself. Sample: function fact($x){ if ($x == 0){ return 1; } else{ return $x * fact($x - 1); } } Basically the function eats itself rather li

Re: [PHP] number_format() buggy round when usind database resultset

2001-01-26 Thread Richard Lynch
> I'm finding some problems on using number_format($value, $decimal, ",", > ".") when I have a value comming from a resultset (database query > results)... > If I had something like '123.45', using number_format it will return > '123,00'. > I think this happens because my value is a string and PHP

Re: [PHP] Fopen

2001-01-26 Thread Richard Lynch
> $fp = fopen("http://www.parentprofiles.com/clicker.php?profile_id=" . $this->profile_id > . "&code=1","r"); > echo $fp; > ?> > > to do it. however when I do all I get is a response that says: > Resource id #1 > instead of giving me the page. Any ideas? Basically, that Resource id # 1 is like

Re: [PHP] session without cookies

2001-01-26 Thread Richard Lynch
> i use the session-functions with php4 and everything works fine. > but if a visitor turns off cookies nothing seems to work.. > > is there a way to support a sessionid with cookies and thru the url ? Yes. Compile PHP --with-trans-id (?) or just echo $PHP_SESSID (or whatever it is) into all you

[PHP] Couldn't open stream error when accessing IMAP mailbox. PLEASE HELP!

2001-01-26 Thread Dezider Góra
I have problem I can't solve for last month. Everytime I try to open user's mailbox, I get this error. I tried everything I can think of. I upgraded php to 4.04pl1, apache is 1.13.14, upgraded wu-imap server to 2000-3 ( when upgrading don't forget to upgrade kerberos shared libraries to 1.1.1.25,

Re: [PHP] Fopen

2001-01-26 Thread Klepto
Yeah, in the following fragment... $fp = fopen("http://www.parentprofiles.com/clicker.php?profile_id=" . $this-profile_id . "&code=1","r"); You set up $fp to be a pointer to the object, in this case, a file. Now you need to pull data out of it. Um, unfortunately, I don't remember how to do t

[PHP] can't upload files with more than one dot in the file name.

2001-01-26 Thread david klein
Hello! I am trying to upload the files to the sever. For files that has only one dot such as abc.txt and 123.doc, it works fine. But when uploading files that have more than one dot such as 123.txt.pdf, there's problem, and I tried to echo the $userfile[i], and it is "none". Codes are attached as

[PHP] Re: Get rid of da Zero's

2001-01-26 Thread Art Wells
preg_replace("/0+$/","",$number); On Thu, 25 Jan 2001, Ethan Nelson wrote: > Almost there... actually this creates one problem... > > It turns 40.00 into 4 > > It needs to quit shaving zero's when it hits the decimal point. > > 40.00 into 40 > 45.50 into 45.5 > 40.25 into 40.25 > > Thanks > > --

Re: [PHP] Get rid of da Zero's

2001-01-26 Thread Christian Reiniger
On Thursday 25 January 2001 23:27, Ethan Nelson wrote: > It needs to quit shaving zero's when it hits the decimal point. > > 40.00 into 40 > 45.50 into 45.5 > 40.25 into 40.25 Hmm, $ValWithoutZ = (double) $ValWithZ; should work fine (i.e. interpreting the number as floating-point value instead

[PHP] test

2001-01-26 Thread Brian V Bonini
test -- 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] Persistent connections and transactions

2001-01-26 Thread Nuno Silva
Frank Joerdens wrote: > On Thu, Jan 25, 2001 at 05:10:54PM -0300, Martin A. Marques wrote: > [ . . . ] > >> OK, lets see if we can understand what each other is saying (maybe I'm not >> getting your point here). >> Lets say browser A connects to the apache server, to a page using php code. >>

[PHP] Circle using GD

2001-01-26 Thread Piotr Duszynski
I need to draw circle using GD library. Can you get me some function doing this? Thanks. -- Piotr Duszynski http://www.softomat.com.pl http://filmomat.3miasto.pl http://www.3miasto.pl -- PHP Gen

RE: [PHP] Echo and Print

2001-01-26 Thread Nathan Cassano
As I understand it, echo is somewhat of an language construct and print is a function. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, January 26, 2001 11:37 AM To: [EMAIL PROTECTED] Subject: [PHP] Echo and Print I know it is a kind of stupid questio

Re: [PHP] phpinfo ?

2001-01-26 Thread TV Karthick Kumar
It works for me !. No probs !. ~ Karthick - Original Message - From: kaab kaoutar <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 26, 2001 3:23 PM Subject: [PHP] phpinfo ? > Hi there! > > I'm sure it's a stupid problem but the phpinfo does work while trying the > foll

[PHP] Flash/PHP

2001-01-26 Thread Kent Wang
What kind of integration exists for Flash/MySQL/PHP system? The only thing I've seen so far is PHP code that will write flash movies, but it was really complex code. Kent Wang -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: [PHP] Search for the documentation

2001-01-26 Thread Brian Clark
Hello Philip, (PO == "Philip Olson") [EMAIL PROTECTED] ciphered: PO> This is a good idea. I just played with it a bit and notice for it PO> to work "properly" one must space out the function so (pretending PO> that | is our cursor) : Both examples work with my version of EditPlus (see below

[PHP] Conditional include based on virtual host ?

2001-01-26 Thread Alain Fontaine
Hello, I have developed a large web application the contents of which (language and data) depends on the URL the site is accessed from, e.g. en.site.com would display the "english" site, and "fr.site.com" would display the french site, and so on. The whole thing is "parameterized" through a set

Re: [PHP] Ideas?? (OT- MySQL)

2001-01-26 Thread Website4S
Thanks for the input, I have turned it around now as you said and recorded the projectID in the bid table rather than the other way round. Cheers Ade -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [PHP] How do I see the data in list()?

2001-01-26 Thread Scott Fletcher
Yes, I can see that I didn't put the ";" after "$test1=array()". Fortunately, I just type up the code example to this newsgroup. So, excuse my typo error. Thanks for the clarification and offering of the use of PHP code such as print_r() or var_dump(). They are new to me. So, it was a g

Re: [PHP] Read Vs. Include

2001-01-26 Thread Daniel Grace
Any of these will work: echo implode("\n", file($filename)); fpassthru(fopen($filename, "r")); readfile($filename); You probably want readfile(). http://www.php.net/manual/en/function.readfile.php -- - Daniel Grace "Space may be the final frontier but its ma

[PHP] array size

2001-01-26 Thread Giancarlo
how many elements i can insert in an array? thank you!

RE: [PHP] how do you erase quotes from variable?

2001-01-26 Thread Dustin Butler
> I have a variable(s) that hold the string: > > "name" > > and I'd like to kill the quotes so it contains: > > name > > I am aware of the strlen() function but can find the concant > > Little Help? > > Mike If you *know* the variable is quoted you could also do: $new = substr($variable, 1

Re: [PHP] sleep and usleep not working ??

2001-01-26 Thread Benny Nissen
Hi Sorry - but as far as I can tell it does not work. It still have the same strange behavior. When using sleep I have no output. Usleep has no wait time (or it may delay output a bit but not program execution) ? Benny ""Daniel Grace"" <[EMAIL PROTECTED]> skrev i en meddelelse 94m72k$qd9$[

[PHP] PHP on MAC OS9

2001-01-26 Thread iGuru
I want to install PHP on iMAC with MAC OS 9, please advise if possible. Further, is there any lowcost or free web server that supports PHP on my MAC OS9. Thanks in advance. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

RE: [PHP] Echo and Print

2001-01-26 Thread SED
Hi, I cut & paste this from an earlier e-mail from this list, hope it helps: - The print() function returns a boolean indicating the status of the call. If the write was successful, print() returns 1. If not, it returns

[PHP] PHP on MAC

2001-01-26 Thread iGuru
I want to install PHP on iMAC with MAC OS 9, please advise if possible. Further, is there any lowcost or free web server that supports PHP on my MAC OS9. Thanks in advance. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP] How can I specify connection timeout when open IMAP mailobox?

2001-01-26 Thread Dezider Góra
When I try to connect to mailbox, I get error "Connection timed out". Is it possible to specify timeout for this? TIA. Dezider. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the lis

[PHP] updating time fields

2001-01-26 Thread Kurth Bemis
i am wondering if anyone has written a snippet to process the current date or mktime into a mysql timestamp feild. ~kurth -- 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 administ

[PHP] Premature end of script headers error

2001-01-26 Thread pil
Hi, I compiled and installed php4 for the first time and it seems that all went right as the notice in /var/log shows: [notice] Apache/1.3.12 (Unix) PHP/4.0.4pl1 configured -- resuming normal operations But when I try to execute any sort of php script I´m stuck with an Internal Server error and

Re: [PHP] Search for the documentation

2001-01-26 Thread Brian Clark
(BC == "Brian Clark") [EMAIL PROTECTED] betokened: BC> I'm using Beta 2.10a (I'm in the Beta program), but I'm not BC> completely sure when this new feature was added (some where BC> between 2.00 and 2.10a): BC> If you go into settings and syntax for PHP in Preferences, I see a BC> 'function pa

php-general@lists.php.net

2001-01-26 Thread Noel Akins
Ok, I'm reading the manual for the new php4 stuff. Now, I'm not new to php. I started with php/fi with a little script to add links to a database. I did a little work in php3. I just don't make enough php stuff to get a frim grip on everything. That is changing as I am building a second pc to s

Re: [PHP] pdflib: unable to generate on the fly, need to write to file

2001-01-26 Thread Dominic Schanen
On Thu, 25 Jan 2001 18:42:41 -0700 (MST), [EMAIL PROTECTED] wrote: >I don't know, but I'd love to know the answer to this, too. I currently have >to do the same as you: output to file and then direct the browser to the disk- >based file. (Then I have to bother about file cleanup.) I had pdfli

Re: [PHP] Splitting at word count

2001-01-26 Thread Jose Casal-Gimenez
> I'm doing a page where the front page will show "news" > stories. What I'd > like is if the story is longer than X > words/chars/etc, the index page will > show the first X > words, then a link for the full story. > > Does anyone have a good idea on how to split after a > certain number of

[PHP] posting plain/text with CURL?

2001-01-26 Thread Mathijs Homminga
Q: Is it possible to post plain/text data from PHP with the build-in CURL functions? Hello Mr. General PHP! I want to post PLAIN/TEXT data to some webpage (through SSL). I want to do this in PHP by using the build-in CURL support. However, by default, CURL is posting the data as "url-encoded.."

[PHP] update db

2001-01-26 Thread Kurth Bemis
whats the php function that will let me update a db field? I've been looking at the manual but there seems to be no mention of it. ~kurth -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

RE: [PHP] Splitting at word count

2001-01-26 Thread Dustin Butler
> I'm doing a page where the front page will show "news" > stories. What I'd > like is if the story is longer than X words/chars/etc, the > index page will > show the first X words, then a link for the full story. > > Does anyone have a good idea on how to split after a certain number of > wor

[PHP] Why the Change in Ver 4?

2001-01-26 Thread Karl J. Stubsjoen
> > >Does Version 4 support either { } "squiglees" or [ ] "brackets" in this > > >code: > > > > > >if($retrn{strlen($retrn)-1} == '&') > > >-or- > > >if($retrn[strlen($retrn)-1] == '&') > > > > Yes. This is a 4.x feature only. The idea is that in the long run, [] > > will no longer be supported

[PHP] form validation :ereg ()

2001-01-26 Thread kaab kaoutar
Can u please help! well i want to check that a word is composed of the alphabet and also à and ë i used :ereg("[a-Zée"èë àäï-üöûâêç]", $firstname) but i have an error i know that ereg("[a-Z]",$firstname) alone is ok but how to add the ë and à ? Thanks _

[PHP] disregard last two questions

2001-01-26 Thread Kurth Bemis
i'm a bit slow todayplease disregard those last 2 questions from me and i answered them myself :-) -- 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: [EMA

[PHP] Do they like shut this list down at night or what?

2001-01-26 Thread Dallas Kropka
Why is it that I never get messages in the list from the late night coders after like 6 central? -- 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 PROT

Re: [PHP] Zend hit (Encoder price)

2001-01-26 Thread Christopher Allen
> Unfortunately, it's not that simple. > > You haven't factored in Support costs nor administrative overhead nor... > Well, I don't know what else the Marketing folks do when they figure these > things out, but that's why I'm not in Marketing, eh? Right it's not my game either (marketing), but

Re: [PHP] Urgent answers needed for FILE UPLOAD problem....

2001-01-26 Thread Rasmus Lerdorf
Because of the way the code is currently written, a file upload ends up in RAM before it gets written to disk. If you want to upload 1Gig files, you need >1Gig of RAM. That's crap, we know, and Jim Winstead has volunteered to fix this. Not sure what the timeline is on it yet though. -Rasmus

[PHP] You can have a visa card .. no deposit

2001-01-26 Thread garey
This company is offering a visa card with no annual fee, no deposit and will pay you for the people you refer.Just request the web address by replying to : [EMAIL PROTECTED] Insert "request " in the subject line

Re: [PHP] zend ide & debugger

2001-01-26 Thread Terrence Chay
1-month commercial license ($90). Download wasn't too bad. I haven't had a chance to check out the Zend LaunchPad. The installation (Apache Linux PHP 4.04pl1+patches) took me about 30 minutes for client and server which included the wait on the license key. It took us another day to put u

Re: [PHP] Greek PHP mailing list

2001-01-26 Thread Chris Hayes
> kyk():Prgm:Local a,b,c: 13->a: "|+|"->b:ClrIO:Output > 0,-1,left(b,a)&"¥"&right(b,a):While abs(13-a)<13:getKey()->c:If abs(50-c)=1 > Then:a+c-50->a:Output 0,-1,left(b,a)&"¥"&right(b,26-a):EndIf:EndWhile:EndPrgm > > Play with the 1 and 3 keys. Guess what it does by just l

[PHP] if ... else ...

2001-01-26 Thread Chakravarthy K Sannedhi
Hi all, I am having 5 rows in a mysql database related to five different users. these rows contains their firstname, lastname and details of scenes 1 to 5(these details are numeric values from 1 to 3). if any of these fields from scenes 1 to 5 are empty that will be detected from the firstname of

Re: [PHP] session without cookies

2001-01-26 Thread Chris Lee
compile with --enable-trans-sid works great for me :) Chris Lee Mediawaveonline.com <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > hi.. > > i use the session-functions with php4 and everything works fine. > but if a visitor turns off cookies nothing seems

Re: [PHP] array size

2001-01-26 Thread Christian Reiniger
On Friday 26 January 2001 22:35, Giancarlo wrote: > > how many elements i can insert in an array? > thank you! I'd say up to 2^31 or until your memory is full (which is likely to occur earlier) -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) Even idiots can handle computers, a

Re: [PHP] PHP on MAC

2001-01-26 Thread lou
You can't on os9. You have to run it on osX PB (or osx server I believe) Go here: http://homepage.mac.com/LightyearDesign/MacOSX/Packages/ > I want to install PHP on iMAC with MAC OS 9, please advise if possible. > > Further, is there any lowcost or free web server that supports PHP on my MAC

Re: [PHP] updating time fields

2001-01-26 Thread Christian Reiniger
On Friday 26 January 2001 05:42, Kurth Bemis wrote: > i am wondering if anyone has written a snippet to process the current > date or mktime into a mysql timestamp feild. $CurrentTime = time (); $Query = "INSERT INTO mytable (timestampfield) VALUES (FRON_UNIXTIME($CurrentTime))" => MySQL alrea

[PHP] Looking for Code Example: Telneting to server to verify password

2001-01-26 Thread Scott Brown
I dont know if this is reasonable to do or not, but what I'm thinking of validating a user based on his/her current username/password. Does anyone know if this is possible to do? Or better yet - does someone have some code sitting around I can scavange from? PHPBuilder didnt help much --

[PHP] sessions without cookies?

2001-01-26 Thread Noel Akins
Would there be any point in using php sessions if you aren't using cookies? You have to store login info anyway, why not just use a temp table to store transaction info and write to the database at the end of a session? From what I've read on sessions, you have to use cookies thanks -- PHP G

[PHP] which syntax?

2001-01-26 Thread kaab kaoutar
hi! what's the difference between using and using and using thanks _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

[PHP] Using a variable to select what variable to use...???

2001-01-26 Thread Brandon Orther
Hello, I am doing a do loop and I want it to change what variable to use each run... First time use: $run1 Second time use: $run2 Third time use: $run2 I hope you can understand what I am saying. Thank you, Brandon Orther WebIntellects Design/Dev

[PHP] arg....

2001-01-26 Thread Kurth Bemis
i'm having a horrible time updating 2 fields in the same db. I don't get an error but the fields aren't updatedcan anyone send me a snippet for the to learn from? ~kurth -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP] Modulus

2001-01-26 Thread Mike P
I know i'm a liitle slow but why does 2%4 = 2 and not 0 or 1 thanks Mike [EMAIL PROTECTED] -- 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] arg....

2001-01-26 Thread Krznaric Michael
You need to be a little more specific about DB and problem type. You may have to commit the transaction if commit is not implict (ex Oracle). There could be many resons including your SQL statement. Mike -Original Message- From: Kurth Bemis [mailto:[EMAIL PROTECTED]] Sent: Friday

RE: [PHP] arg....

2001-01-26 Thread Kurth Bemis
At 12:31 PM 1/26/2001, Krznaric Michael wrote: sorry - here you all go.. // number crunching time $count++; $time = date("Y-m-d H:i:s"); $result = mysql_query("INSERT INTO links (count) VALUES $count WHERE lid=$id"); echo $result; > You need to be a little more specific about DB an

[PHP] include_path in windows

2001-01-26 Thread Shane McBride
I am trying to get my php.ini file configured correctly. I have a script that calls the require function/command( I'm not sure which it is..) Here's what the .ini file is: include_path=d:\sites;d:\sites\merchantpower\setup According to the notation in the .ini file I have the correct syntax, bu

[PHP] Announcement: Smarty template engine 1.2.0 released

2001-01-26 Thread Monte Ohrt
Check the ChangeLog for a list of changes. Smarty now has a mailing list for announcements and discussion. http://www.phpinsider.com/php/code/Smarty/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP] arg....

2001-01-26 Thread Shawn Blaylock
You might want to try this: mysql_query("INSERT INTO links (count) VALUES ("$count") WHERE lid=$id"); Kurth Bemis wrote: > > At 12:31 PM 1/26/2001, Krznaric Michael wrote: > > sorry - here you all go.. > > // number crunching time > $count++; > $time = date("Y-m-d H:i:s"); > > $result = mys

Re: [PHP] Persistent connections and transactions

2001-01-26 Thread Frank Joerdens
On Fri, Jan 26, 2001 at 11:01:14AM +, Nuno Silva wrote: [ . . . ] > i ran across this transaction problem vs. persistent conn in pgsql some time ago. > > I found two workaround methods: > - don't use persistent conn's :-) or; > - start every conn with the usual pg_pconnect and then query a ro

Re: [PHP] arg....

2001-01-26 Thread Shawn Blaylock
whoops! I forgot to escape my quotes! try this: $query_str = "INSERT INTO links (count) VALUES (\"$count\") WHERE lid=\"$id\""; mysql_query($query_str); Shawn Blaylock wrote: > > You might want to try this: > > mysql_query("INSERT INTO links (count) VALUES ("$count") WHERE > lid=$id"); >

Re: [PHP] Greek PHP mailing list

2001-01-26 Thread Chris Hayes
> The options: Get a graph-link cable (which I can't find ANYWHERE), or make > your own during study hall, making them sufficiently stupid that the code can > be compressed down to a screenful: > > kyk():Prgm:Local a,b,c:13->a:"|+|"->b:ClrIO:Output > 0,-1,left(b,a)&"¥"&righ

Re: [PHP] arg....

2001-01-26 Thread Iván Sánchez Ortega \"MR\"
"Kurth Bemis" ... > At 12:31 PM 1/26/2001, Krznaric Michael wrote: > > sorry - here you all go.. > > > // number crunching time > $count++; > $time = date("Y-m-d H:i:s"); > > $result = mysql_query("INSERT INTO links (count) VALUES $count WHERE lid=$id"); > >i'm having a horrible time updating 2 f

[PHP] include_path again

2001-01-26 Thread Shane McBride
OK, I figured out that I had forgotten the quotes around the path(s), but I still don't understand the path itself. Will it look in sub directories.For example: include_path=".;d:\sites" Will PHP look in any subs under sites? - Shane

  1   2   3   >