[PHP] Control Panel , Webmin or similar Written in PHP

2001-12-29 Thread rick
Hi guys , I was Wondering if it would be possible to write a proyect like Control Panel or WebMin (both are in Perl ) using PHP instead or PERL ? Would it be possible ? PHP has the power and flexibility like Perl to write TRUE Systems programs that could be able to manage

[PHP] Control Panel , Webmin or similar Written in PHP

2001-12-29 Thread rick
Hi guys , I was Wondering if it would be possible to write a proyect like Control Panel , WebMin (both are in Perl ) using PHP instead of PERL ? Would it be possible ? PHP has the power and flexibility like Perl to write TRUE Systems programs that could be able to manage all

[PHP] Re: concurrent users

2001-12-29 Thread Björn Schotte
* Jamie Fields wrote: toward PHP. The one thing I really need to know is how many concurrent users PHP can handle at one time. That depends on your application. With intelligent caching on the user level (i.e. caching HTML output in the file system) there are some PHP applications who can

[PHP] NNTP

2001-12-29 Thread Kris
Hi, Does anyone know where these have gone, or have them archived somewhere? Google hasn't cached them. http://www.lerdorf.on.ca/nntp.phps and http://www.lerdorf.on.ca/nntp.php3 Alternatively, anyone who has/has done code to take the headers, and only the headers, of posts in a newsgroup and

Re: [PHP] Formats with PHP

2001-12-29 Thread DL Neil
Hey Steve, 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

[PHP] Windows 2000 Browse/upload problem

2001-12-29 Thread Ben Edwards
[Sorry if this is a re-post but I have been having some email problems and cant find original in the archive] I have a PHP application that is working fine on my Windows 98 system but when I try it on my Windows 2000 setup (which has recently had PHP/MySQL installed) there is a problem. When

Re: [PHP] protecting your php code from other peeping toms?

2001-12-29 Thread Ben Edwards
On this front douse anyone know of any companies who will compile an app as I cant afford the compiler but will need to do this in the future. Is it a stand alone and is it easy to install? Ben At 14:10 15/10/2001, ~~~i LeoNid ~~ wrote: On Sat, 13 Oct 2001 16:14:39 -0400 impersonator of

[PHP] Re: NNTP

2001-12-29 Thread Serge Yatsenko
Kris take a look here: http://www.vhconsultants.com/index.htm -- Serge Yatsenko, web developer http://www.design-n1.com Kris [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Does anyone know where these have gone, or have them archived somewhere? Google hasn't

[PHP] File upload memory useage.

2001-12-29 Thread Jim Broughton
I am involved with creating a website (i am the systems guy not the website programmer) on an older computer, a p133 with 80meg of ram. Since php is by default loaded with apache in the slackware installation I have chosen. I have told the website programmer that he will have to use php for

php-general Digest 29 Dec 2001 13:44:47 -0000 Issue 1080

2001-12-29 Thread php-general-digest-help
php-general Digest 29 Dec 2001 13:44:47 - Issue 1080 Topics (messages 78988 through 79013): Including files variables ... 78988 by: Evansville Scene 78989 by: Bogdan Stancescu 78996 by: Dennis Moore WebServer 78990 by: rick 78991 by: Miles Thompson

Re: [PHP] Session troubles

2001-12-29 Thread Miles Thompson
Sean, What's going on in incl.php. Are you issuing a session_start()? What if it's rearranged like so, as I understand you have to register the session variable before using it. include(incl.php); session_start(); session_register(mine); $mine++; echo $mine; There's the divide and conquer

Re: [PHP] Windows 2000 Browse/upload problem

2001-12-29 Thread Zeev Suraski
Check the value of the upload_tmp_dir php.ini entry. That's the dir that PHP would use for storing uploaded files. It can be the same as session.save_path, but it doesn't have to be... If it's not set, PHP would use the system-defined TEMP directory, which is E:\WINNT\TEMP on your system

[PHP] PHP + GD 2.0.1 + WIN2K

