Re: [PHP] SMTP and changing the character set

2004-05-08 Thread Todd Cary
Thank you both for the help. One more question: can SMPT use the Asian character set since it is 16 bits? Todd Dave G wrote: Todd, Is there a way to specify a character set in a SMTP email? I've found that SMTP is really, really very particular about how you apply spacing and carriage

[PHP] Re: Graphical calendar

2004-05-08 Thread Todd Cary
Which table_class is to be used with the calendar class? Todd Manuel Lemos wrote: Hello, On 05/07/2004 11:36 PM, Todd Cary wrote: I need to bring up a calendar so the user can determine what day of the week a certain falls on, etc. My search with Google appears to have calendars

[PHP] Re: Graphical calendar

2004-05-08 Thread Todd Cary
I found it!! Todd Todd Cary wrote: Which table_class is to be used with the calendar class? Todd Manuel Lemos wrote: Hello, On 05/07/2004 11:36 PM, Todd Cary wrote: I need to bring up a calendar so the user can determine what day of the week a certain falls on, etc. My search with Google

[PHP] Re: Graphical calendar

2004-05-08 Thread Todd Cary
Works like a champ! Question: has anyone extended the class so that when one clicks on a day, the year, month, day is returned? Todd Manuel Lemos wrote: Hello, On 05/07/2004 11:36 PM, Todd Cary wrote: I need to bring up a calendar so the user can determine what day of the week a certain

[PHP] Having a problem with RCPT TO and email

2004-05-07 Thread Todd Cary
I am sending the following: fputs($smtp, RCPT TO: [EMAIL PROTECTED]\r\n); and when I receive the email, it has a Bcc: rather than a To:. Am I overlooking something here? Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Having a problem with RCPT TO and email

2004-05-07 Thread Todd Cary
DATA From: My real name [EMAIL PROTECTED] To: Your real name [EMAIL PROTECTED] Subject: Something to test That's it! Thanks! Petr U. wrote: On Fri, 07 May 2004 10:49:08 -0700 Todd Cary [EMAIL PROTECTED] wrote: fputs($smtp, RCPT TO: [EMAIL PROTECTED]\r\n); You should (are you

[PHP] SMTP and changing the character set

2004-05-07 Thread Todd Cary
Is there a way to specify a character set in a SMTP email? Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Graphical calendar

2004-05-07 Thread Todd Cary
I need to bring up a calendar so the user can determine what day of the week a certain falls on, etc. My search with Google appears to have calendars that are like appointment books. Is there a simple graphical calendar where the use can pick a month and see the days of the week? Todd --

[PHP] Header() and POST data

2004-05-06 Thread Todd Cary
I need to go to another page and I use the header(location: . $the_url_to_the_page); Is it possible to use this method with POST so that the info does not show in the URL? Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Header() and POST data

2004-05-06 Thread Todd Cary
Daniel - What is the best way to go to another page? header(location: . $new_page); Todd Daniel Clark wrote: No I don't think so. I need to go to another page and I use the header(location: . $the_url_to_the_page); Is it possible to use this method with POST so that the info does

