[PHP] directory listing and how to determine file size

2001-02-18 Thread Andris Jancevskis
Hi, I am going to develop virtual file management. Thus I want to know some things. 1. how to determine file size _before_ file uploading or on loading time and how to avoid error message if file size will be too large. 2. how to read directory content with it's size, modes etc in win32

[PHP] what error?

2001-02-18 Thread JW
i have installed the php into my computer cwin98 with pws. however, i don't know why the error occurred during run the code of php whenever i browse the homepage! would anyone please to tell me what the meaning of the following message is? And what is the reason(s) to cause it happen? 1157 (0x00

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

2001-02-18 Thread Sascha Schumann
sas Sun Feb 18 23:50:06 2001 EDT Modified files: /php4/ext/pgsql pgsql.c Log: Fix warning Index: php4/ext/pgsql/pgsql.c diff -u php4/ext/pgsql/pgsql.c:1.89 php4/ext/pgsql/pgsql.c:1.90 --- php4/ext/pgsql/pgsql.c:1.89 Wed Feb 14 18:15:36 2001 +++ php4/

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

2001-02-18 Thread Sascha Schumann
sas Sun Feb 18 23:49:16 2001 EDT Modified files: /php4/ext/pgsql config.m4 Log: Allow passing relative paths to --with-pgsql Index: php4/ext/pgsql/config.m4 diff -u php4/ext/pgsql/config.m4:1.17 php4/ext/pgsql/config.m4:1.18 --- php4/ext/pgsql/config

[PHP] Variable stores incomplete values...

2001-02-18 Thread Dhaval Desai
Hi! I need help with this one. See I store a lot of data into one variable like this: $variable = This is the data.This is the data.This is the data.This is the dataThis is the dataThis is the dataThis is the dataThis is the dataThis is the dataThis is the dataThis is the data This is the dataT

Re: [PHP] array - too stupid

2001-02-18 Thread Christian Reiniger
On Sunday 18 February 2001 21:26, [EMAIL PROTECTED] wrote: > > 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: 4321§117§A123§42WQ§1243

Re: [PHP] Trying to do a CVS import

2001-02-18 Thread Chris
Eep. I didn't know there was a chdir. It's not in the list of Filesystem functions, but when I looked for it by name in the quickref, there it was. Thanks! Chris

Re: [PHP] REgular expression....difficult is it?

2001-02-18 Thread CC Zona
[rearranged back to bottom-posting order, for clarity] In article <012901c09a35$7b64c640$[EMAIL PROTECTED]>, [EMAIL PROTECTED] ("Ifrim Sorin") wrote: > > I am not able to understand this REgular expression. > > > > /Wil?/ > The ? meta-character is used for matching zero or one occurence of the

Re: [PHP] REgular expression....difficult is it?

2001-02-18 Thread Brian White
At 21:23 18/02/2001 -0800, Dhaval Desai wrote: >I am not able to understand this REgular expression. > >/Wil?/ English Translation: Find a string that contains "Wi" that may or may not be followed by "l". In pure "does the string match?" terms, your example is equivalent to /Wi/ >would mat

Re: [PHP] REgular expression....difficult is it?

2001-02-18 Thread Ifrim Sorin
The ? meta-character is used for matching zero or one occurence of the preceding character , in this case , l . T'his means that you'll match all words that begin with 'Wi' and continue with one or zero 'l' . HTH Sorin Ifrim - Original Message - From: Dhaval Desai <[EMAIL PROTECTED]> To:

[PHP] REgular expression....difficult is it?

2001-02-18 Thread Dhaval Desai
Hi! I am not able to understand this REgular expression. /Wil?/ would match "Winnie", "Wimpy" "Wilson" and "William", though not "Wendy" or "Wolf". Howz taht..? Can anybody explain me please. Thank You! Dhaval Desai __ Do You Yahoo!? Get per

Re: [PHP] Multiple Selection.

2001-02-18 Thread David Robley
On Mon, 19 Feb 2001 15:43, toto wrote: > the solution is javascript-based rather than php-based. > > Just put this codeand when you submit, the value you'll process > stored in variable hidden_list_selected. each value selected are > separated by comma delimiter. > > > >