2001-12-29 Thread Fredrik Arild Takle
I have a win2k machine set-up with iis 5.0, php 4.1.0 and now I want to use image_copy_resample() image_copy_resample() is not working in the version of gd included in php 4.1.0. Where should I download the .dll for version 2.0.1? Regards Fredrik A. Takle -- PHP General Mailing List

Re: [PHP] Session troubles

2001-12-29 Thread Sean LeBlanc
On 12-29 09:59, Miles Thompson wrote: Sean, What's going on in incl.php. Are you issuing a session_start()? No, I was not. What if it's rearranged like so, as I understand you have to register the session variable before using it. include(incl.php); session_start();

Re: [PHP] Session troubles

2001-12-29 Thread David Jackson
Sean -- Don't know if this help but here's what I just worked for me. What ver. of PHP are you using? It seem to me that 3.x.x needs PHPLIB: http://sourceforge.net/projects/phplib to handle sessions? -- David Jackson --- sean.php --- ?php include(seaninc.php); ? --- seaninc.php --

[PHP] php-4.1.0 and tomcat 4.x

2001-12-29 Thread Vincent Stoessel
I am trying to get php compiled as a servlet. In the past (tomcat 3.x days) one would point the php configure option (--with-servlet )to the location of the servlet.jar Tomcat 4 seems to have many many servlet jars and I cannot seem to find the correct one to link against. Is Sam Ruby still

[PHP] Real Simple, but i'm new!!

2001-12-29 Thread FiShcAkE
Hey, I've just started learning php and I need to know this... What are the commands I use to get i.e. index.php?links and index.php?newsto work? I have a site, with the menu down one side, and I need to have the index.php?news link to a news.php page, etc. etc. I hope this makes

[PHP] how to create html tables in php

