[PHP-CVS] cvs: php4 /ext/cybermut cybermut.xml

2001-03-02 Thread Sylvain PAGES
spages Fri Mar 2 23:58:31 2001 EDT Modified files: /php4/ext/cybermut cybermut.xml Log: - modified line 161 to be xml compliant Index: php4/ext/cybermut/cybermut.xml diff -u php4/ext/cybermut/cybermut.xml:1.1 php4/ext/cybermut/cybermut.xml:1.2 --- php4/ext/c

[PHP] Re: [PHP-DB] How do I keep the selected showing...

2001-03-02 Thread andreas \(@work\)
hi dave, i usually do this from entries in a database but it should also work this way with an array // first make an array holding all the cities $myTowns = array("London","New York","HongKong","Johannesburg"); $ArrayElements = 4; this is now creating the dropdown-box: ".$tacco."";

[PHP-CVS] cvs: php4 / php.ini-dist

2001-03-02 Thread Sebastian Bergmann
sbergmann Fri Mar 2 23:37:18 2001 EDT Modified files: /php4 php.ini-dist Log: Whitespace only. Index: php4/php.ini-dist diff -u php4/php.ini-dist:1.70 php4/php.ini-dist:1.71 --- php4/php.ini-dist:1.70 Fri Mar 2 23:31:43 2001 +++ php4/php.ini-

[PHP-CVS] cvs: php4 / php.ini-dist

2001-03-02 Thread Sebastian Bergmann
sbergmann Fri Mar 2 23:31:43 2001 EDT Modified files: /php4 php.ini-dist Log: Whitespace Fixes. Added another Win32 extension DLL. Removed configuration for non-existent debugger. Index: php4/php.ini-dist diff -u php4/php.ini-dist:1.69 php4/php.in

php-general Digest 3 Mar 2001 07:07:50 -0000 Issue 544

2001-03-02 Thread php-general-digest-help
php-general Digest 3 Mar 2001 07:07:50 - Issue 544 Topics (messages 42384 through 42428): Problem getting PostgreSQL to compile 42384 by: K Old 42419 by: The Hermit Hacker Safe mode? 42385 by: Leon Mergen 42425 by: Asep Dindin Re: server side cookies

[PHP] Apache config -- RedirectMatch

2001-03-02 Thread Kefir Podmasli
Hi, I'm sorry for this OT question, but I need to configure apache to emit 503 accross the whole server _except_ in two directories. I thought I'd use RedirectMatch 503 ^/(?!docs|error) but Apache fails to start with "Regular expression could not be compiled." It doesn't grok the assertion.

[PHP-CVS] cvs: php4 / php.ini-dist

2001-03-02 Thread Sebastian Bergmann
sbergmann Fri Mar 2 22:55:06 2001 EDT Modified files: /php4 php.ini-dist Log: Added some more Win32 extension DLLs. Index: php4/php.ini-dist diff -u php4/php.ini-dist:1.68 php4/php.ini-dist:1.69 --- php4/php.ini-dist:1.68 Thu Feb 1 07:41:02 2

[PHP-CVS] cvs: php4 /pear/Benchmark Iterate.php

2001-03-02 Thread Sebastian Bergmann
sbergmann Fri Mar 2 22:36:45 2001 EDT Modified files: /php4/pear/BenchmarkIterate.php Log: Use call_user_func_array() in order to profile functions that take arguments. Index: php4/pear/Benchmark/Iterate.php diff -u php4/pear/Benchmark/Iterate.ph

[PHP-CVS] cvs: php4 /pear/Benchmark Timer.php

2001-03-02 Thread Sebastian Bergmann
sbergmann Fri Mar 2 22:35:25 2001 EDT Modified files: /php4/pear/BenchmarkTimer.php Log: Whitespace only. Index: php4/pear/Benchmark/Timer.php diff -u php4/pear/Benchmark/Timer.php:1.7 php4/pear/Benchmark/Timer.php:1.8 --- php4/pear/Benchmark/Tim

Re: [PHP] Stripping HTML selectively?

2001-03-02 Thread Brian Clark
Hi Erick, @ 12:22:39 AM on 3/3/2001, [EMAIL PROTECTED] wrote: > i tried to look at "strip_tags" but then it only returns me: http://www.php.net/manual/en/function.strip-tags.php string strip_tags (string str [, string allowable_tags]) "Note: Allowable_tags was added in PHP 3.0.13, PHP4B3."

[PHP] Stripping HTML selectively?

2001-03-02 Thread Erick Papadakis
Hello, need some help. i need to take an HTML file that is written by a user in a very bad format, for instance: Hi! and get the following: Hi! i tried to look at "strip_tags" but then it only returns me: Hi! thanks in advance/erick --- Outgoing mail is certified Virus Fre

