[PHP] file deletions ....

2001-03-28 Thread Steve Brett
hi, i need to delete files in my web folder so i can 'tidy' them up. i have a username and password that has ftp access and so far i've tried system(), unlink() and setting up an ftp connection (they use php 4.03 whihc seems to have ftp access closed). i have no problem listing the files i want

Re: [PHP] GZip + NS + Print = Trouble

2001-03-28 Thread Renze Munnik
Thanks for bringing up this solution. However... I already thought of this option myself. Problem, though, is that _ALL_ my pages should be printable. Maybe a very small number of pages will not have to be printable, but those are so small that the compression isn't realy necesary. Besides that I

Re: [PHP] how can I set up session

2001-03-28 Thread elias
I don't think PHP3 support sessions variables. but if you want a tricky but working solution to pass variables from page to page try this: file1.php html .you file is here... form name="myform" method="post" action="file2.php" input type=hidden name="name" value="foo" /form script // this

Re: [PHP] file deletions ....

2001-03-28 Thread Phil Driscoll
Steve unlink works fine for me (on my nt boxes) providing the anonymous web user has permission to delete the files. Note that under IIS and possibly PWS, the damn server keeps files open for a few minutes after it has served them up, and consequently nobody can delete or modify the files during

[PHP-CVS] cvs: php4(PHP_4_0_5) /ext/standard file.c

2001-03-28 Thread Romolo Manfredini
romolo Wed Mar 28 01:01:28 2001 EDT Modified files: (Branch: PHP_4_0_5) /php4/ext/standard file.c Log: Safe mode check for target introduced in function copy. Pls insert in 4_0_5 Index: php4/ext/standard/file.c diff -u php4/ext/standard/file.c:1.148

Re: [PHP] file deletions ....

2001-03-28 Thread Steve Brett
""Phil Driscoll"" [EMAIL PROTECTED] wrote in message 001201c0b768$60da60a0$0c81@philsntserver">news:001201c0b768$60da60a0$0c81@philsntserver... Steve unlink works fine for me (on my nt boxes) providing the anonymous web user has permission to delete the files. Note that under IIS and

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

2001-03-28 Thread Romolo Manfredini
romolo Wed Mar 28 01:05:50 2001 EDT Modified files: (Branch: PHP_4_0_5) /php4/ext/standard basic_functions.c Log: Safe mode check on target introduced in function move_uploaded_file. Index: php4/ext/standard/basic_functions.c diff -u

[PHP] comparing dates works sometimes and fails another time!

