[PHP] Microtime math and display

2001-03-07 Thread Todd Cary
I want to check the time for queries. I have $starttime = getmicrotime(); $endtime = getmicrotime(); $delta = $endtime - $starttime; How do I display the seconds/milliseconds? Many thanks.. Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http

[PHP] Opening/closing a DB

2001-03-10 Thread Todd Cary
in my code I forget to do this in a place or two? Will the system eventually crash? I am not saying that I have intentually done this, *but* I may have left a DB open in a branching situation or just overlooked doing it in some place. Trying to learn.. Todd -- Todd Cary Ariste Softw

[PHP] Sending "pretty" email

2001-03-10 Thread Todd Cary
I often receive email from commercial sites (e.g. ZDnet) that looks like a Web page. How can I do that with Sendmail in PHP? Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] Using Cookies

2001-03-10 Thread Todd Cary
{ print("No cookie was set...will set one"); } else { print("Cookie user name: " . $cookieuser . ""); } ?> -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

Re: [PHP] Sending "pretty" email

2001-03-11 Thread Todd Cary
cannot remember the authors name, he has done many of the "big name" magazine covers as well as some big name Web sites and he believes in simplicity. Quite a deilemma!!! Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To un

[PHP] Graphic plugins?

2001-03-12 Thread Todd Cary
Is there a plugin for browsers that will give the user the ability to Zoom, rotate, and do other graphic functions with images? Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] Mail and a DSL Router

2001-03-19 Thread Todd Cary
= 192.168.0.11 The router has port 25 set to 192.168.0.11. Has anyone had experience with this configuration? Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP] Setting up mail() for WinXX

2001-03-20 Thread Todd Cary
. Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- 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, e-mail: [EMAIL PROTECTED]

[PHP] Shopping cart search

2001-05-10 Thread Todd Cary
Can someone pass on the URL for searching for PHP shopping cart programs and shopping cart related questions. Many thanks... Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] Shopping cart search

2001-05-10 Thread Todd Cary
Many thanks to all. Exactly what I need!! Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- 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, e-mail: [EMAIL

[PHP] Re-directing

2001-05-12 Thread Todd Cary
In my Index.html, what do I write so that the Surfer goes to my Start.Php? Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- 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] Receiving a text stream

2001-05-13 Thread Todd Cary
y are in a browser like EI or Netscape? Does it have to be written to a file first? Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contac

[PHP] HTTP socket connection

2001-05-18 Thread Todd Cary
which works great. What do I need to change for a SSL connection? Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- 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, e-mail: [EMAIL PROTECTED]

[PHP] Syntax for CURL

