Re: [PHP] OS X

2001-01-11 Thread Michael Stearne
On Thursday, January 11, 2001, at 01:27 PM, Alex Black wrote: we'll see if they allow people to ditch Aqua (which is overblown) - but overall I'm extremely excited... You can log in to OS X as "console" and there is no GUI. Also, you can get Darwin which is Open Source and is the guts

Re: [PHP] apple-macintosh

2001-01-12 Thread Michael Stearne
He is installing on OS X Server, which has been out for a year. Poster: Try http://www.xclave.com/ for more info on PHP/MySQL on OS X S. If you get the PHP/MySQL/Apache source they should compile out of the box on OS X Server. Michael On Thursday, January 11, 2001, at 06:25 PM, Alex Black

RE: [PHP] load balancing with php/apache?

2001-01-13 Thread Michael Stearne
Any of the above. It's up to you. Most people probably store the session info in a database. But you could also do it in a shared drive. But I got a little static a while ago when I suggested storing shared session data on an NFS mounted drive. NFSes are too slow I guess. Michael On

Re: [PHP] CF vs PHP for Creating PDF's

2001-01-21 Thread Michael Stearne
You might look into HTMLDOC. This progam takes HTML files as input and converts them to PDF. You could create a template in HTML, use PHP to replace to user specific fields and then call HTMLDOC to create the PDF. HTMLDOC is located at http://easysw.com/htmldoc/ Michael On Saturday,

Re: [PHP] Porting ASP code to PHP

2001-04-02 Thread Michael Stearne
The thing that will make PHP look the best right now is to get the application running in it as soon as possible. If it's quickest to move the variables to $variables and leave all the business logic how it was under ASP, then that will help your PHP case the most. Once the code is simply

Re: [PHP] Error with Netscape 6.2

2001-11-14 Thread Michael Stearne
That is not an error you get from a browser, that is an error generated by the server. Netscape or IE are just reporting that. Are you sure the app works in IE (try Shift+Refresh on IE and Shift+Reload on NS). It sounds like there is a problem in your code. Michael Anthony wrote: I

Re: [PHP] Connecting to a MSSQL2000 database with a Linux box and PHP

2001-08-17 Thread Michael Stearne
This should be in the manual or in the archives of the list. I believe you have to use the Sybase drivers for Linux in order to conntect to the database. Michael Brandon Orther wrote: Hello, Does anyone know of a tutorial on how to get PHP to connect to a MSSQL database from a Linux box?

[PHP] PEAR Versions

2001-05-07 Thread Michael Stearne
I have a version of PEAR installed now with 4.0.3pl1. I need some of the newer versions of the functions that have been added since then. I need mysql's afftedRows for instance. I see in the 4.0.5 of PEAR that was given with 4.0.5 that some function have since 4.0.5 in PEAR.php in

Re: [PHP] Is the CGI-only Win32 binary compiled with --enable-sockets?

2001-05-10 Thread Michael Stearne
If you make a page with phpinfo() you will see all the compile options that were used for the particluar build you have (at the top of the page). Michael Todd wrote: I'm trying the example client code under Socket Functions in the documentation and I get the error: Fatal error: Call to

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

Re: [PHP] Threaded discussion Phorum algorithm

2001-05-23 Thread Michael Stearne
Here's a paper Jamie Zawinski did on threading, it might be of use, but probably a little more than what you were looking for. http://www.jwz.org/doc/threading.html Michael rodrigo wrote: I need to implement a custom discussion phorum for a news site. I would like to know what is the most

Re: [PHP] sending 5000+ emails - use PHP?

2001-07-01 Thread Michael Stearne
PHP can handle this (although you will definitely have to disable script timeout) in one run. But a smarter thing to do would be to not send all the 5000 emails at one time rather come up with a method that runs the PHP script every 5 minutes (a cron job) and send the newsletter out in 200+

Re: [PHP] Code Examples for Job Interview

2001-07-09 Thread Michael Stearne
I would say get a function or several functions that are indictatiave of your style and solve a fairly complex problem in an elegant way. I don't think thousands of lines of code will be necessary. Michael JCampbell wrote: Hey Everyone. This isn't a request for code or help, just thoughts

Re: [PHP] How does one build a big chat system?

