[PHP] Re: A stupid question...

2002-03-10 Thread Cary
what your looking for. If you could elaborate a little I am sure that one of us could help you out. Cary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

Re: [PHP] Linux and Graphics

2002-12-12 Thread Todd Cary
ECTED]... What functions 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

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

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

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

[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 here to open the Race Schedule In other words, if certain conditions are met, then I want to display the file. What is the best way to do that? Many thanks. Todd -- Ariste Soft

Re: [PHP] Displaying a file

2003-03-09 Thread Todd Cary
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 P

[PHP] Opening a file in a new window

2003-03-10 Thread Todd Cary
Thanks to your help, this now is working: /* Validate session_id here */ header("Content-type: text/html"); header("Content-Disposition: filename=" . $filename); $fp = fopen($filename, "r"); if($fp) { fpassthru($fp); fclose($fp); } ?> Now I would like to open the file in a new windo

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

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

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

[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: When the button is clicked, the form is *NOT* submitted - this is what I want. However, if I use an anchor, the form is submitte

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

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

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

Re: [PHP] Re: Adding graphics library

2003-05-31 Thread Todd Cary
. You'll probably still want to get libjpeg and libpng, and link against them with the proper configure options. <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... --with-gd and of oucrce you need the GD library. "Todd Cary" <[EMAIL PROTECTED

[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] 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 ""; To see if it is executing, I have an "Echo" statement in the script. The image.php file is in the same directory as the other script files. What am I missing here? Todd --

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

2003-06-04 Thread Todd Cary
ot;; } Alex Ciurea wrote: did u made copy&paste 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: &quo

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

2003-06-04 Thread Todd Cary
oken image icon is displayed in IE or nothing in Netscape/Mozilla (I see you use Netscape). Look at the html, and if the tag is there, I'm sure your browser tries to read the image. Todd Cary wrote: Alex - The code I placed in the messsage is a copy and paste of the code from the sa

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

2003-06-04 Thread Todd Cary
if u can run a php script. 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

[PHP] Is "gd" present?

2003-06-04 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: "Todd Cary" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED]...

[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 "";  

[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 = ereg_replace(

[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] 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 = $parts

[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=select1&myvar=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
Subject: [PHP] Multiple selections From: Todd Cary <[EMAIL PROTECTED]> Date: Tue, 12 Nov 2002 16:37:43 -0800 To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>

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

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

2002-11-22 Thread Todd Cary
?pa_county=&reenter_page=1&sel_from_mo=November&sel_from_dy=22&sel_from_yr=2002&sel_to_mo=December&sel_to_dy=06&sel_to_yr=2002 HTTP/1.1 Host: 209.204.172.137 Accept-Language: en-us Connection: Close --- Todd Cary <[EMAIL PROTECTED]> wrote: 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. --

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

2002-11-22 Thread Todd Cary
ery   $query = "GET $abs_url" .    "HTTP/1.0\r\n" .    "Accept-Language: en-us\r\n".        "Host: $host:$port\r\n".             "Connection: close\r\n"; Todd Chris Shiflett wrote: --- Todd Cary <[EMAI

[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/) To

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

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

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

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

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

Re: [PHP] Integrating an Applet with PHP

2003-09-11 Thread Todd Cary
=post 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

Re: [PHP] Integrating an Applet with PHP

2003-09-12 Thread Todd Cary
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] Subject: Re: [PHP] Integrating an Applet with PHP Warren - That works...

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 encoding/de

Re: [PHP] Integrating an Applet with PHP

2003-09-12 Thread Todd Cary
PROTECTED]] Sent: Friday, September 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

Re: [PHP] Integrating an Applet with PHP

2003-09-12 Thread Todd Cary
003 11:15 AM 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

Re: [PHP] Integrating an Applet with PHP

2003-09-12 Thread Todd Cary
sers, by adding a link to the download 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, Septemb

Re: [PHP] Integrating an Applet with PHP

2003-09-13 Thread Todd Cary
plug 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 para

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

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

Re: [PHP] Integrating interbase.so

2003-10-24 Thread Todd Cary
erson wrote: 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 inte

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

[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 (http://www.php.ne

[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] 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"; Thi

[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

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

[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] Passing a query result

2001-01-09 Thread Todd Cary
I need to pass a query result to a functionas demonstrated below. I get the error message that $row is not a result type. Is there a way around this? Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] Passing a query result

2001-01-09 Thread Todd Cary
Toby - This is an Interbase DB... Todd Toby Butzon wrote: > Working with what sort of database? > > Toby Butzon > [ criticism spurs improvement ] > > - Original Message ----- > From: "Todd Cary" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]&

Re: [PHP] Passing a query result

2001-01-09 Thread Todd Cary
return 0; }; }; }; -- 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] Passing a query result