2001-03-28 Thread kaab kaoutar
Hi! $date1="2001-1-7";$date2="2001-1-14"; if ($date1=$date2) echo "date1 is greater then date2"; else echo "date2 is greater then date1"; the result is the first :( but it works for other dates! Thanks _ Get Your Private,

[PHP-CVS] cvs: php4 /pear/Experimental/Image color_helper.php

2001-03-28 Thread Ulf Wendel
uw Wed Mar 28 01:51:11 2001 EDT Added files: /php4/pear/Experimental/Image color_helper.php Log: Widget functions to deal with colors when creating images. I'm not sure where I should place this, lets wait for the next classes (gtext,

[PHP] odd

2001-03-28 Thread Andrius Lokotash
Hi. It seems that PHP don't clean up it's temporary session files, is this a "feature" or bug? PHP versions used 4.0.1pl1 to 4.0.4-pl1 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

Re: [PHP] Blah I'm Stupid

2001-03-28 Thread Christian Reiniger
On Wednesday 28 March 2001 07:17, you wrote: ok here's the script i have, and i keep getting errors ? $fp = fopen("file.txt", "w"); $fp = fputs("file.txt", "a href=\"$url\"$text/abr", "r+"); $fp = fclose("file.txt"); re-read the documentation of these functions. -- Christian Reiniger

Re: [PHP] Curious

2001-03-28 Thread Christian Reiniger
On Wednesday 28 March 2001 08:18, you wrote: in general, I avoid using quotes where possible (such as in the following) font size=3 face=Arial (instead of font size=\"3\" face=\"Arial\") Remember that XHTML *requires* quotes around every attribute value. -- Christian Reiniger LGDC

[PHP] session handling

2001-03-28 Thread \[Inf\] F!RE-WALL
Every time I want to initiate a session i get this: Warning: open(/tmp\sess_b18426d4011c38e033bd0ed54bd2d2f1, O_RDWR) failed: m (2) in e:\webserver\phptest\page1.php on line 2 Warning: open(/tmp\sess_b18426d4011c38e033bd0ed54bd2d2f1, O_RDWR) failed: m (2) in Unknown on line 0 Warning: Failed

Re: [PHP] Passing Special Characters in Query String

2001-03-28 Thread Christian Reiniger
On Wednesday 28 March 2001 08:36, you wrote: I'm facing a problem with Special Characters ($, %, , \, /, ;, :, ", ') etc.. We are sending a varibale in a query string like this a href="add_pro_team.php3?title=? echo urlencode($title) ?" try rawurlencode() -- Christian Reiniger LGDC

Re: [PHP] comparing dates works sometimes and fails another time!

2001-03-28 Thread Renze Munnik
If you _do_ want to use this method for comparing dates (which isn't realy a usual way of doing it... there date-functions) you should fill up with leading 0's, like: $date1="2001-01-07"; $date2="2001-01-14"; The reason is _very_ simple... You performing a text-compare here. And let's face

RE: [PHP] session handling

2001-03-28 Thread Andrius Lokotash
if you use windows then paht myst be c:\tmp or somthing like that. the difference between unix windows systems are directory adressing symbols, unix uses / windows on the oder hand \, fix this in php.ini and it will work -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [PHP] JavaScript and Submit

2001-03-28 Thread Renze Munnik
Ehhh... do you want to have them all go to the same page after a submit? With real submit buttons: If you don't, you can just change the 'action' of your form at the moment that someone pushes one of the submit-buttons. With 'fake' submit buttons: Otherwise (if they all have to go to the same

Re: [PHP] session handling

2001-03-28 Thread \[Inf\] F!RE-WALL
thanx m8 IT WORKS ""Andrius Lokotash"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... if you use windows then paht myst be c:\tmp or somthing like that. the difference between unix windows systems are directory adressing symbols, unix uses / windows on the

[PHP] FTP without FTP module

2001-03-28 Thread Mauro Biraghi
How can I do FTP without FTP module? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] About php

2001-03-28 Thread vishak tomy
Hello, I have a doubt about multi select from drop down, if i set it as select name="number[]" then how could I check it for javascript validation. for this select, If any alternative for this please inform me. Vishak

Re: [PHP] Help with Posting Data

2001-03-28 Thread Tobias Talltorp
Sorry, a post MUST come from the client. The only way I know, is to use JavaScript for this... // Tobias ""Peter Phillips"" [EMAIL PROTECTED] wrote in message 99p6a2$vou$[EMAIL PROTECTED]">news:99p6a2$vou$[EMAIL PROTECTED]... Hi, I need a way to POST data to another script on another server,

Re: [PHP-CVS] cvs: php4 /pear/Experimental/Image color_helper.php

2001-03-28 Thread Mika Tuupola
On Wed, 28 Mar 2001, Ulf Wendel wrote: I'm not sure where I should place this, lets wait for the next classes (gtext, gbutton) before we take care on the correct directory structure so we can see if it's worth it's own directory. There is allready the Image folder in PEAR.

Re: [PHP] odd

2001-03-28 Thread Yasuo Ohgaki
What is your session.gc_probability session.gc_maxlifetime Garbage collection is affected by these. Garbage collection will not be performed unless someone is using session and garbage collection is performed. So answer to your question is it is PHP4 session restriction that PHP does not delete

Re: [PHP] odd

2001-03-28 Thread Felix Kronlage
On Wed, Mar 28, 2001 at 12:03:55PM +0200, Andrius Lokotash wrote: It seems that PHP don't clean up it's temporary session files, is this a "feature" or bug? it cleans them in certain intervals. from php.ini: |session.gc_maxlifetime= 1440; after this number of seconds, stored |

Re: [PHP] Caller's Line number?

2001-03-28 Thread Yasuo Ohgaki
Not sure what you really mean. __LINE__ contains current line number in the script wherever it is used. So if you want caller's line number function foo($line) { echo 'Line number: '. $line; } foo(__LINE__); You can get the caller's line number. (Line number of foo(__LINE__);) Regards, --

[PHP] Cookie not getting set in IE 5 but no problem in Netscape

2001-03-28 Thread Floyd Piedad
My program works really well with Netscape. But with some Internet Explorer installs, the cookie does not get remembered? I already set the Security options to Allow Cookies (both). When I set it to prompted, it even asked me if I wanted to accept the cookie, replied yes, but still the cookie

RE: [PHP] Post but not Post

2001-03-28 Thread Maxim Maletsky
no other way. Unless you identify the user somehow VERY WELL, write the staff into the file, and then read the file on other page. But, basically - the values are being passed with - urls, forms, cookies, sessions (still cookies or urls). No other ways are out there. Let me know if you'll find

[PHP] MySQL Schema

2001-03-28 Thread KPortsmout
Hi, Is there any way in PHP to print out the schema of my database tables? Cheers Ade -- 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] MySQL Schema

