Re: [PHP] Re: Red Hat 9, Apache 2, and PHP

2003-07-03 Thread Brad Pauly
Todd Cary wrote: Linux is quite new for me, so please forgive me if my questions are rather basic. I have RH 9 installed and I want to add the Interbase extensions to PHP and then recompile Apache. Conceptually I understand what has to be done, but I do not know the steps or syntax. Is there

[PHP] date() function and timestamps

2003-07-03 Thread Garrick Linn
Hello all, I seem to be running into a problem where the date() function appears not to differentiate properly between unix timestamps. For example, the code: $seconds = 1054278483; echo "$seconds"; echo date("d-m-Y H:m:s", $seconds); echo ""; $seconds = ($seconds - 60); echo "$seconds"; echo

Re: [PHP] PHP to Excel Export

2003-07-03 Thread daniel
excel has a char limit of 255 , if you can find a work around for it please do let me know , also , check out the bifwriter , i think the pear packages just outputs csv right ? > Hi Group, > > I am working on an app the creates an Excel file. Right now I am using > the PEAR package Spreadsheet_Exc

Re: [PHP] Re: Red Hat 9, Apache 2, and PHP

2003-07-03 Thread Brad Pauly
Just thought I would share my experience with RH9. I have been running Apache 1.3.27 and PHP 4.3.2 on RH9 for a couple weeks (since 4.3.2 came out anyway, and 4.3.1 prior to that) on a test server. All are compiled from source. The only problem I have had was a bug with the version of mogrify t

Re: [PHP] date() function and timestamps

2003-07-03 Thread Philip Olson
:) You are using an m where you want an i. Regards, Philip On Thu, 3 Jul 2003, Garrick Linn wrote: > Hello all, > > I seem to be running into a problem where the date() function appears not > to differentiate properly between unix timestamps. > > For example, the code: > > > $seconds =

Re: [PHP] Re: Red Hat 9, Apache 2, and PHP

2003-07-03 Thread Shena Delian O'Brien
Does anyone know why Red Hat would switch to Apache 2.x.x when it is well known that 2.x.x is NOT a production version? Brad Pauly wrote: Just thought I would share my experience with RH9. I have been running Apache 1.3.27 and PHP 4.3.2 on RH9 for a couple weeks (since 4.3.2 came out anyway, an

Re: [PHP] date() function and timestamps

2003-07-03 Thread Garrick Linn
Doh! Gracias. :-) At 11:58 PM 7/3/2003 +, Philip Olson wrote: :) You are using an m where you want an i. Regards, Philip On Thu, 3 Jul 2003, Garrick Linn wrote: > Hello all, > > I seem to be running into a problem where the date() function appears not > to differentiate properly between

Re: [PHP] Re: Red Hat 9, Apache 2, and PHP

2003-07-03 Thread Mark Charette
Apache 2.x.x IS a production quality server, just not with PHP. Works great with Tomcat, mod_jk2, Struts, etc. - Original Message - From: "Shena Delian O'Brien" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 03, 2003 8:04 PM Subject: Re: [PHP] Re: Red Hat 9, Apache 2, an

Re: [PHP] PDF on the fly ?

2003-07-03 Thread Suhas Pharkute
You have code to execute after filewriting,the output of that code will go as a pdf file continuation. try exit after writing filecontents. Suhas _ Encrypt your PHP code for FREE at http://encphp.sspsoft.com _ - Original Messa

Re: [PHP] DOMXML usage

2003-07-03 Thread Tom Rogers
Hi, Friday, July 4, 2003, 4:54:06 AM, you wrote: MG> I'm attempting to create a generic XML writer with the DOMXML functions MG> which takes as its input the array structure generated by gdemartiti on this MG> function page: MG> http://us3.php.net/manual/en/function.xml-parse-into-struct.php MG>

[PHP] Help with upload

2003-07-03 Thread Webmaster
I am trying to do a file upload using the following code. Script doesn't appear to generate any errors that I can see. Just that the file isn't copied. I have put in some debuging code and all variable seem to be correct. file just isn't copying. I have tried both copy() and move_uploaded_file() fu

[PHP] Extension to MIME type?

2003-07-03 Thread Leif K-Brooks
Is there any way to get Apache's list of extension -> MIME type associations into an array? I want to readfile() a file which only some users can view for security, but the file types vary from file to file so I need to know the MIME type. -- The above message is encrypted with double rot13 en

Re: [PHP] Get Rid of this Crook

2003-07-03 Thread erythros
that was the coolest thing i've read in a while... (considering i just read the latest harry potter book) what a way to get those guys back. "Adam Voigt" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Well spamming doesn't get them any money. I believe > I read they use this info to

Re: [PHP] Get Rid of this Crook