2001-05-21 Thread Todd Cary
I need to send a POST string to a HTTPS server and receive the returned string. Does anyone know the correct syntax for this? I have looked at the HELP a www.php.net; however, I am not completely clear on what I need to put into the curl_setopt(). Todd -- Todd Cary Ariste Software [EMAIL

[PHP] Need some Linux/Apache help

2001-12-30 Thread Todd Cary
ed this with a "make" and a "make install". Now Apache does not respond to a "testphp.php" script that contains "phoinfo()" and it use to. What have I missed. Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (htt

[PHP] Listing files

2001-12-31 Thread Todd Cary
hanks for any help in getting the correct syntax to do this.. Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- 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 administrato

Re: [PHP] Re: Need some Linux/Apache help

2001-12-31 Thread Todd Cary
he-1.3.20-16.src.rpm" and I do know how to intall it and untar the resulting file, but from there on I am lost when it comes to setting up the "configure". Sorry for such basic questions, but my Windows background is certainly a liability - not a help! Todd -- Todd Cary Ariste Softwa

Re: [PHP] Re: Need some Linux/Apache help

2001-12-31 Thread Todd Cary
with the above redirect, everything goes to the file *except* the errors. Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- 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 adminis

Re: [PHP] Re: Need some Linux/Apache help

2002-01-01 Thread Todd Cary
When I run the "make" after a successful "configure", I get the following errors: stub.lo: file not recognized: File truncated collect2: ld returned 1 exit status make[1]: *** [libphp4.la] Error 1 make: *** [all-recursive] Error 1 Any suggestions on how I may resolve this?

Re: [PHP] Re: Need some Linux/Apache help

2002-01-01 Thread Todd Cary
David - <<< Try Cross posting to: linux-admin list >>> How do I join the list? Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

Re: [PHP] Re: Need some Linux/Apache help

2002-01-01 Thread Todd Cary
mpiling" in the "C" world which, if you do not mind, I'll send directly. Probably not that much different from Object Pascal (Delphi 5/6). Again, Happy New Year to you all, *and* many thanks for the help.. Todd -- Todd Cary Ariste Software [EMAIL PROTECTED]

[PHP] PHP 4.4.1 and Interbase

2002-01-07 Thread Todd Cary
e { echo('Could not open Interbase!'); } If I comment out $stmnt = 'SELECT COUNT(*) FROM PHOTOS'; All run fine. Also, this piece of code use to work. Any suggestions? Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://ww

Re: [PHP] PHP 4.4.1 and Interbase

2002-01-08 Thread Todd Cary
I rolled back to php-4.0.6 and all works fine. http://209.204.172.137/testgdb.php and http://209.204.172.137/testphp.php H? Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] Apache and "/"

2002-01-09 Thread Todd Cary
I forgot the parameter to change in httpd.conf so when the trailing "/" is left off, the "index.html" will be executed. Anyone know the parameter? Many thanks Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net

[PHP] dynamic module or static?

2002-01-15 Thread Cary Mathews
twice now, and still no luck. If I comment out the LoadModule directive, it starts, but my browser asks if I want to download the php page instead of displaying it. Has anyone encountered this before? Cary Mathews -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [

Re: [PHP] dynamic module or static?

2002-01-16 Thread Cary Mathews
if you ask me! Cary On Wed, 16 Jan 2002, Bhavin Modi wrote: > Date: Wed, 16 Jan 2002 15:52:52 +0530 > From: Bhavin Modi <[EMAIL PROTECTED]> > To: Cary Mathews <[EMAIL PROTECTED]> > Subject: Re: [PHP] dynamic module or static? > > Have you done the following in your

Re: [PHP] dynamic module or static?

2002-01-17 Thread Cary Mathews
, but once I got that cleaned up, it worked. Many thanks, Erik, and everyone else who gave their input. BTW, Erik, have you gotten mod_perl working yet? I'd be intrested in knowing how that turns out. Kindest regards, Cary Mathews -- PHP General Mailing List (http://www.php.net/) To un

[PHP] imap problems

2002-01-19 Thread Cary Mathews
mentation would be greatly appreciated! Cary -- 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, e-mail: [EMAIL PROTECTED]

[PHP] I lost the message...

2002-01-23 Thread Todd Cary
I am embarrassed to say that I lost the anser to my question on the syntax to get a list of all of the files in a specified directory matching a sertain criteria. Anyone willing to give me another chance? Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http

Re: [PHP] I lost the message...

2002-01-23 Thread Todd Cary
As I recall, I need to use the file function e.g. fopen(). Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- 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, e

Re: [PHP] I lost the message...

2002-01-23 Thread Todd Cary
This seems to work. Is there a better way? chdir("/home/docvault"); $dir = dir("."); $dir->rewind(); while ($file=$dir->read()) { if (($file != ".") & ($file != "..")) { $Filelist[] = $file; } } $dir->close();

[PHP] How can the Surfer download

2002-01-23 Thread Todd Cary
What is the syntax to give the surfer an opportunity to download a file? Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- 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

Re: [PHP] How can the Surfer download

2002-01-24 Thread Todd Cary
When the surfer presses a button, I want a pre-determined file to be downloaded by the surfer - the box to come up on the surfer's browser: "Open or save...". Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] How can the Surfer download

2002-01-24 Thread Todd Cary
Jason - <<< Then in your file download.php, have a single statement using the header() function to redirect to the file that is to be downloaded. >>> What is the syntax for the header() function? Many thanks... Todd -- Dr. Todd Cary Ariste Software [EMAIL PROTECTED]

Re: [PHP] How can the Surfer download

2002-01-24 Thread Todd Cary
Jason - I had looked it up in the manual, but I am not sure of what to put into the area /* ... output pdf file ... */ Any help is appreciated Todd If you want the user to be prompted to save the data you are sending, such as a generated PDF file, you can use the Content-Disposition

Re: [PHP] How can the Surfer download

2002-01-24 Thread Todd Cary
Daniel - When I use the following code, I am not asked if I want to Save the file or Open it. Instead, the contents of the file are displayed in the browser. I am sure that I have missed something simple!! Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List

Re: [PHP] How can the Surfer download

2002-01-24 Thread Todd Cary
Jason and Daniel - Maybe this is a cop out, however it is working. Comments welcomed.. '); ?> Sendfile ... -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

[PHP] Uploading a file

2002-01-24 Thread Todd Cary
For some reason, I cannot get the following code to work - the file is not sent to the server. Is there something obviously wrong? I am using Apache on Linux (RH 7.2). Todd Submit this file: -- Todd Cary Ariste Software [EMAIL

Re: [PHP] Uploading a file

2002-01-24 Thread Todd Cary
I though I had followed the example in the manual. Are you saying that there is something I missed? Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] Uploading a file

2002-01-24 Thread Todd Cary
I am not well versed in Apache. Is there so parameter that I may not have sett correctly? Something that would cause the problen I am having? Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] Uploading a file

2002-01-25 Thread Todd Cary
in the Apache that needs to be set for file uploads? Many thanks... Todd -- Dr. Todd Cary Ariste Software Petaluma, CA 94952 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP] Uploading a file

2002-01-25 Thread Todd Cary
Many thanks! I did not read far enough in the docs to note the part about PHP 4.0. That has fixed the problem. Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

[PHP] broken imap client?

2002-01-29 Thread Cary Mathews
ent libs are required for IMAP support. Can someone help me understand what I am doing wrong? Thanks in advance, Cary -- 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, e-mail: [EMAIL PROTECTED]

Re: [PHP] broken imap client?

2002-01-29 Thread Cary Mathews
the directions from the docmuentation, to the 'T'. Unless apache is looking for the rfc822.h et al in /usr/local/include and _not_ /usr/local/include/c-client, I don't see why I'm having so many problems. I'll try moving those *.h files up a directory and try once mor

[PHP] Report generator for Linux

2002-02-17 Thread Todd Cary
I use Interbase on the Linux and NT servers and I would like to have a report generator that can take the results of a query and produce that can be converted into a PDF file. Does anyone have some suggestions on how I can best achieve this goal? Todd -- Dr. Todd Cary Ariste Software 707-773

[PHP] Sendmail and setting From

2002-02-18 Thread Todd Cary
I have RH 7.2 with Apache and PHP. The mail() function in PHP worked out of the box!! Fantastic! The setting in the php.ini is being over written with Apache. Where can I change the setting? Many thanks... -- Dr. Todd Cary Ariste Software 707-773-4523 [EMAIL PROTECTED] "It is a w

Re: [PHP] Sendmail and setting From

2002-02-18 Thread Todd Cary
unction, but I would prefer not to have to put it into every message. However, unless I do, my messages have "From: Apache". Hopefully, I am making some sense.. Todd -- Dr. Todd Cary Ariste Software 707-773-4523 [EMAIL PROTECTED] "It is a worthy thing to fight for one&#x

Re: [PHP] Sendmail and setting From

2002-02-19 Thread Todd Cary
Greg - Many thanks! That is what I am doing now and I was hoping that I could do the same in Linux as I do with the NT server: have a default in a conf file. Todd -- Dr. Todd Cary Ariste Software 707-773-4523 [EMAIL PROTECTED] "It is a worthy thing to fight for one's freedom; it

[PHP] URL for "Powered by PHP" gif

2002-04-19 Thread Todd Cary
Can someone provide me with the URL for a gif that I can place on my pages so that I can give credit to PHP (Apache would be nice too). Many thanks.. Todd -- Todd Cary Ariste Software 2200 D Street Extension Petaluma, CA 94952 707-773-4523 [EMAIL PROTECTED] -- PHP General Mailing List

[PHP] Why is ibase_fetch_object() so slow?

2002-04-23 Thread Todd Cary
a2 . ""); $row = ibase_fetch_object($sthdl); // Appx 18 seconds at this point $end_time = getmicrotime(); $delta3 = $end_time - $start_time; $delta3 = number_format($delta3, 2, '.', ','); print("Delta 3: " . $delta3 . ""); if ($row