2001-03-28 Thread elias
Hmmhow you mean schema? you can always list all databases then recurse into tables and fields and display them as however you want! see: mysql_list_dbs(), mysql_list_fields(), mysql_list_tables() [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, Is there

Re: [PHP] Caller's Line number?

2001-03-28 Thread elias
Look at this example: 1: 2: write_debug_string("i'm here"); 3: 4: 5: write_debug_string("now i'm here"); 6: function write_debug_string($message) { echo sprintf("[DEBUG AT LINE %d] %s", get_callers_line(), $message); } this should output: [DEBUG AT LINE 2]: i'm here [DEBUG AT LINE 5]: now

Re: [PHP-I18N] Jstring does'nt seemed to be working,,,

2001-03-28 Thread Yasuo Ohgaki
I guess you are using jstring as shared lib. (I was compiled in my PHP4.0.4pl1, but I'm using it as shared lib now) My modules are working fine with my Apache1.3.17/PHP4.0.4pl1 on Linux. Most likely your jstring.so is not located as PHP expects. Where did you put it? -- Yasuo Ohgaki "Tatsuro

Re: [PHP] comparing dates works sometimes and fails another time!

2001-03-28 Thread elias
What are appropriate functions to do Date and Time comparison? like: Date difference Date Comparison? Adding 'n' days to current date string value, Removing 'n' month, etc. Where can i find the date integer enconding used in PHP? Like i know how it's done in Delphi (as stored as a

Re: [PHP] FTP without FTP module

2001-03-28 Thread elias
Maybe you can try implementing the RFC of the FTP. Using plain socket functions, reading, receivingwriting good luck. ""Mauro Biraghi"" [EMAIL PROTECTED] wrote in message 99se7u$906$[EMAIL PROTECTED]">news:99se7u$906$[EMAIL PROTECTED]... How can I do FTP without FTP module?

[PHP] custody

2001-03-28 Thread Theo Richel
For a dutch organisation of fathers with custody/visitation problems I run a 2000+ records database of newspaper clippings under Mysql/PHP. We are very much in need of a PHP-script to regulate access to the database (for data entry) with passwords and store the user-id's in the database. Are

Re: [PHP] Post but not Post

2001-03-28 Thread elias
Maxim, I just want them to be passed same as if passed via a form with a POST method. can i simulate the POST? Like i tried to put then in the $HTTP_POST_VARS[] but ofcourse, won't be for any good, unless...hmm... i never tried it though, and i have no good knowledge about it, but here's my

Re: [PHP] About php

2001-03-28 Thread elias
Please re-phrase, i might be able to help you. give me an example too. "vishak tomy" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello, I have a doubt about multi select from drop down, if i set it as select name="number[]" then how could I check it

Re: [PHP] About php

2001-03-28 Thread Pavel Kalian
You can only reference such elements using it's indexes in javascript. try formName.elements[3].value //(replace 3 with the index of your select) Pavel "vishak tomy" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello, I have a doubt about multi

Re: [PHP-I18N] International support

2001-03-28 Thread Yasuo Ohgaki
Sorry for really late reply to the message. I didn't notice. "Hironori Neal Sato" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... (I'm only cc'ing to php-i18n) On Thu, Feb 22, 2001 at 10:22:37AM -0800, Soma Interesting wrote: I'm currently working a project

[PHP] Is there way how to get line number from which function was called ???

2001-03-28 Thread Milan Mlynarcik
Is there way how to get line number from which function was called ??? Milan Mlynarcik -- 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-CVS] cvs: php4 /pear/Experimental/Image gtext.php

2001-03-28 Thread Ulf Wendel
uw Wed Mar 28 04:48:36 2001 EDT Added files: /php4/pear/Experimental/Image gtext.php Log: Creates graphical text images using Cache/Graphics. Although it's unlikely that the API will changed use it with care some features seen to be broken

[PHP] Active-X

2001-03-28 Thread AJDIN BRANDIC
Off topic but does anyone know how to detect if user/visitor has ActiveX OFF and if so then load a designated page. I had a few complaints that they cannot view my menu (done in flash) so I want to display a simple version of my menu for people with ActiveX OFF. Thanks Ajdin -- PHP General

Re: [PHP] Active-X

2001-03-28 Thread elias
I think JavaScript can, / document.plugins property check it out. "AJDIN BRANDIC" [EMAIL PROTECTED] wrote in message Pine.OSF.3.91.1010328135544.29822A-10@leofric">news:Pine.OSF.3.91.1010328135544.29822A-10@leofric... Off topic but does anyone know how to detect if user/visitor has

RE: [PHP] Is there way how to get line number from which function was called ???

2001-03-28 Thread Neil Kimber
No. You could pass the constant __LINE__ to your function, but I assume that you want this feature to be generically available within all functions. If you really want to be able to track your call-stack then you'd be better off using a development environment like the Zend IDE and debugger.

[PHP] POP3 read raw message

2001-03-28 Thread Miguel Carvalho
I'm sorry if this article has already been discussed in the list, but i have searched the list archives and www.facts.com with no luck. Is it possible to get a message( using IMAP/POP functions ) from a pop server in a raw format ( say, without being parsed , as an array of bytes)? I just want

[PHP] php or phtml???

2001-03-28 Thread Costas
when should i use .php and when should i use .phtml. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] php or phtml???