2003-07-03 Thread Joel Rees
> Should people bend to the technology they use, or should the technology be > manipulated to do the people's bidding? If you want the non-standard, set it up in your client and don't bother the rest of us. That's how you bend your technology to do your bidding. If you aren't aware of what the st

Re: [PHP] Get Rid of this Crook

2003-07-03 Thread Michael Mulligan
I think this revenge is a bit (longer) more of a fun read ;-) http://www.scamorama.com/threebucks.html On 07/04/03 12:40 AM, "erythros" <[EMAIL PROTECTED]> wrote: > that was the coolest thing i've read in a while... (considering i just read > the latest harry potter book) > what a way to get tho

Re: [PHP] Re: Red Hat 9, Apache 2, and PHP

2003-07-03 Thread Greg Donald
> Does anyone know why Red Hat would switch to Apache 2.x.x when it is > well known that 2.x.x is NOT a production version? This question seems more appropriate for [EMAIL PROTECTED] or such since PHP has nothing to do with RedHat version control. But to answer your question, RedHat has always

[PHP] cookie question

2003-07-03 Thread David R
Hello, I have a cookie question. I have the following code is a file called tc.php I have no problem retrieving the value cookie value ( 123 ) on my local machine but when I post to the internet I can't get the cookie value. Any ideas why? Thanks. David R -- PHP General Mailing List (http

Re: [PHP] cookie question

2003-07-03 Thread Leif K-Brooks
David R wrote: Hello, I have a cookie question. I have the following code is a file called tc.php I have no problem retrieving the value cookie value ( 123 ) on my local machine but when I post to the internet I can't get the cookie value. Any ideas why? Did you set the cookie for the productio

RE: [PHP] Re: Red Hat 9, Apache 2, and PHP

2003-07-03 Thread Ow Mun Heng
Does anyone have any idea or could give me an idea why php & apache 2.0 is not 'good' together? Cheers, Mun Heng, Ow H/M Engineering Western Digital M'sia DID : 03-7870 5168 -Original Message- From: Mark Charette [mailto:[EMAIL PROTECTED] Sent: Friday, July 04, 2003 9:02 AM To: [EMAIL

[PHP] Using TTF within an image

2003-07-03 Thread CDitty
Can someone please show me how to change the display font to a TTF in this code? I looked at the online manual under imageloadfont(), but I did not understand it enough. I have the MS TTFs installed on my server and they are working correctly. Thanks Chris $im = @imagecreate ($width,$heigh

Re: [PHP] cookie question

2003-07-03 Thread David R
I have never read anything about a production server domain. How do I set the cookie for it? Thanks. David R "Leif K-Brooks" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > David R wrote: > > >Hello, > >I have a cookie question. > > > >I have the following code is a file called tc.p

RE: [PHP] Re: Red Hat 9, Apache 2, and PHP

2003-07-03 Thread Rasmus Lerdorf
Apache2 has a number of different modes it can work in. These modes are called MPM's. The default MPM is called Worker which is a multithreaded model. PHP, mod_perl, mod_python, and any other similar technology which links directly into the httpd processes will need to be perfectly threadsafe an

RE: [PHP] Re: Red Hat 9, Apache 2, and PHP

2003-07-03 Thread Ow Mun Heng
Thanks for the Explanation. I guess I need to take another look at apache or try to get apache 1 installed for my server. I'm currently trying to get linux+apache+mysql+php up. (If i can ever figure out how to properly design my database) Cheers, Mun Heng, Ow H/M Engineering Western Digital M'si

[PHP] Error configure php 5.0.0b1 on Solaris 2.8 with openssl 0.9.7b

2003-07-03 Thread Ziying Sherwin
We are trying to build php 5.0.0b1 on our Solaris 2.8 platform with gcc 3.3 and openssl 0.9.7b. The configuration failed with the following message: Configuring extensions checking for OpenSSL support... yes checking for OpenSSL version... >= 0.9.6 checking for CRYPTO_free in -lcrypto... yes ch

[PHP] Re: Connect Active Directory using LDAP... please help :)

2003-07-03 Thread sven
hi vince, Vince C wrote: > $ldaphost= "company.com"; > > if(!($ldap = ldap_connect($ldaphost,389))){ > die("ldap server cannot be reached"); > } else { > $oudc = " dc=company, dc=com"; > $dn2 = ""; > $password = ""; did you define your user and password? afaik win ad isn't searchable by anon

[PHP] Re: Connect Active Directory using LDAP... please help :)

2003-07-03 Thread Vince C
Hi Sven, I have tried to put the my login username in that place. But it showed "Invalid Credental". Since I am new to this AD and LDAP, would it be the format of my username? Should I just put my login username, or should I put the whole bunch of line such as "CN=my name, DN=" something like

<    1   2