Re: [PHP] Trying to do a CVS import

2001-02-18 Thread David Robley
On Mon, 19 Feb 2001 15:34, Chris wrote: > > Hi all, > > I'm sludging away at writing PHP scripts that use CVS. It's been > pretty slow going, mostly because it seems to be taking me a while to > learn to think like CVS. > > One thing has me stumped. How the heck do I create a new project using >

RE: [PHP] Multiple Selection.

2001-02-18 Thread toto
the solution is javascript-based rather than php-based. Just put this codeand when you submit, the value you'll process stored in variable hidden_list_selected. each value selected are separated by comma delimiter. function insert(thisObjec

Re: [PHP] Pop-up warning dialog box

2001-02-18 Thread David Robley
On Mon, 19 Feb 2001 15:25, Edith Lai wrote: > If i want to validate a form and check for empty input which then will > produce a pop up warning dialog box, what should i do? > > thanks If you want to do that client side, you'll need to write a little javascript routine which checks the input and

Re: [PHP] Pop-up warning dialog box

2001-02-18 Thread Chris Adams
On 18 Feb 2001 20:54:16 -0800, Edith Lai <[EMAIL PROTECTED]> wrote: >If i want to validate a form and check for empty input which then will >produce a pop up warning dialog box, what should i do? Read up on your JavaScript. And consider whether this is really a good idea - many people find it ann

[PHP] Trying to do a CVS import

2001-02-18 Thread Chris
Hi all, I'm sludging away at writing PHP scripts that use CVS. It's been pretty slow going, mostly because it seems to be taking me a while to learn to think like CVS. One thing has me stumped. How the heck do I create a new project using import? Unless I'm totally offbase, I have to be 'in' the

[PHP] Income on the Net!

2001-02-18 Thread Noel Hadfield
I wanted to let you know about a new opportunity that you can take up FREE. If you join as an affiliate, we'll teach you how to build a profitable business on the Internet; how to use our system to create an income stream; and how to earn income globally, 24 hours a day. Don't let this opport

[PHP] Pop-up warning dialog box

2001-02-18 Thread Edith Lai
If i want to validate a form and check for empty input which then will produce a pop up warning dialog box, what should i do? thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the li

[PHP] send error messages via email?

2001-02-18 Thread Jaxon
Hi, May be a silly newbie question, but is there a way to send captured warnings and errors when calling a script to an admin email? Perhaps configure either apache or php_mod to point all error reporting to a script that does this? I'd appreciate any suggestions! Thanks! Jaxon -- PHP Gener

[PHP] PDF Functions

2001-02-18 Thread Mike Tuller
Ok. I have done everything I have been told to do, found on the web, and I can think of other than bringing in a voodoo priest to get this going. I'll try to explain what I have done so far. I have a system with RedHat 7.0 installed, and am trying to get PDFlib to work with PHP 4.04. The configur

Re: [PHP] mail() not working

2001-02-18 Thread Simon Garner
Hi Jacky, Check that the value of sendmail_path in your php.ini is correct (restart Apache after making any changes). You can confirm the value with phpinfo(). PHP will not show any error if it cannot find/use the mailer. Cheers From: "Jacky@lilst" <[EMAIL PROTECTED]> > I have syntax belo

[PHP] mail() not working

2001-02-18 Thread [EMAIL PROTECTED]
I have syntax below, it suppose to send me email after there is someone buy our stuffs together with the email from my merchant. So far I only recieve email from my merchant but not from mail() function, anything wrong in my syntax? I did echo for the value of a variable $mailTo and it does has

[PHP] PHP 4.0.4pl1 + Oracle 9iAS + AIX 4.3.3 - Seg faults at first PHP call -Pthreads?

2001-02-18 Thread Michael Champagne
Anyone have any ideas as to what my problem is here? From the core dump it looks like a problem with pthreads but I'm stuck as to where to go from here. Here is exactly what I did to reproduce the problem. This is on an AIX 4.3.3 box with Oracle 9iAS which runs Apache 1.3.12. I have success

Re: [PHP] Exec issue

