RE: [PHP] PHP or MSIE Problem? -- SOLVED

2004-02-22 Thread Beau Hartshorne
I described a situation where MSIE for Windows would not post all of a form's fields under fairly unique circumstances. This problem occurs in MSIE 5, 5.5, and 6 (with the most recent hotfixes applied). No other browsers seem to be affected. When: 1. A form is submitted with the enctype attribute

php-general Digest 23 Feb 2004 05:09:19 -0000 Issue 2606

2004-02-22 Thread php-general-digest-help
php-general Digest 23 Feb 2004 05:09:19 - Issue 2606 Topics (messages 178493 through 178510): [SQLite] safe_mode_gid or safe_mode_exec_dir 178493 by: user.domain.invalid Re: Safe Mode 178494 by: Jason Wong 178495 by: user.domain.invalid type casting problem

Re: [PHP] Possible to write CRC/MD5 to the file?

2004-02-22 Thread Evan Nemerson
On Sunday 22 February 2004 08:20 pm, Simon Fredriksson wrote: > I wonder if it's possible to write the MD5 or CRC checksum of my > scriptfile to the scriptfile. I know that if I change it, the value will > change, but is there any way to calculate what it will be? What you would have to do is find

[PHP] Possible to write CRC/MD5 to the file?

2004-02-22 Thread Simon Fredriksson
I wonder if it's possible to write the MD5 or CRC checksum of my scriptfile to the scriptfile. I know that if I change it, the value will change, but is there any way to calculate what it will be? Not just displaying it for the user, but actually having it written in the file. Could be pretty u

Re: [PHP] Padding the decimals

2004-02-22 Thread John Nichel
Simon Fredriksson wrote: Is there any functions to pad the decimals in a number? There's round() to put it down to two decimals, but what if I want to take it up to two? Example: 5 -> 5.00 20 -> 20.00 4.3 -> 4.30 etc. //Simon http://www.php.net/manual/en/function.sprintf.php http://www.php.net/

Re: [PHP] Re: ftp software

2004-02-22 Thread Shane Nelson
I would highly recomend filezilla: http://filezilla.sourceforge.net/ It's open source, it works great and it doesn't have any ads or spyware like some of the other 'free' windows ftp programs. > > "Nathan McIntyre" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Hello! > >

[PHP] include(...) errors