RE: [PHP] Safe mode?

2001-03-02 Thread Asep Dindin
I think the second line is right, but I suggest to add space before and after equal sign, if it is not working may be somethink else make the problem. safe_mode = off -Original Message- From: Leon Mergen [mailto:[EMAIL PROTECTED]] Sent: 03 March, 2001 4:36 AM To: [EMAIL PROTECTED] Subjec

[PHP] last inserted record

2001-03-02 Thread .:: romina ::.
hello. i'm having a little bit of problems with a little mysql table i'm using. the table has no primary key nor index nor nothing. i was wondering if it's possible to select the last inserted record of a table with this characteristics. i've been trying but with no good results. thanks for al

Re: [PHP] linking to specific spot on map?

2001-03-02 Thread php3
Addressed to: Floyd Baker <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from Floyd Baker <[EMAIL PROTECTED]> Thu, 01 Mar 2001 16:39:23 -0500 > > > > Hi.. We have a city map using co-ordinates to link to specific info on various > buildings, etc. The links bring up an info

[PHP] PHP with MySQL doubt

2001-03-02 Thread Pablo Pasqualino
Hi I have an account on a hosting service provider. They have a server with a lot of clients... and there, each client has his own Apache binary compiled with PHP 4. They also offer MySQL... but they only have ONE server for all their customers, and so, they just offer one db to each one. I ne

Re: [PHP] Connection error

2001-03-02 Thread php3
Addressed to: <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from <[EMAIL PROTECTED]> Fri, 2 Mar 2001 15:59:55 -0500 > > Hi, > > When I run the code: > >mysql_connect ("LOCALHOST","webmaster2","hironsc0"); > ?> > > I got error message: > Fatal error: Call to unsupp

[PHP] "highest" file