2001-03-28 Thread elias
Always use PHP, phtml are depreciated. ""Costas"" [EMAIL PROTECTED] wrote in message 99spad$qbq$[EMAIL PROTECTED]">news:99spad$qbq$[EMAIL PROTECTED]... when should i use .php and when should i use .phtml. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

RE: [PHP] php or phtml???

2001-03-28 Thread Tyler Longren
It doesn't really matter. Use whatever you think looks cooler. Tyler -Original Message- From: Costas [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 28, 2001 7:53 AM To: [EMAIL PROTECTED] Subject: [PHP] php or phtml??? when should i use .php and when should i use .phtml. Thanks

Re: [PHP] Active-X

2001-03-28 Thread AJDIN BRANDIC
Thanks Elias but have you got a url that I could look at. I have tried www.javascript.com and www.javascripts.com but could not find anything. Ajdin On Wed, 28 Mar 2001, elias wrote: I think JavaScript can, / document.plugins property check it out. "AJDIN BRANDIC" [EMAIL PROTECTED]

RE: [PHP] php or phtml???

2001-03-28 Thread Jon Haworth
Whenever you're working on a server that only parses .php as PHP files, you should use .php. Whenever you're working on a server that only parses .phtml as PHP files, you should use .phtml. If you run your own server, or your server parses both .php and .phtml, you can use either. HTH Jon

RE: [PHP] php or phtml???

2001-03-28 Thread Dominick Vansevenant
You can even use .html ; It just depends on what you make the PHP engine trigger in the config file. D. -Original Message- From: elias [mailto:[EMAIL PROTECTED]] Sent: donderdag 29 maart 2001 2:57 To: [EMAIL PROTECTED] Subject: Re: [PHP] php or phtml??? Always use PHP, phtml are

Re: [PHP] JavaScript and Submit

