Re: [PHP-CVS] cvs: php4 /ext/midgard .cvsignore ChangeLog INSTALLMakefile.in article.c attachment.c calendar.c config.m4 element.c event.ceventmember.c file.c group.c host.c image.c mail.c member.c

2001-02-18 Thread Sascha Schumann
A lot of these can probably be shortened to: Correct, whereby *.o and *.a are ignored by default. *.o *.lo *.slo - Sascha -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

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

2001-02-18 Thread Sascha Schumann
sas Sun Feb 18 00:30:12 2001 EDT Modified files: /php4/ext/ircg ircg.c Log: Add a new format string identifier 'r' which inserts the raw message. Also port the ctcp copy function to the hash_ex API as per Andi's suggestion. Index:

Re: [PHP] Is it possible to send a html page via mail()???

2001-02-18 Thread Ifrim Sorin
Hi, Try this : ? $qry=getenv("QUERY_STRING"); $sirarg=explode("",$qry); $url_adr=$sirarg[0]; $mail_adress=$sirarg[1]; $fcontents = join ('', file ($url_adr)); $posta=mail($mail_adress ,"Requested URL: ".$url_adr, $fcontents ,"From: [EMAIL PROTECTED]\n"."MIME-Version:

[PHP] search engine

2001-02-18 Thread Brandon Feldhahn
Can some one tell me how i would make a search engine, like what talbes and how many fields and what the form should look like -- 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

Re: [PHP] Writing Regular Expressions...

2001-02-18 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Dhaval Desai) wrote: Can somebody enlighten me with regular expressions... like [^\-*] something like that. To me it appears as a code language.. Can Anybody tell me what do the various characteers do? is there any good article on

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

2001-02-18 Thread Emiliano Heyns
emile Sun Feb 18 01:01:15 2001 EDT Modified files: /php4/ext/midgard .cvsignore Log: Simplifying .cvsignore (and losing some fat on the way) Index: php4/ext/midgard/.cvsignore diff -u php4/ext/midgard/.cvsignore:1.3 php4/ext/midgard/.cvsignore:1.4 ---

[PHP-CVS] cvs: php4 / header

2001-02-18 Thread David Croft
david Sun Feb 18 01:21:57 2001 EDT Modified files: /php4 header Log: add year 2001 to header Index: php4/header diff -u php4/header:1.5 php4/header:1.6 --- php4/header:1.5 Sun May 28 12:17:59 2000 +++ php4/header Sun Feb 18 01:21:57 2001 @@ -2,7

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

2001-02-18 Thread Sascha Schumann
sas Sun Feb 18 01:44:29 2001 EDT Modified files: /php4/ext/ircg ircg.c Log: irc_write_buf_del() performs a final flush now, if the fd is not dead yet. afterwards we perform a shutdown() on the socket, so that thttpd notices that the socket is to

[PHP] dynamic pages/sessions/checkboxes

2001-02-18 Thread kaab kaoutar
Hi! I'd like to do the following: i have a page where the user chooses from a combo of a products, a combo of charactersitics, the date when he wants it and the quantity! he may not fill one of these inputs so the result will be the list of all products, or he may choose the product and not the

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

2001-02-18 Thread Sascha Schumann
sas Sun Feb 18 02:08:21 2001 EDT Modified files: /php4/ext/ircg ircg.c Log: Add code for user-quit hook Index: php4/ext/ircg/ircg.c diff -u php4/ext/ircg/ircg.c:1.30 php4/ext/ircg/ircg.c:1.31 --- php4/ext/ircg/ircg.c:1.30 Sun Feb 18 01:44:29 2001

[PHP] Standard-Output

2001-02-18 Thread Martin Thoma
Hello ! Which is the name for the standard-output on Linux ? The background: I want to use PGP (2.6.3.) to put the encrypted file out on standard-output. Regards Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP] Perl PRINT vs PHP

2001-02-18 Thread John Monfort
Hello everyone, In perl, you can use 'print qq' to print a block of text. Like, print qq~ my text block goes here, with " " or whatever... my other line with more special characters... ~; Is there something similar in PHP? I've tried the above, but it does not work. I

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

2001-02-18 Thread ..s.c.o.t.t..
yes, that will work... however, if you're trying to select from a table that lacks an explicit AUTO_INSERT field, yet has an incrementing field (DATETIME is one that comes to mind), selecting the LAST_INSERT_ID wouldnt work... -Original Message- From: PHPBeginner.com [mailto:[EMAIL

[PHP] Using Pipes / PGP

2001-02-18 Thread Martin Thoma
Hm, this is getting much more complicated as I thought. I want to use PGP. This works fine with temporary Files: You say to PGP: "Please take the file message.txt and encrypt it to the file encrypt.txt". Ok. But this could be a possible securety-hole, because the message-file is available on

