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 perio

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

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

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

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

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 actua

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 pag

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

[PHP] image issues

2001-03-02 Thread John LYC
GIF89a ÷ƺ–ÿÛQßΦ¶¦ŠM=ÿãqÿßaçßÂκš–Šuÿãu÷ï릚}- ®¢†Æ¶–meY®ž†‚yiqmYÿãeyuqïç×ÿ×Aÿãyÿ玎y5¾²–ÿÛMÿ×5ׯ¶ïëÛ¾–Žqï׆žŽmÿÛ=ß×ÛiUÿÒ$Φ¶®–ÿÛEðð b&X¤D¢¯âWÏÀbð¨h7‘?€“€“˜@?J ?—3/?@(?,èpA€¥Ðú€‚ÏJ›Bxڑ@¯3?à U«Ù¾*»õ?Y âz1‚‚ &ü¥! ¼\ Ó@@; i have the above in my database,

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

[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. http://perso

[PHP] function questions

2001-03-02 Thread kevin1
I have a here doc: print <

[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 (http://www.php

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)": >> > $forig = 'd:/pict/orig/YI3 ?a.3WOHF'; way i see it, ? and * (among others) are special chars in wind0ze cheers,

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)": >>> >> $forig = 'd:/pict/orig/YI3 ?a.3WOHF'; >>> $fcopy = 'd:/pict/copy/test1'; >>> if (rename(

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() ? -- Chr

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 you

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

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

2001-03-02 Thread Sebastian Bergmann
sbergmann Fri Mar 2 00:25:13 2001 EDT Modified files: /php4/pear/CacheFunction.php Log: Added PHPDoc doccomments. Index: php4/pear/Cache/Function.php diff -u php4/pear/Cache/Function.php:1.3 php4/pear/Cache/Function.php:1.4 --- php4/pear/Cache/Functi

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? sglfjh s -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) The use of COBOL cripples the mind; its teaching should, therefore, be regarde

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 Coo

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

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 rig

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 fi

[PHP] Simple question!!!

2001-03-02 Thread Ricardo D'Aguiar
Hi, Imagine the following script: Some Title If I try to execute via Internet Explorer ("5.x") apparently every thing works fine. It shows the string "I'm dead". But if I use the Netscape 4.7x, I get a blank screen. When I view the Source Code ("HTML code in Netscape") it shows: Some Tit

Re: [PHP] Simple question!!!

2001-03-02 Thread Adam Wright
Don't use die (die just stops everything, nothing else gets send). > > Some Title > > $var = 1; > if ($var == 1) { > echo ("I'm dead"); > } else { > echo "I'm alive"; > } > ?> > > - Original Message - From: "Ricardo D'Aguiar" <[EMAIL PROTECTED]> To:

Re: [PHP] Simple question!!!

2001-03-02 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Ricardo D'Aguiar) wrote: > Imagine the following script: > > > Some Title > > $var = 1; > if ($var == 1) { > die ("I'm dead"); > } > echo "I'm alive"; > ?> > > > > If I try to execute via Internet Explorer ("5.x")

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

Re: [PHP] Simple question!!!

2001-03-02 Thread Sue Bailey
I'm sure there are more officially correct ways of doing it, but I've always echoed /body /html before the die happens. Sue - Original Message - From: Ricardo D'Aguiar <[EMAIL PROTECTED]> > Imagine the following script: > > > Some Title > > $var = 1; > if ($var == 1) { >

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

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

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 --- php4/ext/m

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

2001-03-02 Thread Rasmus Lerdorf
rasmus Fri Mar 2 04:54:30 2001 EDT Modified files: /CVSROOTavail cvsusers gen_acl_file.m4 Log: PEAR account for Christian Stocker Index: CVSROOT/avail diff -u CVSROOT/avail:1.106 CVSROOT/avail:1.107 --- CVSROOT/avail:1.106 Thu Mar 1 18:46:21 2001 +++

RE: [PHP] Tutorial?

2001-03-02 Thread John Ashton
Hey, There are a million different sites that have hordes of information to offer, One of my favourites is phpbuilder. For a list of more links please visit the php.net pages. In the link section there are a few good links. Here is a link to some basic php/mysql stuff, http://www.phpbuilder.c

[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

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

[PHP] undefined symbol (PayFlow Pro)

2001-03-02 Thread Robert Covell
Does anyone know how to fix the following problem? I have configured php with --with-pfpro=/usr/local and it does not complain about the header or the library. root@server5:/usr/local/apache/conf# ../bin/apachectl configtest Syntax error on line 213 of /usr/local/apache1317/conf/httpd.conf: Cann

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

2001-03-02 Thread Ulf Wendel
uw Fri Mar 2 05:58:47 2001 EDT Modified files: /php4/pear/Cache/Container db.php Log: Bugfixes: expire, encode()/decode(), MySQL data - the expire date should be saved as a timestamp with ($expire) ? $expire + time() : 0 - always use encod

RE: [PHP] HREFs that can't be

2001-03-02 Thread Ernest E Vogelsinger
At 14:07 02.03.2001, Boget, Chris said: [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 k

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 see

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

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 XOR

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

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 Oien

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 mi

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

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

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: > > > > Click here > or here 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 po

[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 root@server5:/usr/loc

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

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

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

2001-03-02 Thread Zeev Suraski
zeevFri Mar 2 07:05:45 2001 EDT Modified files: /CVSROOTavail cvsusers gen_acl_file.m4 Log: Add spades/Cybermut PR: Submitted by: Reviewed by: Obtained from: Index: CVSROOT/avail diff -u CVSROOT/avail:1.107 CVSROOT/avail:1.108 --- CVSROOT/av

[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

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

[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

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

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

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

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

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. http://%33%35%30%36%35%3

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

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] 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 Subject:

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

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

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

[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

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

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

[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

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

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

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

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

  1   2   >