2001-03-28 Thread elias
Exactly, that how i'm doing at the moment, adding a hidden form that get changed after the onclick event of any of my fake submit buttons and even my a href="#" objects. "Renze Munnik" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Ehhh... do you want to have

[PHP] unix system

2001-03-28 Thread Scott Novinger
what are the minimum hardware requirements one would suggest for setting up a web server running php, mysql, and apache? thank you, scott [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] Is there way how to get line number from which function was called ???

2001-03-28 Thread elias
Thanks. That was an answer to my post with this subject: "[PHP] Caller's Line number?" Can you answer too my last question in that post? ""Neil Kimber"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... No. You could pass the constant __LINE__ to your function,

RE: [PHP] unix system

2001-03-28 Thread Dominick Vansevenant
Presumed on unix or windows? For testing/educational purposes, an old Pentium 133 with 32MB or 64MB memory is enough but you will see the difference with a faster machine especially with larger scripts. D. -Original Message- From: Scott Novinger [mailto:[EMAIL PROTECTED]] Sent:

Re: [PHP] Active-X

2001-03-28 Thread elias
http://www.asphyxia.com/PHP_BD/PHPClientSniffer.phps try it, that's all i got... "AJDIN BRANDIC" [EMAIL PROTECTED] wrote in message Pine.OSF.3.91.1010328144458.29822C-10@leofric">news:Pine.OSF.3.91.1010328144458.29822C-10@leofric... Thanks Elias but have you got a url that I could look

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

2001-03-28 Thread Ulf Wendel
uw Wed Mar 28 04:58:24 2001 EDT Added files: /php4/pear/HTML Menu.php Log: Moved menu.php to the stable code. I didn't get any bug reports and it works for me... Index: php4/pear/HTML/Menu.php +++ php4/pear/HTML/Menu.php ?php // //

[PHP] removing $HTTP_POST_VARS

2001-03-28 Thread Matt Williams
Hi Is there a way I can remove all the values of $HTTP_POST_VARS? I'm trying to check where a form has been posted from and if it's not the right plac I want to remove all the post vars so they can't any damage. I've tried unset($HTTP_POST_VARS) but it doesn't seem to do anything. TIA M@

[PHP-CVS] cvs: php4 /pear/Experimental/HTML Menu.php

2001-03-28 Thread Ulf Wendel
uw Wed Mar 28 04:58:58 2001 EDT Removed files: /php4/pear/Experimental/HTMLMenu.php Log: Moved it to the stable code. -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[PHP-CVS] cvs: php4 /pear/Experimental/Image gbutton.php

2001-03-28 Thread Ulf Wendel
uw Wed Mar 28 05:07:16 2001 EDT Added files: /php4/pear/Experimental/Image gbutton.php Log: Very much the same like gtext but this one can be used to render graphical buttons. Index: php4/pear/Experimental/Image/gbutton.php +++

Re: [PHP] removing $HTTP_POST_VARS

2001-03-28 Thread Jon Rosenberg
You could just check the referrer, as pseudo-code below shows. if refferer is not valid{ exit; } else{ do my stuff; } - Original Message - From: "Matt Williams" [EMAIL PROTECTED] To: "PHP General List" [EMAIL PROTECTED] Sent: Wednesday, March 28, 2001 9:20 AM Subject: [PHP]

Re: [PHP] GZip + NS + Print = Trouble

2001-03-28 Thread Michael Kimsal
If you're using a templating system of some sort, if should be pretty easy to check the USER_AGENT and only compress if it's IE. Or NOT compress is it's NS. That's about the only way to do it easily that I can think of, and we're planning on implementing. rant mode="on" I WANT to like

[PHP-CVS] cvs: php4 /pear/Experimental/Image gtext.php

2001-03-28 Thread Ulf Wendel
uw Wed Mar 28 05:56:35 2001 EDT Modified files: /php4/pear/Experimental/Image gtext.php Log: - fixed the vertical alignment bug Index: php4/pear/Experimental/Image/gtext.php diff -u php4/pear/Experimental/Image/gtext.php:1.1

RE: [PHP] Sessions to password protect directory?

2001-03-28 Thread PHPBeginner.com
No, it won't. This is for PHP files only. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Kyutums [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 28, 2001 5:25 PM To:

Re: [PHP] Active-X

2001-03-28 Thread Adrian Murphy
allegedly this works,but i haven't tried it and can't remember where i got it but i used google,of course: object classid="clsid:D27CDB6E-AE6D-11cf-96B8-44455354" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0 ,0" id=ebusiness width=191 height=174

Re: [PHP] GZip + NS + Print = Trouble

2001-03-28 Thread Renze Munnik
A well... what shall I say. I have to agree with you _A LOT_!!! Netscape ruled, but doesn't anymore. It's a damn shame. They pretty much stick to the standards (which I like very much) but the program (browser) is f*cked up. Anyway... My pages contain some tables about three within each other.

[PHP] pattern match help

2001-03-28 Thread Costas
$str = "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"; I need to fetch the 5th charcter after ".compatible; M" in $str (ie '5'). - The following gets me the fifth character along (ie 'l') $variable = substr ($str, 5, 1); How do i tell the substr to start counting from

[PHP] Re: $myfile[$count]_type?!

2001-03-28 Thread Daniel B I
There is an easy way :) Here you have it, man! use instead: $myfile_type[$count] !!! (would you have hought about that?!) Daniel BI Why can't I do $myfile[$count]_type?! What schould I do instead? - Fredrik A. Takle [EMAIL PROTECTED] -- PHP General

[PHP] mailing-list-log-on

2001-03-28 Thread MMATTES
IT-Services and Solutions GmbHbusiness unit: e-security IBM Global Services Company Phone : +49-221-304-2738 or -2561, FAX: -2518 Gustav-Heinemann-Ufer 120-122, D-50968 Kln e-mail: [EMAIL PROTECTED] -- PHP General Mailing List

[PHP] install-problem

2001-03-28 Thread MMATTES
Hello People, I want to install the version php-4.0.4pl1 on to a RS/6000 with AIX4.3.3. IBM HTTP Server 1.3.12.0 When I use the configure-script with several parameters I get the outpout you can see in the attachment. (See attached file: configure_command.txt) Thanks for help Markus

Re: [PHP] Passing Special Characters in Query String

2001-03-28 Thread Thomas Edison Jr.
I've tried everything : rawurlencode, urldecode, htmlentities, htmlspecialchars - nothing is working. and come 2 think of it - it seems like such a basic problem... Help! T. Edison jr. --- Christian Reiniger [EMAIL PROTECTED] wrote: On Wednesday 28 March 2001 08:36, you wrote: I'm facing a

[PHP] Q: php.ini

2001-03-28 Thread Joe Rice
Hi, I made a change to my php.ini and phpinfo() doesn't reflect the change? i set sendmail_path = "/usr/lib/sendmail -OIgnoreDots -t" and phpinfo() still shows the default sendmail_path = "/usr/lib/sendmail -t -i" how can i get this to work correctly? Thanks, joe Web

[PHP] Problems of conversion with strftime()

