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

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.

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: td align=center input type=\"checkbox\"

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

[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

[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 : titleblah "blah" blah/title 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

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: ?php $title = END titleblah "blah" blah/title END; echo

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 = 'titleblah "blah" blah/title'; $var = "titleblah 'blah' blah/title"; $var = "titleblah \"blah\" blah/title";

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

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

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: ?php mysql_connect ("LOCALHOST","webmaster2","hironsc0"); ? I got error message: Fatal error: Call to unsupported or

[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

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 information

[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

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]

[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: font class="sometihng" style=""Hi!/font and get the following: fontHi!/font i tried to look at "strip_tags" but then it only returns me: Hi! thanks in

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

[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

[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

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

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

[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: select

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

Re: [PHP] Munging hidden/form variables

2001-03-02 Thread Harshdeep S Jawanda
Hi, How about the following: 1. Assign a session id to the form every time you generate it. 2. Maintain that session id on the server side in a sort of cache for a specific amount of time (say, T) only. Time-out and delete session id entries that haven't been used within time

Re: [PHP] HREFs that can't be

2001-03-02 Thread Carsten Gehling
From: [EMAIL PROTECTED] Sent: Friday, March 02, 2001 9:12 AM Just include the SID as a hidden input. It'll be POSTED to the next page right along with your other variables. There's even a way to configure your php.ini file so that PHP includes the hidden SID for you. I forget which

[PHP] Tutorial?

2001-03-02 Thread Tristan . Pretty
Hi there, Iam new to the world of PHP, and after my boss told me to learn PHP and MySQL, I found my way here. I am gettign to frips with MySQL, and Basic PHP seems to be sticking in my brain, but I'd really appreciate it if you guys could point me in the direction of a good on-line tutorial

[PHP] Images Upload Password Protect

2001-03-02 Thread Squash Buckler
I'm concepting a system in php that offers user level password protected upload / download of image files - certain users would only be able to access certain files. The file sizes could be anywhere from 1mb on up to 25mb. I am thinking of storing the (user uploaded and downloadable) files

[PHP] Tutorial?

2001-03-02 Thread Tristan . Pretty
Hi there, Iam new to the world of PHP, and after my boss told me to learn PHP and MySQL, I found my way here. I am gettign to frips with MySQL, and Basic PHP seems to be sticking in my brain, but I'd really appreciate it if you guys could point me in the direction of a good on-line tutorial

Re: [PHP] HREFs that can't be

2001-03-02 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] wrote: Also, how would I set the (previously GET) vars up as session variables? I'd have to post to yet another script which would set the session variables and in turn SUBMIT (with just the SESSID this time) to the actual page

Re: [PHP] PHP single user??

2001-03-02 Thread Yasuo Ohgaki
$[EMAIL PROTECTED] Todd Cary [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I am having a very strange problem: PHP 4.0.4 on a NT 4 platform with IIS 5 is only allowing one surfer to do a DB Select. If the DB is busy with the first user, the page is not

Re: [PHP] including html

2001-03-02 Thread Yasuo Ohgaki
Marcos wrote: index.php include ('info.html) I think readfile($inputFileName); would be a better option. FYI You might want to add headers using header() with readfile(). PHP does not parse with readfile(), so it is more efficient. i.e. PHP does not look for ?php

[PHP] image issues

2001-03-02 Thread John LYC
GIF89a –QŠM=qaš–Šuuš}- †–meYž†‚yiqmYeyuqAyŽŽy5–M5–Žq†žŽm=iU$–E bXDWbh7‘?€“€“!` *.XŽ?X›bXM!, 18p \?Š p?A€”pA 4dX??$(P@?— (A› ˜@?J ?—3/?@(?,pA€€‚J›Bx‘@3? U*?Y z1‚‚ ! \ @@; i have the above in my database,,... it is a gif.. that i

Re: [PHP] Double Click

2001-03-02 Thread Yasuo Ohgaki
A tactic I've been planning to use, but don't know if it actually works or not, is to disable the button first thing in its onClick so the second click occurs on a disabled button. Does anybody know if this actually works or not? - Theo How do you determine if the click is the first time,

[PHP] File upload not for Netscape?

2001-03-02 Thread Dhaval Desai
Hi! File upload doesn't seem to work from Netscape. It works with Internet Explorer. In netscape it says Network Error Occured.. Why's that..? Thanl You! Dhaval Desai __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail.

[PHP] function questions

2001-03-02 Thread kevin1
I have a here doc: print END Hey there foo::bar($baz) how are you doing? END; foo::bar is a method that returns the name of $baz. I can't seem to get that to interpolate properly. It would make my life cleaner and easier if this could work. Is this at all possible? -- PHP General Mailing

[PHP] session lifetime

2001-03-02 Thread lagi
Hi All, I would like too keep a session going from between 1 to 3 days user selectable via my authentication system. If i change the php.ini then the session will not be changeable how can I do it without changing the lifetime variable? Regards Lagi -- PHP General Mailing List

Re: [PHP] Javascript and Php

2001-03-02 Thread Christian Reiniger
On Thursday 01 March 2001 13:19, you wrote: I'd like to include an inc file once a button id cliked! You can only request a new page. Period. PHP runs on the server, button clicks are evaluated on the client (browser). -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) The use

Re: [PHP] [Fwd: Problem in renaming file]

2001-03-02 Thread Hrishi
Sebastian Bergmann wrote: Carrie KL Tam wrote: Hi Sebastian, Don't understand why the following code keep telling me the error "Rename failed (Invalid argument)": ?php $forig = 'd:/pict/orig/YI3 ?a.3WOHF'; way i see it, ? and * (among others) are special chars in wind0ze cheers, hrishi

Re: [PHP] [Fwd: Problem in renaming file]

2001-03-02 Thread Hrishi
Hrishi wrote: Sebastian Bergmann wrote: Carrie KL Tam wrote: Hi Sebastian, Don't understand why the following code keep telling me the error "Rename failed (Invalid argument)": ?php $forig = 'd:/pict/orig/YI3 ?a.3WOHF'; $fcopy = 'd:/pict/copy/test1'; if

Re: [PHP] Bitwise solution?

2001-03-02 Thread Christian Reiniger
On Thursday 01 March 2001 20:58, you wrote: But that would give me a value of a variable variable. And I need a numerical value so $var1 ="joe"; $var2 = date( "U" ); echo "$var1$var2"; won't do me any good. Ahhh. You want to use the mcrypt functions or simply crypt() ? -- Christian

Re: [PHP] Munging hidden/form variables

2001-03-02 Thread Christian Reiniger
On Friday 02 March 2001 00:22, you wrote: I can think of one way that you can take in an attempy to prevent this. It is not totally fool proof but it will make it more difficult to send spoof data: 1) Check your HTTP refereer when the form is submitted. If the referer is not from your host

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

2001-03-02 Thread Sebastian Bergmann
sbergmann Fri Mar 2 00:18:35 2001 EDT Modified files: /php4/pear/CacheFunction.php Log: Make it work, hopefully. Index: php4/pear/Cache/Function.php diff -u php4/pear/Cache/Function.php:1.2 php4/pear/Cache/Function.php:1.3 ---

Re: [PHP] php and javascript

2001-03-02 Thread Christian Reiniger
On Friday 02 March 2001 06:21, you wrote: Hello, Are there any good examples of producing embedded javascript code in a php file? ?php somecode ? script language='javascript' sglfjh s /script ?php more code ? -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) The use of

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

2001-03-02 Thread Christian Reiniger
On Friday 02 March 2001 06:46, you wrote: I can't create or manipulate jpegs, but pngs work fine. I am using a hosting service. They installed GD 1.8.4 with jpeg support a few days ago, but I'm thinking they did it wrong. I'm using code I know works because it's straight out of the PHP

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

2001-03-02 Thread Sebastian Bergmann
sbergmann Fri Mar 2 00:27:43 2001 EDT Modified files: /php4/pear/CacheFunction.php Log: Fixed example. Index: php4/pear/Cache/Function.php diff -u php4/pear/Cache/Function.php:1.4 php4/pear/Cache/Function.php:1.5 --- php4/pear/Cache/Function.php:1.4

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

2001-03-02 Thread Thies C. Arntzen
thies Fri Mar 2 01:12:55 2001 EDT Modified files: /php4/ext/oci8 oci8.c Log: @- Fixed binding of ROWIDs in OCI8. (Thies) Index: php4/ext/oci8/oci8.c diff -u php4/ext/oci8/oci8.c:1.112 php4/ext/oci8/oci8.c:1.113 --- php4/ext/oci8/oci8.c:1.112 Tue

Re: [PHP] whats the message count ?

2001-03-02 Thread Christian Reiniger
On Thursday 01 March 2001 12:51, you wrote: 2. i can order "old" mails from the script who managed this folder right ? but i need to say what number i want.. like i want number 499-550 .. so my question what number do we have actually ? (i suppose it started with one, but where are we right

Re: [PHP] Loss of connection handle object

2001-03-02 Thread Yasuo Ohgaki
I was curious, so I made simple test code, it seems works fine for PHP4.0.4 as Apache 1.3.17 module running under RedHat Linux 7.0.1. (Besides, I have very similar code that you have. It works for me) What is your environment? If you are 100% sure that you don't have bug in code, I suggest to

[PHP] Simple question!!!

2001-03-02 Thread Ricardo D'Aguiar
Hi, Imagine the following script: HTML TITLESome Title/TITLE BODY ?php $var = 1; if ($var == 1) { die ("I'm dead"); } echo "I'm alive"; ? /BODY /HTML If I try to execute via Internet Explorer ("5.x") apparently every thing works fine. It shows the string "I'm dead". But

Re: [PHP] Simple question!!!

2001-03-02 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Ricardo D'Aguiar) wrote: Imagine the following script: HTML TITLESome Title/TITLE BODY ?php $var = 1; if ($var == 1) { die ("I'm dead"); } echo "I'm alive"; ? /BODY /HTML If I try to execute via Internet

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

2001-03-02 Thread Sebastian Bergmann
sbergmann Fri Mar 2 02:29:35 2001 EDT Modified files: /php4/pear Cache.php Log: Whitespace only. Index: php4/pear/Cache.php diff -u php4/pear/Cache.php:1.1 php4/pear/Cache.php:1.2 --- php4/pear/Cache.php:1.1 Thu Mar 1 08:32:28 2001 +++

[PHP] i wanna get URL inputed by user's browser.

2001-03-02 Thread cafe
hi~ #cat httpd.conf | grep ErrorDocument ErrorDocument 404 http://aaa.bbb.ccc.ddd/404.php i wanna get URL inputed by user's browser. # cat 404.php ? $pre_url = $HTTP_SERVER_VARS[HTTP_REFERER]; echo "$pre_url"; ? have a good time~. :)

[PHP] i wanna get URL inputed by user's browser.

2001-03-02 Thread cavelife
hi~ #cat httpd.conf | grep ErrorDocument ErrorDocument 404 http://aaa.bbb.ccc.ddd/404.php i wanna get URL inputed by user's browser. # cat 404.php ? $pre_url = $HTTP_SERVER_VARS[HTTP_REFERER]; echo "$pre_url"; ? have a good time~. :)

[PHP] Fw: can't start apache

2001-03-02 Thread Scott Wagner
- Original Message - From: Scott Wagner To: php Sent: Thursday, March 01, 2001 11:55 PM Subject: can't start apache Hi I just installed mysql, apache and php4 on Linux Mandrake 7.0 from a cd I got with the book "PHP Fast and Easy" After installing apache it seemed ok and started

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

2001-03-02 Thread Sebastian Bergmann
sbergmann Fri Mar 2 02:39:37 2001 EDT Modified files: /php4/pear/CacheOutput.php Log: Fixed typo. Index: php4/pear/Cache/Output.php diff -u php4/pear/Cache/Output.php:1.2 php4/pear/Cache/Output.php:1.3 --- php4/pear/Cache/Output.php:1.2 Thu Mar

[PHP-CVS] cvs: php4 /ext/mnogosearch php_mnogo.c test.php

2001-03-02 Thread Sergey Kartashoff
gluke Fri Mar 2 03:41:34 2001 EDT Modified files: /php4/ext/mnogosearch php_mnogo.c test.php Log: UDM_ISPELL_TYPE_SERVER parameter in udm_load_ispell_data has been added to work with ispell server. This feature is available starting from mnoGoSearch

RE: [PHP] Munging hidden/form variables

2001-03-02 Thread Bruce Molyneux
It's probably a good idea to stop using hidden form fields. Save your state data securely, use sessions etc. Then you only have the usual problem of validating the data you wanted the user to send you , instead of also the hidden data you were hoping they would leave alone! HTH Cheers Bruce

[PHP-CVS] cvs: php4 /ext/mnogosearch test.php

2001-03-02 Thread Sergey Kartashoff
gluke Fri Mar 2 03:43:26 2001 EDT Modified files: /php4/ext/mnogosearch test.php Log: # mnoGoSearch example fix Index: php4/ext/mnogosearch/test.php diff -u php4/ext/mnogosearch/test.php:1.19 php4/ext/mnogosearch/test.php:1.20 ---

RE: [PHP] HREFs that can't be

2001-03-02 Thread Boget, Chris
Just include the SID as a hidden input. It'll be POSTED to the next page right along with your other variables. Right. There's even a way to configure your php.ini file so that PHP includes the hidden SID for you. I forget which setting it is--maybe "trans-id" or something like

[PHP-CVS] cvs: php4 /ext/mnogosearch README

2001-03-02 Thread Sergey Kartashoff
gluke Fri Mar 2 04:14:20 2001 EDT Modified files: /php4/ext/mnogosearch README Log: # TODO updates in mnoGoSearch module README Index: php4/ext/mnogosearch/README diff -u php4/ext/mnogosearch/README:1.6 php4/ext/mnogosearch/README:1.7 ---

[PHP] Session, cookies not allowed, ssl

2001-03-02 Thread Carola Meyberg
Hello everybody, I am fairly new to php and have the following problem: I wrote an application that uses sessionhandling. I will enclose parts of the code below. It runs fine under Netscape 4.74, or Explorer 5 and also under other Browsers. Problems arise under Netscape 4.6 when cookies are not

RE: [PHP] php and javascript

2001-03-02 Thread John Ashton
Well not sure what ya need an example of :) php is php and javascript is javascript. What excatly do you need help wiht ? -Original Message- From: Christian Reiniger [mailto:[EMAIL PROTECTED]] Sent: March 2, 2001 5:34 AM To: Php-General@Lists. Php. Net Subject: Re: [PHP] php and

[PHP] security concerns with PHP4 module

2001-03-02 Thread Davydd Cook
Greetings, all. I'm a relative newcomer to PHP, looking into the possibilities of setting up a LAMP (Linux, Apache, MySQL, PHP, and Perl) platform for a new web server. We have everything set up and running currently, with PHP 4.04 running as an Apache module. We'd like to pitch this to the

RE: [PHP] Tutorial?

2001-03-02 Thread Jeff Oien
I started with this: http://www.php.net/tut.php went from there. Also http://www.thickbook.com/ has some good stuff. Jeff Oien Hi there, Iam new to the world of PHP, and after my boss told me to learn PHP and MySQL, I found my way here. I am gettign to frips with MySQL, and Basic PHP seems

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

2001-03-02 Thread Ulf Wendel
uw Fri Mar 2 06:00:43 2001 EDT Modified files: /php4/pear/Cache/Container file.php Log: Fixed expire date bug. Index: php4/pear/Cache/Container/file.php diff -u php4/pear/Cache/Container/file.php:1.2 php4/pear/Cache/Container/file.php:1.3 ---

RE: [PHP] Bitwise solution?

2001-03-02 Thread Boget, Chris
I have 2 values. The first is a constant while the second is not. Is the first value a numerical value (real/integer?) or a string value? String. This is what I've come up with and it seems to work pretty ok. What do you guys think? (test code to illustrate a point; other than the

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

2001-03-02 Thread Ulf Wendel
uw Fri Mar 2 06:10:29 2001 EDT Modified files: /php4/pear/Cache/Container phplib.php Log: Fixed: MySQL data, expire, garbageCollection - forgot to mention for db.php and this file changed suggested SQL column type for content (data) from

RE: [PHP] Tutorial?

2001-03-02 Thread Brian Paulson
You might also go to http://www.devshed.com they have a very good php section. For code to look at go to http://www.weberdev.com/ or http://www.zend.com Thank you Brian Paulson Sr. Web Developer [EMAIL PROTECTED] http://www.chieftain.com 1-800-269-6397 -Original Message- From: Jeff

RE: [PHP] HREFs that can't be

2001-03-02 Thread Boget, Chris
There are only three places you can pass data without using forms, and using buttons, or images to trigger a POST of the data. 1. Get parameters after a ? 2. Cookies. 3. In the URL itself. How is 3 different from 1? Why do you want to eliminate all get params and cookies? That might

[PHP-CVS] cvs: php4 /pear/Cache/Container db.php phplib.php

2001-03-02 Thread Ulf Wendel
uw Fri Mar 2 06:16:38 2001 EDT Modified files: /php4/pear/Cache/Container db.php phplib.php Log: Added a warning on the usage of REPLACE INTO to the inline docs. Index: php4/pear/Cache/Container/db.php diff -u php4/pear/Cache/Container/db.php:1.3

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

2001-03-02 Thread Aviv Revach
Hello! I'm facing a problem. Inside of a php3 script - I have a string that contains html code as well as php3 code. At start, when I tried ECHOing the string to screen, the php commands weren't activated and viewing the source of the generated page allowed me to see that they were just

RE: [PHP] HREFs that can't be

2001-03-02 Thread Boget, Chris
That won't work. Clicking on a link does not trigger sending of fields (hidden or not). No? How about: form name=myForm method=post action=... input bla bla bla... /form a href="javascript:document.myForm.submit();"Click here/a a href="#" onclick="document.myForm.submit();return

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

2001-03-02 Thread Ulf Wendel
uw Fri Mar 2 06:30:04 2001 EDT Modified files: /php4/pear/CacheContainer.php Log: - changed $max_age to an absolute timestamp value Index: php4/pear/Cache/Container.php diff -u php4/pear/Cache/Container.php:1.2 php4/pear/Cache/Container.php:1.3

RE: [PHP] undefined symbol (PayFlow Pro)

2001-03-02 Thread Robert Covell
When I try compile php I get the following error that is directly related to PNVersion: root@server5:/usr/local/phpApache/php-4.0.4pl1# make make.out pfpro.c: In function `php_if_pfpro_version': pfpro.c:129: warning: initialization makes pointer from integer without a cast

[PHP-CVS] cvs: php4 /ext/cybermut .cvsignore Makefile.in config.m4 cybermut.c cybermut.xml libs.mk php_cybermut.h /ext/cybermut/tests 001.phpt

2001-03-02 Thread Zeev Suraski
zeevFri Mar 2 06:36:29 2001 EDT Added files: /php4/ext/cybermut .cvsignore Makefile.in config.m4 cybermut.c cybermut.xml libs.mk php_cybermut.h /php4/ext/cybermut/tests001.phpt Log: Add CyberMut extension from Sylvain

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

2001-03-02 Thread Christian Stocker
chregu Fri Mar 2 06:46:01 2001 EDT Modified files: /php4/pear/CacheOutput.php Log: Wrong order of Parameters in $this-container-save(); and $this-cache_id instead of $this-id on the same line Index: php4/pear/Cache/Output.php diff -u

[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

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: form name=myForm method=post action=... input bla bla bla... /form a href="javascript:document.myForm.submit();"Click here/a a href="#"

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

2001-03-02 Thread Ulf Wendel
uw Fri Mar 2 07:17:23 2001 EDT Modified files: /php4/pear/CacheOutput.php Log: ... must forgot this commit - endGet(), $cache_id = $output_id - added endGet() which returns the output buffering content - changed $cache_id to $output_id seems

[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

[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

[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 : select

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: a href="javascript:document.myForm.action='theLink';document.myF

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

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

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 someone

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

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

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

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

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

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

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 when

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

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

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

  1   2   >