2001-02-09 Thread Michael Stearne
How does one build a big chat system? Not in PHP :-). Really though, PHP is probably not the optimal language to do something like that in. I would think a Java Servlet or a C program or a Java applet (client) would be better for building something like that. PHP was not designed to keep a

Re: [PHP] Credit Cards

2001-02-09 Thread Michael Stearne
Read the Verisign (Under the Ps) or Cybercash section of the PHP manual. Michael Jerry Lake wrote: I have a basic shopping cart setup and I am curious as to how I go about being able to handle real-time credit card transactions. I realize there are card services like cybercash and such,

Re: [PHP] PHP 4 on RedHat 7

2001-02-13 Thread Michael Stearne
That's crazy because I am doing the same exact thing right now (compile with PDF on RH 7 and having problems.) Anyway PDF and everything compiles fine on RH 6.2 but I have had some problems on 7. What I did is: Install mySQL Configure and install Apache (my configure looks like this):

Re: [PHP] File Upload equiv. with Java/JSP

2001-02-14 Thread Michael Stearne
I'm not sure but I think that may be something still missing from JSP. I am not sure and believe I read about a class or something that handles it. Looking at java.sun.com would probably be your best bet. Michael jason cox wrote: Does anyone know the difference between file upload handling

Re: [PHP] PDF Functions

2001-02-14 Thread Michael Stearne
Chris Carbaugh wrote: I have had problems in the past with RedHat's RPMs. They seem to put things in weird places. And just removing them and starting fresh with source always seems to work. Besides, once you have built from source a few times, it's really a piece of cake, and much

Re: [PHP] Restrict access per IP Address

2001-02-14 Thread Michael Stearne
Run ? phpinfo(); ? on a page. You will be able to see all of the available environment variables avaliable to you, one will tell you the client IP address. Michael "Karl J. Stubsjoen" wrote: Okay, last one for the day! How do you query the clients IP address? We have a site in

Re: [PHP] PDF Functions

2001-02-14 Thread Michael Stearne
somethin or other I just don't get it.. In the mean time, I'd say 6.2 is a good bet. Good Luck, Chris On Wed, 14 Feb 2001, Mike Tuller wrote: Date: Wed, 14 Feb 2001 19:03:05 -0600 To: [EMAIL PROTECTED], Michael Stearne [EMAIL PROTECTED] From: Mike Tuller [EMAIL PROTECTED

Re: [PHP] Code Optimizer

2001-02-16 Thread Michael Stearne
You can set your error reporting in your php.ini file or set error_reporting() in your scripts to be very sensitive where it will tell you such things as variables that weren't defined properly. Look into http://www.php.net/manual/en/features.error-handling.php Michael Joe Sheble aka Wizaerd

Re: [PHP] Database Code Portability

2001-02-16 Thread Michael Stearne
This topic is covered a lot. Right now there are two major DB abstraction packages, Manuel Lemos' Metabase ( http://phpclasses.UpperDesign.com/browse.html/package/20 ) and the one that is distrubuted with PHP located in your distributions PEAR directory. Try both, see which one works better for

Re: [PHP] PHP Code Obfuscator?

2001-02-17 Thread Michael Stearne
Joe, I think that the APC product (Alternative PHP Cache) may soon offer souce "encoding". I think I remember reading about that. Regard APC seems to be a very nice product. Check it out at http://apc.communityconnect.com/ Michael Joe Njeru wrote: Jim, I also come from a third world

Re: [PHP] Macs and PHP

2001-02-18 Thread Michael Stearne
Mike Yuen wrote: I'm got another person working for me on a site. He's a Mac user and for some reason, he can't seem to register as a new person. I know this problem isn't due to the large amount of traffic b/c it's a new site with 3 users max at any time. I haven't found any similar

Re: [PHP] Uploading Files via PHP

2001-02-18 Thread Michael Stearne
The script you are using is probably checking the MIME type of the file uploaded and rejecting any of the ones that are not one of the types you listed. Look at or post some of the code you are using to find out if this is the case. Michael Brian Drexler wrote: I've been using a PHP

Re: [PHP] Uploading Files via PHP

2001-02-18 Thread Michael Stearne
}else { print "bfont color=red$image_name is not a valid file to upload.br Please upload JPEG (.jpg) or GIF (.gif) type images only./font/bbrnbsp;br"; return 0; } } Brian Drexler wrote: ? exec( "mv $image '$Destination/$FileName'"); ? - Original Message - F