php-general Digest 18 Feb 2001 10:59:55 -0000 Issue 519

2001-02-18 Thread php-general-digest-help
php-general Digest 18 Feb 2001 10:59:55 - Issue 519 Topics (messages 40381 through 40414): Re: Creative solution with XML,PHP,MYSQL 40381 by: Tim Frank 40392 by: Michael Stearne Re: .php3 in PHP4? 40382 by: Tim Frank HTTP Request - First line 40383 by:

[PHP] EOF (End of File) character..

2001-02-18 Thread David Bouw
Hi... How do I get an EOF character when echo'ing an web page which will be written to an file.?? What I am trying to do is the following. I have an textstring (variable): Then I do the following: header("Content-disposition: filename=CLIEOP03"); header("Content-type:

[PHP-CVS] cvs: php4 /ext/oci8 oci8.c

2001-02-18 Thread Thies C. Arntzen
thies Sun Feb 18 03:10:30 2001 EDT Modified files: /php4/ext/oci8 oci8.c Log: - Fixed crash in OCI8 when using unitialized LOBs. (Thies) Index: php4/ext/oci8/oci8.c diff -u php4/ext/oci8/oci8.c:1.109 php4/ext/oci8/oci8.c:1.110 ---

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

2001-02-18 Thread Sascha Schumann
sas Sun Feb 18 03:20:25 2001 EDT Modified files: /php4/ext/ircg ircg.c Log: Set from for MSG_FMT_SELF_PART Index: php4/ext/ircg/ircg.c diff -u php4/ext/ircg/ircg.c:1.31 php4/ext/ircg/ircg.c:1.32 --- php4/ext/ircg/ircg.c:1.31 Sun Feb 18 02:08:21

Re: [PHP] checking image extensions

2001-02-18 Thread Hrishi
if ((substr($imgName, -4) != ".jpg") || (substr($imgName, -4) != ".gif")) this case, in plain english is : if ext is not jpg, OR if ext is not gif, error the ext will never be both jpg and gif at the same time, so you're looking for the condition: if ((substr($imgName, -4) != ".jpg")

[PHP] passing arrays through URLS

2001-02-18 Thread Jamie Smith
I need to pass a array through a url. Currently I'm assigning the array to the url like so http://localhost/dir/page.php?checkbox_array=$checkbox_array but when I want to sort through the array on the recieved page it is not possible because the array seems to have been replaced with the

[PHP] passing arrays through URLS

2001-02-18 Thread Jamie Smith
I need to pass a array through a url. Currently I'm assigning the array to the url like so http://localhost/dir/page.php?checkbox_array=$checkbox_array but when I want to sort through the array on the recieved page it is not possible because the array seems to have been replaced with the

RE: [PHP] Simple REGEX?

2001-02-18 Thread ..s.c.o.t.t..
well, if the only characters that you want to allow are alphanum/space/underscore, you could use a perl regexp to match against anything *other* than those things...(a positive match would indicate that the string being matched had invalid characters in it) use this: preg_match('/[^\w\s]/',

RE: [PHP] Apache config

2001-02-18 Thread ..s.c.o.t.t..
any good .conf files? ...mine reads like a stephen king novel :) it's easy... if you go to php.net and read thru their installation documentation, there are about 4-5 lines total that you need to add to your httpd.conf (at least when you install php as a stanalone cgi) to get apache to

RE: [PHP] Count of multi-dimensional array

2001-02-18 Thread ..s.c.o.t.t..
it's not very elegant, but i havent come across any PHP core function that will do what you asked, so here's a little loop that will return the total length of a multidimensional array $total = 0; for ($i=0; $i count($myarray); $i++) { $total += count( $myarray[$i] ); } print $total;

RE: [PHP] Determingin if cookies are useable?