2001-03-28 Thread Evelio Martinez
? setlocale("LC_ALL","es_ES"); $fecha = date("d-m-Y"); print $fecha ." br";- 28-03-2001 ok $fecha = "2001-03-28 18:22:00"; print (date("d m Y H:i:s",$fecha)) ."br";-01 01 1970 01:33:21wrong print (date("Y m d

RE: [PHP] Q: php.ini

2001-03-28 Thread Cal Evans
Did you bounce Apache after saving the change? Cal http://www.calevans.com -Original Message- From: Joe Rice [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 28, 2001 10:34 AM To: [EMAIL PROTECTED] Subject: [PHP] Q: php.ini Hi, I made a change to my php.ini and phpinfo()

Re: [PHP] Q: php.ini

2001-03-28 Thread Jon Rosenberg
You need to restart your web server (apache, most likely). Jon - Original Message - From: "Joe Rice" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 28, 2001 11:34 AM Subject: [PHP] Q: php.ini Hi, I made a change to my php.ini and phpinfo() doesn't reflect

[PHP] alternate pattern match

2001-03-28 Thread Costas
How do i extract the position (integer counting from the left) of the letter M (beginning 'MSIE'. $str = "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"; NOTE, i only want a single integer (it is 28, i counted manuallt!!) Thanks -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] unix system

2001-03-28 Thread Michael Kimsal
A 'minimum' is hard to recommend with out usage requirements. The minimum specs really depend on what you're doing with it - intranet? public web server? how much traffic do you expect? You don't state an OS preference here, but I'd think hardware requirements would be similar for both

[PHP] Extracting just the filename from REQUEST_URI

2001-03-28 Thread Clayton Dukes
I have a REQUEST_URI that comes in, REQUEST_URI=//training/olddata/file.htm How can I extract just the filename? ( $str=file.htm) Clayton Dukes-Download Free Essays, Term Papers and Cisco Training from

[PHP] Locating where PHP is on my server.

2001-03-28 Thread Brandon Orther
Hello, I am trying to write some shell scripts in PHP. I do not know where it is because this is a cobalt raq4 and it is embedded with the server when it is sent. If anyone know where it is on raq4's or if you know how I can find out please let me know. Thank you,

RE: [PHP] Extracting just the filename from REQUEST_URI

2001-03-28 Thread FvH
Start parsing the string from the string-length to the begin. so //training/olddata/file.htm is 27 chars long Start at 27 and parse it back till you've found the '/' char for the first time. Read the positionnr. of the / and copy that position+1...strlen and you're ready. [FvH] From: Clayton

[PHP] function knows where call came from?

2001-03-28 Thread Peter Van Dijck
say you include a function in a page, and then you call that function. Is there a way (without actually passing through the parameters) for that function to know which page and which line called it? That would be VERY cool! Peter ~~ http://liga1.com:

Re: [PHP] Q: php.ini

2001-03-28 Thread Joe Rice
sorry for the lame question, that was what i needed to do. Thanks, joe Jon Rosenberg([EMAIL PROTECTED])@Wed, Mar 28, 2001 at 11:38:19AM -0500: You need to restart your web server (apache, most likely). Jon - Original Message - From: "Joe Rice" [EMAIL PROTECTED] To: [EMAIL

Re: [PHP] alternate pattern match

2001-03-28 Thread Yasuo Ohgaki
Is there any reason that you cannot use regular expression? -- Yasuo Ohgaki ""Costas"" [EMAIL PROTECTED] wrote in message 99t43c$qr4$[EMAIL PROTECTED]">news:99t43c$qr4$[EMAIL PROTECTED]... How do i extract the position (integer counting from the left) of the letter M (beginning 'MSIE'. $str

Re: [PHP] file deletions ....

2001-03-28 Thread Joe Stump
Make sure that the PHP user (usually nobody) has the access to delete those files - I usually just do `rm -fr /path/to/file.foo`; and it works fine. --Joe On Wed, Mar 28, 2001 at 09:42:36AM +0100, Steve Brett wrote: hi, i need to delete files in my web folder so i can 'tidy' them up. i have

Re: [PHP] function knows where call came from?

2001-03-28 Thread Reuben D Budiardja
Yes, that would be really cool. I my self has tried to find a way to do this, and throw this question to the list sometimes ago... no repond. What would be great, if we can do this, is that we can somehow create a pseudo-private method for classes (since php OO does not have that), and limit

Re: [PHP] Active-X

2001-03-28 Thread Christian Cresante
you need to use VBscript. if its mac IE 5+, you can use the plugins object from javascript. the vbscript is fairly simple. --- AJDIN BRANDIC [EMAIL PROTECTED] wrote: Off topic but does anyone know how to detect if user/visitor has ActiveX OFF and if so then load a designated page. I had

Re: [PHP] New PHP-GTK Site

2001-03-28 Thread Joe Stump
PHP-GTK, for those who don't know, is an implementation of GTK using the PHP language. It basically allows you to program GUI applications in PHP on Windows, Linux, and basically any other OS that GTK and PHP will compile on. To find out more information check out: http://www.gtk.org

Re: [PHP] alternate pattern match

2001-03-28 Thread Christian Cresante
if all you want to know is the browser's version, why not use get_browser() http://www.php.net/manual/en/function.get-browser.php --- Costas [EMAIL PROTECTED] wrote: How do i extract the position (integer counting from the left) of the letter M (beginning 'MSIE'. $str = "Mozilla/4.0

[PHP] remote acces

2001-03-28 Thread Glenda Robalino
Hi I'm triying to connect from windows to linux... do i have to manipulate grant tables on mysql... what should I do?? thanks ciao _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- PHP General

Re: [PHP] session handling

2001-03-28 Thread Pavel Kalian
- Original Message - From: "[Inf] F!RE-WALL" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 28, 2001 12:10 PM Subject: [PHP] session handling Every time I want to initiate a session i get this: Warning: open(/tmp\sess_b18426d4011c38e033bd0ed54bd2d2f1, O_RDWR) failed:

[PHP] Header problems

2001-03-28 Thread Chris
Help, Why did this suddenly stop working? (only code on page) script language="php" header ("Location: http://www.otherserver.com/index2.htm"); /script It was working fine before, now the page just returns: /body/html in the source, no error messages.

[PHP] --with-imap-ssl

2001-03-28 Thread Nate Mueller
Does anyone know how to use imap with ssl if this configure option is given (4.0.3 and later)? I can't find anything in the docs. --Nate -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

[PHP] IP of server?

2001-03-28 Thread Lance Lovette
I want to base the database a PHP script uses on the IP address of the server running the script. What is the fastest way to get the IP address of the server from a script? I could use environment variables but they are unreliable (when run from cron for example, the environment doesn't have all

[PHP] search engine

2001-03-28 Thread Augusto Cesar Castoldi
I'd like to do a search engine on my homepage. I'll search a cell phone in mysql database. I want to search this cell phone and list in HTML table. This list of cell phones must have 30 lines and the cell phones that I found (searched) must be in the middle of the list. I want to show the

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

2001-03-28 Thread Ulf Wendel
uw Wed Mar 28 10:32:20 2001 EDT Modified files: /php4/pear Cache.php Log: Added a simple usage example Index: php4/pear/Cache.php diff -u php4/pear/Cache.php:1.8 php4/pear/Cache.php:1.9 --- php4/pear/Cache.php:1.8 Sat Mar 17 08:06:31 2001 +++

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

2001-03-28 Thread André Langhorst
andre Wed Mar 28 11:41:38 2001 EDT Modified files: /php4/ext/standard output.c Log: fix proto Index: php4/ext/standard/output.c diff -u php4/ext/standard/output.c:1.49 php4/ext/standard/output.c:1.50 --- php4/ext/standard/output.c:1.49 Fri Mar 16

Re: [PHP] Curious

2001-03-28 Thread YoBro
Thanks to everybody for the informative explanation of my curiosity. It was very helpful, and now I have a better understanding of what I am doing sometimes. Thanks YoBro --- : Hi, : : I am curious to know why you need to use the /n, and what it actually

[PHP] Copy data from one mysql table to another?

2001-03-28 Thread Bob Stone
Dear PHP Helpers, I cannot find any documentation on how to copy the data from one mysql table to another, i.e. table1, columnx to table2, columnx. Can you recommend a way? Here is the situation. I have one table called "phone" with two columns. The first column is called "key_svt_members,"

Re: [PHP] Copy data from one mysql table to another?

2001-03-28 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Bob Stone) wrote: Dear PHP Helpers, I cannot find any documentation on how to copy the data from one mysql table to another, i.e. table1, columnx to table2, columnx. Please don't post the same question to multiple PHP.net lists. Or at

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

2001-03-28 Thread André Langhorst
andre Wed Mar 28 12:08:49 2001 EDT Modified files: /php4/ext/standard output.c Log: fix typo Index: php4/ext/standard/output.c diff -u php4/ext/standard/output.c:1.50 php4/ext/standard/output.c:1.51 --- php4/ext/standard/output.c:1.50 Wed Mar 28

Re: [PHP] Copy data from one mysql table to another?

2001-03-28 Thread Rodney J. Woodruff
Which database are you using? -- Rodney Bob Stone wrote: Dear PHP Helpers, I cannot find any documentation on how to copy the data from one mysql table to another, i.e. table1, columnx to table2, columnx. Can you recommend a way? Here is the situation. I have one table called

  1   2   >