[PHP] Linux and permissions

2002-05-06 Thread Todd Cary
My PHP scripts are in a directory, "php". The owner of the directory is "root" and the group is "apache". Other has no rights. Group has rx rights. All works well *except* the surfer can view the directory of the php directory *and* copy the files. What have

Re: [PHP] Linux and permissions

2002-05-06 Thread Todd Cary
Craig - Thank you for the quick response. I do not see an entry in httpd.conf for DirectoryIndexing. Am I missing something? Todd -- Todd Cary Ariste Software 2200 D Street Extension Petaluma, CA 94952 707-773-4523 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To

[PHP] MySQL and RH 7.2

2002-05-11 Thread Todd Cary
I am completely new to MySQL and I just installed it on my RH 7.2 server and I cannot determine where the MySQL admin program is located so that I can set my password. Sorry for the basic question... Todd -- Todd Cary Ariste Software 2200 D Street Extension Petaluma, CA 94952 707-773-4523

Re: [PHP] MySQL and RH 7.2

2002-05-11 Thread Todd Cary
I tried "locate" and "find" and both come up empty for mysqladmin. Am I missing something stupid here? Todd -- Todd Cary Ariste Software 2200 D Street Extension Petaluma, CA 94952 707-773-4523 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsu

[PHP] Yahoo/Cobalt servers/PHP