2001-01-09 Thread Todd Cary
unclear & not working... > > Regards, > > Toby Butzon > [ criticism spurs improvement ] > > - Original Message - > From: "Todd Cary" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, January 09, 2001 11:04 PM > Subject: Re: [PH

[PHP] PHP simulator

2001-01-10 Thread Todd Cary
Is there a PHP simulator for NT? One that can be used for testing and development? 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

Re: [PHP] PHP simulator

2001-01-10 Thread Todd Cary
" with PHP and see if it will run. 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] PHP simulator

2001-01-10 Thread Todd Cary
John - That sounds feasible. I have always associated Apache with Unix/Linux; not Windows The install of PHP 4.0.4 on my Win 2K was an absolute breeze running IIS 5. What is Apache like in the Windows envirnoment? Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General

Re: [PHP] win 2000 nt 5.0 and IIS

2001-01-16 Thread Todd Cary
:\php_active\ extension_dir = c:\php_active\ In the IIS (5.0) I add ".php" to the application mappings (c:\php_active\php4isapi.dll) in the Home Directory tab *and* in the ISAPI Filters. Stop and Start IIS and you should be up and running. Let me know if this helps Todd -- Todd C

[PHP] Calendar program

2001-01-18 Thread Todd Cary
Does a calendar program exist in PHP similar to Yahoo's program? (http://www.yahoo.com/calendar) 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 PROT

Re: [PHP] Calendar program

2001-01-18 Thread Todd Cary
Whooops! Wrong URL! http://calendar.yahoo.com Todd Todd Cary wrote: > Does a calendar program exist in PHP similar to Yahoo's program? > (http://www.yahoo.com/calendar) > > Todd > > -- > Todd Cary > Ariste Software > [EMAIL PROTECTED] > > -- > PHP

[PHP] Integer division

2001-01-19 Thread Todd Cary
What is the syntax for dividing 7 by 2 and getting 3; not 3.5? 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] Installing Php/Apache/Win98

2001-01-20 Thread Todd Cary
for help? 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] XOR data encryption

2001-01-20 Thread Todd Cary
I have some Delphi code that uses the XOR, if that would help. 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] Apache and $HTTP_SERVER_VARS[]

2001-01-22 Thread Todd Cary
","",$path) . '/'; echo('Path: ' . $path . ''); Track_vars = On 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 PROTEC

[PHP] $HTTP_SERVER_VARS has only 1 value

2001-01-22 Thread Todd Cary
With Apache, $HTTP_SERVER_VARS only has the element, "PHP_SELF". What am I missing in my Apache setup? 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-ma

Re: [PHP] $HTTP_SERVER_VARS has only 1 value

2001-01-22 Thread Todd Cary
I am only getting the PHP_SELF item. 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] $HTTP_SERVER_VARS has only 1 value

2001-01-22 Thread Todd Cary
query the correct array? 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] $HTTP_SERVER_VARS has only 1 value

2001-01-22 Thread Todd Cary
Teo - That works great for Apache but not for my ISAPI installation that is using IIS on a Win 2K platform. Is there a way to tell if I am using an ISAPI server or not? Otherwise I will put that in my parameter file. Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General

Re: [PHP] $HTTP_SERVER_VARS has only 1 value

2001-01-22 Thread Todd Cary
Teo - Many, many thanks!!! That will 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 administrators, e-mail: [EMAIL

Re: [PHP] Session tracking question

2001-01-23 Thread Todd Cary
OK, I then assign the Session ID. I realize there are many additions to the above that can make it more secure, but I am not dealing with sensitive data at this time. Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-ma

[PHP] Retrieving echoed data

2001-02-22 Thread Todd Cary
"&pu_amount=" . urlencode($pu_amount) . "&pu_ccno=" . $pu_ccno . "&pu_exp=" . $pu_expiremo . $pu_expireyr . "&pu_ssn=" . $pu_ssn); if($fp) { print ''; fpassthru($fp);

[PHP] Parsing a string

2001-02-23 Thread Todd Cary
I have a comma delimited string that I need to parse into an array. Is there a PHP function that will do that ? Many thanks.. Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] Parsing a string

2001-02-23 Thread Todd Cary
Thanks all!! split() works like a champ!! 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] Need socket help!!!

2001-02-23 Thread Todd Cary
($fp,1); fclose($fp); $tokenarray = split(",",$result); $response = $tokenarray[0]; // Response contains "1" which is success } ?> Now I cannot go any further. I need to go to a page, password.php!! All efforts give an error message. -- Todd Cary

[PHP] PHP/NT4/IIS5 problem

2001-02-27 Thread Todd Cary
I have PHP 4.0.4 running on my Win 2K with IIS5 - no problem! When I try to install the same PHP on a NT4 with SP6 and IIS5 I cannot get the Isapi filter to work - the status comes up as failed. Am I overlooking some simple? Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP

[PHP] PHP single user??

2001-02-27 Thread Todd Cary
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] PHP single user??

2001-03-01 Thread Todd Cary
instead. Todd Rick Hodger wrote: > Todd Cary <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I am having a very strange problem: PHP 4.0.4 on a NT 4 platform with > > IIS 5 is only allowing one surfer to do a DB Select. If t

  1   2   3   4   >