Fw: [PHP] Translating email to (real) plain text...

2001-12-28 Thread David Bouw
Hi Richard, So far so good! Only problem which I have is that some (=most) people create email with clients that output email with HTML codes (Internet Explorer for example).. Internet Explorer is a browser, it doesn't create email. It was a bit late, I meant Outlook Express which

RE: [PHP] Modify someone else's session register

2001-12-28 Thread Dave Brotherstone
Not really, but you could... You would somehow have to get the session id from user 2 to user 3 (this would depend how your site worked). Then you could access the session variables - it depends how your sessions are stored. If they were stored in a database, then you could read them (by

[PHP] Re: hotmail settings POP and SMTP under Mozilla

2001-12-28 Thread Jerry
It's not a PHP question, is it ? I didn't test it with Mozilla, but with MSIE it works: Go to your Hotmail Inbox, and bookmark it. For me it was working only with M$ Windows XP not previous versions... Jerry Ger wrote: hi guys , Does anybody know how to set up my mail reader (Mozilla ) to

RE: [PHP] RESOLVED(maybe):Warning: Cannot send session cookie

2001-12-28 Thread Jerry Verhoef (UGBI)
mysql_query($query) or die(mysql_error($link_identifier)); die stops the script. Or if you want a more subtile way you can try this $result_identifier=@mysql_query($query); if (!$result_identifier) { // Do some nice error handeling } Jerry Verhoef -Original Message- From:

RE: [PHP] php code beautifier

2001-12-28 Thread Jerry Verhoef (UGBI)
What is a code beautifier? -Original Message- From: George Nicolae [mailto:[EMAIL PROTECTED]] Sent: Friday, December 28, 2001 1:47 AM To: [EMAIL PROTECTED] Subject: [PHP] php code beautifier do you know if exist a php code beautifier for win32? pls tell me the address. -- Best

Re: [PHP] MsSQL from FreeBSD

2001-12-28 Thread Valentin V. Petruchek
OK, we're talking about Linux, right? No ;) FreeBsd 4.x don't know exactly about x I'll bet `cat /proc/sys/fs/file-max` gives you 4096 Try upping the file descriptor limit in /proc/sys/fs/file-max. That may or may not solve the problem; worth a try. How much memory does the client machine

RE: [PHP] Modify someone else's session register

2001-12-28 Thread Jerry Verhoef (UGBI)
No Maybe you should consider database option or flat files to give info from one user to the another? Jerry Verhoef -Original Message- From: Alex Vargas [mailto:[EMAIL PROTECTED]] Sent: Friday, December 28, 2001 3:23 AM To: [EMAIL PROTECTED] Subject: [PHP] Modify someone else's

[PHP] Re: RESOLVED(maybe):Warning: Cannot send session cookie

2001-12-28 Thread Daniel Grace
David Jackson [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... All -- It appears that the problem was a table design problems, my primary index wasn't set to auto-increment? So I was trying to insert records with duplicate keys !! This of course leads to

RE: [PHP] Modify someone else's session register

2001-12-28 Thread Jerry Verhoef (UGBI)
this is an option but it will surely break easily. I am not completly sure, but i think that sessions variables are write to the session handler at the end of the script. (maybe one of guru's can clarify this?) But if this is true consider this: user 1: is running a script/requesting a page

[PHP] Persistent connection to Oracle with OCI

2001-12-28 Thread Berlina
Hi to everybody, Im trying to use persistents connections to an Oracle Database through PHP, for manageing transactions, and have some problems. My Schema: * Web Server: Apache 1.3.22 on a Linux RedHat 7.0 * PHP: 4.1.1 compiled with oracle module functions (OCI*) * Data Base: Oracle 8.1.7 on a

[PHP] is_uploaded_file

2001-12-28 Thread Paul Roberts
I'm on PHP/4.0.2 i'm getting Fatal error: Call to undefined function: is_uploaded_file() how can i emulate the function will also nag my host but... Paul Roberts [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

php-general Digest 28 Dec 2001 12:45:30 -0000 Issue 1078

2001-12-28 Thread php-general-digest-help
php-general Digest 28 Dec 2001 12:45:30 - Issue 1078 Topics (messages 78882 through 78928): generalized environment for pages 78882 by: Dennis Gearon oracle 8i stored procedures + php access 78883 by: Robert Mena Re: Exec as user 78884 by: charlesk 78890

Re: [PHP] is_uploaded_file

2001-12-28 Thread Andrey Hristov
Read the docs about copy_uploaded_file() (this is the function with some more docs, as I remember). HTH Andrey Hristov - Original Message - From: Paul Roberts [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 28, 2001 2:41 PM Subject: [PHP] is_uploaded_file I'm on

[PHP] Links

2001-12-28 Thread Niklas Saers Mailinglistaccount
Hi. I've got the following problem. I've taken over a website of about 1200 static pages. Yes, that's right, 1200 static pages. Containing roundabout a zillion working and broken links. I've done my job and made a system that actually works, importing each page (manually with a publishing tool

[PHP] backtracing of includes

2001-12-28 Thread Henning Sprang
Hy, I would like to know if there is a way to get information on the include hierarchy of files in php, especially to find out where which file is included and trace back the line from some file until the first called php file. My special case here and now is that I get an error that some

RE: [PHP] backtracing of includes

2001-12-28 Thread Jerry Verhoef (UGBI)
Don't think that a option like this exists. But maybe you should consider using include_once or require_once Also before you define the function use the function_exist() and if the function already exists don't redecleare it. Jerry Verhoef -Original Message- From: Henning Sprang

Re: [PHP] Re: Generate Alphabet

2001-12-28 Thread Bogdan Stancescu
Philip Olson wrote: I seriously doubt your code works -- have you tested it? I think the code you submitted will most probably output 1 2 3 4...24 25 26 (spaces are actually \n's). I never tested it though, so I may be mistaken. Yes, it works. Test it before posting such doubts :)

RE: [PHP] backtracing of includes

2001-12-28 Thread Henning Sprang
Hy, Am 28 Dec 2001 14:27:50 +0100 schrieb Jerry Verhoef (UGBI): Don't think that a option like this exists. But maybe you should consider using include_once or require_once Also before you define the function use the function_exist() and if the function already exists don't

Re: [PHP] backtracing of includes

2001-12-28 Thread Paul Burney
on 12/28/01 8:53 AM, Henning Sprang at [EMAIL PROTECTED] wrote: That's what I wrote - I know I can use things like that, but I am curious if there are other ways to find out which file is included by what and which function is defined in which file - i didn't find answers about that in the

[PHP] Only one instance of a script at a time !

2001-12-28 Thread Nicolas Guilhot
Running a php script with a cron job, how can I do to have only one instance of the script running ? Thanks for any answer. Nicolas -- 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] Only one instance of a script at a time !

2001-12-28 Thread Jerry Verhoef (UGBI)
Pseudo code: check if pid file exists yes - DIE no - write pid file At end of script delete pid file Jerry Verhoef -Original Message- From: Nicolas Guilhot [mailto:[EMAIL PROTECTED]] Sent: Friday, December 28, 2001 3:32 PM To: Php General MailingList Subject: [PHP] Only one instance

Re: [PHP] Only one instance of a script at a time !

2001-12-28 Thread Julio Nobrega Trabalhando
Another idea, run a script that opens a file and flocks it until it's executed. I am sorry if this is dumb as I have little experience on locking files, but, I guess if it's locked it won't get opened again and executed (via include() or eval()); -- Julio Nobrega. Um dia eu chego lá:

Re: [PHP] Only one instance of a script at a time !

2001-12-28 Thread Gerard Onorato
There may be a much easier method however why not write a file and then check for it's existence on the next execution. Delete the file at the end of execution to clear the way for the next pass. Quick and dirty so probably at least on typo ? $pidFile = path/to/file/filename; if (!is_file

Re[2]: [PHP] Only one instance of a script at a time !

2001-12-28 Thread akul
Hello Jerry, Friday, December 28, 2001, 5:37:39 PM, you wrote: JVU Pseudo code: JVU check if pid file exists yes - DIE no - write pid file JVU At end of script JVU delete pid file This code can't guarantee the result. Use file locking instead. JVU -Original Message- JVU From:

Re: [PHP] Exec as user

2001-12-28 Thread charlesk
I tried echo %PATH% test.txt and both the webpage and the dos prompt echo the correct path information. This shows that a batch file executed by php can access the system vars. They have a diffence only in accessing the %USERNAME% variable. Could this be indicative that it is running as the

Re: [PHP] Only one instance of a script at a time !

2001-12-28 Thread Andrey Hristov
Under *nix - SysV semaphores HTH Regards, Andrey Hristov - Original Message - From: Nicolas Guilhot [EMAIL PROTECTED] To: Php General MailingList [EMAIL PROTECTED] Sent: Friday, December 28, 2001 4:31 PM Subject: [PHP] Only one instance of a script at a time ! Running a php script

[PHP] PHP + GD + IIS -=-=-=-=-=- I solved the problem -=-=-=-=-=-=-

2001-12-28 Thread EMIN CALIKLI
Hi Brian , I 've solved the problem :)... :)... :)... :)... :)... :)... :)... :)... :)... :)... :)... :)... :)... :)... :) I installed version of php 4.0.7 (php-4.0.7rc1-win32.zip) ; 1- I extracted zip package , 2- I copied (also configured) php.ini file to my \winnt folder. (with php_gd.dll

Re: [PHP] Only one instance of a script at a time !

2001-12-28 Thread Nicolas Guilhot
I was thinking about this solution, but what can I do if the script ends prematurely. The file will never be deleted ?? Anybody has an example of how to use flock ? Nicolas Gerard Onorato [EMAIL PROTECTED] a écrit dans le message news: [EMAIL PROTECTED] There may be a much easier method

Re: [PHP] MsSQL from FreeBSD

2001-12-28 Thread Brian Clark
* Valentin V. Petruchek ([EMAIL PROTECTED]) [Dec 28. 2001 04:51]: OK, we're talking about Linux, right? No ;) FreeBsd 4.x don't know exactly about x Duh, that was stupid of me. It's right there in the subject. I'll bet `cat /proc/sys/fs/file-max` gives you 4096 OK, then give this a try:

Re: [PHP] is_uploaded_file

2001-12-28 Thread Paul Roberts
no it's move_uploaded_file and it's 4.03 or greater as well. i'm using empty() as i just want to see if i uploaded a file or not Paul Roberts [EMAIL PROTECTED] - Original Message - From: Andrey Hristov [EMAIL PROTECTED] To: Paul Roberts [EMAIL PROTECTED] Cc:

Re: [PHP] is_uploaded_file

2001-12-28 Thread Andrey Hristov
From : http://www.php.net/manual/en/features.file-upload.php ?php /* Userland test for uploaded file. */ function is_uploaded_file($filename) { if (!$tmp_file = get_cfg_var('upload_tmp_dir')) { $tmp_file = dirname(tempnam('', '')); } $tmp_file .= '/' . basename($filename);

Re: [PHP] is_uploaded_file

2001-12-28 Thread Paul Roberts
yep it all works on my dev server but the host only has 4.02 installed these functions are php 4.03+ - Original Message - From: Andrey Hristov [EMAIL PROTECTED] To: Paul Roberts [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, December 28, 2001 3:26 PM Subject: Re: [PHP]

Re: [PHP] is_uploaded_file

2001-12-28 Thread Andrey Hristov
I had 4.0.0 for a year or more and used that stuff quite well. And the docs says : For earlier versions of PHP, you'll need to do something like the following. Note: This will not work in versions of PHP 4 after 4.0.2. It depends on internal functionality of PHP which

RE: [PHP] crack lib

2001-12-28 Thread Johnson, Kirk
Hey, what is everyone talking about? What is the new crack lib functionality? Is it in the docs yet? TIA Kirk -- 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,

Re: [PHP] MySql and /var/lib/mysql/mysql.sock Problem !!!

2001-12-28 Thread Brian Clark
* ger ([EMAIL PROTECTED]) [Dec 27. 2001 20:05]: Does anybody know what is my problem ? I try to access to my mysql database and I get the next errror : Can't connect trough /var/lib/mysql/mysql.sock I'm sure you've checked to see if the mysql server is running.. The

Re: [PHP] crack lib

2001-12-28 Thread Brian Clark
* Johnson, Kirk ([EMAIL PROTECTED]) [Dec 28. 2001 10:54]: Hey, what is everyone talking about? What is the new crack lib functionality? Is it in the docs yet? http://download.php.net/manual/en/ref.crack.php http://www.zugeschaut-und-mitgebaut.de/php/extension.crack.html -- Brian Clark |

Re: [PHP] Only one instance of a script at a time !

2001-12-28 Thread Gerard Onorato
Nicolas, You could try something like ? $pifFile = /path/to/file/filename; if(file_exists($pifFile)) { $fp = fopen($pifFile, r); flock($fp, 2); // your code fclose($fp); } Note: Just wrote it, not tested. Note: You would probably want to do somethig more graceful then simply

Re: [PHP] Only one instance of a script at a time !

2001-12-28 Thread Brian Clark
* Nicolas Guilhot ([EMAIL PROTECTED]) [Dec 28. 2001 10:00]: I was thinking about this solution, but what can I do if the script ends prematurely. The file will never be deleted ?? It's a nasty hack, but you chould run a separate shell script to check for the existance of the running script,

[PHP] redirect phpinfo output

2001-12-28 Thread charlesk
How can I redirect the output from phpinfo to a file. If I try error_log(phpinfo(),3,z:\\.date(YmdHis)..html); all that is in the file is the number 1. The output gets sent to the user. Charles Killmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] Help on JavaScript Windows with PHP

2001-12-28 Thread Carlos Fernando Scheidecker Antunes
Hello all! I've wrote to scripts that use Javascript too. The idea is to have a parent window teste_popup.php4 and a child window pop.php4. When a link is clicked on the parent window, the child window will open. After the user enters information on the child window he must close it and that

[PHP] Mirroring via FTP

2001-12-28 Thread PaulC
Does anybody have any code to give an example of mirroring a directory, and sub dirs? The code needs to connect to a remote FTP server, and download the entire contents to the local hard drive. Many thanks, Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] redirect phpinfo output

2001-12-28 Thread R'twick Niceorgaw
buffer the output of phpinfo() using ob_start() then get the buffer using ob_get_contents() and store it in your new html file using fwrite() hope this helps R'twick - Original Message - From: charlesk [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 28, 2001 12:15 PM

[PHP] How to desactivate some functions ?

2001-12-28 Thread Yves REVEILLON
Hello, please anybody know how to desactivate any function as mail or function to show the source of a php page ? 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

[PHP] Re: How to desactivate some functions ?

2001-12-28 Thread Julio Nobrega Trabalhando
php.ini has a disable_functions setting, maybe acessable by ini_set() too... -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 Yves Reveillon [EMAIL PROTECTED]

[PHP] Searching a string or similar

2001-12-28 Thread Ash
Hi i've taken a look throught he manual and i can't find a function to do this Basically i want to take in a string and check that the string doesn't contain a certain word or something ie check that it doesn't contain SCRIPT LANGUAGE = Javascript to prevent hackers/crackers on my guestbook

Re: [PHP] Help on JavaScript Windows with PHP

2001-12-28 Thread Bogdan Stancescu
I don't know if this is it, but you may: 1. Replace print(returnwin=window.opener.navigate(urlLoc);\n); with print(window.opener.location='urlLoc';\n); 2. Try opening the pop-up widow with Netscape allowing the location input box to appear, click on Close e Update and, if it doesn't

Re: [PHP] Searching a string or similar

2001-12-28 Thread Bogdan Stancescu
if (strpos(SCRIPT LANGUAGE = Javascript,$input_string)===false) { echo(Yeah, right!); exit; } You'll have a lot of problems, though, because 1. You also need to check for script type=text/javascript; 2. You have to strtolower() both strings in order to eliminate capitalization differences;

RE: [PHP] Searching a string or similar

2001-12-28 Thread David Piasecki
This should be a better alternative: http://www.php.net/manual/en/function.strip-tags.php -Original Message- From: Bogdan Stancescu [mailto:[EMAIL PROTECTED]] Sent: Friday, December 28, 2001 11:14 AM To: Ash Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Searching a string or similar if

Re: [PHP] is_uploaded_file

2001-12-28 Thread Jim Lucas [php]
take a look at this little function.. :) you might like it http://www.php.net/manual/en/function.function-exists.php - Original Message - From: Andrey Hristov [EMAIL PROTECTED] To: Paul Roberts [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, December 28, 2001 7:35 AM Subject: Re:

[PHP] Part II: Help on JavaScript Windows with PHP

2001-12-28 Thread Carlos Fernando Scheidecker Antunes
Hello Bogdan, I greatly appreciated your help. Now it is way better but some behaviours are still weird as I describe below: On Microsoft Internet Explorer: - If you close the popup window by clicking the close icon, the onunload event works just fine. - If you close the popup window by

[PHP] find the fake users

2001-12-28 Thread Bas Jobsen
Hello, On this list yesterday: As long as these tools are out there, it should keep all of us on our toes, and programming with security constantly on our minds. Today i have tested, Smart HitBot (http://www.hitbot.f2s.com/). Bad stuff for stats, toplist, searchengines etc. Now i want filler

[PHP] phpmyadmin blob blues

2001-12-28 Thread Paul S.
I had been using blob for a lot of mysql text fields, even email address as well as other data. all of a sudden, it seems, instead of seeing and editting these blob values in phpmyadmin (i currently have 2.2.2) tables all i see in the fields is [BLOB] and I am ubnable to edit the fields. Does

[PHP] Temp File missing Win2k

2001-12-28 Thread Ben Edwards
I am ruining PHP with IIS on Win2k. I am using a PHP app which was working fine but when the app douse a file/upload/submit in the page posted to the temporary file seems not to exist. This was working fine on my Win98 setup. Any idea what is wrong? Ben -- PHP General Mailing List

Re: [PHP] phpmyadmin blob blues

2001-12-28 Thread Bas Jobsen
In config.inc.php: -- // In browse mode... $cfgShowBlob = FALSE; // display blob field contents -- Maybe put it on TRUE? Op vrijdag 28 december 2001 16:52, schreef Paul S.: I had been using blob for a lot of mysql text fields, even email address as well as other data. all of a

[PHP] PHP certification

2001-12-28 Thread clint
Does anyone know if there are plans to offer a PHP certification in the future? I know this can be a mute point, I am just curious. Thanks! Clint -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP] PHP certification

2001-12-28 Thread Andrey Hristov
Brainbench? Regards, Andrey Hristov - Original Message - From: clint [EMAIL PROTECTED] To: PHP General [EMAIL PROTECTED] Sent: Friday, December 28, 2001 11:13 PM Subject: [PHP] PHP certification Does anyone know if there are plans to offer a PHP certification in the future? I

Re: [PHP] phpmyadmin blob blues

2001-12-28 Thread Paul S.
That is the one. Thanks. Diff than the previous phpmyadmin it appears, too. I'll read through all those parms. Bas Jobsen wrote: In config.inc.php: -- // In browse mode... $cfgShowBlob = FALSE; // display blob field contents -- Maybe put it on TRUE? Op vrijdag 28 december

[PHP] dot files in php directories

2001-12-28 Thread Paul S.
When reloading php software to new directories deleting the old dir is often difficult because there is a dot file (often with a majic quotes directrive) so directories aren't empty. I have to telnet to my main account and use command line ftp to delete the (still invisible) offending dot files.

[PHP] I'm having trouble handling POST file uploads... HELP!

2001-12-28 Thread Uchendu Nwachukwu
I am having a problem moving files uploaded using POST. What is supposed to happen is it takes two files, a picture and its associated thumbnail, both of which have been uploaded via HTTP POST, and moves them to two different folders, renaming them appropriately. Here's the code...

[PHP] PEAR vs PHPLIB

2001-12-28 Thread Dennis Gearon
How are the usage stats for these two libraries shaping up? Both have advantages, I'm just wondering which one to start my own designs around. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

[PHP] concurrent users

2001-12-28 Thread Jamie Fields
I have recently been requested to choose new technology to be used within my organization. My options seem to include PHP and JSP, and I am leaning toward PHP. The one thing I really need to know is how many concurrent users PHP can handle at one time. This project is for an extremely large

[PHP] Dynamic Array Q

2001-12-28 Thread Chris Allen
Hey! Looking for a way to add an entry in my array ...the way I have it the array is getting rebuilt everytime... Anyway to add an entry without calling a function to do it inside the main while loop?? while ($row = mysql_fetch_object($result_query)) { $look =

Re: [PHP] Dynamic Array Q

2001-12-28 Thread Chris Allen
never mind...gheez my head is holidazed :) $Schedule = array(); while ($row = mysql_fetch_object($result_query)) { $look = $row-year . $row-month . $row-day; $title = $row-title; $Schedule[$look] =$title;

[PHP] Re: concurrent users

2001-12-28 Thread Ash
Jamie Fields [EMAIL PROTECTED] wrote in message I have recently been requested to choose new technology to be used within my organization. My options seem to include PHP and JSP, and I am leaning toward PHP. The one thing I really need to know is how many concurrent users PHP can handle at

[PHP] Re: PEAR vs PHPLIB

2001-12-28 Thread Manuel Lemos
Hello, Dennis Gearon wrote: How are the usage stats for these two libraries shaping up? Both have advantages, I'm just wondering which one to start my own designs around. That depends on what you want to do. You also should consider other well thought solutions. If you are looking for a

Re: [PHP] Part II: Help on JavaScript Windows with PHP

2001-12-28 Thread Bogdan Stancescu
The way it looks to me, you do both the window opening sequence and the closing procedure twice: - Window opening: you specify window options (toolbar, status bar etc) once in the window.open() call and once in the actual window code; - Window closing: you perform the same actions once upon

[PHP] Security bulletin?

2001-12-28 Thread Bogdan Stancescu
Hello everybody! Apart from the usual best wishes for 2002, I have a question: does anyone know of a good security list/newsletter/bulletin for PHP? Actually, any kind of good source would be great, even if it's net security in general -- what I'm looking for is: 1. Mostly PHP security

[PHP] More on Help on JavaScript Windows with PHP

2001-12-28 Thread Carlos Fernando Scheidecker Antunes
Hello Bogdan, Before anything, thank you! I've installed Netscape 6.2 on a Linux box and it works just like MS IE. Just like I told you. The unload event does not work or is called by either netscape 4.x or konqueror. But it is called by Netscape 6.2 and MS IE 5.x 6.x. I think that JS

Re: [PHP] More on Help on JavaScript Windows with PHP

2001-12-28 Thread Bogdan Stancescu
Hello, Carlos! 1. onUnload IS called by Netscape. Didn't test it with Konqueror, but I guess it's called as well; 2. My guess is that you have a problem with the function itself, that's why I strongly suggest you define it as a standalone function and use javascript: for debugging; 3. No,

RE: [PHP] Re: PEAR vs PHPLIB

2001-12-28 Thread Mark Charette
From: Manuel Lemos [mailto:[EMAIL PROTECTED]] Unlike PEAR-DB and PHPlib, Metabase provides true database independence to your applications. Actually - no. Querys/conformance to specs/sequences/stored procs and more are different from DB to DB. While the abstration layers help a little, they

[PHP] ARGGG! File uploading on a local Windows box.

2001-12-28 Thread David Balatero
Hi, I am running PHP 4.10 off my Win2000 box, and I am trying to upload a file to it (Apache is running off the same box I'm uploading from). I have the following form: = FORM method=POST action=catalog_admin.php?action=additemsave enctype=multipart/form-data INPUT type=hidden

php-general Digest 29 Dec 2001 00:47:18 -0000 Issue 1079

2001-12-28 Thread php-general-digest-help
php-general Digest 29 Dec 2001 00:47:18 - Issue 1079 Topics (messages 78929 through 78987): Re: is_uploaded_file 78929 by: Andrey Hristov 78946 by: Paul Roberts 78947 by: Andrey Hristov 78948 by: Paul Roberts 78949 by: Andrey Hristov 78965

[PHP] Including files variables ...

2001-12-28 Thread Evansville Scene
I'm having problems passing variables into included PHP files. How can I do this?

Re: [PHP] Including files variables ...

2001-12-28 Thread Bogdan Stancescu
I may be repeating myself -- use the Nike solution: just do it! :-) Global variables are implicitly passed to includes. Please provide more info if that's not the case (not globals/globals somehow not being passed). Bogdan Evansville Scene wrote: I'm having problems passing variables into

[PHP] WebServer

2001-12-28 Thread rick
Dear Members , Does anybody of you have a webserver at home using ADSL or other connections ? If any , could you tell me What would be the acceptable Hardware to run 5 or more sites at home with an 256 k ADSL ? (Memory , proccesor , etc etc ) Do I have to have

Re: [PHP] WebServer

2001-12-28 Thread Miles Thompson
Rick, Comments intersperesed below ... On Friday 28 December 2001 09:30 am, rick wrote: Dear Members , Does anybody of you have a webserver at home using ADSL or other connections ? The answer is that depends For example my telco has me behind their own firewall,

Re: [PHP] Re: PEAR vs PHPLIB

2001-12-28 Thread Manuel Lemos
Hello, Mark Charette wrote: From: Manuel Lemos [mailto:[EMAIL PROTECTED]] Unlike PEAR-DB and PHPlib, Metabase provides true database independence to your applications. Actually - no. Querys/conformance to specs/sequences/stored procs and more are different from DB to DB. While the

[PHP] Session troubles

2001-12-28 Thread Sean LeBlanc
I asked this on php-install list, but got no response so here goes... I simply cannot get session to work correctly. Here's the test script: include(incl.php); session_start(); $mine++; session_register(mine); echo $mine; incl.php includes code to save/retrieve session information to/from DB.

[PHP] Re: Security bulletin?

2001-12-28 Thread David
this is a great idea, maybe the admins can setup a php.security or something like that? Hello everybody! Apart from the usual best wishes for 2002, I have a question: does anyone know of a good security list/newsletter/bulletin for PHP? Actually, any kind of good source would be great,

[PHP] could not create new mailbox: Permission denied

2001-12-28 Thread gaukia 345
I'm new to cyrus IMAP server and PHP4. I wanted to create a user for cyrus. So I copied modified the example of imap_createmailbox at http://www.php.net/manual/en/function.imap-createmailbox.php It was done with necessary substitution of for IMAP server and using cyrus as user. The error

Re: [PHP] Including files variables ...

2001-12-28 Thread Dennis Moore
Make sure you include the tags ?php ? in your include file for PHP parsing. Included files are assumed to be text otherwise. You need to provide more information if you have another problem. - Original Message - From: Evansville Scene [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

[PHP] Licensing??

2001-12-28 Thread Andrew V. Romero
I am looking into installing php on some of our hospital servers and was wondering about licensing issues. Are you suppose to purchase any type of license for installing php on a commercial server? It seems a little on the strange side that they (the php people) would just let you install and

Re: [PHP] Licensing??

2001-12-28 Thread Bogdan Stancescu
LOL! You may want to read this for clarification: http://www.gnu.org/philosophy/free-sw.html Bogdan Andrew V. Romero wrote: what do they get out of it? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] Licensing??

2001-12-28 Thread Rasmus Lerdorf
Well, PHP is not under the GPL. But you still don't need to buy any sort of license. -Rasmus On Sat, 29 Dec 2001, Bogdan Stancescu wrote: LOL! You may want to read this for clarification: http://www.gnu.org/philosophy/free-sw.html Bogdan Andrew V. Romero wrote: what do they get

Re: [PHP] Licensing??

2001-12-28 Thread Bogdan Stancescu
Ok, I was misled by the manual copyright at http://www.php.net/manual/en/copyright.php -- anyway, it's the same sprit, I believe. Bogdan Rasmus Lerdorf wrote: Well, PHP is not under the GPL. But you still don't need to buy any sort of license. -- PHP General Mailing List

RE: [PHP] Licensing??

2001-12-28 Thread Matthew Walker
Welcome to the world of free software. Matthew Walker Ecommerce Project Manager Mountain Top Herbs -Original Message- From: Andrew V. Romero [mailto:[EMAIL PROTECTED]] Sent: Friday, December 28, 2001 9:36 PM To: [EMAIL PROTECTED] Subject: [PHP] Licensing?? I am looking into

[PHP] Which is which??

2001-12-28 Thread Gerard Samuel
I got a fairly big script with a lot of functions. Which is more effiecient to pass global information to functions ie 50 variables 50 constants or 1 array with 50 values Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] Formats with PHP

2001-12-28 Thread Steve Maroney
Hey guys, Im need to generate an email and Im trying to keep the exact spacing I use when I define the body of the email. When the email is sent and i view it with Outlick Express or simply use Pine, the spacing is all out of wack. (Too many spaces here, not enough spaces there) I think i

[PHP] WYSIWYG editors for HTML

2001-12-28 Thread Dennis Gearon
What WYSIWYG editors are you guys using with PHP templates? I'd like to layout pages, frames, multiple levels of graphics with a WYSIWYG editor. I looked at an online template from the macromedia site, and it is completely unformatted and has some unprintable character in it at every b. It is