2001-02-18 Thread Robin Vickery
> "DR" == David Robley <[EMAIL PROTECTED]> writes: > On Sat, 17 Feb 2001 04:26, [EMAIL PROTECTED] wrote: >> I have been having some problems getting exec to run a 'find >> /var/spool/mail/ -mindepth 3 -type d' command. She just wont >> execute it and give me a result, however she will run

Re: [PHP] dates

2001-02-18 Thread eschmid+sic
On Sun, Feb 18, 2001 at 06:54:02PM -0700, Julian Rockey wrote: > Yes I had a look at mktime() and date() and tried to think of an easy > way to do it but couldn't... you can convert both dates to a UNIX > timestamp (millseconds after whatever date) then do a subtraction... and > then what? Easy

RE: [PHP] sending email problems

2001-02-18 Thread Peter Houchin
The email address for the "To" part is taken from values saved within the session and that works fine .. just when i try to send to more than one email alais that it doesn't do.. -Original Message- From: James, Yz [mailto:[EMAIL PROTECTED]] Sent: Monday, February 19, 2001 11:59 AM To:

Re: [PHP] Sum function

2001-02-18 Thread David Robley
On Mon, 19 Feb 2001 06:57, Claudia wrote: > 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_n

[PHP] A Question of Indexes

2001-02-18 Thread Chad Guilette
I know this is not really php but because php and mysql are so close to one another I thought I would ask im looking to create an index or indexes on a table...reason being the table can become very large and cumbersome and all of the queries on it use where clauses as well to limit the resul

Re: [PHP] dates

2001-02-18 Thread Julian Rockey
Yes I had a look at mktime() and date() and tried to think of an easy way to do it but couldn't... you can convert both dates to a UNIX timestamp (millseconds after whatever date) then do a subtraction... and then what? Easy to work out number of days from millseconds as a day's length is fixe

Re: [PHP] Exec issue

2001-02-18 Thread David Robley
On Sat, 17 Feb 2001 04:26, [EMAIL PROTECTED] wrote: > I have been having some problems getting exec to run a 'find > /var/spool/mail/ -mindepth 3 -type d' command. She just wont execute it > and give me a result, however she will run 'ls' What result do you get running that command from the s

Re: [PHP] check all values in HTTP_GET_VARS

2001-02-18 Thread David Robley
On Mon, 19 Feb 2001 11:54, Matthew Delmarter wrote: > I want to check to see if all vars in HTTP_GET_VARS array are empty. > How can I do this? > > The code would work like this: > > if(all HTTP_GET_VARS empty): > do this; > else: > echo this; > endif; > > > > > Regards, > > Matthew De

[PHP] add user to ldap using php

2001-02-18 Thread Sayumporn Darunwanna
I can add user through ldap server by using command line. and my ldif file is like this : dn: uid=pang,dc=graduate,dc=com uid: pang cn: Sayumporn Darunwanna sn: Darunwanna userPassword: pang objectClass: uidobject objectClass: person But when I try to write php script. I can bind to ldap server.

[PHP] check all values in HTTP_GET_VARS

