[PHP] Exploding Zip Codes! (Using PHP's explode function)

2002-08-12 Thread Keith Posehn
I have a huge block of zip codes I need to seperate into their constituent parts for a query of a database. The block looks like this (in part): | 36310 ABBEVILLE | | 35440 ABERNANT | | 35005 ADAMSVILLE | | 35540 ADDISON | | 35006 ADGER | | 35441 AKRON | I need to use eplode (p

[PHP] Re: Some questions.

2002-08-12 Thread Mitja Stepan
Perhaps this might help: http://www.php.net/manual/en/function.ini-set.php session.save_path "/tmp" PHP_INI_ALL session.name "PHPSESSID" PHP_INI_ALL session.save_handler "files" PHP_INI_ALL session.auto_start "0" PHP_INI_ALL session.gc_probability "1" PHP_INI_ALL

RE: [PHP] exec / mkdir question

2002-08-12 Thread vic
// Create user directory /* $user-id is a variable that contains the use name from a form field, that's how I name my new directories, u can use whateve u want*/ mkdir ( "/path/to/dir/$user_id", 0755 ) or die ( "Could not create custom user directory." ); - Vic -Original Message- From:

Re: [PHP] PHPS on apache 2

2002-08-12 Thread FileCop
I found out, that phps isn't supported for apache 2 before php 4.3.x or so "Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Sat, Aug 10, 2002 at 07:38:05PM +0200, FileCop wrote: > > > > I have installed apache 2.0.39 and php 4.2.2 on a w

Re: [PHP] passing an array in a form element

2002-08-12 Thread David T-G
Mark, et al -- ...and then Mark Charette said... % % I use % % $data=base64_encode(serialize($array_name)); % % to send and % % $array_name=unserialize(base64_decode($data)); % % to receive. Aha! Yes, that works nicely; thanks. Now to go and see how they work to see if I need the base64 s

Re: [PHP] $HTTP_SESSION_VARS vs $_SESSION

2002-08-12 Thread Rasmus Lerdorf
No, you don't need to use HTTP_SESSION_VARS for anything if register_globals is on. Sessions are very simple. You start a session, and you register variables to be part of that session. Like this: session_start(); session_register('a'); session_register('b'); If you have that at the top of

[PHP] Re: Exploding Zip Codes! (Using PHP's explode function)

2002-08-12 Thread Bogdan Stancescu
If that's the exact string you have (which I doubt) then your code should look something like Notes on the code above: 1. Your string most probably doesn't look like that, in which case you'll have to adapt the code to it; 2. You'll have to do some custom changes to the first and last entry

[PHP] Re: picture upload error!

2002-08-12 Thread Bogdan Stancescu
Hi! Have you tried echoing $aFileContents in the same script? Does it actually contain anything? You may have a problem with reading from the upload file... Bogdan Djurovski Dejan wrote: > I can't upload picture to MySQL database: > What is wrong with my script: > I use PHP & MySQL database.

[PHP] Re: Php lib?

2002-08-12 Thread Bogdan Stancescu
What do you need exactly? Phplib does a lot of things, and I don't think anyone can answer your question without some specifics (or without rewriting the phplib documentation, that is). Bogdan John Wards wrote: > Anyone got any handy hints on how to convert scripts running on PHP3 and > PHPlib

Re: [PHP] E-commerce site issue?

2002-08-12 Thread The Gabster
Thanks again, Justin... Any suggestions on how to store/transmit the credit cards securely? And how do I process them manually? How do I get set up to accept credit cards?" Thanks, gab. "Justin French" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > on 10

[PHP] Re: Simple date question

2002-08-12 Thread Bogdan Stancescu
Hi! I never used MSSQL myself, but you should be able to find some SQL command to format the date in the MSSQL documentation - that's generally the way to retrieve specific date/time elements. HTH Bogdan Dave Leather wrote: > I hope this is a simple date question > > I am using an MSSQL dat

[PHP] .htaccess and PHP

2002-08-12 Thread Smad
Hi I am authenticating users on my website using .htaccess. After they log in, I want to pass the user info (for ex: a unique nr. identifiying the person) thruought all the pages which are affected by the .htaccess file, in order to extract that user's info from the database. I must tell you that

[PHP] Garbage .html via HTTP/1.0 or Proxy

2002-08-12 Thread Kelvin Lawson
Hi All, When connecting to my site from certain clients, the .html returned contains a large block of non-standard characters. Running it locally and from various other places, the site looks normal. But when I connect from work, the .html file returned is corrupted. At work we have a web prox

[PHP] include & require directive

2002-08-12 Thread Huy
If I use either the include or require statement, PHP will generate some lines in the browser. For example, I want the first line is Hello There.. echo ("Hello There"); but the line happens to be the third line after some blank lines. So how do I turn that off?? -- PHP General Mailing List (ht

[PHP] test - please ignore

2002-08-12 Thread eriol
testing php.general list -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Garbage .html via HTTP/1.0 or Proxy

2002-08-12 Thread Jim Dam
Are you using gzip compression? Maybe the browser you are using doesn't support gzip. - Original Message - From: "Kelvin Lawson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 12, 2002 4:55 PM Subject: [PHP] Garbage .html via HTTP/1.0 or Proxy Hi All, When connecting

Re: [PHP] Strip PHP tags

2002-08-12 Thread James Green
On Mon, 2002-08-12 at 18:35, Remy Dufour wrote: > Hi all, > > Is there an easy way to remove tag from a string ? > Ive got this script and i want it to output only html... > I know i can do this with regular expression but i wonder if there are some > native function to do the job. http://uk.ph

[PHP] Evaluating server date ranges?

2002-08-12 Thread Joe in Minneapolis
What's the best way to evaluate the server date to see if it's within a specified date range? Thanks! Joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] include & require directive

2002-08-12 Thread James Green
On Mon, 2002-08-12 at 22:14, Huy wrote: > If I use either the include or require statement, PHP will generate some > lines in the browser. For example, I want the first line is Hello There.. > echo ("Hello There"); but the line happens to be the third line after some > blank lines. So how do I tur

Re: [PHP] Evaluating server date ranges?

2002-08-12 Thread James Green
On Mon, 2002-08-12 at 10:41, Joe in Minneapolis wrote: > What's the best way to evaluate the server date to see if it's within a > specified date range? Hm I'd [gm]mktime() both boundary dates, then turn all three dates into unix timestamps and check the server date is within the two integer bou

Re: [PHP] In version 4.2.1 ereg_replace break Apache

2002-08-12 Thread Danny Shepherd
Have you tried it on a non debug build? Danny - Original Message - From: "Marcello Lupo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 12, 2002 8:14 PM Subject: [PHP] In version 4.2.1 ereg_replace break Apache > ## A simple function to remove consonant ## > $temp="th

Re: [PHP] dates greater than 2002-01-18 create error

2002-08-12 Thread Danny Shepherd
It's a fairly well known problem now but I'm sure we'll all be using (at least) 64bit integers for storing this sort of stuff by 2038. FYI, the current 32bit signed int allows for around 68years - a 64bit signed int will give us a few billion years :) Danny. - Original Message - From: "

RE: [PHP] Whois...

2002-08-12 Thread David Freeman
> I'd like to implement on my web site an "whois" to know the > information about a domain name (.com, org, ) There's an article about doing exactly this on devshed (www.devshed.com/Server_Side/PHP/) that you could have a look at. Looked like a pretty complete solution when I went looking

[PHP] show_source question

2002-08-12 Thread eriol
I've got the following bit of code to work in showing the actual PHP file source code, but it doesn't show include() or require() files and I'd like it to.. -- source.php -- if(strlen($php)>0){ $php = $DOCUMENT_ROOT . $php; if (ereg("(\.php)$",$php) && !ereg("\/\.\.",

Re: [PHP] Whois...

2002-08-12 Thread Danny Shepherd
http://phpbuilder.com/snippet/download.php?type=snippet&id=1086 - This one works pretty well - checks most domain (everything except .tv and such) HTH Danny. - Original Message - From: "David Freeman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 12, 2002 11:32 PM Sub

[PHP] Credit Card suggestions

2002-08-12 Thread Mike Mannakee
Does anyone have any suggested method of scrambling a user's credit card number before I stick it in a mysql database? I want to make sure it's useless to anyone that might manage to lift the database. Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.p

Re: [PHP] Credit Card suggestions

2002-08-12 Thread Rasmus Lerdorf
If they are able to lift your database they are more than likely able to lift your scrambling code as well. And assuming you want the ability to descramble the card number, there is simply no way to do this securely. Sorry. -Rasmus On Mon, 12 Aug 2002, Mike Mannakee wrote: > Does anyone have a

Re: [PHP] Credit Card suggestions

2002-08-12 Thread Mike Dunlop
We use the mcrypt lib to encrypt data stored in our DB; works great for us. Check the online documentation for more info. - Mike D >Does anyone have any suggested method of scrambling a user's credit card >number before I stick it in a mysql database? I want to make sure it's >useless to anyo

[PHP] HTML issue... spaces in between images

2002-08-12 Thread Michael Zornek
Ok so in my HTML I have: but because they are on separate lines with spaces, I get spaces rendered on the screen. If I write the code like: I get no spaces but it's harder to read anyone know of a way to tell html to ignore these spaces? I could in theory do something like this in

RE: [PHP] HTML issue... spaces in between images

2002-08-12 Thread Matt Babineau
Matt Babineau MCWD / CCFD - e: [EMAIL PROTECTED] p: 603.943.4237 w: http://www.criticalcode.com PO BOX 601 Manchester, NH 03105 -Original Message- From: Michael Zornek [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12

Re: [PHP] Exploding Zip Codes! (Using PHP's explode function)

2002-08-12 Thread Analysis & Solutions
On Mon, Aug 12, 2002 at 01:29:38PM -0700, Keith Posehn wrote: > > | 36310 ABBEVILLE | > | 35440 ABERNANT | > | 35005 ADAMSVILLE | Look at http://www.php.net/manual/en/function.fgetcsv.php. Use Example 1, substituting " " as your "delimiter" argument and your file name in lieu of "tes

AW: [PHP] image function

2002-08-12 Thread Sascha Braun
Hello, I got the same Problem right yet. I´m using an create thumbnail library on my website, but the class don't work on my computer and either not on my webspace where i tested it too. On my Computer there is installed Win2K with apache 2.0.35 and PHP 4.2.2. I used both GDLibs wich came along

Re: [PHP] .htaccess and PHP

2002-08-12 Thread Analysis & Solutions
On Tue, Aug 13, 2002 at 12:01:24AM +0300, Smad wrote: > > I am authenticating users on my website using .htaccess. > After they log in, I want to pass the user info (for ex: a unique nr. > identifiying the person) thruought all the pages which are affected by the > .htaccess file $_SERVER['PHP_A

Re: [PHP] Credit Card suggestions

2002-08-12 Thread Analysis & Solutions
On Mon, Aug 12, 2002 at 08:48:49PM -0400, Mike Mannakee wrote: > Does anyone have any suggested method of scrambling a user's credit card > number before I stick it in a mysql database? I want to make sure it's > useless to anyone that might manage to lift the database. It's best not to store fu

[PHP] Performance of ZLib

2002-08-12 Thread Sascha Braun
Hi, I wanna pack some files before they are getting available for download. My problem is, that I don't know what will happen to the webserver if there is alot of trafic too. Will this method work out or will it kill the machine? The funktionality is: Customer puts an 300 DPI High quality JPEG

Re: [PHP] Evaluating server date ranges?

2002-08-12 Thread Bogdan Stancescu
If you store the date as a database native timestamp you might want to consider using native database functions in order to reduce CPU time - otherwise Mr. Green's solution is the typical one indeed. Bogdan James Green wrote: > On Mon, 2002-08-12 at 10:41, Joe in Minneapolis wrote: > >>What's

Re: [PHP] include & require directive

2002-08-12 Thread Huy
But I do... If I left out the require statement all is well.. or I copy the whole content of the included file.. it works fine. The problem is the require statement. "James Green" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Mon, 2002-08-12 at 22:14,

Re: [PHP] e-mail to mysql database?

2002-08-12 Thread Justin French
YOu need to contact your host first. What you need is for the server to detect emails coming into a certain address, or with a certain subject line, and pass them over to a free-standing (ie not a browser-run) PHP script. The trick will NOT be the parsing of the text and inserting it into the DB

Re: [PHP] html parser

2002-08-12 Thread Justin French
I was looking for one for AGES. There are a few bits on phpclasses.org, but they didn't suit MY needs. I actually decided to start writing my own, because I only needed to parse a VERY limited subset of HTML (just a few different tags). Justin French on 13/08/02 2:35 AM, Curtis A. Weyant ([EM

Re: [PHP] Strip PHP tags

2002-08-12 Thread Justin French
The only NATIVE way is using strip_tags(), and physically allowing most HTML tags to be included: $allowed = "

Re: [PHP] Some questions.

2002-08-12 Thread Justin French
on 13/08/02 3:42 AM, mintbaggio ([EMAIL PROTECTED]) wrote: > I'm a Chinese university student,I want to ask some questions about session. > These days I'm build a website for my university with PHP, But I meet a > question when I develop the part of User Management: After I have log out > from a

[PHP] Re: HTML issue... spaces in between images

2002-08-12 Thread Mike Mannakee
Yeah, I ran into this too, quite some time ago. The first whitespace character will be displayed by html, though all subsequent ones will be ignored. The thing to do is just get used to it. Or use a table, which is usually more sensible anyways, as it gives you more control. Mike "Michael Zo

Re: [PHP] E-commerce site issue?

2002-08-12 Thread Justin French
on 13/08/02 6:58 AM, The Gabster ([EMAIL PROTECTED]) wrote: > Thanks again, Justin... > > Any suggestions on how to store/transmit the credit cards securely? I'm not a security expert at all, so don't consider this advice anything more than "suggested for further reading". This is a big can of

Re: [PHP] Some questions.

2002-08-12 Thread Bob Irwin
Also, This may be unrelated, but something I'll throw in just in case as there was much hair pulling on my part. I recently discovered a problem with using sessions on Apache 1.3.2.23 and PHP the two latest versions of PHP (excluding the most recent version which was not available at the time).

[PHP] Re: show_source question

2002-08-12 Thread Mike Mannakee
You could just append the files into a string, then show the string instead. Like if(strlen($php)>0){ $php = $DOCUMENT_ROOT . $php; if (ereg("(\.php)$",$php) && !ereg("\/\.\.", $php)){ $show=file("head.php"); $show.=file("$php"); $show.=file("foot.php"); echo "\n\n";

[PHP] Re: show_source question

2002-08-12 Thread eriol
Thanks for the reply.. I did try what you suggested, but am getting the following warning: Warning: Failed opening 'ArrayArrayArray' for highlighting in /hsphere/local/home/eriol/oo0oo.com/o0o.o0o on line 43 (o0o is php) Line 43 is: show_source("$show"); I copied everything as written, so I'

[PHP] Web services and PHP

2002-08-12 Thread Aung
I have some web services developed with .NET and I would like to consume these web services from PHP. Can someone provide me with example code? Thanks in advance. Aung -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Web services and PHP

2002-08-12 Thread Peter Houchin
look up .NET in the manual it will have all your answers :D > -Original Message- > From: Aung [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, 13 August 2002 1:16 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Web services and PHP > > > I have some web services developed with .NET and I would l

Re: [PHP] can i use --with-unixODBC instead of --with-ibm-db2?

2002-08-12 Thread Doug Smith
I fixed my DB2 + PHP problem. Turns out I didn't have DB2 Connect EE installed -- which is required to work with PHP. ooops. Thanks for all your help, -Doug "Matt" <[EMAIL PROTECTED]> wrote in message 047001c23f46$f7707c40$[EMAIL PROTECTED]">news:047001c23f46$f7707c40$[EMAIL PROTECT

Re: [PHP] E-commerce site issue?

2002-08-12 Thread Jason Wong
On Tuesday 13 August 2002 10:29, Justin French wrote: > Needless to say, this is not light work. You should seriously consider > paying someone to do this properly for -- at least the first time, and try > to learn off them. You should spend lots of time talking with your host > about security

[PHP] Making PHP faster?

2002-08-12 Thread Jean-Christian Imbeault
I'm using PHP to load data into a PostgresQL database. The script works fine but it is a bit slow. It's taking about 30 minutes to load about 15,000 items. This is mainly because of all the error checking and many redundant queries I am running. This program is a one-off thing. Are there any

Re: [PHP] Performance of ZLib

2002-08-12 Thread Jason Wong
On Tuesday 13 August 2002 09:46, Sascha Braun wrote: > The funktionality is: > > Customer puts an 300 DPI High quality JPEG image into his shopping cart, > after he checks out the Image or the images are getting compressed via Zlib > Library. Have you tried doing a few test runs to see 1) By ho

Re: [PHP] Web services and PHP

2002-08-12 Thread Aung
I don't see any function for .NET in PHP manual. Are you refering to different manual? "Peter Houchin" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > look up .NET in the manual it will have all your answers :D > > > -Original Message- > > From: Aung [m

Re: [PHP] Re: show_source question

2002-08-12 Thread Rasmus Lerdorf
file() returns an array, show_source() takes a string. On Mon, 12 Aug 2002, eriol wrote: > Thanks for the reply.. > > I did try what you suggested, but am getting the following warning: > > Warning: Failed opening 'ArrayArrayArray' for highlighting in > /hsphere/local/home/eriol/oo0oo.com/o0o.o0

RE: [PHP] Web services and PHP

2002-08-12 Thread Peter Houchin
here ya go http://www.php.net/manual/en/ref.dotnet.php > -Original Message- > From: Aung [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, 13 August 2002 1:54 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Web services and PHP > > > I don't see any function for .NET in PHP manual. Are you

[PHP] N6: PHP files can't "show source"

2002-08-12 Thread Jean-Christian Imbeault
I'm using Netscape 6.2 and whenever I load one of my .php files I can't get Netscape to "show source". I don't have that problem with IE. Can anyone tell me how to configure Netscape so that I can view the HTML output of my PHP files? Jc -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] E-commerce site issue?

2002-08-12 Thread Justin French
on 13/08/02 1:39 PM, Jason Wong ([EMAIL PROTECTED]) wrote: > On Tuesday 13 August 2002 10:29, Justin French wrote: > >> Needless to say, this is not light work. You should seriously consider >> paying someone to do this properly for -- at least the first time, and try >> to learn off them. You

Re: [PHP] Web services and PHP

2002-08-12 Thread Justin French
on 13/08/02 1:53 PM, Aung ([EMAIL PROTECTED]) wrote: > I don't see any function for .NET in PHP manual. Are you refering to > different manual? http://www.php.net/manual/en/ref.dotnet.php I found it pretty easy! Justin French -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Making PHP faster?

2002-08-12 Thread Andrew Brampton
I don't know any good ways of making PHP go faster, but may I suggest that the time you use in coding and figuring out ways to make PHP faster would be greater than the time you have saved by using such features... If this is a one of thing I think 30minutes is better than 15minutes plus 60minute

Re: [PHP] Re: show_source question

2002-08-12 Thread eriol
Thanks for the reply.. As a newbie, I'm not understanding what else I could use, even after searching the manual and google.. I've tried readfile() instead of file() which returns some, not all, of the head.o0o code (I assume as a strong instead of an array), but I still get an error: Warning: F

Re: [PHP] Making PHP faster?

2002-08-12 Thread Jean-Christian Imbeault
Andrew Brampton wrote: > > I don't know any good ways of making PHP go faster, but may I suggest that > the time you use in coding and figuring out ways to make PHP faster would be > greater than the time you have saved by using such features... I am not looking to tweak my code. I am asking f

[PHP] Mail(): Does it block question?

2002-08-12 Thread Jean-Christian Imbeault
Is the mail() function blocking or non-blocking? Does anyone know how I can make it non-blocking? I don't want to have my script waiting on mail() to return ... Also I read that mail() should not be used for large volumes of mail. How large is "large"? Can mail() handle a couple of messages pe

Re: [PHP] Making PHP faster?

2002-08-12 Thread @ Edwin
Andrew, It's true that "the time you use in coding and figuring out ways to make PHP faster would be greater than..." The task mentioned might be a "one-off thing" NOW. However, the techniques that we can learn can also be applied in future task, so, I'm still interested in the answer to the o

Re: [PHP] Mail(): Does it block question?

2002-08-12 Thread Rasmus Lerdorf
On UNIX PHP hands the message off to sendmail to be delivered. You want this stuff to happen out of band, it makes no sense to sit there and watch a browser spin while something is off communicating with an smtp server. So, depending on your sendmail configuration, and how you are invoking sendm

Re: [PHP] Mail(): Does it block question?

2002-08-12 Thread Jean-Christian Imbeault
Rasmus Lerdorf wrote: > > So, depending on your sendmail configuration, and how you are invoking > sendmail (see your php.ini file) it will be non-blocking if you tell > sendmail to simply queue it. Ok. I'll look into what settings are important in php.ini > For high-volume mail delivery, y

Re: [PHP] N6: PHP files can't "show source"

2002-08-12 Thread @ Edwin
I might be wrong but I think the only (easy) way you can view the source is to "Save as..." the page first into xxx.html then open that file and view the source... In other words: 1. Using N6, go to the page where you can't "view source" 2. Click on "File" -> "Save as..." 3. Save it to desired

Re: [PHP] Mail(): Does it block question?

2002-08-12 Thread Rasmus Lerdorf
Just about any mailing list system that supports subscriber passwords should do. I can't imagine a way they would store these passwords that PHP wouldn't be able to grok with a little 10-minute hack job. -Rasmus On Tue, 13 Aug 2002, Jean-Christian Imbeault wrote: > Rasmus Lerdorf wrote: > > >

Re: [PHP] Making PHP faster?

2002-08-12 Thread Mirek Novak
HI, I thing, you have to find out WHAT is really slow part, I don't think it is PHP what's slow, as you didn't write more about your project, try to find out the "bottleneck" in few steps, for example turn off error-checking, then put it back on and turn off execution of INSERT queries, th

RE: [PHP] Web services and PHP

2002-08-12 Thread vic
".Net"? BLASPHEMY! - Vic -Original Message- From: Aung [mailto:[EMAIL PROTECTED]] Sent: Monday, August 12, 2002 11:16 PM To: [EMAIL PROTECTED] Subject: [PHP] Web services and PHP I have some web services developed with .NET and I would like to consume these web services from PHP. Can

Re: [PHP] Mail(): Does it block question?

2002-08-12 Thread Manuel Lemos
Hello, On 08/13/2002 01:44 AM, Jean-Christian Imbeault wrote: >> For high-volume mail delivery, you should be using a dedicated mailing >> list system. Have PHP send a single message to the list and let the list >> system do the mass-delivery for you. Right tool for the job and all... > > Tota

Re: [PHP] JSP vs. PHP?

2002-08-12 Thread Aaron
Julio Nobrega wrote: >[EMAIL PROTECTED] em Friday 09 August 2002 14:14 foi agraciado com uma >resposta por: > > > >>but how many huge dot-coms wrote their sites in PHP? >> >> > > We did :-) > > A Linux/Apache/PHP/Mysql system that will run credit solicitations for >financial institution

Re: [PHP] Making PHP faster?

2002-08-12 Thread Jean-Christian Imbeault
Mirek Novak wrote: > > I thing, you have to find out WHAT is really slow part, I don't think > it is PHP what's slow, Thanks. Maybe I didn't write my question properly ... I am not interested in making my program more efficient I just want to set the proper PHP environment variable that w

[PHP] how to run php from the command line in Linux?

2002-08-12 Thread Jean-Christian Imbeault
How can I run a PHP program from the command line in linux? I want to dosomething like: #php prog.PHP Jc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] how to run php from the command line in Linux?

2002-08-12 Thread Jason Wong
On Tuesday 13 August 2002 14:41, Jean-Christian Imbeault wrote: > How can I run a PHP program from the command line in linux? > > I want to dosomething like: > > #php prog.PHP Manual -> "Using PHP from the command line" -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Sof

Re: [PHP] how to run php from the command line in Linux?

2002-08-12 Thread Jean-Christian Imbeault
Jason Wong wrote: > > Manual -> "Using PHP from the command line" Thanks! Now for a really dumb question. How do I compile PHP so that I can get a binary executable instead of an Apache module? Jc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] how to run php from the command line in Linux?

2002-08-12 Thread Jason Wong
On Tuesday 13 August 2002 15:12, Jean-Christian Imbeault wrote: > Now for a really dumb question. How do I compile PHP so that I can get a > binary executable instead of an Apache module? ./configure make && make install -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source So

[PHP] printer_draw_text

2002-08-12 Thread Peter Bottenberg
Hi All, I'm trying to print some date right out of an php file, to do this i use the printer_draw_text function. All works fine for one line, but how can i print more than one line? When i put my text in a string, and try to print the string it will print nice squares, but it will not print mu

<    1   2