2002-05-11 Thread Todd Cary
missing something here? If one wants to have dynamic pages and uses PHP, then *some* DB has to be available, correct? Todd -- Todd Cary Ariste Software 2200 D Street Extension Petaluma, CA 94952 707-773-4523 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Syntax for attaching a PDF file

2002-03-11 Thread Todd Cary
I am not sure of the correct syntax for attaching a PDF file to an email message using mail(). Any help is greatly appreciated since the documents are confusing for me. Todd -- Dr. Todd Cary Ariste Software 707-773-4523 [EMAIL PROTECTED] "It is a worthy thing to fight for one's fr

[PHP] Cannot find php.ini

2002-03-28 Thread Todd Cary
My NT server has the OS in the directory, WINNT2, and the php.ini is not being read that is in that directory. What am I missing? Todd -- Dr. Todd Cary Ariste Software 2200 D Street Extension Petaluma, CA 94952 707-773-4523 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net

[PHP] Trailing "/" and Apache

2001-10-29 Thread Todd Cary
-- Todd Cary Ariste Software [EMAIL PROTECTED] -- 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, e-mail: [EMAIL PROTECTED]

[PHP] Opening a socket

2001-11-12 Thread Todd Cary
Content-type: application/x-www-form-urlencoded Content-length: 54 req_email=todd%40aristesoftware.com&req_regno=9991 Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

[PHP] PHP/Apache/Interbase/Linux

2001-12-11 Thread Todd Cary
hanks Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- 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, e-mail: [EMAIL PROTECTED]

[PHP] Branching to a page

2001-12-11 Thread Todd Cary
ge */ if (!empty($cancel)) { $http = new http; $fp = $http->http_fget($server, $path . "redirect.php",""); if($fp) { print ''; fpassthru($fp); exit; } } Many thanks. Todd -- Todd Cary Ariste Software [EMAIL PROTE

[PHP] Accessing PHP archieve

2001-12-11 Thread Todd Cary
Is there an archieve for this list server? If so, I do I access it? Many thanks.. Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

[PHP] How to compile Apache/PHP

2001-12-23 Thread Todd Cary
hat will process PHP extensions. Many thanks.. Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- 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, e-mail: [EMAIL PROTECTED]

[PHP] PHP4 and IB SS 6.01

2001-12-24 Thread Todd Cary
-- Todd Cary Ariste Software [EMAIL PROTECTED] -- 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, e-mail: [EMAIL PROTECTED]

[PHP] Thank you to all

2001-06-18 Thread Todd Cary
source along in their own applications!!). So, thank you for providing me with the tools to create a rather sophisticated Web application with no prior experience using PHP. In gratitude Todd -- Todd Cary Ariste Software [EMAIL PROTECTED]

[PHP] Refreshing browser