2001-02-18 Thread ..s.c.o.t.t..
hmmm... what i would do is set a cookie named "cookies_enabled" in the very beginning of your site, and check for the presense of that variable in places that you need cookie functionality... logically, if $cookies_enabled isnt set, it means that the cookie doesnt exist (and thus cookie support

RE: [PHP] checking image extensions

2001-02-18 Thread ..s.c.o.t.t..
or, a bit more concisely, you could use a regexp... to allow only jpg/gif/png file formats, setup the regexp to match on those three formats, and yell at people who submit anything other than those three $imgName = "one.jpg"; if (! preg_match('/\.(jpg|gif|png)$/', $imgName) ) { print

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

2001-02-18 Thread Sascha Schumann
sas Sun Feb 18 04:44:35 2001 EDT Modified files: /php4/ext/ircg ircg.c Log: Remove unnecessary assignment which caused a segfault Index: php4/ext/ircg/ircg.c diff -u php4/ext/ircg/ircg.c:1.32 php4/ext/ircg/ircg.c:1.33 --- php4/ext/ircg/ircg.c:1.32

RE: [PHP] Stylesheets

2001-02-18 Thread ..s.c.o.t.t..
well, CSS support in netscape 4 is abyssmal to begin with, and it's a 5 year old browser, so i would venture to guess that's why you cant get anything to look the way it should... i never thought i'd see the day when MSIE was more standards compliant and more stable than netscape... (well, at

Re: [PHP] Standard-Output

2001-02-18 Thread Ben Peter
Martin, you can either use the file 'php://stdout', which will open stadard output independant of platform, or access /dev/stdout, which is a symlink to the stdout stream of your process. Also, any output that is printed from PHP will be printed to stdout. Cheers, Ben Martin Thoma wrote:

Re: [PHP] REGEX prob

2001-02-18 Thread n e t b r a i n
Hi Christian, function change_sess($html_code){ if(eregi("flag=[0-9]{9}PHPSESSID=[[:alnum:]]{32}",$html_code)){ str_replace("flag=[0-9]{9}PHPSESSID=[[:alnum:]]{32}","?=append_url() ;?", $html_code); str_replace doesn't know about regular expressions, so it tries to find the literal

[PHP] using a regular expression to trim whitespace

2001-02-18 Thread ..s.c.o.t.t..
there's a much easier way to get rid of whitespace and linebreaks at the end of a variable than using a looped ereg_replace (as i previously suggested) 1) use trim() 2) use preg_replace('/\s*$/', '', $input) both will cremate spaces and linebreaks -- PHP General Mailing List

Re: [PHP] MySQL: Add Autoincrement Field?

2001-02-18 Thread Hrishi
On Saturday 17 February 2001 10:20, Jeff Oien wrote: So if I want to delete a record by title, I'll end up deleting all songs with that title. just for the discussion, you can use a delete query like "delete from song_list where song_title='title' and song_book='book'" to delete only one

RE: [PHP] REGEX prob

2001-02-18 Thread ..s.c.o.t.t..
did you check the value *before* writing it to a file? before trying to solve any problem, you have to know where to look perhaps the problem lies with the file instead of the regexp. the following code worked great for me: ?php $html='a

[PHP-CVS] cvs: php4 /pear/PHPDoc/parser PhpdocClassParser.php PhpdocConstantParser.php PhpdocFunctionParser.php PhpdocModuleParser.php PhpdocParser.php PhpdocParserCore.php PhpdocParserRegExp.php PhpdocParserTags.php PhpdocUseParser.php PhpdocVariableParser.php

2001-02-18 Thread Ulf Wendel
uw Sun Feb 18 06:45:29 2001 EDT Modified files: /php4/pear/PHPDoc/parserPhpdocClassParser.php PhpdocConstantParser.php PhpdocFunctionParser.php

[PHP] Apache log analyzer

2001-02-18 Thread John Vanderbeck
Hello, Does anyone know where I might find a good PHP script for analyzing apache logs, with as much information as can be gathered? I looked around on a few of the script sites, but didn't see any and I thought this wierd. - John Vanderbeck - Admin, GameDesign -- PHP General Mailing List

[PHP-CVS] cvs: php4 /pear/PHPDoc/accessor PhpdocAccessor.php PhpdocClassAccessor.php PhpdocDocumentAccessor.php PhpdocIndexAccessor.php PhpdocModuleAccessor.php PhpdocWarningAccessor.php

2001-02-18 Thread Ulf Wendel
uw Sun Feb 18 07:03:06 2001 EDT Modified files: /php4/pear/PHPDoc/accessor PhpdocAccessor.php PhpdocClassAccessor.php PhpdocDocumentAccessor.php

[PHP-CVS] cvs: php4 /pear/PHPDoc/core Phpdoc.php PhpdocArgvHandler.php PhpdocObject.php PhpdocSetupHandler.php

2001-02-18 Thread Ulf Wendel
uw Sun Feb 18 07:29:29 2001 EDT Modified files: /php4/pear/PHPDoc/core Phpdoc.php PhpdocArgvHandler.php PhpdocObject.php PhpdocSetupHandler.php Log: Sorry, whitespace only changes to follow the PEAR Coding conventions.

[PHP] Help!Opening another php file from a link of a completed form.

2001-02-18 Thread Edith Lai
I'd like to achieve something like this: I've made a form let say "a.php" and when user submitted it, the following code display the thank you page: // Form completed echo "Thank you! Information entered."; echo "Please click a href='http://mysite/a.php'here/a to input another product.";

[PHP-CVS] cvs: php4 /pear/PHPDoc/exceptions PhpdocError.php

2001-02-18 Thread Ulf Wendel
uw Sun Feb 18 07:36:33 2001 EDT Modified files: /php4/pear/PHPDoc/exceptionsPhpdocError.php Log: Sorry, whitespace only changes to follow the PEAR Coding conventions. Replaced tabs with spaces. Index:

[PHP-CVS] cvs: php4 /pear/PHPDoc/filehandler PhpdocFileHandler.php

2001-02-18 Thread Ulf Wendel
uw Sun Feb 18 07:40:34 2001 EDT Modified files: /php4/pear/PHPDoc/filehandler PhpdocFileHandler.php Log: Sorry, whitespace only changes to follow the PEAR Coding conventions. Replaced tabs with spaces. Index:

[PHP] apache

2001-02-18 Thread Brandon Feldhahn
hi everyone, ok i just DLed apache httpd server and put all the files in the httpd folder and made the chages is the httpd.conf file for php to work, but it just shows as text or trys to make me downlaod the site. Whats going on? What can i do so it will recongnize php? -- PHP General Mailing

[PHP-CVS] cvs: php4 /pear/PHPDoc/indexer PhpdocIndexer.php

2001-02-18 Thread Ulf Wendel
uw Sun Feb 18 07:48:48 2001 EDT Modified files: /php4/pear/PHPDoc/indexer PhpdocIndexer.php Log: Sorry, whitespace only changes to follow the PEAR Coding conventions. Replaced tabs with spaces. Index: php4/pear/PHPDoc/indexer/PhpdocIndexer.php diff

[PHP] /n for PC Unix

2001-02-18 Thread Todd Cary
When I write to a file with PHP, I get double line spacing when read on a PC. Is there a way to handle this so that a text file can be created by PHP and be read correctly by Linux or a WIN based computer? In my PHP code, I have been using \r\n to duplicate the 0Dh 0Ah that a WIN based

RE: [PHP] apache

2001-02-18 Thread Jeff Oien
These tutorials were very helpful for me: http://www.thickbook.com/extra/index.phtml?t=in Jeff Oien hi everyone, ok i just DLed apache httpd server and put all the files in the httpd folder and made the chages is the httpd.conf file for php to work, but it just shows as text or trys to make

[PHP] RE: UPS shipping calculation

2001-02-18 Thread Ayan R. Kayal
http://www.intershipper.net I think they even have PHP code for using their system... Cheers... O- ~ARK CFO, Hmedicine.com, Inc. http://www.hmedicine.com Do I listen to pop music because I'm miserable? Or am I miserable because I listen to pop music?... ~Rob from "High

[PHP-CVS] cvs: php4 /pear/DB common.php

2001-02-18 Thread Stig Bakken
ssb Sun Feb 18 08:23:03 2001 EDT Modified files: /php4/pear/DB common.php Log: * added "persistent" option Index: php4/pear/DB/common.php diff -u php4/pear/DB/common.php:1.36 php4/pear/DB/common.php:1.37 --- php4/pear/DB/common.php:1.36Thu

[PHP-CVS] cvs: php4 /pear/DB oci8.php

2001-02-18 Thread Stig Bakken
ssb Sun Feb 18 08:24:00 2001 EDT Modified files: /php4/pear/DB oci8.php Log: * use "hostspec" dsn parameter as SID if specified Index: php4/pear/DB/oci8.php diff -u php4/pear/DB/oci8.php:1.17 php4/pear/DB/oci8.php:1.18 ---

[PHP-CVS] cvs: php4 /pear/PHPDoc/renderer PhpdocRendererObject.php /pear/PHPDoc/renderer/html PhpdocHTMLClassRenderer.php PhpdocHTMLDocumentRenderer.php PhpdocHTMLIndexRenderer.php PhpdocHTMLModuleRenderer.php PhpdocHTMLRenderer.php PhpdocHTMLRendererManager.php PhpdocHTMLWarningRenderer.php

2001-02-18 Thread Ulf Wendel
uw Sun Feb 18 08:29:22 2001 EDT Modified files: /php4/pear/PHPDoc/renderer PhpdocRendererObject.php /php4/pear/PHPDoc/renderer/html PhpdocHTMLClassRenderer.php PhpdocHTMLDocumentRenderer.php

Re: [PHP] REGEX prob

2001-02-18 Thread Christian Reiniger
On Sunday 18 February 2001 19:54, n e t b r a i n wrote: function change_sess($html_code){ if(eregi("flag=[0-9]{9}PHPSESSID=[[:alnum:]]{32}",$html_code)){ str_replace("flag=[0-9]{9}PHPSESSID=[[:alnum:]]{32}","?=append_ur l() ;?", $html_code); str_replace doesn't know about regular

[PHP-CVS] cvs: php4 /pear/PHPDoc/warning PhpdocWarning.php

2001-02-18 Thread Ulf Wendel
uw Sun Feb 18 08:31:09 2001 EDT Modified files: /php4/pear/PHPDoc/warning PhpdocWarning.php Log: Sorry, whitespace only changes to follow the PEAR Coding conventions. Replaced tabs with spaces. Index: php4/pear/PHPDoc/warning/PhpdocWarning.php diff

[PHP-CVS] cvs: php4 /ext/com CREDITS

2001-02-18 Thread Harald Radi
phanto Sun Feb 18 08:40:27 2001 EDT Modified files: /php4/ext/com CREDITS Log: added myself to CREDITS Index: php4/ext/com/CREDITS diff -u php4/ext/com/CREDITS:1.1 php4/ext/com/CREDITS:1.2 --- php4/ext/com/CREDITS:1.1Mon Nov 20 02:31:13 2000 +++

Re: [PHP] Database Code Portability

2001-02-18 Thread Manuel Lemos
Hello Dave, On 17-Feb-01 01:52:57, you wrote: 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 Different databases provide different

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

2001-02-18 Thread Harald Radi
phanto Sun Feb 18 08:49:05 2001 EDT Modified files: /php4/ext/com COM.cpp Log: @- Added new object VARIANT() to encapsulate values for use with @ the COM and DOTNET module. Therefore it is now possible to pass @ values by reference, convert php

[PHP] create array of random unique integers?

2001-02-18 Thread andrew
Hi, is there a quick way to create an array of integers, randomized and without repeats? e.g. if my set is 1 - 10, create an array whoese key values are 1 through 10, with corresponding key values as a random set of the same 1 through 10?? thanks in advance for any suggestions :) andrew --

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

2001-02-18 Thread Brian Drexler
This worked: SELECT * from that_table ORDER BY thetimestamp DESC LIMIT 1 Thanks to all for the help. Brian Drexler - Original Message - From: Christian Reiniger [EMAIL PROTECTED] To: Php-General [EMAIL PROTECTED] Sent: Saturday, February 17, 2001 8:58 AM Subject: Re: [PHP] Can I

[PHP] exit signal Floating point exception(8)

2001-02-18 Thread Charles Peters
Geetings and Salutations- I am experiencing a similar problem, but only on two similarly configured FreeBSD 4.0-Stable servers. Here are the details... We are running php-4.0.1p12, and it is built with -imap=/usr/local specified in the log files. In /var/log/messages, we have the following

[PHP-CVS] cvs: php4 /ext/com conversion.c

2001-02-18 Thread Harald Radi
phanto Sun Feb 18 08:49:58 2001 EDT Modified files: /php4/ext/com conversion.c Log: added a few more variant types for zval - variant conversion Index: php4/ext/com/conversion.c diff -u php4/ext/com/conversion.c:1.6 php4/ext/com/conversion.c:1.7 ---

[PHP-CVS] cvs: php4 /ext/com typedef_VARIANT.c

2001-02-18 Thread Harald Radi
phanto Sun Feb 18 08:51:27 2001 EDT Modified files: /php4/ext/com typedef_VARIANT.c Log: export global constants for codepage and variant type VT_* and CP_* Index: php4/ext/com/typedef_VARIANT.c diff -u php4/ext/com/typedef_VARIANT.c:1.6

[PHP-CVS] cvs: php4 /pear/PHPDoc/xmlexporter PhpdocXMLClassExporter.php PhpdocXMLDocumentExporter.php PhpdocXMLExporter.php PhpdocXMLIndexExporter.php PhpdocXMLModuleExporter.php PhpdocXMLWarningExporter.php

2001-02-18 Thread Ulf Wendel
uw Sun Feb 18 08:53:01 2001 EDT Modified files: /php4/pear/PHPDoc/xmlexporter PhpdocXMLClassExporter.php PhpdocXMLDocumentExporter.php PhpdocXMLExporter.php

Re: [PHP] exit signal Floating point exception(8)

2001-02-18 Thread Rasmus Lerdorf
Upgrade to the latest tarball from snaps.php.net On Sun, 18 Feb 2001, Charles Peters wrote: Geetings and Salutations- I am experiencing a similar problem, but only on two similarly configured FreeBSD 4.0-Stable servers. Here are the details... We are running php-4.0.1p12, and it is

[PHP-CVS] cvs: php4 /pear/PHPDoc/xmlreader PhpdocXMLReader.php

2001-02-18 Thread Ulf Wendel
uw Sun Feb 18 08:56:18 2001 EDT Modified files: /php4/pear/PHPDoc/xmlreader PhpdocXMLReader.php Log: Sorry, whitespace only changes to follow the PEAR Coding conventions. Replaced tabs with spaces. Index:

Re: [PHP] exit signal Floating point exception(8)

2001-02-18 Thread Charles Peters
Thanks Rasmus, I appreciate your quick response. I would imagine that there was a know issue involving this bug and the version of php that I was using? Charles --- Rasmus Lerdorf [EMAIL PROTECTED] wrote: Upgrade to the latest tarball from snaps.php.net On Sun, 18 Feb 2001, Charles

Re: [PHP] exit signal Floating point exception(8)

2001-02-18 Thread Rasmus Lerdorf
Yes On Sun, 18 Feb 2001, Charles Peters wrote: Thanks Rasmus, I appreciate your quick response. I would imagine that there was a know issue involving this bug and the version of php that I was using? Charles --- Rasmus Lerdorf [EMAIL PROTECTED] wrote: Upgrade to the latest tarball

[PHP] Code Charge

2001-02-18 Thread Charles Peters
Greetings and Salutations Yall- I am investigating the possible purchase of Code Charge (info at http://www.php.org). Has anyone here used the product, and do you have opinions about it. Any comments would be appreciated. Thanks, Charles __ Do

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

2001-02-18 Thread PHPBeginner.com
You're welcome! Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Brian Drexler [mailto:[EMAIL PROTECTED]] Sent: Monday, February 19, 2001 1:57 AM To: [EMAIL PROTECTED];

[PHP-CVS] cvs: php4 /pear/PHPDoc/xmlwriter PhpdocXMLWriter.php

2001-02-18 Thread Ulf Wendel
uw Sun Feb 18 08:59:52 2001 EDT Modified files: /php4/pear/PHPDoc/xmlwriter PhpdocXMLWriter.php Log: Sorry, whitespace only changes to follow the PEAR Coding conventions. Replaced tabs with spaces. Index:

Re: [PHP] Re: Creative solution with XML,PHP,MYSQL

2001-02-18 Thread Brian Drexler
You could use frames, then you wouldn't have to refresh ALL of the page - Original Message - From: Siim Einfeldt aka Itpunk [EMAIL PROTECTED] To: Brian V Bonini [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED];

Re: [PHP] /n for PC Unix

2001-02-18 Thread Toby Butzon
Just use \n. Both OS's understand this to be a linefeed and will behave accordingly. With the exception of a class that performs POP3 queries, I've never had to use \r\n in my code. Regards, Toby Butzon Todd Cary wrote: When I write to a file with PHP, I get double line spacing when read

[PHP] PHP functions

2001-02-18 Thread Boaz Yahav
Hi I guess I was sleeping when this had happened but I still have to ask : 1. When were all of the php functions that hade a "_" in them renamed to have a "-" instead? For example "aspell-suggest" instead of "aspell_suggest". 2. When were these functions removed :

RE: [PHP] PHP functions

2001-02-18 Thread Boaz Yahav
Or maybe this is just the file name on the php.net site that got me confused? The listing is for _ but the file name is with an - -Original Message- From: Boaz Yahav [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 18, 2001 7:31 PM To: PHP General (E-mail) Subject: [PHP] PHP

Re: [PHP] PHP functions

2001-02-18 Thread Egon Schmid (@vacation)
Boaz Yahav wrote: Or maybe this is just the file name on the php.net site that got me confused? The reason is, that the filenames are derived from refentry id's and ther an underscore isn't allowed. The listing is for _ but the file name is with an - Correct. -Egon -Original

[PHP-CVS] cvs: php4 /pear CODING_STANDARDS

2001-02-18 Thread Jon Parise
jon Sun Feb 18 09:47:44 2001 EDT Modified files: /php4/pear CODING_STANDARDS Log: Go back to listing the copyright years explicitly (instead of using a range). Index: php4/pear/CODING_STANDARDS diff -u php4/pear/CODING_STANDARDS:1.4

[PHP-CVS] cvs: php4 /ext/imap php_imap.c

2001-02-18 Thread Thies C. Arntzen
thies Sun Feb 18 10:15:02 2001 EDT Modified files: /php4/ext/imap php_imap.c Log: fixed a possible double-free Index: php4/ext/imap/php_imap.c diff -u php4/ext/imap/php_imap.c:1.55 php4/ext/imap/php_imap.c:1.56 --- php4/ext/imap/php_imap.c:1.55

[PHP] Uploading Files via PHP

2001-02-18 Thread Brian Drexler
I've been using a PHP upload script to upload files to our server, but my problem is this. I can't upload anything but JPG, GIF, and HTML files. Anyone have any idea why? This is probably something simple that I'm just overlooking, but please help. Brian Drexler -- PHP General Mailing List

[PHP] making form, getting variables from

2001-02-18 Thread Dennis Gearon
Some questions about how to get a whole bunch of fields in a form as input to another page, i.e. *.cgi, or*.phpx: 1/ All fields, buttons, etc have to have different names? 2/ Using 'selected' on pulldowns automatically returns that value unless selected?

Re: [PHP] Macs and PHP

2001-02-18 Thread Michael Stearne
Mike Yuen wrote: I'm got another person working for me on a site. He's a Mac user and for some reason, he can't seem to register as a new person. I know this problem isn't due to the large amount of traffic b/c it's a new site with 3 users max at any time. I haven't found any similar

[PHP-CVS] cvs: php4 /ext/ircg config.m4

2001-02-18 Thread Sascha Schumann
sas Sun Feb 18 10:23:04 2001 EDT Modified files: /php4/ext/ircg config.m4 Log: ircg creates a convenient script now. of course, this is incompatible to older ircg versions. if someone else would have created ircg, I probably would hate him.

Re: [PHP] Uploading Files via PHP

2001-02-18 Thread Michael Stearne
The script you are using is probably checking the MIME type of the file uploaded and rejecting any of the ones that are not one of the types you listed. Look at or post some of the code you are using to find out if this is the case. Michael Brian Drexler wrote: I've been using a PHP

Re: [PHP] REGEX prob

2001-02-18 Thread n e t b r a i n
Hi Christian, $html_code = eregi_replace (..., $html_code); arghhh ... I'm so stupid !! Yes, u're right ... really, many thanks max -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

[PHP-CVS] cvs: php4 /ext/standard string.c

2001-02-18 Thread Thies C. Arntzen
thies Sun Feb 18 10:31:34 2001 EDT Modified files: /php4/ext/standard string.c Log: fixed buffer-overwrite Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.188 php4/ext/standard/string.c:1.189 --- php4/ext/standard/string.c:1.188

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

2001-02-18 Thread David Guerizec
davidg Sun Feb 18 10:45:25 2001 EDT Modified files: /php4/ext/midgard midgard.c Log: allow execution of 'normal' php scripts Index: php4/ext/midgard/midgard.c diff -u php4/ext/midgard/midgard.c:1.4 php4/ext/midgard/midgard.c:1.5 ---

[PHP-CVS] cvs: php4 /ext/standard fsock.c

2001-02-18 Thread Thies C. Arntzen
thies Sun Feb 18 10:54:41 2001 EDT Modified files: /php4/ext/standard fsock.c Log: [p]fsockopen: fixed possible leak Index: php4/ext/standard/fsock.c diff -u php4/ext/standard/fsock.c:1.61 php4/ext/standard/fsock.c:1.62 --- php4/ext/standard/fsock.c:1.61

[PHP-CVS] cvs: php4 /sapi/thttpd thttpd.c

2001-02-18 Thread Sascha Schumann
sas Sun Feb 18 11:03:36 2001 EDT Modified files: /php4/sapi/thttpd thttpd.c Log: Save 50% of the syscalls when writing the HTTP header. Index: php4/sapi/thttpd/thttpd.c diff -u php4/sapi/thttpd/thttpd.c:1.33 php4/sapi/thttpd/thttpd.c:1.34 ---

[PHP] PDFLib, PHP 4.0.4, Arrrrrrgh!

2001-02-18 Thread Cal Evans
Ok this used to work but now I've done something to break it. My info.php says that I have PHP support: pdf PDF Support enabled PDFLib Version 3.03 CJK Font Support yes In-memory PDF Creation Support yes BUT when I try and run the clock test code, I get: Fatal error: Call to undefined

[PHP] using slash as delimiter

2001-02-18 Thread Paul Schreiber
okay, i swear, this *must* be a FAQ. :-) I looked on php.net's FAQ and php.faqts.com, but couldn't find it. How do I use slashes to delimit query string (url) paramters? i.e., I want http://foo.com/name/paul instead of http://foo.com/?name=paul Manuel Lemos does this on his php classes

[PHP] PHP as CGI

2001-02-18 Thread Federico Ragazzoni
Hi, I've compiled PHP as CGI in /usr/local/php/ . Does anyone know what I can write in httpd.conf file? Tanks

Re: [PHP] create array of random unique integers?

2001-02-18 Thread Robin Vickery
"a" == andrew [EMAIL PROTECTED] writes: Hi, is there a quick way to create an array of integers, randomized and without repeats? e.g. if my set is 1 - 10, create an array whoese key values are 1 through 10, with corresponding key values as a random set of the same 1 through 10??

Re: [PHP] Macs and PHP

2001-02-18 Thread Jesse Swensen
Another thing to look for is JavaScript. There have been several sites I have visited (I am also a big Mac user), that use a lot of JavaScript that will break on IE 5 for the Mac. -- Jesse Swensen [EMAIL PROTECTED] From: Michael Stearne [EMAIL PROTECTED] Date: Sun, 18 Feb 2001 13:45:21 -0500

Re: [PHP] Uploading Files via PHP

2001-02-18 Thread Brian Drexler
? exec( "mv $image '$Destination/$FileName'"); ? - Original Message - From: Michael Stearne [EMAIL PROTECTED] To: Brian Drexler [EMAIL PROTECTED] Cc: Php-General [EMAIL PROTECTED] Sent: Sunday, February 18, 2001 1:55 PM Subject: Re: [PHP] Uploading Files via PHP The script you are

[PHP] PHP+MySQL SEARCH

2001-02-18 Thread Gerry
I got this from a book but given the fact that it would only search for one type of information I modified it and it works great, but I wanted to know what you think about it if anything. Could an array be maid to trim it down? if ($search_in == "1"){ $query1 = "SELECT * FROM FISH where ID

[PHP] Macs and PHP

2001-02-18 Thread Mike Yuen
As I mentioned in an earlier email. Mac users can't register for the test site i'm building and I have no idea why this is. Here's some information that may help diagnose this problem: - The site is running on Apache1.3.14 on a Windows O/S. - I'm not checking for browser type - All

[PHP] Sum function

2001-02-18 Thread Claudia
I am looking for code that explains how to sum a value in a database based on a current field retrieved from the database. Example: query = "select course_name, course_build, milestone, testcase, time_tested, issue_status, comment, bug_number, tested_by, date_tested from testissues where

[PHP] array - too stupid

2001-02-18 Thread andreas \(@work\)
hi, how can i store an array in mysql ? what i do now ( works fine ) a) transform the array to a delimeted string // $tempItem is a dlimited stringexample: 4321117A12342WQ1243 b) $tempItem = serialize($tempItem); c) store it in mysql-table and i get my

Re: [PHP] E-mail Validation Question

2001-02-18 Thread Nuno Silva
Jeff Oien wrote: Just a curiosity. I installed and tested Manuel Lemos's PHP E-mail validation class. When I entered an address at the @wi.rr.com domain, no matter what I put before the domain, it would come back as valid. (That's the Wisconsin domain for Road Runner cable service.) But

RE: [PHP] Converting CFML to PHP

2001-02-18 Thread Camden Spiller
Checkout: http://sourceforge.net/projects/cf2php Camden

Re: [PHP] Converting CFML to PHP

2001-02-18 Thread Brian Drexler
Maybe I'm not all with it, but what is CFML? - Original Message - From: Camden Spiller [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, February 18, 2001 3:52 PM Subject: RE: [PHP] Converting CFML to PHP Checkout: http://sourceforge.net/projects/cf2php Camden -- PHP General

Re: [PHP] Uploading Files via PHP

2001-02-18 Thread Michael Stearne
Hmm. I don't know one thing you could try is putting $image in quotes, like '$image'. Also you might try to use the code I have pasted below. Using exec is probably not the most effecient way to do the copy of the file (and using mv limits you to *nix). Make sure you remove the checks for

Re: [PHP] Converting CFML to PHP

2001-02-18 Thread Michael Stearne
Cold Fusion Markup Language. It's Cold Fusion's "programming language". Michael Brian Drexler wrote: Maybe I'm not all with it, but what is CFML? - Original Message - From: Camden Spiller [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, February 18, 2001 3:52 PM

[PHP] Apache and $HTTP_*_VARS

2001-02-18 Thread Todd Cary
I use $myvar = $HTTP_GET_VARS[myvar]; This works with IIS running under Win 2K but it does not work with Apache running under Win 98. I have track_vars = On Is there something else that I have missed? I have register_globals = Off If I set it ON, the variable does get passed. Todd --

[PHP] SMTP on IIS 5.0 Windows 2000 Pro

2001-02-18 Thread Peter Knif
Hi everyone, I'm trying to run a simple PHP e-mail script on my Windows 2000 Pro machine and I keep receiving Server Error. I tried the same script on a Unix server and it worked fine. Does anyone know what the problem might be? Thanks in advance. -- * Peter Knif * [EMAIL PROTECTED]

  1   2   >