Re: [PHP] Reports in web browser

2001-05-19 Thread John Monfort
I believe there is a window.print() JavaScript code, that lets you print a document. I've never used it, so I'm not sure. Print Document //or something like that... good luck !! __John Monfort_ _+---+_ P E P I E D

[PHP] Broken ip2long and long2ip?

2001-05-19 Thread Sean Cazzell
It appears that the integer type being used by these functions is not able to store the entire 32 bits (4 bytes). It can only handle up to 31 bits - my guess is the type is signed when it should be unsigned. In any case,I'm running PHP 4.0.5 on Linux 2.4.3 on an x86 machine. I would appreciate

Re: [PHP] Browscap.ini

2001-05-19 Thread Chris Adams
On 19 May 2001 22:13:05 -0700, Weston Houghton <[EMAIL PROTECTED]> wrote: > I cannot for the life of me get browscap.ini to work. > > Also the browserhawk version of the browscap.ini is sadly out of date. > Anyone have any leads for me on getting this to work? I consistently get an > empty array

Re: [PHP] is mod_php4 faster than mod_perl?

2001-05-19 Thread Steven Haryanto
apples & oranges. :) but mod_php without cache (e.g., zend cache) still suffers from an overhead of recompiling scripts in every request (serious overhead if the site is complex). -- sh On 19/07/2001 11:03, Christopher Leigh wrote: >i'm wondering if mod_php4 is faster than mod_perl. > >thank yo

[PHP] Browscap.ini