[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

Re: [PHP] SMTP and GroupWise

2004-04-22 Thread Todd Cary
sending the email. Most mail servers cache this info for a certain amount of time so you may not have to do it every time you send. I know that http://phpmailer.sourceforge.net/docs/ supports this you may want to look at their code. -Dave At 02:47 PM 4/22/2004, Todd Cary wrote: My client is using

[PHP] Understanding sessions

2004-04-09 Thread Todd Cary
I am trying to understand sessions are done with php. My learning script has the following: session_start(); if (isset($_SESSION['firstname'])) { $_SESSION['firstname'] = 'Todd'; } else { $_SESSION['firstname'] = 'Nobody'; } echo SESSION: . $_SESSION['firstname'] . br; echo

Re: [PHP] Understanding sessions

2004-04-09 Thread Todd Cary
If I use session_id(), I do get a value. However, I have session_use_cookies = 0 and I do not have a value for SID. Is that correct? Todd Daniel Clark wrote: Todd, I think you want the session_id() function. http://us3.php.net/manual/en/function.session-id.php I am trying to understand

Re: [PHP] Understanding sessions

2004-04-09 Thread Todd Cary
Daniel - As suggested, if I turn off cookies in my browser, then SID is set. So the directive in php.ini does not cause the use of cookies to be completely turned off? Another question envolves the use of the back button. My client wants the use of the back button to be turned off for

[PHP] Re: imagecreatefromjpeg

2004-04-05 Thread Todd Cary
Jason - I would like to give users the ability to upload jpeg images and have my php app size them into thumbnails as well as have a larger image available if the thumbnail is clicked. Are there examples of this available? Todd Jason Barnett wrote: From

[PHP] Installing on a .NET server...

2004-03-11 Thread Todd Cary
someone at somewhere dot com 28-Aug-2002 06:02 Installing PHP 4.2.2 on Microsoft Windows .NET Server ... * Download http://us3.php.net/do_download.php?download_file=php-4.2.2-Win32.zip * Extract php-4.2.2-Win32.zip * Copy php.ini-dist %SystemRoot%\php.ini * Copy phpts.dll

[PHP] Executing JavaScript

2004-03-04 Thread Todd Cary
How can I execute window.close() with php? Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Executing JavaScript

2004-03-04 Thread Todd Cary
Yes! Makes absolute sense. I put it on an Input Type=Button onClick. Thanks for your patience... Todd Richard Davey wrote: Hello Todd, Thursday, March 4, 2004, 6:52:33 PM, you wrote: TC How can I execute window.close() with php? You can't, PHP is a server side language. You can echo out

[PHP] Obtaining the image size with gd library

2004-03-02 Thread Todd Cary
I have created a barcode with the gd library and I wish to use it directly with PDFLib. If I write the image to file and then read it in, all works well. However, PDFLib has a Virtual File System. To use it, I need the size of the image in bytes (the file size). Is there a function in the

[PHP] Re: Specifying file paths in Windows

2004-01-21 Thread Todd Cary
I found the problem: PDFlib is expecting the file name to be in the proper format for the system (Linux or NT). This is my patch: $workdir = getcwd(); if ($use_unix) $cl_absolute_image = $workdir . /tiff/ . $cl_image; else

[PHP] Specifying file paths in Windows

2004-01-20 Thread Todd Cary
I moved an application from Linux to my Client's NT system and is_file cannot file the file on the NT system. My directory structure is as follows: c:\webroot \application \php_code \filedir The code is if (is_file(./filedir/test.txt)) echo Found it!; else echo Not found; This is

[PHP] Now try this...

2004-01-20 Thread Todd Cary
../tiff/demo.tif -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Specifying file paths in Windows

2004-01-20 Thread Todd Cary
The \filedir is under the phpcode directory c:\webroot | |--\application | |--\php_code | |--\filedir Eric Bolikowski wrote: Todd Cary [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I moved an application from Linux to my Client's NT system and is_file

[PHP] Re: Now try this...

2004-01-20 Thread Todd Cary
Whooops...mis-sent!! Todd Cary wrote: ../tiff/demo.tif -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Create PDF FIle

2004-01-20 Thread Todd Cary
I use the pdf class from http://www.potentialtech.com Todd Mike Mapsnac wrote: Hello I want to create PDF file from PHP output. So instead of sending output to the browser, I need to insert PHP output into PDF FILE. How that's can be done? Looking for some short example or some

[PHP] Converting a TIFF image to PDF

2004-01-15 Thread Todd Cary
I am looking for an example of converting a TIFF image file to a PDF file that can be viewed by the user. It would be helpful if ths can be done on the fly using the PdfLib functions. Does anyone have some sample code for doing this in PHP? Todd -- PHP General Mailing List

[PHP] IIS and PHP 4.2 on NT 4.0

2004-01-15 Thread Todd Cary
I am running PHP 4.0.6 on IIS and NT 4. I cannot get PHP 4.2 to run. Is there something simple I am overlooking? Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Fedora and Firebird

2003-12-08 Thread Todd Cary
I am using Fedora Core 1 and I downloaded the php source(php-4.3.3-6.src.rpm). If I add --with-interbase=shared,/opt/firebird/lib/ I get the error that it cannot find libgds or libib_util. libib_util.so is in /opt/firebird/lib/. There is no libgds after installing Firebird. What am I missing?

[PHP] RedHat Linux - PHP - Interbase

2003-12-06 Thread Todd Cary
I am looking for someone that is running RH 9 Linux with Php Interbase... Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Files in /etc/php.d/

2003-10-27 Thread Todd Cary
About a year ago, I installed RH 9.0 and in the process installed/updated php 4.2.2. The directory, /etc/php.d/ contains many ini files instructing php to load modules including mysql.so and interbase.so. phpinfo() shows that they have been included. Not being a Linux guru - in fact, knowing

[PHP] Integrating interbase.so

2003-10-24 Thread Todd Cary
I have interbase integrated with php on my RH 9 server *BUT* I lost my notes on how I did it. What I do have is interbase.so and it is in the /usr/lib/php4 directory. I need to setup another server and I would like to know how to integrate interbase with php/apache. Todd -- PHP General

Re: [PHP] Integrating interbase.so

2003-10-24 Thread Todd Cary
: On Friday 24 October 2003 05:58 pm, Todd Cary wrote: I have interbase integrated with php on my RH 9 server *BUT* I lost my notes on how I did it. What I do have is interbase.so and it is in the /usr/lib/php4 directory. I need to setup another server and I would like to know how to integrate interbase

[PHP] HTTP_GET_VARS VS. _GET

2003-09-14 Thread Todd Cary
I notice the use of _GET in some messages. Is this the same as HTTP_GET_VARS[]? Where in the manual is this documented? Todd -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Is this inefficient?

2003-09-14 Thread Todd Cary
I may have two buttons on the form and the Form Action has the same value as the current form, then at the top of my php script, I may have $continue = $HTTP_POST_VARS[btnContinue]; $cancel = $HTTP_POST_VARS[btnCancel]; followed by if ($continue) { //Do something - usually go to another page

[PHP] Branching to a page

2003-09-14 Thread Todd Cary
Back in the earlier days of PHP, pages were not cached so I developed a method of branching to a page by opening a new socket. Since it has worked over the years in quite a variety of applications, I have not changed...but maybe I should. Are there any glaring deficiencies with doing this:

Re: [PHP] Integrating an Applet with PHP

2003-09-13 Thread Todd Cary
in for ie (extremely crappy) is in fact an activex but that does not mean your applet behaves like an activex. Todd Cary wrote: Dan - I am surprised that an Open Source applet would rely on ActiveX. It appears that there is something I am not doing correctly in setting the DATA param

Re: [PHP] Integrating an Applet with PHP

2003-09-12 Thread Todd Cary
quot;; odds are against this working(I'm a pessimist), but it is what I would try before moving on. Warren -Original Message- From: Todd Cary [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 11, 2003 4:39 PM To: Vail, Warren; [EMAIL PROTECTED] S

Re: [PHP] Integrating an Applet with PHP

2003-09-12 Thread Todd Cary
Dan - I am surprised that an Open Source applet would rely on ActiveX. It appears that there is something I am not doing correctly in setting the DATA param for Netscape. Please overlook my ignorance about browsers and applets as I try to get a better understanding, but is BASE64

Re: [PHP] Integrating an Applet with PHP

2003-09-12 Thread Todd Cary
12, 2003 9:10 AM To: Todd Cary Cc: Vail, Warren; PHP List Subject: Re: [PHP] Integrating an Applet with PHP why does it work in IE and not in Netscape 7.1? I'm pretty sure ActiveX controls don't run on anything besides MS Windows Lockinware (TM). There are a number of other

Re: [PHP] Integrating an Applet with PHP

2003-09-12 Thread Todd Cary
To: Todd Cary Cc: Vail, Warren; PHP List Subject: Re: [PHP] Integrating an Applet with PHP Microsoft (being a monopoly) decided it did not want to follow Sun's java standard and effectively froze their version of Java available in IE @ Java 2 1.2 . (or something like that -- they're currently finishing

Re: [PHP] Integrating an Applet with PHP

2003-09-12 Thread Todd Cary
nload site on your editor page. Bet you didn't know that this routine was written by Pandora ;-) (the owner of the box [or does Bill Gates own that too?]) Warren -Original Message- From: Dan Anderson [mailto:[EMAIL PROTECTED]] Sent: Friday, September 12, 2003 11:15 AM To: Todd Cary Cc: Va

[PHP] Integrating an Applet with PHP

2003-09-11 Thread Todd Cary
I have located an HTML editor written in Java that works with my clients various computers (e.g. Linux, PC and Macs). What I need to do is learn how to take the output from an Applet and put it into a PHP variable. Since I have no experience with Java, I am at a disadvantage, so if someone

Re: [PHP] Integrating an Applet with PHP

2003-09-11 Thread Todd Cary
you could retrieve the value as below; $htmltext = $_POST["hiddenfld"]; hope this helps, Warren Vail -Original Message- From: Todd Cary [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 11, 2003 3:36 PM To: [EMAIL PROTECTED] Subject: [PHP] Integrating an Applet with PHP I

[PHP] Escaping the ' character

2003-09-10 Thread Todd Cary
I need to print the following: moz-txt-link-freetext" href="">http://www.gilardi.com/pdf/gwyt1poc.pdf','','')" and I am not sure how to escape the " ' " characters. Actually, the 'http://www.gilardi.com/pdf/gwyt1poc.pdf' will be a variable, $url. Can someone point me toward some docs on

[PHP] PHP and Ekit

2003-09-10 Thread Todd Cary
Has anyone incorporated Ekit with PHP? If you have Java 2 installed, a simple demo of the Java based HTML editor can be seen at http://209.204.172.137/editor/ekit.html Todd -- inline: NewLogo.gif

[PHP] Java based HTML editor

2003-09-05 Thread Todd Cary
I would like to have a HTML editor on a Web site so the user can create HTML based text. Google brings up too many matches when I type in "Browser HTML editor Java" that do not match my needs. Does anyone have a suggestion? Todd -- inline: NewLogo.gif

[PHP] Input area allowing text formatting

2003-08-31 Thread Todd Cary
I would like to provide the surfer with a text input area that would give a means of using bold, underline and different text colors. Can this be done with PHP? Todd -- inline: NewLogo.gif

[PHP] Form Feeds within a HTML table

2003-08-17 Thread Todd Cary
I am creating a "report" that the user can download and it is a HTML table. Is there a way to put Page Breaks within the report so if the user prints it, it will page break a predefined places? Todd. -- inline: NewLogo.gif

[PHP] PHP and SQL Server

2003-08-14 Thread Todd Cary
I have a client that insists that I use SQL Server as the DB (vs. MySQL or Interbase). I have not used PHP's ODBC interface and I am wondering if anyone on this list has had experience with ODBC and SQL Server. Todd -- inline: NewLogo.gif

[PHP] Opening a Window with JavaScript

2003-07-16 Thread Todd Cary
I want to have a link on a php page that when opened, has to be closed in order to move on. I have done this on pages using a button and _javascript_ as follows: input name="btnHelp" type="button" value="Help" ;" When the button is clicked, the form is *NOT* submitted - this is what I want.

[PHP] Embedding an image in an email

2003-07-07 Thread Todd Cary
I would like to encode and embed an image in a file that can be emailed. Is there some documentation on how to do this? Todd -- inline: NewLogo.gif

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

2003-07-04 Thread Todd Cary
Brad Pauly wrote: 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

[PHP] Sending a PDF page

2003-07-03 Thread Todd Cary
[Sent this the first time to the wrong list] In this code: if ($prtpdf) { include "letter_new.php"; exit; } I create a PDF page, however I would like to continue within the script (not have the exit). If I do that, the PDF page is corrupted by the script code. What is the best

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

2003-07-03 Thread Todd Cary
Mark McCulligh wrote: I am also building a new server. I am going with RedHat 8, but only installing the Classic server from the CDs. Then installing/configuring Apache/PHP/MySQL/SSL manually. I like the rpm install programs but I like to be able to add modules in the future and I find it

[PHP] Validating a money input

2003-06-18 Thread Todd Cary
What is the best way to validate a "money" input? For example, 3452.67 versus 3452..67. Todd --

[PHP] ereg_replace question

2003-06-11 Thread Todd Cary
I have a string, D:\Htdocs\gilardi\barcode\php\testwrite.php from $fullpath = $HTTP_SERVER_VARS[PATH_TRANSLATED]; I want to remove the "testwrite.php" leaving D:\Htdocs\gilardi\barcode\php\ This does not work $fullpath = $HTTP_SERVER_VARS[PATH_TRANSLATED]; $fullpath =

[PHP] Img to a stream

2003-06-10 Thread Todd Cary
Forgive me if my question is confuing, but I am confused so asking the question properly is difficult. Currently, I have a PHP application that produces barcodes in HTML. It uses the following line: // Create the Barcode if ($obj) { if ($obj-DrawObject($xres)) { echo "tdimg src=''/td";

[PHP] Is gd present?

2003-06-05 Thread Todd Cary
Is there a way to check within an application if the "gd" library has been installed? Todd --

[PHP] Using register_globals

2003-06-05 Thread Todd Cary
I have noticed that quite a few applications are designed with the assumption that "register_globals = Yes"; in other words, the application does not use $HTTP_xxx_VARS. In contrast, I always retrieve my vars. Is there a preference? Todd --

Re: [PHP] Re: Is gd present?

2003-06-05 Thread Todd Cary
Wouldn't I then have to scan the results? I use phpinfo() to checks the client's installation, but I would like to do it within the app. Todd Esteban Fernandez wrote: ?php phpinfo(); ? "Todd Cary" [EMAIL PROTECTED] escribi en el mensaje news:[EMAIL PROTECTED]... Is t

[PHP] This line does not execute...

2003-06-04 Thread Todd Cary
I am trying to get the Sample Barcode to run on my server, however the following line does not execute: echo table align='center'trtdimg src='./image.php?code= . $barcode . style= . $style . type= . $type . width= . $width . height= . $height . xres= . $xres . font= . $font . '/td/tr/table;

Re: [PHP] This line does not execute...

2003-06-04 Thread Todd Cary
/table; } Alex Ciurea wrote: did u made copypaste with your code? yes? then why don't you try to use the path='image.php?blahblahmoreblah' no? then please give us more details about the error you're getting... good luck, Alex - Original Message - From: Todd Cary [EMAIL PROTECTED

Re: [PHP] This line does not execute...

2003-06-04 Thread Todd Cary
te: How do you know it is not being accessed? You should output an image, and if it is not an image, broken image icon is displayed in IE or nothing in Netscape/Mozilla (I see you use Netscape). Look at the html, and if the img tag is there, I'm sure your browser tries to read the image. Todd

Re: [PHP] This line does not execute...

2003-06-04 Thread Todd Cary
. e.g.: ./myscript.php - Original Message - From: Todd Cary [EMAIL PROTECTED] To: Alex Ciurea [EMAIL PROTECTED] Cc: php mailing [EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 6:22 PM Subject: Re: [PHP] This line does not execute... Alex - The code I placed in the messsage is a copy

[PHP] A recommended barcode program

2003-06-03 Thread Todd Cary
I would like to have a reccommendation for a PHP class that generates a barcode. Many thanks... Todd --

[PHP] Adding graphics library

2003-05-31 Thread Todd Cary
I am new to Linux so I need some help for installing the graphics library. This is what I did to get PHP to inlcude Interbase. !! Configure PHP with Interbase with apxs 34 ./configure --with-apxs=/usr/sbin --with-interbase=/opt/interbase 35 ./configure --with-interbase=/opt/interbase

Re: [PHP] Re: Adding graphics library

2003-05-31 Thread Todd Cary
to get libjpeg and libpng, and link against them with the proper configure options. Ef [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... --with-gd and of oucrce you need the GD library. "Todd Cary" [EMAIL PROTECTED] escribi en el mensaje news:[EMAIL

[PHP] Running DB on different server

2003-03-20 Thread Todd Cary
Can the DB be on a different server than the page server? Todd --

[PHP] Sockets and Header data

2003-03-11 Thread Todd Cary
Ever since PHP 3, I have been using Sockets to pass GET and POST information. Yes, now that there is the caching ability, I no longer need to do it that way, however it has never failed me and since I deal with some high visibility applications, I am reluctant to change. With my experience

[PHP] Opening a file in a new window

2003-03-10 Thread Todd Cary
Thanks to your help, this now is working: ? $session_id = $HTTP_POST_VARS[session_id]; $filename= $HTTP_POST_VARS[filename]; /* Validate session_id here */ header(Content-type: text/html); header(Content-Disposition: filename= . $filename); $fp = fopen($filename, r); if($fp)

[PHP] Displaying a file

2003-03-09 Thread Todd Cary
I want to display a file under program control in the same manner as one would with using an a tag e.g. Click a href=files/raceschedule.pdf Name=Race Schedule Target=_blankhere/a to open the Race Schedule In other words, if certain conditions are met, then I want to display the file. What is

Re: [PHP] Displaying a file

2003-03-09 Thread Todd Cary
do simular things to what view.php does in the script below. Justin on 10/03/03 2:07 PM, Mark Tehara ([EMAIL PROTECTED]) wrote: On that note, how would i load an image from outside the document root? - Original Message - From: Justin French [EMAIL PROTECTED] To: Todd Cary [EMAIL

[PHP] Running PHP on Windows OS

2002-12-31 Thread Todd Cary
I am having a problem getting Apache to load the php4apache.dll. I have tried putting the / and \ in every way I can think of and I get an error that Apache cannot find c:/active_php/sapi/php4apache.dll (and it IS there). LoadModule php4_module c:/active_php/sapi/php4apache.dll I have even

[PHP] Running PHP on Windows OS

2002-12-31 Thread Todd Cary
After wasting a day on trying to get Apache to load PHP, I discovered what I believe to be the probllem, but no solution: M$!!! I have another box that has Win 2K running on it *AND* it does not have SP 3! Apache loads like a dream and so does PHP So, there is something in the new

[PHP] Installing PHP on XP

2002-12-26 Thread Todd Cary
I have Apache running on Windows XP, however I am having problems installing PHP. My PHP directory is C:\Active_Php and the documents say that I should add the following lines to httpd.conf: LoadModule php4_module c:/Active_PhP/sapi/php4apache.dll AddModule mod_php4.c AddType

[PHP] Equivalent to mysqldump in PHP

2002-12-20 Thread Todd Cary
Is there a function that can be implemented with PHP to do the equivalent of a mysqldump? Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Compiling PHP and RH Linux

2002-12-14 Thread Todd Cary
I am new to Linux, so the syntax is still quite foreign for setting up compiles. Here is what I need to do: Compile PHP with MySQL, Interbase, and the GD library and then compile Apache so that it has the newly compiled PHP integrated. Can someone refer me to some literature on the correct

Re: [PHP] Linux and Graphics

2002-12-12 Thread Todd Cary
unctions do you want to use? You can review the functions in the manual and it will tell you how to configure php with them... On Mon, 2002-12-09 at 13:31, Todd Cary wrote: I am running PHP in a RedHat 7.3 environment and I notice that the graphic functions are not present.

[PHP] Creating a report in PHP

2002-12-09 Thread Todd Cary
I have a DB that the users maintain of usual address information. I would like to create a report from the current data so that any user can download it. Is there a "report generator" that will give me the flexibility to use fonts and fontfaces that works with PHP and MySQL? Many thanks..

[PHP] Linux and Graphics

2002-12-09 Thread Todd Cary
I am running PHP in a RedHat 7.3 environment and I notice that the graphic functions are not present. Since I am quite new to Linux, I would appreciate it if someone could explain to me what I need to do to have graphic functions. Many thanks. Todd --

[PHP] Opening a socket and sending GET data

2002-11-22 Thread Todd Cary
I am able to open a socket and send POST data, however I do not know the format of doing the same for the GET method. Here is my POST Query: Query: POST http://209.204.172.137:80/_calendar/php/selectevent.php HTTP/1.0 Accept-Language: en-us Host: 209.204.172.137:80 Connection: close

Re: [PHP] Opening a socket and sending GET data

2002-11-22 Thread Todd Cary
P request using the GET method rather than POST to send the same data. GET http://209.204.172.137/_calendar/php/selectevent.php?pa_county=reenter_page=1sel_from_mo=Novembersel_from_dy=22sel_from_yr=2002sel_to_mo=Decembersel_to_dy=06sel_to_yr=2002 HTTP/1.1 Host: 209.204.172.137 Accept-Language: en-us Conne

Re: [PHP] Opening a socket and sending GET data

2002-11-22 Thread Todd Cary
e: en-us\r\n". "Host: $host:$port\r\n". "Connection: close\r\n"; Todd Chris Shiflett wrote: --- Todd Cary [EMAIL PROTECTED] wrote: I must be missing something because when I execute the following code, open the socket, and send the query, the form that the i

Re: [PHP] Opening a socket and sending GET data

2002-11-22 Thread Todd Cary
m not sure performing a manual request is necessary, but maybe it is. Chris --- Todd Cary [EMAIL PROTECTED] wrote: # now we build our query $query = "GET $abs_url" . "HTTP/1.0\r\n" . "Accept-Language: en-us\r\n". "Host: $host:$port\r\n". "Connection: close\r\n"; --

[PHP] Converting Time() to date

2002-11-12 Thread Todd Cary
I have an array of months (monthList) that I use for a drop-down. I would like to initialize the month to ThisMonth using time(). What is the best way to get November? from time()? Todd -- Ariste Software, Petaluma, CA 94952

[PHP] Multiple selections

2002-11-12 Thread Todd Cary
I have a pull-down with the MULTIPLE attribute. If the Form is of Type GET and two values are selected (e.g. select1 and select2), I see in the URL the following: ?myvar=select1myvar=select2 myvar appears twice, however, if I check the $HTTP_GET_VARS, I only have one value: myvar=select2.

Re: [PHP] Multiple selections

2002-11-12 Thread Todd Cary
o Subject: [PHP] Multiple selections From: Todd Cary [EMAIL PROTECTED] Date: Tue, 12 Nov 2002 16:37:43 -0800 To: "[EMAIL PROTECTED]" [EMAIL PROTEC

Re: [PHP] Multiple selections

2002-11-12 Thread Todd Cary
David - Speaking of JavaScript, is there a way to block the Enter key? If I have two buttons, the Enter key always pushes the one with focus. What is the accepted way to handle this? With one button it is nice to let the user press the Enter key and depress the one button - with two, it can

[PHP] Need a better way...

2002-10-27 Thread Todd Cary
My coding is not very concise and I would appreciate suggestions on how to clean this up even though it works: /* MySQL to date */ function mysql_to_date($mysql) { $retval = ; if ($mysql) { $parts = explode(-, $mysql); $mo = $parts[1]; $dy = $parts[2]; $yr =

Re: [PHP] Development Tools

2002-07-10 Thread Todd Cary
I agree completely. Here is an editor I like because it can be customized. http://www.gwdsoft.com/ 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, visit: http

[PHP] No server var array, why

2002-07-09 Thread Todd Cary
. I have to get my information by calling what would ususally be the indexes e.g. $HTTP_SCRIPTNAME. Is there a switch I did not set? 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

[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 unsubscribe, visit: http

[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] 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 I missed?? Todd -- Todd Cary Ariste

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

[PHP] Why is ibase_fetch_object() so slow?

2002-04-23 Thread Todd Cary
seconds at this point $end_time = getmicrotime(); $delta3 = $end_time - $start_time; $delta3 = number_format($delta3, 2, '.', ','); print(Delta 3: . $delta3 . br); if ($row) { grid_init($delta); -- Todd Cary Ariste Software 2200 D Street Extension Petaluma, CA 94952 707-773-4523

[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] 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

<    1   2   3   >