Re: [PHP] Converting CFML to PHP

2001-02-18 Thread Michael Stearne
Cold Fusion Markup Language. It's Cold Fusion's "programming language". Michael Brian Drexler wrote: Maybe I'm not all with it, but what is CFML? - Original Message - From: Camden Spiller [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, February 18, 2001 3:52 PM

Re: [PHP] PDF Functions

2001-02-19 Thread Michael Stearne
I think you're getting through the configure and compile somehow (maybe info is cached), but not really compiling in the PDF functions. I really think this is an issue with the setup of RH 7. Why don't you try to install the 7.1 which is beta now to see if RH fixed it in anyway. Or you can go

Re: [PHP] ASP / PHP / embedded scripting (possibly OT)

2001-02-19 Thread Michael Stearne
ASP is a framework in which laguages are used. The most commonly used language is VBScript. You can also use JScript (MS's Javascript) or PerlScript within ASP. Check with MS for more info. Of course you can always assign the .asp extenion to PHP files and say it's ASP. Michael

Re: [PHP] Asking Sth about PHP

2001-02-20 Thread Michael Stearne
You can run php from the command line as a standalone app. Compole PHP as a stand-alone CGI program (read the INSTALL file) and then run it like: localhost$ /path/to/php -f myFile.php Or you can also run it withing a shell or perl script the same way (maybe through a system() call in perl)

Re: [PHP] Making .phtml an extension

2001-02-21 Thread Michael Stearne
Or the .htaccess file of your top directory if you are virtual hosting and cannot change the httpd.conf file. Michael Pavel Jartsev wrote: Brandon Orther wrote: Hello, I am trying to get .phtml to work for php files. How would I do this? If you have Apache, then following line in

Re: [PHP] PDF Problems

2001-02-21 Thread Michael Stearne
What OS and glibc version? There are problems with the set-up in RH7. Michael Sam Goin wrote: Hi, I am running PHP4.04pl1, pdflib3.03, jpeg6b, tiff3.5.5, apache1.3.17. Some of the pdf functions work, but others don't, such as pdf_new(). Does anybody know what the problem is? I have

Re: [PHP] PHP4 on UNIX connect to MS SQL Server

2001-02-26 Thread Michael Stearne
This is a really common question. Check the mailing list archive for an answer. (I don't know) Michael Scott Fletcher wrote: Anyone know of a open-source driver that would allow unlimited database connection to connect the UNIX machine to a MS-SQL Server 7.0 and is free? I have see

Re: [PHP] Script Encodeing??? other than Zend.

2001-04-03 Thread Michael Stearne
I forget what it is called but I think there is an OpenSource one, check the archives on this subject. Also chack out APC http://apc.communityconnect.com/ , it is an OpenSource version of the cache tool that may in the future provide encoding I believe. Michael On Tuesday, April 3, 2001, at

Re: [PHP] iODBC Mac OS X HOWTO

2001-04-03 Thread Michael Stearne
Thanks a lot, this will be a big help. Michael On Tuesday, April 3, 2001, at 02:58 PM, Andrew wrote: Hi all, In the past couple of weeks, many people have asked me about compiling PHP / Apache under Mac OS X, so I've updated my iODBC HOWTO specifically for Mac OS X. This walks

Re: [PHP] Commercial sites that use PHP

2001-04-10 Thread Michael Stearne
Along with VaLinux.com and all new VA sites. Penguin Computing dies too. Michael On Tuesday, April 10, 2001, at 12:20 PM, Phillip Bow wrote: Well since nobody else has chimed in(barring the fact it may be in one of the already recommended lists) sourceforge is made with php, and is a

[PHP] Problem With System Call

2005-05-19 Thread Michael Stearne
I am having the strangest problem using system() or exec() or any variation. None of them work on the Fedora Core 3 system that was just loaded. The PHP is Version 4.3.9 with Apache 2.0.52, the default installation for Fedora Core 3. Everything in PHP works as expected except when trying a

Re: [PHP] Problem With System Call

2005-05-19 Thread Michael Stearne
No. It's RedHat Fedora Core 3. Michael On 5/19/05, Kim Madsen [EMAIL PROTECTED] wrote: -Original Message- From: Michael Stearne [mailto:[EMAIL PROTECTED] Sent: Thursday, May 19, 2005 9:10 AM I am having the strangest problem using system() or exec() or any variation. None

[PHP] System Call Troubles

2005-05-19 Thread Michael Stearne
I am having the strangest problem using system() or exec() or any variation. None of them work on the Fedora Core 3 system that was just loaded. The PHP is Version 4.3.11 with Apache 2.0.52, the default installation for Fedora Core 3. Everything in PHP works as expected except when trying a

Re: [PHP] System Call Troubles

2005-05-19 Thread Michael Stearne
Thanks. Neither have helped. I have no idea what the deal is. I think it might be some restriction set by Fedora or Apache. Michael On 5/19/05, Philip Hallstrom [EMAIL PROTECTED] wrote: I am having the strangest problem using system() or exec() or any variation. None of them work on the

Re: [PHP] Problem With System Call

2005-05-19 Thread Michael Stearne
I noticed that. I don't believe SELinux is installed. Is these known to disable system calls? Thanks, Michael On 5/19/05, Roger B.A. Klorese [EMAIL PROTECTED] wrote: On Thu, 19 May 2005, Michael Stearne wrote: No. It's RedHat Fedora Core 3. SElinux isn't a distribution -- it's

Re: [PHP] System Call Troubles

2005-05-19 Thread Michael Stearne
Thank you! setsebool httpd_disable_trans true /etc/init.d/httpd restart did it. Michael On 5/19/05, Rasmus Lerdorf [EMAIL PROTECTED] wrote: Michael Stearne wrote: I am having the strangest problem using system() or exec() or any variation. None of them work on the Fedora Core 3 system

Re: [PHP] Problem With System Call

2005-05-19 Thread Michael Stearne
is asking is, on your copy of RedHat Fedora Core 3, is are the SELinux security features enabled? On 5/19/05, Michael Stearne [EMAIL PROTECTED] wrote: No. It's RedHat Fedora Core 3. Michael On 5/19/05, Kim Madsen [EMAIL PROTECTED] wrote: -Original Message- From: Michael

Re: [PHP] Lines

2001-04-24 Thread Michael Stearne
If you use the file() function to open up the file, it will put each line of the file into an array. At that point you can say: for($i=5;$i11;$i++){ print $myFile[$i]; } Michael Rafael Faria wrote: Hey Guys, it's my first post on this list, and my doubt is... how can i take a

[PHP] Homesite - Windows and CVS

2001-05-03 Thread Michael Stearne
We are working on a project that is hosted on Linux, but the development is being done on Windows using Homesite. I have looked around but haven't found any real solutions with an IDE that can work directly with a remote CVS project like MacOS's Project Builder can for example. Are there

Re: [PHP] PHP Java ?

2001-05-04 Thread Michael Stearne
They are totally un-related. Make sure that the final HTML on the page (some of it generated by PHP) is corrent and doesn't break the Java/Javascript. Michael Jack Sasportas wrote: While working on some web sites which contain mouse over java, and then adding in some db stuff via

[PHP] Updating an installation of PEAR

2001-05-07 Thread Michael Stearne
I have a pretty current version of PEAR installed on a server, but would like to upgrade to the most recent CVS. I have pulled the CVS version. How can I install this new version of PEAR into the place I have my current version without recompiling PHP again. Are all the configuration for

[PHP] Zend.com CVS

2001-05-07 Thread Michael Stearne
Is the Zend CVS down? The connection is really slow, I have been trying to get the source for an hour. Is the problem on my end or Zend? Thanks, Michael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] ANN: Visual PHP Studio 1.0 Field Test 1

2001-05-07 Thread Michael Stearne
Yeah, I hope it's a MacOS app also. Michael Meir kriheli wrote: On Tuesday 08 May 2001 00:39, elias wrote: Is it a windows app (I hope it isn't)? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP] Putting Evaluated Contents Of Include File Into Varialble

2005-02-22 Thread Michael Stearne
Hi, I have an file that contains PHP code..variables, db, etc. Is it possible to include the evaluted contents of that file into a variable in another, the calling PHP script? Essentailly I am looking to do something like include(myCode.php) - HTML Output - $myVariable. I know could do this