2001-06-21 Thread Todd Cary
urfer that they are in secure mode. Also, with Netscape, the relative address does not work after the redirect (e.g. src="images/floatoheader.gif"). Is there a way to update the browser so that it has last re-direct? Many thanks. -- Todd Cary Ariste Software [EMAIL PROTEC

[PHP] Output an image stream?

2001-06-23 Thread Todd Cary
I have created a barcode as an image stream ($im). Now, I want to output it in HTML to a particular row and column on a form. Do I have to save it as a file so that I can use the routine or is there a way to directly output the stream? Many thanks... Todd -- Todd Cary Ariste Software

[PHP] Creating formatted documents

2001-06-23 Thread Todd Cary
if so, is there some code available that can give me an idea on how to do it? Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- 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 admi

[PHP] Pdf as image

2001-07-03 Thread Todd Cary
Is there a way to convert a PDF file into a TIFF image without purchasing PdfLib? I would like to take a PDF file and use it as a "background" upon which I would place some other images. Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://w

[PHP] Ghostscript and PHP

2001-07-04 Thread Todd Cary
Can Ghostscript be used with PHP? Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- 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, e-mail: [EMAIL PROTECTED]

Re: [PHP] How to prevent people from downloading images

2001-07-04 Thread Todd Cary
At http://www.floatographs.com , I reduce the resolution and put a watermark in the JPEG. Not very clever, but it works. Todd P.S. The site is using PHP and Interbase plus a lot of help from all of you folks!! Many thanks -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General

[PHP] Best way to put text on image

2001-07-04 Thread Todd Cary
If I have a JPEG image, what is the best way to put text or another image at a certain place using the gd library? Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

[PHP] PDF shareware/GNU

2001-07-06 Thread Todd Cary
Are there any Shareware libraries for handling PDF? The PdfLib is great, but that can get somewhat expensive. Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [PHP] watermarks

2001-07-07 Thread Todd Cary
I am using watermarks on the photos I put on the net ( http://www.floatographs.com), except I do it before I send them up. My procedure is to use some Delphi code I wrote implementing some grpahic primitives. Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List

[PHP] Starting Interbase on RH Linux

2001-08-13 Thread Todd Cary
I am new to Linux and I have installed RH 7.1 along with Apache, PHP, and Interbase 6.0. I can start Apache, but how do I start Interbase? Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] Anyone using Interbase/Linux?

2001-08-14 Thread Todd Cary
I am having a problem starting Interbase 6.0 on RH 7.1. Anyone using Interbase on Red hat 7.1? Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re: [PHP] php and Interbase

2001-08-30 Thread Todd Cary
Yes! I use it as my routine DB. Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- 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, e-mail: [EMAIL PROTECTED]

[PHP] Share located on another computer

2001-10-05 Thread Todd Cary
Can PHP work with a Share on another computer or do the scripts have to be on the same computer as IIS/Apache? When I put the scripts into a Shared directory, I get a CGI error. Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To

[PHP] Displaying a pdf inline

2004-09-14 Thread Todd Cary
After reading the online documentation, it appears that I should be using the following code, however it does not appear to work. Are there some obvious errors? if ($row) { $pdf_file = $row->CLM_IMG_FILE; $msg = $pdf_file; $SRC_FILE = "/tmp/" . $pdf_file;

Re: [PHP] Displaying a pdf inline

2004-09-14 Thread Todd Cary
file. Yet, the file can be opened on the server. Am I missing something simple here? Todd Curt Zirzow wrote: * Thus wrote Todd Cary: After reading the online documentation, it appears that I should be using the following code, however it does not appear to work. Are there some obvi

[PHP] Creating a new window

2004-09-20 Thread Todd Cary
I am using PHP to create a button on a window so that a new window is created when the button is clicked using javaScript. Is there a way to create a new window inline; that is create a window on top of the current window without having the surfer press a button? Here is my current onClick cod

[PHP] Auto escaping an apostrophy...

2004-09-20 Thread Todd Cary
I have noticed that an apostrophy is automatically escaped with a "\", or at least appears to be if the surfer enters an apostrophy in a text field. Has this always been the case or is there a setting in the php.ini file that contols this? Todd -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Auto escaping an apostrophy...

2004-09-20 Thread Todd Cary
Many thanks to all. Todd John Legg wrote: Todd, From the PHP manual: magic_quotes_gpc boolean Sets the magic_quotes state for GPC (Get/Post/Cookie) operations. When magic_quotes are on, all ' (single-quote), " (double quote), \ (backslash) and NUL's are escaped with a backslash automatically.

[PHP] With a graphic image, making text transparent

2004-10-12 Thread Todd Cary
I would like to place text on a graphic but vary the transparency of the text. Can this be done with the gd library? Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Capitalizing the first letter

2007-03-13 Thread Todd Cary
I would like to write a filter that takes the text "smith" or "SMith" and returns "Smith"; same for "ralph smith". Is the a good source on using filters this way? Thank you... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Capitalizing the first letter

2007-03-13 Thread Todd Cary
Chris Boget wrote: I would like to write a filter that takes the text "smith" or "SMith" and returns "Smith"; same for "ralph smith". Is the a good source on using filters this way? It may not be the most efficient way of accomplishing this, but you could do something like: $string = 'SMit

Re: [PHP] Capitalizing the first letter

2007-03-13 Thread Todd Cary
is equivalent to the class [^0-9]. ex: preg_replace('/\d/', '', $str); preg_replace('/\D/', '', $str); "Todd Cary" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Chris Boget wrote: I would like to write a filter that takes th

[PHP] Using a reentrant form

2007-03-13 Thread Todd Cary
To validate a page, I set the form value to the page name the user is on. Then there is a hidden variable, "looped" that is set to "1". By checking "looped", I know if the user has re-entered the form so I can do my validation checks. Is there a disadvantage to this approach? Thank you...

[PHP] Cannot upload a file greater than 500 KB

2005-02-08 Thread Todd Cary
I am using php 4 and Apache 1.3 on a RH 9 box. upload_max_filesize is set to 5M post_max_size is set to 8M MAX_FILE_SIZE in the HTML upload page is set to 500 I get the error "The document contains no data" with any file over 500 KB. What is creating the error? Many thanks. Todd -- PHP Gene

Re: [PHP] Cannot upload a file greater than 500 KB

2005-02-08 Thread Todd Cary
Todd Cary wrote: I am using php 4 and Apache 1.3 on a RH 9 box. upload_max_filesize is set to 5M post_max_size is set to 8M MAX_FILE_SIZE in the HTML upload page is set to 500 I get the error "The document contains no data" with any file over 500 KB. What is creating the error? A

[PHP] Re: Changing PHP properties (Previously: Cannot upload a file greater

2005-02-08 Thread Todd Cary
me I am sure! Todd Dan Trainor wrote: Todd Cary wrote: Richard - It turned out that the following was missing from Apache's httpd.conf file: SetOutputFilter PHP SetInputFilter PHP LimitRequestBody 500 Not sure what that does or where I should have read about it, but I did find that

[PHP] Inline Frame and php

2005-02-28 Thread Todd Cary
My client insists on using inline Frames that uses my php pages. As an example, this is on one page: This works well with the "control" being given to search.php. What I do not understand is that within search.php, I have a statement that is suppose to pass "control" to anther page. The l

[PHP] Sending data via POST

2005-03-11 Thread Todd Cary
Currently I send data to another page by using header("Location: http://" . $_SERVER['HTTP_HOST'] .                     dirname($_SERVER['PHP_SELF']) .     "/" . $relative_url  .     "?" . $my_data); My client would like the data passed via a POST rather than

[PHP] Re: Sending data via POST

2005-03-11 Thread Todd Cary
fp)) { echo fgets($fp, 128); } fclose($fp); } | "Todd Cary" <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote in message news:[EMAIL PROTECTED] Currently I send data to another page by using header("Location: http://"

[PHP] Any personal experience with MySQL/Calendar application

2005-03-29 Thread Todd Cary
I am looking for an open source calendar program that uses MySQL to store the data and has an online Admin feature. Rather than trying the many that are listed, I am hoping that someone may have some personal experience with a application of this type and make a recommendation. Todd -- PHP Gen

Re: [PHP] Simple CMS program

2005-03-31 Thread Todd Cary
This has been the one I wanted to try, but I needed to hear from someone that could recommend it. Now I'll do a test install on my Linux "play box". Many thanks... Todd Andre Dubuc wrote: On Wednesday 30 March 2005 08:19 pm, Josip Dzolonga wrote: Todd Cary wrote: When I went to a

[PHP] PHP 4.3/MySQL phpinfo()

2005-04-05 Thread Todd Cary
I have installed FC 3 with Apache and MySQL. When I run phpinfo(), I do not see MySQL listed as a database nor can I connect via php. Does something have to be specially done with the FC 3 install? Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/u

Re: [PHP] Any personal experience with MySQL/Calendar application

2005-03-30 Thread Todd Cary
e in a company setting and found it to be largely satisfactory. It might be overkill in your case but you can restrict module access. www.egroupware.org HTH Peter Brown Todd Cary wrote: I am looking for an open source calendar program that uses MySQL to store the data and has an online Admin f

[PHP] Simple CMS program

2005-03-30 Thread Todd Cary
When I went to a site that lists and compares CMS programs, I was overwhelmed by at least 100 listings. Again, I would like to rely on personal experience. What I am seeking is a CMS that will provide users at my client (a Yacht Club) to update news items, and if possible, update a calendar u

[PHP] SMTP and GroupWise

2004-04-22 Thread Todd Cary
My client is using GroupWise to relay *without* having relay turned on and it needs/uses an authenication that is different from the regular SMTP. Here is a trace of a message that went through: 02/11/2004 06:55:27 SMTP to rcpt: Al Smith <[EMAIL PROTECTED]> 02/11/2004 06:55:29 < +OK GroupWise P

<    1   2   3   4   >