2001-02-18 Thread Matthew Delmarter
I want to check to see if all vars in HTTP_GET_VARS array are empty. How can I do this? The code would work like this: if(all HTTP_GET_VARS empty): do this; else: echo this; endif; Regards, Matthew Delmarter -- PHP General Mailing List (http://www.php.net/) To unsubscribe

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

2001-02-18 Thread Stig Bakken
ssb Sun Feb 18 16:57:43 2001 EDT Added files: /php4/pear/DB/tests/oci8.cvsignore Log: ignore "sqlnet.log" file Index: php4/pear/DB/tests/oci8/.cvsignore +++ php4/pear/DB/tests/oci8/.cvsignore sqlnet.log -- PHP CVS Mailing List (http://www.php

[PHP-CVS] cvs: php4 /pear/DB/tests fetchmodes.inc fetchrow.inc /pear/DB/tests/ibase .cvsignore 002.phpt connect.inc mktable.inc skipif.inc /pear/DB/tests/mysql 002.phpt README mktable.inc /pear/DB/tests/odbc 002.phpt mktable.inc /pear/DB/tests/pgsql 002.phpt README connect.inc mktable.inc

2001-02-18 Thread Stig Bakken
ssb Sun Feb 18 16:50:32 2001 EDT Added files: /php4/pear/DB/tests fetchrow.inc /php4/pear/DB/tests/mysql README /php4/pear/DB/tests/pgsql README Modified files: /php4/pear/DB/tests fetchmodes.inc /php4/pear/DB/tests/ibase

[PHP-CVS] cvs: php4 /pear/DB/tests numrows.inc /pear/DB/tests/oci8 001.phpt 002.phpt 003.phpt 004.phpt 005.phpt 006.phpt 007.phpt 008.phpt 009.phpt 010.phpt connect.inc mktable.inc skipif.inc

2001-02-18 Thread Stig Bakken
ssb Sun Feb 18 16:49:08 2001 EDT Added files: /php4/pear/DB/tests/oci8001.phpt 002.phpt 003.phpt 004.phpt 005.phpt 006.phpt 007.phpt 008.phpt 009.phpt 010.phpt connect.inc mktable.inc

[PHP-CVS] cvs: php4 /pear/DB/tests db_error.phpt db_error2.phpt

2001-02-18 Thread Stig Bakken
ssb Sun Feb 18 16:47:30 2001 EDT Modified files: /php4/pear/DB/tests db_error.phpt db_error2.phpt Log: updated some line numbers Index: php4/pear/DB/tests/db_error.phpt diff -u php4/pear/DB/tests/db_error.phpt:1.5 php4/pear/DB/tests/db_error.phpt:1.6 ---

Re: [PHP] dates

2001-02-18 Thread eschmid+sic
On Sun, Feb 18, 2001 at 04:40:08PM -0700, Julian Rockeu wrote: > Anyone know how to use the PHP date functions to work out the difference > between two timestamps? > > For example.. > > Figure out the number of seconds, minutes, hours, days, months and years > between > > 5th October 2001 14:

[PHP] sending email problems

2001-02-18 Thread Peter Houchin
Could some one please take a look at this and offer any suggestions as to why i can't 1 send multiple "to" emails and also why i can't send to the addesses in the "CC" part (i can't send to either single or multiple in CC) This has got me baffled as to why i can't... Thanks in advance Peter \n"

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

2001-02-18 Thread David Robley
On Sat, 17 Feb 2001 09:31, James, Yz wrote: > If each of the scrolling lines is separated by something regular, like > a carriage return, or a line break, tab (etc), you could use explode(); > and have the values returned as an array. > > James. > > > I have a form that contains a scrolling text b

Re: [PHP] search engine

2001-02-18 Thread David Robley
On Sun, 18 Feb 2001 19:04, Brandon Feldhahn wrote: > 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 No need to reinvent the wheel - this uses MySQL and has a PHP front end - I believe that future versions of PHP wi

[PHP-CVS] cvs: php4 /pear/DB odbc.php pgsql.php storage.php

2001-02-18 Thread Stig Bakken
ssb Sun Feb 18 16:14:27 2001 EDT Modified files: /php4/pear/DB odbc.php pgsql.php storage.php Log: odbc.php: load "odbc" extension on demand pgsql.php: unix domain socket support (set hostname to "unix") storage.php: inherit PEAR Index: php4/pe

Re: [PHP] MySQL COUNT Won't Work

2001-02-18 Thread David Robley
On Sat, 17 Feb 2001 04:27, Jeff Oien wrote: > Yes! That was it. Thank you very much. > Jeff Oien > > > Are you using 3.23.33? If so try removing the space between the > > COUNT and the open paren. It looks like there may be a bug in the > > latest release (seeing this problem on the mysql list f

Re: [PHP] About to update

2001-02-18 Thread Joseph H Blythe
On Fri, 16 Feb 2001 10:59:52 -0500 Michael wrote: MK> 2 things... MK> MK> 1. I've had nothing but problems with mysql3.23. :( I had 3.22 up for months at a stretch - I'm lucky to go more than a few weeks without a lockup on 3.23. BUT... I've committed projects to MK> the fulltext search fe

Re: [PHP] SMTP on IIS 5.0 Windows 2000 Pro

2001-02-18 Thread Peter Knif
I have Windows 2000 Pro SP1 and IIS 5.0. I'm using SMTP that came with IIS 5.0. -- * Peter Knif * [EMAIL PROTECTED] "David Harrison" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > What mail server software is it that you're running on the server? > >

[PHP] dates

2001-02-18 Thread Julian Rockeu
Anyone know how to use the PHP date functions to work out the difference between two timestamps? For example.. Figure out the number of seconds, minutes, hours, days, months and years between 5th October 2001 14:20:10 and 26th February 1998 109:54:10 Help much appreciated! thanks Julian --

RE: [PHP] SMTP on IIS 5.0 Windows 2000 Pro

2001-02-18 Thread David Harrison
What mail server software is it that you're running on the server? --dave > -Original Message- > From: Peter Knif [mailto:[EMAIL PROTECTED]] > Sent: Monday, 19 February 2001 9:39 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] SMTP on IIS 5.0 Windows 2000 Pro > > > I have SMTP = local

Re: [PHP] SMTP on IIS 5.0 Windows 2000 Pro

2001-02-18 Thread Peter Knif
I have SMTP = localhost It worked when I set SMTP = my ISP smtp server, but I want to make it work with the SMTP server on my system. Thanks. -- * Peter Knif * [EMAIL PROTECTED] "David Harrison" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Have you

php-general Digest 18 Feb 2001 23:29:59 -0000 Issue 520

2001-02-18 Thread php-general-digest-help
php-general Digest 18 Feb 2001 23:29:59 - Issue 520 Topics (messages 40415 through 40476): EOF (End of File) character.. 40415 by: David Bouw Re: checking image extensions 40416 by: Hrishi 40423 by: ..s.c.o.t.t.. passing arrays through URLS 40417 by: Jamie

RE: [PHP] SMTP on IIS 5.0 Windows 2000 Pro

2001-02-18 Thread David Harrison
Have you set SMTP= your.smtp.server.com ;for win32 only in you php.ini file? --dave > -Original Message- > From: Peter Knif [mailto:[EMAIL PROTECTED]] > Sent: Monday, 19 February 2001 8:13 AM > To: [EMAIL PROTECTED] > Subject: [PHP] SMTP on IIS 5.0 Windows 2000 Pro > > > Hi eve

Re: [PHP] How to get new row on top?

2001-02-18 Thread Tom
The approach I've used is four steps: (1) read the current file into a variable (which preserves it) (2) open the 'old' file for writing "w" (which clears it also) (3) write the "new stuf" to the file first (4) lastly write the "old stuff" to the file Here's a code sample that I just tested...

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

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

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

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 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 Gene

RE: [PHP] Converting CFML to PHP

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

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.) Bu

[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: 4321§117§A123§42WQ§1243 b) $tempItem = serialize($tempItem); c) store it in mysql-table and i ge

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

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

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

Re: [PHP] Uploading Files via PHP

2001-02-18 Thread Brian Drexler
- 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 using is probably checking the MIME type of t

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 -0

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 thro

[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

[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] 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 function

[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 --- php4/sapi

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

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 uplo

[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

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 sim

[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 --- php4/ext/midgard/midga

[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] 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? 3/

[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-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. In

[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-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 php4/pear/CODING_S

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

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 functions

[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 : ada-commit,ada-c

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

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-Gene

[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] 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 l

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 PROTE

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 P

[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: php4/pear/PHPDoc/xmlwriter/PhpdocXMLWriter.php

[PHP-CVS] cvs: php4 /ext/interbase interbase.c /ext/mysql php_mysql.c

2001-02-18 Thread Egon Schmid
eschmid Sun Feb 18 08:59:19 2001 EDT Modified files: /php4/ext/mysql php_mysql.c /php4/ext/interbase interbase.c Log: Typos in protos. Index: php4/ext/mysql/php_mysql.c diff -u php4/ext/mysql/php_mysql.c:1.69 php4/ext/mysql/php_mysql.c:1.70 --- php4/ex

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 i

[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: php4/pear/PHPDoc/xmlreader/PhpdocXMLReader.php

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

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

[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 php4/ext/com/t

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

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

  1   2   >