2001-05-19 Thread Weston Houghton
So... I cannot for the life of me get browscap.ini to work. Also the browserhawk version of the browscap.ini is sadly out of date. Anyone have any leads for me on getting this to work? I consistently get an empty array returned. Thanks, Wes -- PHP General Mailing List (http://www.php.net/)

[PHP] Email form

2001-05-19 Thread [EMAIL PROTECTED]
I've been out of the loop for so long. I make a normal form, but the action is something.. I don't want it to send from the uers email, but use the server. Some people don't have an email client configured. Can yah help? Thanks, Owen -- PHP General Mailing List (http://www.php.net/) To u

[PHP] is mod_php4 faster than mod_perl?

2001-05-19 Thread Christopher Leigh
i'm wondering if mod_php4 is faster than mod_perl. thank you, christopher -- 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] Lookin For Programmer

2001-05-19 Thread Plutarck
I reccommend looking around sourceforge.net for current PHP BB projects, and if you find something like you want you can join that project, or you can just create your own project and thus allow people to join in the creation, should they so choose. Plutarck "nicholas" <[EMAIL PROTECTED]> wrote

Re: [PHP] A universal Database Class

2001-05-19 Thread Manuel Lemos
Hello Brandon, On 17-May-01 16:23:12, you wrote: >I am making a suite of online tools. Right Now I am connecting to a MS SQL >2000 database. Is there any class out there that will let you send a query >to more than just one type of databases? Like someone could run it off a >MSSQL server and

[PHP] Accessing data from a localhost proxy

2001-05-19 Thread Plutarck
I was wondering, when you set your browser's proxy setting to localhost, how do you access that information through a program? In PHP would you open a specific stream, or would you open a socket on 127.0.0.1 with the same port as the one you specified in your browser? Basically when you make you

[PHP] An excellant example of what PHP can do

2001-05-19 Thread Plutarck
Just found this site recently, and after a little playing I found out that it uses the .php3 extension as it's main feature. I believe it uses PHP for just about everything it does, which is a great example of how PHP can do just about anything web technology allows ;) Here it is (excellant for p

Re: [PHP] Reports in web browser

2001-05-19 Thread Markus Fischer
On Sun, May 20, 2001 at 02:11:04AM +0200, Richard wrote : > You need to be more specific than that. > > You cannot demand the browser to start printing, [...] Not true if JavaScript is enabled (and most browsers do). window.print(); prints the document (but in fact, it will popup a printing d

Re: [PHP] count() multidimensional array

2001-05-19 Thread Hugh Bothwell
""Dean Martin"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > My code to list only the rows that were checked is this.. > > for ($j=1 ; $j=5; $j++) > This code is creating an endless loop and times out the server with memory > overruns. > > What am I missing?

Re: [PHP] get all defined constants?

2001-05-19 Thread Chris Lee
phpinfo() allways has a list of variables. but of course every variable is allways in $GLOBALS too. -- Chris Lee [EMAIL PROTECTED] "Alex Black" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > hi all, > > can't find a function for getting a complete list

Re: [PHP] Mailserver?!

2001-05-19 Thread Plutarck
Check out http://webgadgets.com/phpost/ That's a good way to get started on handling emails with PHP. I'd need to know more about what you want to do to tell you if PHP is the way to do it. If you want to run a mail server which takes incoming emails and directly writes them to a database, PHP

Re: [PHP] Reports in web browser

2001-05-19 Thread Richard
You need to be more specific than that. You cannot demand the browser to start printing, only thing is to write the contents of the report to a webpage and then the visitor/user can print it out if she/he likes. It depends on how you have stored the reports. - Richard ""Mihailo Dzigurski"" <[E

RE: [PHP] echo question

2001-05-19 Thread Jason Lotito
You are looking for the function nl2br() Information here: http://www.newbienetwork.net/article.php?sid=70 And here: http://www.php.net/manual/en/function.nl2br.php See echo statement below for example implementation. Jason Lotito www.NewbieNetwork.net > -Original Message- > From: Loui

Re: [PHP] Global varia........ **Sorry, I mean... **

2001-05-19 Thread Richard
Wrong examples written in my past post. $GLOBALS["userPassword"] = "whatever"; global $userPassword; and then write/read from it? - Richard -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

Re: [PHP] Global variables? (unset/set or what?)

2001-05-19 Thread Richard
So this will do then: $GLOBALS["userPassword"] = "whatever"; And when I need to use it, I use echo userPassword; and such alike? What if I would like to change it? Can I simply use 'userPassword="whatever"'; ? Thanks, Richard -- PHP General Mailing List (http://www.php.net/) To

[PHP] echo question

2001-05-19 Thread Louis Brooks
Hi All: I need to print out several paragraphs of information stored in a MySql field to a web page. To do this I am using: $db = mysql_connect("localhost", "dbase", "password"); mysql_select_db("dbase",$db); $sql = "SELECT update FROM members WHERE username = 'Don'"; $query = mysql_query($sql)

php-general Digest 19 May 2001 23:59:03 -0000 Issue 696

2001-05-19 Thread php-general-digest-help
php-general Digest 19 May 2001 23:59:03 - Issue 696 Topics (messages 53515 through 53569): Unix problem 53515 by: Urb LeJeune 53530 by: B. van Ouwerkerk 53534 by: Urb LeJeune more on problem 53516 by: Urb LeJeune Re: Netscape 6, What a piece of s$#@ , anyon

Re: [PHP] Global variables? (unset/set or what?)

2001-05-19 Thread CC Zona
In article <9e6s21$2rk$[EMAIL PROTECTED]>, [EMAIL PROTECTED] ("Richard") wrote: > So i should start the header (or wherever in the header) with : > > $GLOBALS["userPassword"] = "whatever"; > > function cp() { > global $userPassword; > > // $userPassword is 'whatever' /

Re: [PHP] Netscape 6, What a piece of s$#@ , anyone else had problems with php and Netscape 6?

2001-05-19 Thread Miles Thompson
Jakob, You mean tidy? I use it to post-process a 'Today's News" page that is created, by script, from a set of other pages. It works very well. Miles Thompson At 03:54 PM 5/19/01 +0200, Jakob Kruse wrote: >Brandon, might I suggest that you start using the HTML Validator at >www.w3.org if you

Re: [PHP] Global variables? (unset/set or what?)

2001-05-19 Thread Richard
So i should start the header (or wherever in the header) with : $GLOBALS["userPassword"] = "whatever"; function cp() { global $userPassword; // $userPassword is 'whatever' // } Did I get it or am I just too tired? - Richard "Michael Stearne" <[EMAIL PROTECTED]> w

RE: [PHP] Reversing htmlspecialchars()

2001-05-19 Thread Rudi Benkoviè
function un_htmlentities($str) { $trans = get_html_translation_table (HTML_ENTITIES); $trans = array_flip ($trans); $str = strtr ($str, $trans); return ($str); } > -Original Message- > Fr

Re: [PHP] Reversing htmlspecialchars()

2001-05-19 Thread jeroen
> > How can i reverse the htmlspecialchars() functions? > > I can't seem to find a function for that. > > There is no function to do that. Can't you use the translation array, reverse it, and apply it? It's mentioned in the manual somewhere... Would be heavy hack, but IMO it should work... Jero

RE: [PHP] sending attachments with mail

2001-05-19 Thread David Price
There are a few scripts listed at http://www.hotscripts.com/PHP/Scripts_and_Programs/Email_Systems/Email_Utili ties/ that might do what you want. David Price -Original Message- From: Mark Wouters [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 19, 2001 3:10 PM To: [EMAIL PROTECTED] Subje

Re: [PHP] Global variables? (unset/set or what?)

2001-05-19 Thread Michael Stearne
Try the define function. That will define a constant that you will always have access to (within functions, through various included files,etc.) Or you can write values to the $GLOBALS array of global variables. $GLOBALS["userPassword"]="u8943fd"; Will define a variable that is accessible as $

[PHP] get all defined constants?

2001-05-19 Thread Alex Black
hi all, can't find a function for getting a complete list of defined constants. this exists for classes, I think it must for constants even if it is undocumented. I'm writing a bit of debug code, and I'd rather not build a bunch of implicit knowledge about my set of constants into the code - I'd

[PHP] Global variables? (unset/set or what?)

2001-05-19 Thread Richard
Greetings. I have about two include files which are included in every php page that I have, and I wish to store global variables, such as passwords, usernames and other details information. After going through the PHP manual, all I could find was UNSET/SET global variables, but I don't kn

[PHP] sending attachements with mail

2001-05-19 Thread Mark Wouters
Nobody knows if it's possible to send attachements with mail()?? Thanks, -- Mark Wouters eXpanded Media Web Designer Parijsstraat 74, B-3000 Leuven - Louvain Tel: +32 (16) 31.10.12 Fax: +32 (16) 31.10.19 E-mail: [EMAIL PROTECTED] URL: http://www.expandedmedia.be -- PHP General Mailing List (

RE: [PHP] Reversing htmlspecialchars()

2001-05-19 Thread Jeroen Geusebroek
Hi Rasmus, > > How can i reverse the htmlspecialchars() functions? > > I can't seem to find a function for that. > > There is no function to do that. Maybe it would be a nice feature to add in PHP? For the moment i'll just have to make my own version then :) Thanks, Jeroen -- PHP General Ma

Re: [PHP] Reversing htmlspecialchars()

2001-05-19 Thread Rasmus Lerdorf
> How can i reverse the htmlspecialchars() functions? > I can't seem to find a function for that. There is no function to do that. -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

[PHP] Reversing htmlspecialchars()

2001-05-19 Thread Jeroen Geusebroek
Hi There, How can i reverse the htmlspecialchars() functions? I can't seem to find a function for that. Thanks, Jeroen Geusebroek -- 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

[PHP] Reports in web browser

2001-05-19 Thread Mihailo Dzigurski
Hello, I have written some accounting application using PHP, and now I need to create some reports. Those reports need to be printed from web browser. What can I do? Thanks Mihailo. _ Do You Yahoo!? Get your free @yahoo.com address at

[PHP] Include Paths

2001-05-19 Thread Dylan Finney
Hello, I am fairly new to PHP and so far I love it. One question I have is how to call include files outside of their directory without hard coding the real path to the file itself. Is there map path or a similar function in PHP? Also when i use readfile() or fpassthru() when I echo the result

Re: [PHP] mail function. not working

2001-05-19 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Richard Kurth) wrote: > Way does this not work it sends to the recipient but it will not > send to the bcc this is right out of the manual. > $recipient .= "[EMAIL PROTECTED]"; > $subject = "Hello"; > $message .= "The is the message\n"; > $m

[PHP] mail function. not working

2001-05-19 Thread Richard Kurth
Way does this not work it sends to the recipient but it will not send to the bcc this is right out of the manual. $recipient .= "[EMAIL PROTECTED]"; $subject = "Hello"; $message .= "The is the message\n"; $message .= "--\r\n"; //Signature delimiter $message .= "http://northwesthost.com";; $hea

RE: [PHP] converting int to char

2001-05-19 Thread Kees Hoekzema
Hey, take a look at: http://www.php.net/manual/en/function.chr.php :) Kees > -Original Message- > From: Christian Dechery [mailto:[EMAIL PROTECTED]] > Sent: Saturday, May 19, 2001 9:47 PM > To: [EMAIL PROTECTED] > Subject: [PHP] converting int to char > > > how do I convert and intege

Re: [PHP] Expense

2001-05-19 Thread Clayton Dukes
Definately, thanks! Clayton Dukes CCNA, CCDA, CCDP, CCNP Download Free Essays, Term Papers and Cisco Training from http://www.gdd.net - Original Message - From: "Kurth Bemis" <[EMAIL PROTECTED]> To: "Clayton Dukes" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent:

[PHP] converting int to char

2001-05-19 Thread Christian Dechery
how do I convert and integer value to its ASCII correspondent? in C I would go something like: int i = 90; char c; c = i + '0'; // now c would be 'Z' in PHP I'm simply clueless since there's no (char) type... . Christian Dechery (lemming) . http://www.tanamesa.com.

Re: [PHP] Expense

2001-05-19 Thread Kurth Bemis
Clayton - I'm working on a similar time tracking tool myself...then it exports the data in CSV format. I'm looking at having it complete next week. I'll notify you when it done if your intrested. ~kurth On Sat, 19 May 2001, Clayton Dukes wrote: > I did actually look there first. Nothing list

Re: [PHP] Expense

2001-05-19 Thread Clayton Dukes
I did actually look there first. Nothing listed Thanks anyways :-) Clayton Dukes CCNA, CCDA, CCDP, CCNP Download Free Essays, Term Papers and Cisco Training from http://www.gdd.net - Original Message - From: "Navid Yar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, M

[PHP] Expense

2001-05-19 Thread Navid Yar
Clayton, you might want to try hotscripts.com. They have a load of scripts you can choose from, and it's all categorized as well. Good luck Navid Yar -Original Message- From: Clayton Dukes [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 19, 2001 2:22 PM To: [EMAIL PROTECTED] Subj

Re: [PHP] globalize all variables not coming from a certain form...

2001-05-19 Thread Chris Lee
I hate using global variables this way in functions, but it can be done. $val) global $pos; // reset of your code. } ?> there are good reasons for global variables, but use them wisely, globals are offten missused and create illegible code. most variables should be p

[PHP] Expense

2001-05-19 Thread Clayton Dukes
Does anyone know where I can find some type of Expense Report/Tracking system written in PHP?   I'm tired of tracking all my stuff in Excel and sending it in so I thought I'd take a crack at making an online tracking system for multiple employees that could possibly export to Excel if needed.

[PHP] Mailserver?!

2001-05-19 Thread FredrikAT
Hi! I want to have a mailapp on my server (win32) wich writes all incoming mails to a MySQL db. Is this possible? - Fredrik A. Takle [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] count() multidimensional array

2001-05-19 Thread Chris Lee
can't say for sure, but a good guess is some problems with undefined vars. try using fforeach insted, its alot simpler. $j_val) foreach($check[$j_pos] as $i_pos => $i_val) $message .= "{$pre[$j_pos][$i_pos]} {$post[$j_pos][$i_pos]} {$name[$j_pos][$i_pos]} {$city[$j_pos][$i_po

[PHP] PHP & Domino?? (Lotus Notes)

2001-05-19 Thread Mike Kelley
Anyone do anything in this arena yet? I searched the archives for 2001 but have yet to go farther back. I know I can use the COM ability to get info from Domino but I'm looking for any success stories with Lotus Domino. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

[PHP] Lookin For Programmer

2001-05-19 Thread nicholas
Hmmm anyone looking to join me in making a bb called BestBoard? email me at [EMAIL PROTECTED] not thru the list! (note if these are not supposed to go on this list 1 flame will be suffiecent thanks!) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [PHP] Command output into any array?

2001-05-19 Thread Chris Lee
accually php allready has this command and you are so close to it :) -- Chris Lee [EMAIL PROTECTED] ""Ken Jansons"" <[EMAIL PROTECTED]> wrote in message 001d01c0e08c$54601480$[EMAIL PROTECTED]">news:001d01c0e08c$54601480$[EMAIL PROTECTED]... Hello, Is it possible to have the contents of

[PHP] vpopmail functions

2001-05-19 Thread Freedom
its great to see vpopmail support in 4.0.5. but i can't find any documentation on functions. what are the functions and their parameters. does anybody know? thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMA

Re: [PHP] Getting email out of a database

2001-05-19 Thread Christian Dechery
how about grabbing the first result out of the 'while'??? something like: list($var1) = mysql_fetch_row($result); while( list($email) = mysql_fetch_row($result) ) $var2[] = $email; hope this helps... At 11:04 19/5/2001 -0700, Richard Kurth wrote: > I am trying to pull all the e-mail

[PHP] Getting email out of a database

2001-05-19 Thread Richard Kurth
I am trying to pull all the e-mail address out of a database to be able to do a mass send. This gets me all the e-mail address and puts a , between them which is what I want. $sql = "SELECT CONCAT(email) AS str_email FROM customers"; $result = mysql_query($sql);

[PHP] Command output into any array?

2001-05-19 Thread Ken Jansons
Hello, Is it possible to have the contents of a shell_exec command go into an array? I have the following in my PHP script: Which calls a shell script "dirlist.sh", which returns results similar to the following: www www/docs www/test Is it possible to have each line put into an array? so t

[PHP] attachements in mail()

2001-05-19 Thread Mark Wouters
Hi, I've another question.. is it possible to send attachements with mail() ?? Thanks, -- Mark Wouters eXpanded Media Web Designer Parijsstraat 74, B-3000 Leuven - Louvain Tel: +32 (16) 31.10.12 Fax: +32 (16) 31.10.19 E-mail: [EMAIL PROTECTED] URL: http://www.expandedmedia.be -- PHP General

Re: [PHP] Unix problem

2001-05-19 Thread Urb LeJeune
>>while ($Directory=readdir($DirHandle)) { >> >> $IsFile = is_file($Directory); >> $IsDir = is_dir($Directory); >> echo " is file=$IsFile - is dir=$IsDir\n"; >> >> Works fine on Windows box, on a Unix box (RedHat) both >>is_file() and is_dir() return null no matter what the contents o

Re: [PHP] Life of environment variable set put putenv()

2001-05-19 Thread Arcady Genkin
[EMAIL PROTECTED] ("elias") writes: > "Arcady Genkin" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I could not find this in the docs, but maybe I've been looking in the > > wrong place. Could someone give me an authorative answer or point me > > to it s

RE: [PHP] hosting "closed" web application for multiple users

2001-05-19 Thread Steven Haryanto
btw, have people tried apc 1.0.9 with php-4.0.5? apc runs fine for some of my scripts (though performance improvement is not great at all, or am i doing something wrong). but for some of my more complex scripts, it crashes the httpd binary with segfaults. btw, can you just take the compiled cache

RE: [PHP] hosting "closed" web application for multiple users

2001-05-19 Thread Matthias Winkelmann
> -Original Message- > From: Steven Haryanto [mailto:[EMAIL PROTECTED]] > > > I have a requirement like this: > > - the php script should be runnable by httpd user only. > - the php script will include other files. > - the php script should run as the user. > - the user must not be able

Re: [PHP] Unix problem

2001-05-19 Thread B. van Ouwerkerk
>while ($Directory=readdir($DirHandle)) { > > $IsFile = is_file($Directory); > $IsDir = is_dir($Directory); > echo " is file=$IsFile - is dir=$IsDir\n"; > > Works fine on Windows box, on a Unix box (RedHat) both >is_file() and is_dir() return null no matter what the contents of >$Direc

RE: [PHP] hosting "closed" web application for multiple users

2001-05-19 Thread Mr. Adam ALLEN.
The only idea i have is not perfect, but would stop people without time on their hands from getting your code. (But it could be time consuming for you (but free)) 1) make the source code a string 2) encrypt it, (but try use bizzare, unheard of functions so that it takes longer to work out how to

Re: [PHP] Color of Pixel

2001-05-19 Thread Rasmus Lerdorf
> I got a jpg-picture on my disk. Is there any way to find out the color > of a pixel (let's say, I want to know, which color the pixel 1,12 on > image img.jpg is.) > > Ideas ? http://php.net/imagecolorat -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] count() multidimensional array

2001-05-19 Thread Dean Martin
I have a multidimensional array being created by a form. Most fields are pre-populated with a few that people can add to the list. There is a box beside each row that they can check whether that item is in or not. My code to list only the rows that were checked is this.. for ($j=1 ; $j=5; $j++

[PHP] The performance of sleep() and usleep()

2001-05-19 Thread BlackLord
If i use these functions in my script, what will be the system resource usage? I know, thread will be open while the script is running but, i believe that they will not use extra system resource, won't they? For example, i want to send 10 emails every 30 seconds. Assume that there are 1,000,000 e

[PHP] Urgent! Need help on semaphores

2001-05-19 Thread fidodido
Hi! I am writing a chat program with php and mysql using semaphores, shared memory and sessions. Chatters A and B will both be using a common file where semaphores are acquired in a while loop. To my grief, the chatting was found to hang at around 50 mins mostly, though other instances of 9 or 20

[PHP] Color of Pixel

2001-05-19 Thread Martin Thoma
Hello ! I got a jpg-picture on my disk. Is there any way to find out the color of a pixel (let's say, I want to know, which color the pixel 1,12 on image img.jpg is.) Ideas ? Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

Re: [PHP] mail() problem

2001-05-19 Thread Urb LeJeune
>Below the code i use. Everything works, the $mailto variable is buils up >from a database and contains more then one email adresses. Now my >question: how can i make the receivers of my message NOT to see the >email addresses of all the receivers, so then can't reply to all? Send the m

RE: [PHP] hosting "closed" web application for multiple users

2001-05-19 Thread Steven Haryanto
Actually, We _are_ considering of buying Zend Encoder, but in the middle of thinking for alternatives... :-) However, sometimes vendors do not want user to have access to the _binary also_ (and then run it somewhere else), so that needs some extra protection other than the Encoder too. Regards,

RE: [PHP] mail() problem

2001-05-19 Thread Craig Vincent
Below the code i use. Everything works, the $mailto variable is buils up from a database and contains more then one email adresses. Now my question: how can i make the receivers of my message NOT to see the email addresses of all the receivers, so then can't reply to all? The simpliest thing to

RE: [PHP] hosting "closed" web application for multiple users

2001-05-19 Thread Craig Vincent
2) user cannot trick other root processes to read script.php for her. Is there a better alternative? Depending on your budget yes there is. Zend has a PHP encoding utility which performs two functions, first off since it needs to run through their optimizer your PHP scripts will tend to run f

[PHP] mail() problem

2001-05-19 Thread Mark Wouters
Hi, Below the code i use. Everything works, the $mailto variable is buils up from a database and contains more then one email adresses. Now my question: how can i make the receivers of my message NOT to see the email addresses of all the receivers, so then can't reply to all? $mail ="$mailto"; $

[PHP] hosting "closed" web application for multiple users

2001-05-19 Thread Steven Haryanto
I have a requirement like this: - the php script should be runnable by httpd user only. - the php script will include other files. - the php script should run as the user. - the user must not be able to access the source code of the scripts. What I can think of so far: Put the script in a di

Re: [PHP] Netscape 6, What a piece of s$#@ , anyone else had problems with php and Netscape 6?

2001-05-19 Thread Jakob Kruse
Brandon, might I suggest that you start using the HTML Validator at www.w3.org if you intend to write HTML that is viewable in Netscape 6.x. As pointed out by many others, Netscape 6 is a browser which does things according to W3C specs (mostly... a lot better than most other browsers anyway) and

[PHP] more on problem

2001-05-19 Thread Urb LeJeune
As a follow up on my last post, the following works on my Windows system but not on my Unix system: $Type = filetype($Directory); On Unix it always returns a null value. Urb -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

[PHP] Unix problem

2001-05-19 Thread Urb LeJeune
I'm using the follow snippet while traversing a directory. while ($Directory=readdir($DirHandle)) { $IsFile = is_file($Directory); $IsDir = is_dir($Directory); echo " is file=$IsFile - is dir=$IsDir\n"; Works fine on Windows box, on a Unix box (RedHat) both is_file() and i

php-general Digest 19 May 2001 11:52:01 -0000 Issue 695

2001-05-19 Thread php-general-digest-help
php-general Digest 19 May 2001 11:52:01 - Issue 695 Topics (messages 53497 through 53514): Re: PHP and XHTML 53497 by: dempsejn.georgetown.edu 53498 by: Brian Clark Network Connectivity help please 53499 by: Brian 53502 by: Mohamed LRHAZI 53503 by: B

[PHP] adodb 1.10 released

2001-05-19 Thread John Lim
http://php.weblogs.com/adodb Database wrapper library 1.10. Now supports cached recordsets. Example below: include('adodb.inc.php'); include('tohtml.inc.php'); $ADODB_CACHE_DIR = '/usr/local/adodbcache'; $conn = &ADONewConnection('oracle');/* Oracle 8, use 'oci8' */ $conn->PConnect('','scott','

[PHP] globalize all variables not coming from a certain form...

2001-05-19 Thread Siim Einfeldt aka Itpunk
Hi everybody, Is it possible (and if it is, how) to globalize all the variables, that come from some form, automatically? For example: function do_something(){ global $form; if($form != "func"){ /* globalize all the variables that come from a form called $form .

Re: [PHP] file()

2001-05-19 Thread Christian Reiniger
On Saturday 19 May 2001 01:27, elias wrote: > hello, > > i have my file which reads like: > dir3/dir3-3/ > dir2/ > dir1/ > s [...] > as you noticed that in each element of the array "$a" a space is > appended for an unknown reason! Wild guess: You're on a Unixy server and the file is in DOS for

[PHP] Header Location problem with PHP as CGI

2001-05-19 Thread Bert
Hello, I'm desperate here... I hope this question hasn't been asked a million times before (I sure did not find an answer in the archives) I'm developing a site that runs perfectly on a surver with the PHP module in apache. The problem is that the site will be hosted on a server with PHP as CGI

Re: [PHP] Life of environment variable set put putenv()

2001-05-19 Thread elias
never tried it though...but through my experience i would say: The Environment values that are set within a script can be seen only within child scripts (ie when script1.php spwans scrip2.php) -elias "Arcady Genkin" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]..

Re: [PHP] Urgent:Mysql read only, please help?

2001-05-19 Thread elias
>and i login as root login where? you *nix machine? Else make sure that you connect to the MySql server as a user with enough privilige (read, write, update, delete...) -elias ""E K L"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi all, > > Anybody can he