2001-12-29 Thread Sander Peters
Hello, I made a database with bookmarks, these bookmarks are catogarized by type. Now I want to display those bookmarks in tables by category. This works already fine. The only problem I have is that the tables are very difficult to handle. I want to make 4 tables in a row (so that will be 4

Re: [PHP] Session troubles

2001-12-29 Thread Sean LeBlanc
On 12-29 12:56, David Jackson wrote: Sean -- Don't know if this help but here's what I just worked for me. What ver. of PHP are you using? It seem to me that 3.x.x needs PHPLIB: http://sourceforge.net/projects/phplib to handle sessions? -- David Jackson --- sean.php --- ?php

Re: [PHP] Session troubles

2001-12-29 Thread David Jackson
Sean -- Do you get the same errors, with Netscape 4.x? On 12-29 12:56, David Jackson wrote: Sean -- Don't know if this help but here's what I just worked for me. What ver. of PHP are you using? It seem to me that 3.x.x needs PHPLIB: http://sourceforge.net/projects/phplib to handle

Re: [PHP] WebServer

2001-12-29 Thread Brent Rieck
Ricardo, I'd bet that behind a 256kbps connection you'll run out of bandwidth long before you run out of CPU, memory, or disk on any machine that costs more than about $500USD - but your mileage may vary depending on your application. My personal experience is that behind my DSL connection, I

Re: [PHP] Session troubles

2001-12-29 Thread Sean LeBlanc
On 12-29 15:10, David Jackson wrote: Sean -- Do you get the same errors, with Netscape 4.x? Yep. The very same. I've tried Galeon, Mozilla, Netscape 4.x, and Konqueror. They all result in the same error. On 12-29 12:56, David Jackson wrote: Sean -- Don't know if this help but here's

Re: [PHP] how to create html tables in php

2001-12-29 Thread DL Neil
Hi Sander, I made a database with bookmarks, these bookmarks are catogarized by type. Now I want to display those bookmarks in tables by category. This works already fine. The only problem I have is that the tables are very difficult to handle. I want to make 4 tables in a row (so that

Re: [PHP] File upload memory useage.

2001-12-29 Thread Jim Lucas [php]
Well, I just finished a ftp program that originally used php to catch the uploaded file, but soon realized the it did load it into memory then dump it into a file. I finally ended up using perl running with xinetd to capture the uploaded file and drop it into a file. then let php play with it

Re: [PHP] Session troubles

2001-12-29 Thread David Jackson
Sean -- Give the attached scripts a shot, a post the results. Note: Xitami(server+WinMe) + IE5.5 or Mozilla 9.7 works fine but with Netscape-4.9 it returns var names? But when served from Unix/Linux and Apache all 3 work as expected !! Anywhy give them shot. -- David --- form.html --- ?xml

Re: [PHP] WebServer

2001-12-29 Thread LaserJetter
AOL UK say their ADSL service isnt good for hosting because it is asymmetrical: you can download data faster than you can send it out which is fine for surfing the net but not so useful for running a server.(I just think AOL dont want people hosting servers using their service though!) We have a

[PHP] pdflib

2001-12-29 Thread Kunal Jhunjhunwala
Hey, Has anyone successfully installed it with php 4.0.6 ? I have tried everything from re-compiling php to compiling pdflib from scratch.. but im totally lost.. any help would be great.. the pdflib site dint help much either.. :( Regards, Kunal Jhunjhunwala -- PHP General Mailing List

Re: [PHP] php-4.1.0 and tomcat 4.x

2001-12-29 Thread Vincent Stoessel
found the answer: point to $TOMCAT_HOME/common Vincent Stoessel wrote: Subject: [PHP] php-4.1.0 and tomcat 4.x From: Vincent Stoessel [EMAIL PROTECTED] Date: Sat, 29 Dec 2001 13:06:05 -0500 To: Php

[PHP] another tomcat 4.01 problem

2001-12-29 Thread Vincent Stoessel
I got php4.1.0 sucessfully compiled in and now I get these exceptions when I try to run the test php scripts. java.lang.UnsatisfiedLinkError: send at net.php.servlet.send(Native Method) at net.php.servlet.service(servlet.java:162) at

[PHP] Templating solutions?

2001-12-29 Thread Lauri Vain
Hi there! During the last two weeks or so, I've been bugged by a question deep inside me. It's about various templating solutions used with dynamic web applications. Oftentimes simply embedding the code into the HTML template does the trick. Othertimes the codeinclude(header.inc);/codeand

Re: [PHP] Templating solutions?

2001-12-29 Thread Bogdan Stancescu
A great solution for this kind of job is Midgard (www.midgard-project.org). It provides heaps of features oriented to solving all your possible problems -- user control/access; separate content and style templates, manages includes automatically so you don't have to fiddle around tens or hundreds

Re: [PHP] Templating solutions?

2001-12-29 Thread David Jackson
Lauri -- You might want to take a look at: http://www.thewebmasters.net/php/ there's a tutorial located here: http://www.devshed.com/Server_Side/PHP/PHPFastTemplate/page1.html -- David Hi there! During the last two weeks or so, I've been bugged by a question deep inside me. It's about

Re: [PHP] Templating solutions?

2001-12-29 Thread David Jackson
Woops -- first link is to the site for PHPFastTemplate. Lauri -- You might want to take a look at: http://www.thewebmasters.net/php/ there's a tutorial located here: http://www.devshed.com/Server_Side/PHP/PHPFastTemplate/page1.html -- David Hi there! During the last two weeks or so,

[PHP] How to copy a substring of a string

2001-12-29 Thread Carlos Fernando Scheidecker Antunes
Hello All, I've been searching on the online documentation and I'm pretty sure I've done it before but I don't recall how. The problem is. I have a string with 17 characteres and I want to copy from the fourth character 6 characteres. Under Pascal I usually do copy(string,4,6). That means,

Re: [PHP] pdflib

2001-12-29 Thread Brian Clark
* Kunal Jhunjhunwala ([EMAIL PROTECTED]) [Dec 29. 2001 17:17]: Has anyone successfully installed it with php 4.0.6 ? I have tried everything from re-compiling php to compiling pdflib from scratch.. but im totally lost.. any help would be great.. What OS/distribution? A few months ago I

Re: [PHP] How to copy a substring of a string

2001-12-29 Thread Gerard Onorato
http://www.php.net/manual/en/function.substr.php On Sat, 29 Dec 2001 18:28:57 -0600, Carlos Fernando Scheidecker Antunes wrote: Hello All, I've been searching on the online documentation and I'm pretty sure I've done it before but I don't recall how. The problem is. I have a string with 17

Re: [PHP] pdflib

2001-12-29 Thread Kunal Jhunjhunwala
I am using red hat 7.2... Regards, Kunal Jhunjhunwala - Original Message - From: Brian Clark [EMAIL PROTECTED] To: PHP is not a drug. [EMAIL PROTECTED] Sent: Sunday, December 30, 2001 7:00 AM Subject: Re: [PHP] pdflib * Kunal Jhunjhunwala ([EMAIL PROTECTED]) [Dec 29. 2001 17:17]:

Re: [PHP] Security bulletin?

2001-12-29 Thread Brian Clark
* Bogdan Stancescu ([EMAIL PROTECTED]) [Dec 28. 2001 18:44]: Hello everybody! Right back atcha 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

Re: [PHP] pdflib

2001-12-29 Thread Brian Clark
* Kunal Jhunjhunwala ([EMAIL PROTECTED]) [Dec 29. 2001 20:39]: I am using red hat 7.2... Then, what was the problem? IOW, how did you know it didn't work? (Sounds like I'm asking a stupid question, but you didn't say exactly what was happening. :-))) ) [...] * Kunal Jhunjhunwala ([EMAIL

php-general Digest 30 Dec 2001 01:45:34 -0000 Issue 1081

2001-12-29 Thread php-general-digest-help
php-general Digest 30 Dec 2001 01:45:34 - Issue 1081 Topics (messages 79014 through 79042): Re: Session troubles 79014 by: Miles Thompson 79017 by: Sean LeBlanc 79018 by: David Jackson 79022 by: Sean LeBlanc 79023 by: David Jackson 79026 by:

Re: [PHP] could not create new mailbox: Permission denied

2001-12-29 Thread Brian Clark
* gaukia 345 ([EMAIL PROTECTED]) [Dec 28. 2001 23:04]: The error message was Newname will be 'phpnewbox' could not create new mailbox: Permission denied Looks like the user doesn't have write permission to the mailbox directory. I logged in as cyrus on the server I'm working on. I typed

[PHP] Quiz script

2001-12-29 Thread Indera
Hello, I have been looking for a script that I can use to create online quizzes. I also need to be able to score them online, save the results to a database, as well as, email the results to the student and teacher. The ideal option would use php and a mysql database. Any suggestions would be

Re: [PHP] Which is which??

2001-12-29 Thread Brian Clark
* Gerard Samuel ([EMAIL PROTECTED]) [Dec 29. 2001 00:35]: 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 I'm not sure I'm the right person to answer this, but if I

Re: [PHP] Quiz script

2001-12-29 Thread Bogdan Stancescu
Hello! Check these out -- they're not filtered as to only search PHP projects: http://freshmeat.net/search/?site=Freshmeatq=quizsection=projects The only PHP project in there is Duck. HTH Bogdan Indera wrote: I have been looking for a script that I can use to create online quizzes. I also

Re: [PHP] Control Panel , Webmin or similar Written in PHP

2001-12-29 Thread Brian Clark
* rick ([EMAIL PROTECTED]) [Dec 29. 2001 03:18]: I was Wondering if it would be possible to write a proyect like Control Panel , WebMin (both are in Perl ) using PHP instead of PERL ? Would it be possible ? Sure, why not? PHP has the power and flexibility like Perl to

Re: [PHP] WYSIWYG editors for HTML

2001-12-29 Thread Brian Clark
* Dennis Gearon ([EMAIL PROTECTED]) [Dec 29. 2001 00:56]: 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

Re: [PHP] Real Simple, but i'm new!!

2001-12-29 Thread Brian Clark
* FiShcAkE ([EMAIL PROTECTED]) [Dec 29. 2001 13:07]: Hey, Howdydo I've just started learning php and I need to know this... What are the commands I use to get i.e. index.php?links and index.php?newsto work? You can use QUERY_STRING, but you could also use action=news,

Re: [PHP] Handling checkboxs (MySQL+PHP)

2001-12-29 Thread Brian Clark
* David Jackson ([EMAIL PROTECTED]) [Dec 29. 2001 21:41]: [...] My question is how do I process checkbox when multi boxes have been check. I keep thinking a array is created by check boxes? Use string[] as the name(s) -- where string is the label for the array you want. -- Brian Clark |

Re: [PHP] Session troubles

2001-12-29 Thread Sean LeBlanc
On 12-29 16:46, David Jackson wrote: Sean -- Give the attached scripts a shot, a post the results. Note: Xitami(server+WinMe) + IE5.5 or Mozilla 9.7 works fine but with Netscape-4.9 it returns var names? But when served from Unix/Linux and Apache all 3 work as expected !! Anywhy give

Re: [PHP] Session troubles

2001-12-29 Thread David Jackson
Sean -- Does you standard (non session) seem to work ok? Such as: ?php // basic echo of var from form echo We've just echoed var from form\n; echo p$stuff/p; echo h2$more_stuff/h2; echo h3$still_more_stuff/h3; ? Did you compile Apache and PHP from source? If so could you provide me with the

Re: [PHP] Handling checkboxs (MySQL+PHP)

2001-12-29 Thread David Jackson
Brian -- So I should change the line: echo tdinput type=\checkbox\ name=\frm_pid\ value = \$pid\ /td; To: echo tdinput type=\checkbox\ name=\frm_pid[]\ value = \$pid\ /td; Or do I change the value= Thanks -- David * David Jackson ([EMAIL PROTECTED]) [Dec 29. 2001 21:41]: [...] My

RE: [PHP] Real Simple, but i'm new!!

2001-12-29 Thread scott
well, if your URL is index.php?links if (!empty($links)) is similar to what you'd want to use. -Original Message- From: Brian Clark [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 29, 2001 9:44 PM To: PHP is not a drug. Subject: Re: [PHP] Real Simple, but i'm new!! *

Re: [PHP] Handling checkboxs (MySQL+PHP)

2001-12-29 Thread Brian Clark
* David Jackson ([EMAIL PROTECTED]) [Dec 29. 2001 22:40]: Brian -- So I should change the line: echo tdinput type=\checkbox\ name=\frm_pid\ value = \$pid\ /td; To: echo tdinput type=\checkbox\ name=\frm_pid[]\ value = \$pid\ /td; That should do it. -- Brian Clark | Avoiding the

[PHP] array in email

2001-12-29 Thread Jordan
I've searched the archive but can't seem to find anything on the mail() function of PHP. I've got the whole function working in a simplistic manner but I can't do one thing. How is it possible to print arrays inside the body of the message. I can't seem to run a loop or anything and all I have

[PHP] Re: array in email

2001-12-29 Thread George Nicolae
the mail function looks like : mail($to,$subject,$body) (in a simplistic manner) you can use $to=[EMAIL PROTECTED]; $subject=test; for ($i=0;icount(a)/*your array*/;$i++) $body.=a[i]; //and then, of course mail($to,$subject,$body); -- Best regards, George Nicolae IT Manager

[PHP] Re: Handling checkboxs (MySQL+PHP)

2001-12-29 Thread George Nicolae
//you must make some change : echo tdinput type=\checkbox\ name=\frm_.$pid.\ value = \$pid\/td; ^^ //you must find the max pid from database with query //select pid from catalog order by pid desc limit 1 for ($i=0;$imax_pid;$i++) { $v=pid_.$i; if(isset($$v)) ... make what you