2004-02-22 Thread Kyle Goetz
yeah so i'm running 4.3.0 (other versions are problematic w/Abyss (Bwebserver) (B (Bi can't seem to get my include() stuff to work -anymore- (B (Bused to work...not anymore after all the PHP changes (B (Bso my root directory for the webserver is F:\webpage\webpage\ (Bwhich would be http://

Re: [PHP] Padding the decimals

2004-02-22 Thread Adam Bregenzer
On Sun, 2004-02-22 at 21:14, Simon Fredriksson wrote: > Is there any functions to pad the decimals in a number? There's round() > to put it down to two decimals, but what if I want to take it up to two? > > Example: > > 5 -> 5.00 > 20 -> 20.00 > 4.3 -> 4.30 > etc. I assume you mean adding zeros

[PHP] Padding the decimals

2004-02-22 Thread Simon Fredriksson
Is there any functions to pad the decimals in a number? There's round() to put it down to two decimals, but what if I want to take it up to two? Example: 5 -> 5.00 20 -> 20.00 4.3 -> 4.30 etc. //Simon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/un

[PHP] RE: Slightly off - was [PHP] ftp software

2004-02-22 Thread electroteque
-Original Message- From: electroteque [mailto:[EMAIL PROTECTED] Sent: Monday, February 23, 2004 12:19 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] ftp software www.smartftp.com Isnt it funny i assumed you were using windoze ? Unfortunately i had to port back to my XP machine which i u

RE: [PHP] ftp software

2004-02-22 Thread electroteque
www.smartftp.com -Original Message- From: Nathan McIntyre [mailto:[EMAIL PROTECTED] Sent: Monday, February 23, 2004 8:37 AM To: [EMAIL PROTECTED] Subject: [PHP] ftp software Hello! I am new both to PHP and web dev, and I am wondering what ftp software would be best for me to use. -

[PHP] Re: ftp software

2004-02-22 Thread Pooya Eslami
WS FTP is not bad.you cand download the LE version for free here: (the last one at the end of the page!) http://www.ipswitch.com/downloads/index.html -Pooya "Nathan McIntyre" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello! > > I am new both to PHP and web dev, and I am wonde

Re: [PHP] Local define?

2004-02-22 Thread Marek Kilimajer
1. Don't hijack threads. Always start with new message if you want to ask a question, do not reply to an existing message. 2. Do some research before posting, you already wrote almost the whole example, so run it an see for yourself. Robin 'Sparky' Kopetzky wrote: Greetings!! If you define a

[PHP] ftp software

2004-02-22 Thread Nathan McIntyre
Hello! I am new both to PHP and web dev, and I am wondering what ftp software would be best for me to use. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Local define?

2004-02-22 Thread Robin 'Sparky' Kopetzky
Greetings!! If you define a constant within a function, is it local or global? Example: function foo() { define('BAR', 0); } Robin Kopetzky Black Mesa Computers/Internet Services, LLC -- PHP General Mailing List (http://w

[PHP] Detecting Binaries

2004-02-22 Thread Axel IS Main
I'm using file_get_contents() to open URLs. Does anyone know if there is a way to look at the result and determine if the file is binary? I'd like to be able to block binaries from being processed without having to try to think of all the possible binary extensions and omit them with a function

[PHP] type casting problem

2004-02-22 Thread Armand Turpel
Hi, Is it possible that some functions in different php versions (4.1 . 4.1.2 ) has problems with type castings so that the following script has different results in different php versions? "; if(FALSE == is_file('a')) echo "is_file == no file"; if(FALSE === file_exists('a

Re: [PHP] Safe Mode

2004-02-22 Thread user
According the safe-mode page http://us4.php.net/features.safe-mode in http.conf : php_admin_value open_basedir /docroot # In your case safe_mode_include_dir Can "php_admin_value" be inlcuding in the *.php pages and/or .htaccess. manual > ini_set() It would seem form the ini_set() comments

Re: [PHP] Safe Mode

2004-02-22 Thread Jason Wong
On Monday 23 February 2004 00:55, [EMAIL PROTECTED] wrote: > >>> Can safe mode be turned off in the .htaccess file? [snip] > According the safe-mode page http://us4.php.net/features.safe-mode in > http.conf : > >php_admin_value open_basedir /docroot > # In your case safe_mode_include_dir >

[PHP] [SQLite] safe_mode_gid or safe_mode_exec_dir

2004-02-22 Thread user
I want to be able to use SQLlite on my hosted (virtual) site. SQlite will be placed in my /home/www/bin. And need to be exicutable by Apache user or group? Would either safe_mode_gid or safe_mode_exec_dir accomplish this? TIA, David -- PHP General Mailing List (http://www.php.net/) To unsubscribe

php-general Digest 22 Feb 2004 16:48:17 -0000 Issue 2605

2004-02-22 Thread php-general-digest-help
php-general Digest 22 Feb 2004 16:48:17 - Issue 2605 Topics (messages 178468 through 178492): Objects and Arrays - need help? 178468 by: John Romero PHP Error 178469 by: Tim Trimble 178471 by: John Nichel running php through cron 178470 by: Pablo Gosse

Re: [PHP] Safe Mode

2004-02-22 Thread user
Can safe mode be turned off in the .htaccess file? I don't know the gallery script but setting safe_mode_include_dir should help. Ask the admin to set it to your directory for your virtual host. Another option would be to use ftp functions to upload the images to your directory, but you would

Re: [PHP] delete a function

2004-02-22 Thread Marek Kilimajer
Sztankó Demeter wrote: Hello! Is there any way to delete (unset) a function? I want to write some function with one constantyl defined name, then call a function_manager function, that will gice this function an unique name, than delete the original function, so I can start the process from the b

[PHP] Re: [PHP-XML-DEV] Re: [PHP] PHP5: ext/dom - set namespace of node manually

2004-02-22 Thread Rob Richards
From: Vivian Steller > i now can use the following syntax to set the namespaceUri of a node: > > $element = new DomElement("tagname", "value", "http://namespaceUri";); > // or > $element = new DomElement("pref:tagname", "value", "http://namespaceUri";); > // works

Re: [PHP] using xp home

2004-02-22 Thread XMG
I don't know about running it on Windows XP, but on RH Linux I have had much better results using 1.3.29. RH Linux 8.0 comes with 2.0.48 as the default version but I finally downloaded and built the 1.3.29 version (as recommended by several here) and have had much better results. lk www.theNewAg

[PHP] Re: using xp home

2004-02-22 Thread zerof
No problems. I recommend you, to use Apache 1.3.29 + php 4.3.4 + mysql 4.0.18 + mysqlfront 3.0 - zerof http://www.educar.pro.br/PAGES/ "Danny Cobbinah" <[EMAIL PROTECTED]> escreveu na mensagem ews:[EMAIL PROTECTED] > is it better to use apache 1.3.29 or apache 2.0.48? i am having the

Re: [PHP] delete a function

2004-02-22 Thread Sztankó Demeter
Thank You for the answer and the link. I'm not sure that I want to start OOP-ing in my php code, but I will if necessary. I'l tell the problem I want to solve. It also will help me to understand the problem: There are two (or more) different functions on my web site, that have the same name (an

Re: [PHP] crc32

2004-02-22 Thread Armand Turpel
Found on http://search.mnogo.ru/doc/msearch-howstore.html#sql-stor-crc According to our tests there are only 250 pairs of words have the same CRC in the list of about 1.600.000 unique words. Most of these pairs (>90%) have at least one misspelled word. - Original Message - From: "Armand

[PHP] crc32

2004-02-22 Thread Armand Turpel
Hi, Currently I'm working on a search engine for a website. A mysql table on which searching should be done was created which contains Words of website articles: CREATE TABLE docs_words ( crc32_word int(11) NOT NULL default '0', id_doc int(11) NOT NULL default '0'); As you can see not the r

Re[2]: [PHP] help please

2004-02-22 Thread adwinwijaya
Hello ajay, Sunday, February 22, 2004, 9:05:52 PM, you wrote: a> hi! a> the code is a> include("classes/DB.php"); a> include("classes/PageMaker.php"); hmm... may be you need to add '/' in front of classess try this one: include(dirname(__FILE__)."/classes/DB.php"); hope it wil

Re: [PHP] help please

2004-02-22 Thread ajay
hi! the code is print_header(); printf(""); $page->print_banner(); $page->print_menu(); $db = new DB("localhost", "usydbasketball", "", ""); $query = "SELECT * FROM updates ORDER BY ID DESC"; thanks ajay Quoting adwinwijaya <[EMAIL PROTECTED]>: > Hel

Re: [PHP] help please

2004-02-22 Thread adwinwijaya
Hello ajay, Sunday, February 22, 2004, 7:57:21 PM, you wrote: a> hi! a> i have a class called DB that i include in a page as include(classes/DB.php); a> however when i run this page i get an error saying a> Warning: main(/home/bikkar/public_html/ajay/classes/DB.php): failed to open a> stream: No s

[PHP] help please

2004-02-22 Thread ajay
hi! i have a class called DB that i include in a page as include(classes/DB.php); however when i run this page i get an error saying Warning: main(/home/bikkar/public_html/ajay/classes/DB.php): failed to open stream: No such file or directory in /home/bikkar/public_html/ajay/index.php on line 18