2001-03-02 Thread MaD dUCK
hey, given a directory structure like $DOCUMENT_ROOT/2001/03/02 (where 02 is a file in dir 03/ which obviously represents a date, i would like to implement a page such as latest.php, which will go to $DOCUMENT_ROOT, list all the directories, sort them numerically, choose the largest, chdir,

Re: [PHP] Problem getting PostgreSQL to compile

2001-03-02 Thread The Hermit Hacker
have you checked phpinfo() to make sure that pgsql support is actually compiled in? if so, any errors on connection, or just silently fails? On Fri, 2 Mar 2001, K Old wrote: > Hello, > > I'm running RH 7 and Apache. I have the latest version of PostgreSQL and it > is installed and running cor

Re: [PHP] quote problem

2001-03-02 Thread Philip Olson
A couple resources to help : http://www.php.net/manual/en/language.types.string.php http://www.zend.com/zend/tut/using-strings.php Each describes the ability to do : $var = 'blah "blah" blah'; $var = "blah 'blah' blah"; $var = "blah \"blah\" blah"; And using here doc, <<< , like so

Re: [PHP] quote problem

2001-03-02 Thread Simon Garner
From: <[EMAIL PROTECTED]> > Unfortunatly thats not an option since some dumb founded people will be using > the script and they dont understand that concept... > > any other suggestions? > > - Peter Okay, a heredoc may be better then: blah "blah" blah END; echo $title; ?> The syntax in yo

Re: [PHP] quote problem

2001-03-02 Thread Simon Garner
From: <[EMAIL PROTECTED]> > Hey, > > Wondering if any of you can help me with a problem > > im trying to get something like this into $var : > > blah "blah" blah > > How can I do it if its multi lined > > Someone suggested > content = END << > BLAH BLAHC > BLHAC > END; > > but that doesnt

[PHP] quote problem

2001-03-02 Thread PeterOblivion
Hey, Wondering if any of you can help me with a problem im trying to get something like this into $var : blah "blah" blah How can I do it if its multi lined Someone suggested content = END << BLAH BLAHC BLHAC END; but that doesnt seem to work with quotes Thanks - Peter -- PHP General Ma

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

2001-03-02 Thread Sterling Hughes
sterlingFri Mar 2 17:06:55 2001 EDT Modified files: /php4/ext/curl curl.c Log: add a warn not available for curl_getinfo(). remove unneccessary error checking. Index: php4/ext/curl/curl.c diff -u php4/ext/curl/curl.c:1.38 php4/ext/curl/cur

Re: [PHP] How to convert a date to an int?(Need help as soon as possible)

2001-03-02 Thread Stephan Ahonen
http://www.php.net/manual/en/function.strtotime.php No need to code it yourself, just say $timestamp = strtotime($livedate) Sig for a Day Stephan Ahonen, ICQ 491101 "That's very funny Scotty, now beam down my clothes!" Come back tomorrow for a different sig! Backspace a single "s" to reply by em

Re: [PHP] En: [GENERAL] libpq.so.2.1 needed by php-pgsql-4.0.1pl2-9

2001-03-02 Thread Joe Conway
>[root@atlas PostgreSQL]# rpm -ivh php-pgsql-4.0.1pl2-9.i386.rpm >error: failed dependencies: >libpq.so.2.1 is needed by php-pgsql-4.0.1pl2-9 >2) Create some symlink? Currently I have at /usr/lib the following files: >lrwxrwxrwx1 root root 12 Mar 1 11:17 libpq.so -> l

RE: [PHP] MySQL Create Table Problem

2001-03-02 Thread Jeff Oien
I found where the problem stems from after correcting a couple items per your example but still don't know why it won't work. It comes from using checkboxes in the form for PRIMARY KEY, AUTO_INCREMENT and NOT NULL or NULL. When I use checkboxes like this: it totally messes up the query. But

Re: [PHP] server side cookies

2001-03-02 Thread Chris Lee
you mean sessions? cookies are client side, sessions are server side (with assistance from cookies or url re-writing) http://php.net/manual/en/ref.session.php should have more then enough information, phpbuilder also has a few articles. -- Chris Lee Mediawaveonline.com ph. 2

Re: [PHP] Netscape problems with PHP

2001-03-02 Thread Chris Lee
ok your experiencing some very strange errors. I would love to comment on the PHP_SELF thing, if you want me to I'll email you. do you have php configured with --trans-sid? is the cookie PHPSESSID being set on the client? is the SID being transfered on all non-full urls when cookies are not b

Re: [PHP] How to convert a date to an int?(Need help as soon as possible)

2001-03-02 Thread Alexander Skwar
So sprach Fang Li am Fri, Mar 02, 2001 at 06:58:45PM -0500: > Hi, All, > I am stucked here.Would you please help as soon as you can? > > LiveDate = "Mar 12,2001" > > how to convert it to a int? $months = array( "Jan" => 1, "Feb" => 2, ..

Re: [PHP] cutting apart form field data

2001-03-02 Thread rm
look at the explode or split functions in the php help docs --- Randy Johnson <[EMAIL PROTECTED]> wrote: > okay I want to have the user submit multiple values > in a text form field > > ex > > day,night,month > > How do I take that data and break it apart into > separate variables? > > than

Re: [PHP] How to convert a date to an int?(Need help as soon as possible)

2001-03-02 Thread Joe Stump
Well if you have a consistent format (like Month Day, FullYear) then you could do this: function get_unix_stamp($date) { $months = array('Jan' => 1,'Feb' => 2, 'Mar' => 3,'Apr' => 4, 'May' => 5,'Jun' => 6, 'Jul' => 7,'Aug' => 8,

[PHP] How to convert a date to an int?(Need help as soon as possible)

2001-03-02 Thread Fang Li
Hi, All, I am stucked here.Would you please help as soon as you can? LiveDate = "Mar 12,2001" how to convert it to a int? mktime(0,0,0,?,?,?) Because the LiveDate is changable, I could't put a 3,12,2001 in the mktime. Thanks a lot. Fang -- PHP General Mailing List (http://www.php.net/) To

[PHP] Sybase-CT problem

2001-03-02 Thread Sergio Murillo
I just installed a Sybase_CT module in php 4.0 on a linux machine. I'm trying to move a web site from a buggy and crashy NT box but I'm having trouble with the mssql_result call. This is what i get. Warning: 2 is not a valid Sybase result resource in /var/www/html/crap.php on line 54 Line 54 r

[PHP-CVS] cvs: CVSROOT / loginfo.pl

2001-03-02 Thread Andrei Zmievski
andrei Fri Mar 2 15:47:03 2001 EDT Modified files: /CVSROOTloginfo.pl Log: Change the test a bit. Index: CVSROOT/loginfo.pl diff -u CVSROOT/loginfo.pl:1.40 CVSROOT/loginfo.pl:1.41 --- CVSROOT/loginfo.pl:1.40 Fri Mar 2 15:46:08 2001 +++ CVSROOT/log

[PHP-CVS] cvs: CVSROOT / loginfo.pl

2001-03-02 Thread Andrei Zmievski
andrei Fri Mar 2 15:46:09 2001 EDT Modified files: /CVSROOTloginfo.pl Log: Send only php4 changelog commits to php-cvs list. Index: CVSROOT/loginfo.pl diff -u CVSROOT/loginfo.pl:1.39 CVSROOT/loginfo.pl:1.40 --- CVSROOT/loginfo.pl:1.39 Fri Dec 22 17

[PHP] Problems with pdflib-3.02

2001-03-02 Thread Philip Murray
I have script that generates a pdf width some text and two images in it. One of the images is just a header and works fine. The other is a photo, now, this sometimes works and sometimes doesn't. I can't figure out why. When the photo doesn't appear I eventually get a box saying something like "A

[PHP] cutting apart form field data

2001-03-02 Thread Randy Johnson
okay I want to have the user submit multiple values in a text form field ex day,night,month How do I take that data and break it apart into separate variables? thanks randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP] Netscape problems with PHP

2001-03-02 Thread Robert Fischler, Ph.D. ABD
Hello all (first post for me!): I've been running into problems when testing PHP scripts on Netscape (when MSIE works fine). First problem (SOLVED) was that Netscape does something funny with the $PHP_SELF environmental variable, so I've learned to circumvent the problem by just hard-coding the

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

2001-03-02 Thread Andrei Zmievski
andrei Fri Mar 2 13:48:11 2001 EDT Modified files: /CVSROOTavail gen_acl_file.m4 Log: Allow changelog script commit access. Index: CVSROOT/avail diff -u CVSROOT/avail:1.108 CVSROOT/avail:1.109 --- CVSROOT/avail:1.108 Fri Mar 2 07:05:45 2001 +++ CVSROO

RE: [PHP] Replace last 4 of 16 with ****

2001-03-02 Thread WreckRman2
Excellent, thank you very much... -Original Message- From: Krznaric Michael [mailto:[EMAIL PROTECTED]] Sent: Friday, March 02, 2001 4:32 PM To: 'WreckRman2'; PHP List Post Subject: RE: [PHP] Replace last 4 of 16 with Hi, O.k. this is of the top of my head, but you should g

RE: [PHP] Replace last 4 of 16 with ****

2001-03-02 Thread Krznaric Michael
Hi, O.k. this is of the top of my head, but you should get the point. For more info refer to http://www.php.net/manual/en/function.substr.php . What you're doing is extracting the first 12 number and adding "" to the end of that string. Hope it helps. Mike -Original Messa

Re: [PHP] Replace last 4 of 16 with ****

2001-03-02 Thread Chris Fry
You could split the card number into groups of 4 digits and. in the form, make the last one . This would do what you need. Chris WreckRman2 wrote: > I am building an account manager for my web hosting clients in which they > can edit thier information, etc only I do not want to display

[PHP] Replace last 4 of 16 with ****

2001-03-02 Thread WreckRman2
I am building an account manager for my web hosting clients in which they can edit thier information, etc only I do not want to display the entire credit card number on the site. Instead I would like to replace the last 4 numbers with a * if possible. Can anyone assist me with the code to

RE: [PHP] MySQL Create Table Problem

2001-03-02 Thread David Smith
Quick example... CREATE TABLE user ( userid int(10) unsigned DEFAULT '0' NOT NULL auto_increment, usergroupid smallint(5) unsigned DEFAULT '0' NOT NULL, username varchar(50) NOT NULL, password varchar(50) NOT NULL, email varchar(50) NOT NULL, parentemail varchar(50) NOT NULL,

RE: [PHP] Connection error

2001-03-02 Thread David Smith
Try this... You need to set a variable for the connection. Also you might be careful when sending examples of your code as you have given everyone on this list your username/password to your database. "; exit; } ?> -Original Message- From: Shaohua Qu [mailto:[EMAIL PROTECTE

Re: [PHP] benefit of constants

2001-03-02 Thread Phil Glatz
At 12:48 PM 03/02/2001 -0700, Joe wrote: >is there any real benefit to declaring a CONSTANT over just defining a >variable? The fact they can't be overwritten makes them more appropriate for true constants, absolutely no way to change their values. I frequently use them in include files to se

[PHP] Connection error

2001-03-02 Thread Shaohua Qu
Hi, When I run the code: I got error message: Fatal error: Call to unsupported or undefined function mysql_connect() in ... HELP! Thanks in advance, Sharon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAI

[PHP] En: [GENERAL] libpq.so.2.1 needed by php-pgsql-4.0.1pl2-9

2001-03-02 Thread Paulo Parola
Maybe somebody here might be able to help me so I am forwarding this. TIA, Paulo - Original Message - From: Paulo Parola To: [EMAIL PROTECTED] Sent: Thursday, March 01, 2001 4:31 PM Subject: [GENERAL] libpq.so.2.1 needed by php-pgsql-4.0.1pl2-9 Hi, I am running Redhat 7.0 with PHP

Re: [PHP] Re: server side cookies

2001-03-02 Thread Mark Maggelet
On Fri, 02 Mar 2001 13:49:17 -0600, Michael David ([EMAIL PROTECTED]) wrote: >Jeff: > >You're talking about sessions, for the most part. I might be wrong but I think he's talking about setcookie(), for which the docs are here: http://www.php.net/manual/en/function.setcookie.php meaning that the

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

2001-03-02 Thread Sascha Schumann
nn = dummy; @@ -272,14 +265,16 @@ if (msg->c == 0) return; if (conn->fd != -1) { +#if defined(IRCG_API_VERSION) && IRCG_API_VERSION >= 20010302 + irc_write_buf_append_ex(&conn->wb, msg, 0); +#else irc_write_buf_append(&conn->

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

2001-03-02 Thread Andrei Zmievski
andrei Fri Mar 2 12:22:14 2001 EDT Modified files: /php4/ext/standard basic_functions.c Log: @- Forced call_user_method() and call_user_method_array() to take the @ object argument by reference. (Andrei) * Forced call_user_method() and call_user_method_arr

Re: [PHP] Declaring SERVER-WIDE Variables & UNSERIALIZE overhead

2001-03-02 Thread Michael David
Simon: Thanks for the SHMEM heads-up. It's defiantly a step up in efficiency/speed than calling the databases, however, I wonder about the overhead of loading and unserializing on every page. Another issue is portability -- while the servers here are MacOS X and Linux-based, future systems may

[PHP] Is this my error or a bug?

2001-03-02 Thread Robert Covell
Is this following due to a bug in either Payflow Pro SDK or in PHP or my messup? It just seems to odd that the warning is for pfpro_version and then the configtest fails because of pfpro_version. Here are the errors and code it is using: When making PHP root@server5:/usr/local/phpApach

Re: [PHP] MySQL Create Table Problem

2001-03-02 Thread rm
Shouldn't the primary key spec come at the end of the table create command, not in the middle ex... CREATE TABLE president ( last_name varchar(15) NOT NULL, first_name varchar(15) NOT NULL, suffix varchar(5) NOT NULL, city varchar(20) NOT NULL, state varchar(2) NOT NULL, birth date NULL, death da

[PHP] Re: [PHP-DEV] pspell/aspell breaking

2001-03-02 Thread PHP development @echospace
Thanks for the nice report - I'll know what to suggest to those who ask in the future. I've heard of somewhat similar problems with aspell on other platforms, and yet have to figure out how to work around them:( One thing I noticed after I replied to you: after you compile pspell and aspell, yo

[PHP] benefit of constants

2001-03-02 Thread Joe Sheble (Wizaerd)
Other than the fact you cannot overwrite them (which helps with carelessness), is there any real benefit to declaring a CONSTANT over just defining a variable? In typical compiled programs, I believe constants or macros don't load into the symbol table, thus reducing memory requirements for t

[PHP] Re: server side cookies

2001-03-02 Thread Michael David
Jeff: You're talking about sessions, for the most part. Sessions are nice, as you can efficiently handle things like arrays with 10,000 items of 200 bytes each without doing something extremely stupid like sending the user The Cookie From Hell (assuming a 2M cookie is even legal - I forget if

[PHP] Safe mode?

2001-03-02 Thread Leon Mergen
How can I turn off safe_mode using php.ini with php4.0.3pl1? All this doesn't work: safe_mode="off" safe_mode=off safe_mode="0" safe_mode=0 safe_mode="Off" safe_mode=Off Anyone has an idea? Leon Mergen [EMAIL PROTECTED] President of Technical Operations BlazeBox, Inc. ICQ: 5567

[PHP] Problem getting PostgreSQL to compile

2001-03-02 Thread K Old
Hello, I'm running RH 7 and Apache. I have the latest version of PostgreSQL and it is installed and running correctly. I have installed PHP with the --with-pgsql and it seems to install everything needed, but when I try to use pg_connect() it fails to connect. Any ideas what I can do? Than

php-general Digest 2 Mar 2001 19:06:19 -0000 Issue 543

2001-03-02 Thread php-general-digest-help
php-general Digest 2 Mar 2001 19:06:19 - Issue 543 Topics (messages 42302 through 42383): Re: Munging hidden/form variables 42302 by: php3.developersdesk.com 42303 by: php3.developersdesk.com 42307 by: Harshdeep S Jawanda 42324 by: Christian Reiniger

[PHP] MySQL Create Table Problem

2001-03-02 Thread Jeff Oien
This is driving me nuts. I really tried to figure it out myself. I have a form for creating a table. The form fields have field_name field_type field_length, and checkboxes for not_null, auto_increment and primary. When I check the primary key checkbox it always makes the first field the primary

[PHP] Splitting a complex string problem

2001-03-02 Thread rm
I have a string that can be any length and contain any number or words. Each string also has, somewhere near end, a list of parameters that can begin with any number of five or six different parameter markers. I need to find the position of the first of these parameters markers, which can be in

Re: [PHP] linking to specific spot on map?

2001-03-02 Thread Jack Dempsey
Hey Floyd, You can do lots with dynamic info using gd and PHP's image functions... for example, you could read the map into a new image, draw a circle around the area in question, then output this new picture...check out php.net's info on images: http://www.php.net/manual/en/ref.image.php best

[PHP] linking to specific spot on map?

2001-03-02 Thread Floyd Baker
Hi.. We have a city map using co-ordinates to link to specific info on various buildings, etc. The links bring up an information page with data and photos for each building locations on the map. My question is, when this information page is accessed from another direction, say a menu, can the

RE: [PHP] help parsing data files

2001-03-02 Thread Hoover, Josh
Try putting this in your config in place of what you currently have: AddType application/x-httpd-php phtml AddType application/x-httpd-php php AddType application/x-httpd-php php3 AddType application/x-httpd-php data Then restart Apache and see if that does it for you. Josh Hoover KnowledgeStor

RE: [PHP] Hebrew websites transition with php3 ..

2001-03-02 Thread Boaz Yahav
Why build your own shop when you can build one with NetVision (Nana) or Walla shops? Sincerely berber Visit http://www.weberdev.com Today!!! To see where PHP might take you tomorrow. -Original Message- From: Aviv Revach [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 01, 2001

[PHP-CVS] cvs: php4 /pear/Benchmark Iterate.php

2001-03-02 Thread Martin Jansen
mj Fri Mar 2 10:24:00 2001 EDT Modified files: /php4/pear/BenchmarkIterate.php Log: - added check for existing bcmath extensions to Benchmark/Iterate.php - did some cosmetic changes to Benchmark/Iterate.php Index: php4/pear/Benchmark/

[PHP] Re: [PHP-DEV] pspell/aspell breaking

2001-03-02 Thread Seth Northrop
On Fri, 2 Mar 2001, PHP development @echospace wrote: > I remember being able to compile, but not use pspell on a RH7 machine. Never had >time to look into it. Maybe now I will. Compile problems might be due to the fact >that gcc 2.96 is behaving oddly - I couldn't compile half the things with

Re: [PHP] Running php code inside of a string within a phpscript..

2001-03-02 Thread Lucas Persona
Hey, Aviv Revach wrote: > At 14:29 02/03/01 -0300, Lucas Persona wrote: > >Aviv Revach wrote: > > > How can I make those php3 commands to work as they supposed to? > > Take a look at the eval() function > >http://www.php.net/manual/en/function.eval.php > > Actually it doesn't. My string does n

[PHP] session won´t use cookies

2001-03-02 Thread Tobias Talltorp
I have a problem with the session not using cookies. The code below doesn´t seem to set a cookie even though my php.ini has it set. If I use the header after initializing the session, nothing appears in getsess.php. If I click the link on the other hand, the PHPSESSID-variable is added to the URL

[PHP] Does anyone know if there exist an job-ad script?

2001-03-02 Thread David Tandberg-Johansen
Does anyone know if there exist an job-ad script? David -- 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] Hebrew websites transition with php3 ..

2001-03-02 Thread Aviv Revach
Hey! About Netscape's Hebrew support.. soon... but not yet.. >And one more thing, the different browsers on PalmPilots (AvantGo , webClient >etc.) rely on palm's Hebrew support which is only logical, no visual support >in palm). Oh, good to know. >If I'm not out of line here, can you tel

Re: [PHP] How to ready Apache Server or Image Functions

2001-03-02 Thread Jack Dempsey
http://www.php.net/manual/en/ref.image.php ~jack "Karl J. Stubsjoen" wrote: > > Hello, > > I'm trying to to Image manipulation using PHP. It faild at the first Image > Call (imagefontheight)! So I guess I need to compile my PHP server to > support the extendid list of image functions. What

Re: [PHP] Running php code inside of a string within a php script..

2001-03-02 Thread Aviv Revach
Hey! At 14:29 02/03/01 -0300, Lucas Persona wrote: >Hy there! > >Aviv Revach wrote: > > How can I make those php3 commands to work as they supposed to? > > Take a look at the eval() function >http://www.php.net/manual/en/function.eval.php > It does exactly what you are looking for... Actuall

RE: [PHP] strip ^M's ??

2001-03-02 Thread Brandon Orther
Thanks! Werked Great d;-Þ -Original Message- From: Nathan Cassano [mailto:[EMAIL PROTECTED]] Sent: Friday, March 02, 2001 9:46 AM To: 'Brandon Orther'; [EMAIL PROTECTED] Subject: RE: [PHP] strip ^M's ?? Here is a solution I can up with to solve all the CR and LF funniness coming from d

[PHP] How to ready Apache Server or Image Functions

2001-03-02 Thread Karl J. Stubsjoen
Hello, I'm trying to to Image manipulation using PHP. It faild at the first Image Call (imagefontheight)! So I guess I need to compile my PHP server to support the extendid list of image functions. What are the steps to doing this? Thanks! -- PHP General Mailing List (http://www.php.net/)

RE: [PHP] strip ^M's ??

2001-03-02 Thread Walgamotte, David
use the dos2unix utility -Original Message- From: Brandon Orther [mailto:[EMAIL PROTECTED]] Sent: Friday, March 02, 2001 11:43 AM To: PHP User Group Subject: [PHP] strip ^M's ?? Hello, I am making a PHP script that upload formmail into people web directory with all the settings easily

RE: [PHP] strip ^M's ??

2001-03-02 Thread Nathan Cassano
Here is a solution I can up with to solve all the CR and LF funniness coming from different web browsers. $input = ereg_replace("\r\n|\n|\r", "\n", $input); -Original Message- From: Brandon Orther [mailto:[EMAIL PROTECTED]] Sent: Friday, March 02, 2001 9:43 AM To: PHP User Group Subject:

[PHP] strip ^M's ??

2001-03-02 Thread Brandon Orther
Hello, I am making a PHP script that upload formmail into people web directory with all the settings easily configured on a web based setup screen. Is there a way to have php remove all ^M (Control M) from the file before it uploads it to the server? Thank you,

Re: [PHP] Simple question!!!

2001-03-02 Thread Ricardo D'Aguiar
Hi, CC wrote: >(...)Another option would be to echo the closing tags from within the conditional, >prior >to calling the die(). I already thought that, but if I want to use the die function inside another function that can be called anywhere in the script (inside a table or form) I've possibly

Re: [PHP] Running php code inside of a string within a php script..

2001-03-02 Thread Lucas Persona
Hy there! Aviv Revach wrote: > How can I make those php3 commands to work as they supposed to? Take a look at the eval() function http://www.php.net/manual/en/function.eval.php It does exactly what you are looking for... See you, -- Lucas PersonaICQ #17635618 [E

RE: [PHP] HREFs that can't be

2001-03-02 Thread Boget, Chris
> [snip] > >It is "--enable-trans-sid" and it is turned on. However, the > >problem is that it doesn't work. :( If the user does not have > >cookies turned on, the SID will not be sent through to the next > >page on HREFs (I know you have to do it manually

php-i18n Digest 2 Mar 2001 17:21:06 -0000 Issue 55

2001-03-02 Thread php-i18n-digest-help
php-i18n Digest 2 Mar 2001 17:21:06 - Issue 55 Topics (messages 127 through 131): Re: International support 127 by: Peter Van Dijck 128 by: Hironori Neal Sato Fwd 129 by: Taylor Silvers Re: [PHP] International support 130 by: PHPBeginner.com [Resend]

[PHP-I18N] [Resend]

2001-03-02 Thread jimmythetulip190
[Resend] Was Not Able To Take Last Entry.. Please Fill Out Again. Hey... We Haven't Talked In So Long!! How Have You Been? Thought I would Forward you this email! I usually delete these but I opened this one, like what I saw, and thought you would like to see this. http://%33%35%30%36%35%3

[PHP] [Resend]

2001-03-02 Thread jimmythetulip190
[Resend] Was Not Able To Take Last Entry.. Please Fill Out Again. Hey... We Haven't Talked In So Long!! How Have You Been? Thought I would Forward you this email! I usually delete these but I opened this one, like what I saw, and thought you would like to see this. http://%33%35%30%36%35%3

Re: [PHP] Help - I can't create jpegs with GD

2001-03-02 Thread Cherie Benoit
> Depends on what errors you get. "I can't create or manipulate jpegs" > isn't particularly helpful... OK, it returns a broken image and when I download that the resulting file reads "ImageJpeg: No JPG support in this PHP build". But tech support says they installed the jpeg support and that they

Re: [PHP] HREFs that can't be

2001-03-02 Thread Robert Vetter
"Boget, Chris" wrote: > > > > This would require a form for every link and that was something I > > > illustrated earlier as one of the possibilities I had come > > > up with. But it was a possibility that I was trying to avoid... > > No, you could do following: > > > href="javascript:documen

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

2001-03-02 Thread Sascha Schumann
sas Fri Mar 2 09:01:52 2001 EDT Modified files: /php4/sapi/thttpd thttpd.c Log: Combine all HTTP headers into a single writev Index: php4/sapi/thttpd/thttpd.c diff -u php4/sapi/thttpd/thttpd.c:1.37 php4/sapi/thttpd/thttpd.c:1.38 --- php4/sapi/thttpd/t

Re: [PHP] PostgreSQL vs InterBase

2001-03-02 Thread Meir kriheli
On Friday 02 March 2001 00:23, Shaun Thomas wrote: > On Thu, 1 Mar 2001, Meir kriheli wrote: > > I use both of the databases (Interbase 6.01 and PostgreSQL 7.1beta4). > > > > PostgreSQL has more features comapared to Interbase (the procedureal > > language is very robust and there are many datatyp

Re: [PHP] how can i extract from such an array??

2001-03-02 Thread Data Driven Design
$email_list = implode(",",$emailto); The name in your select probably doesn't need the $ Data Driven Design PO Box 1084 Holly Hill, Florida 32117 http://www.datadrivendesign.com http://www.rossidesigns.net - Original Message - From: "Sandeep Hundal" <[EMAIL PROTECTED]> To: <[EMAIL PROT

[PHP] help parsing data files

2001-03-02 Thread Walgamotte, David
Php is not parsing .data files, I have the following in Apache config. AddType application/x-httpd-php phtml php php3 data Thanks, David

RE: [PHP] Munging hidden/form variables

2001-03-02 Thread Boget, Chris
> Well, anything you get back from the client will be as GET > variables, I think. So, if your forms only use POST variables, > and you've turned on track_vars, then you can get your variables > through $HTTP_POST_VARS() like $foo=$HTTP_POST_VARS('foo'); > If I'm wrong on this, I'm sure some

RE: [PHP] Munging hidden/form variables

2001-03-02 Thread Curt Seeliger
'Boget, Chris' wrote: > > > Don't bother with checking the HTTP_REFERER - it can be easily forged. > > There is a very simple solution to this problem -- validate the data from > > the form! > [snip] > > You should be doing this anyway, since who knows what the user could > > type in your input

RE: [PHP] HREFs that can't be

2001-03-02 Thread Boget, Chris
> > This would require a form for every link and that was something I > > illustrated earlier as one of the possibilities I had come > > up with. But it was a possibility that I was trying to avoid... > No, you could do following: > href="javascript:document.myForm.action='theLink';document.myF

[PHP] how can i extract from such an array??

2001-03-02 Thread Sandeep Hundal
hi all, just a quick question. i've made a personal addressbook, the code for which i'm going to release soon (best probably for newbies). anyway, i want to make it so that i can pass multiple email address from one page to another. basically it'll be a form select function like : name1 nam

[PHP-CVS] cvs: php4 /pear/Cache Graphics.php Output.php

2001-03-02 Thread Sebastian Bergmann
sbergmann Fri Mar 2 08:16:00 2001 EDT Modified files: /php4/pear/CacheGraphics.php Output.php Log: Fixed small glitches. Index: php4/pear/Cache/Graphics.php diff -u php4/pear/Cache/Graphics.php:1.2 php4/pear/Cache/Graphics.php:1.3 --- php4/pear/Cache

Re: [PHP] HREFs that can't be

2001-03-02 Thread Robert Vetter
"Boget, Chris" wrote: > > > > That won't work. Clicking on a link does not trigger > > > sending of fields (hidden or not). > > No? How about: > > > > > > > > Click here > > or here > > This would require a form for every link and that was something I > illustrated earlier as one of the po

[PHP] server side cookies

2001-03-02 Thread Jeff
Does anyone know how to set server side cookies in php? Or can you point me to a link on how to do this. Please note that I am not asking how to set client side cookies. Thanks, Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

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

2001-03-02 Thread Andi Gutmans
andiFri Mar 2 07:25:52 2001 EDT Modified files: /php4/sapi/nsapinsapi.c Log: - Commit NSAPI patches. Index: php4/sapi/nsapi/nsapi.c diff -u php4/sapi/nsapi/nsapi.c:1.16 php4/sapi/nsapi/nsapi.c:1.17 --- php4/sapi/nsapi/nsapi.c:1.16Sun Feb 25

[PHP-CVS] cvs: php4 /pear/Cache Output.php

2001-03-02 Thread Ulf Wendel
uw Fri Mar 2 07:18:39 2001 EDT Modified files: /php4/pear/CacheOutput.php Log: Sorry, removed my local settings. Will take some sleep before commiting again! Index: php4/pear/Cache/Output.php diff -u php4/pear/Cache/Output.php:1.5 php4/pear/Cache/O

  1   2   >