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

[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

Re: [PHP] include files

2003-12-20 Thread Todd
This looks like it should do exactly what I need. Thanks for pointing that out. Marek Kilimajer wrote: See function debug_backtrace(), it's available since 4.3.3 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] include files

2003-12-19 Thread Todd
Hi, Is it possible under PHP4 to get the name of the file that a function was called from? To clarify, here's an example of what I'd like to do: --- main.php --- ?php include('include.php'); function foo(){ $include_file=file_that_called_foo();

[PHP] Fedora and Firebird

2003-12-08 Thread Todd Cary
? Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[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
someone help me get my bearings? Do I need to get the latest php rpm and run configure using the --with-xxx flag for each of the modules I want included? Lost. Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[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
the configure as you indicated and then the make. Correct? And then php expects to find the interbase.so in the same directory as the other so's (/usr/lib/php4 )...that is where it is and all runs fine...just need to reproduce this on a new server (backup...standby). Todd Evan Nemerson wrote

[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
in the record set. Suggestions welcomed Todd /* Display the grid */ function grid_show($id, $ct, $date, $place, $est_amt, $card, $ccn, $session_id) { if ($ct % 2) { $class = Even; } else { $class = Odd; } echo(tr); // The first column contains a link for the display

[PHP] Branching to a page

2003-09-14 Thread Todd Cary
) { print 'BASE HREF=' . $url . $page . 'p'; fpassthru($fp); }; } Todd -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Integrating an Applet with PHP

2003-09-13 Thread Todd Cary
Raditha - I am using NS 7.1 running in Windows 2000. Which version of Netscape are you running? This certainly is a strange situation. http://www.hexidec.com/ekitdemo.php No HTML shows in the Editor window on startup with NS; it is there with IE. Todd Raditha Dissanayake wrote

Re: [PHP] Integrating an Applet with PHP

2003-09-12 Thread Todd Cary
IE but in the Netscape browser the encoded text is not recognized. Do you have any ideas as to why that may be? My need for a Java based HTML Editor is so folks at my client's business who have Macs, PCs and Linux based computers can edit HTML based text in a PHP app. http://209.204.172.137/editor/ekit2

Re: [PHP] Integrating an Applet with PHP

2003-09-12 Thread Todd Cary
/decoding a feature of IE and not , possibly, of Netscape? Todd Dan Anderson wrote: 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 things that netscape does

Re: [PHP] Integrating an Applet with PHP

2003-09-12 Thread Todd Cary
Warren - The Java code is available at http://www.hexidec.com/ekitdemo.php. One of the reasons I need this applet working in non-IE browsers is that my client has staff that use Macs and need to access the site from the field... Todd Vail, Warren wrote: I'm not sure about

Re: [PHP] Integrating an Applet with PHP

2003-09-12 Thread Todd Cary
Waren - I have the 1.4.2 Java Plugin installed. Using Netwcape 7.1, when you go to http://www.hexidec.com/ekitdemo.php do you see HTML displayed in the editor window as you do with IE? Todd Vail, Warren wrote: Turns out I needed to install NS to do some testing in the next few days, so

Re: [PHP] Integrating an Applet with PHP

2003-09-12 Thread Todd Cary
Warren - you must enable Java, _javascript_ and Autoinstall in the Advanced panel of the Preferences In Netwcape 7.1, I only see a check box for "Run Java". Todd Vail, Warren wrote: Turns out I needed to install NS to do some testing in the next few days, so I did that went

[PHP] Integrating an Applet with PHP

2003-09-11 Thread Todd Cary
could point me toward some literature that explains this or if someone already has the experience and can look at the source and tell me how, it would be greatly appreciated. http://209.204.172.137/editor/ekit.php Todd -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Integrating an Applet with PHP

2003-09-11 Thread Todd Cary
Warren - That works... http://209.204.172.137/editor/ekit.php Now the next challenge is to put the value in $text into the HTML editor with some _javascript_...any suggestions? Todd Vail, Warren wrote: There may be other methods, but one that seems to be available from your form

[PHP] Escaping the ' character

2003-09-10 Thread Todd Cary
someone point me toward some docs on this? Many thanks! Todd -- inline: NewLogo.gif

[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] IS THIS A BUG?

2003-08-27 Thread Steve Todd
Is it possible to define a variable, such as: $foo = bar; and then do as follows to create a totally different variable: $$foo = text here; this seems to mean $bar = text here;. Is this a bug or can we legally use it. Steve

[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
OT* submitted - this is what I want. However, if I use an anchor, the form is submitted. Is there a way to prevent this? Here is the code I tried: a href="" ;" When the above is executed, the page is submitted, and I do not want that Todd -- inline: NewLogo.gif

[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
s the best solution for this? Todd -- image/gif

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

2003-07-03 Thread Todd Cary
e, but I do not know the steps or syntax. Is there documentation available for doing this? Todd -- inline: NewLogo.gif

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

Re: [PHP] Generate PHP using PERL???

2003-06-11 Thread Todd Snyder
modules though. The company is www.ipowerweb.com Anyway, the suggestion to make a system call looks like my best route for doing this. I also will take a fresh look at my code to see if I can divide it up better to make use of PHP for the image prior to running my perl script. Thanks, Todd Snyder

Re: [PHP] Generate PHP using PERL???

2003-06-11 Thread Todd Snyder
Below was their reply to me when requesting info about the imagemagick perl module Thank you for contacting iPowerweb technical support. We do have image magic for PHP, but the one for Perl we do not have and cannot install. You may or may not be able to shrink images. Contact the creators of

[PHP] ereg_replace question

2003-06-11 Thread Todd Cary
eg_replace("\\[^\\]+$","",$fullpath) . '\\'; What have I missed? Todd --

[PHP] Generate PHP using PERL???

2003-06-10 Thread Todd Snyder
the filename with PHP. My hope is that their is some directive that I can output at the start that will invoke the PHP interpreter so that my output will be run as a PHP script rather than just HTML. Thanks, Todd Snyder Code 6093, 812-854-1685 Electrochemical Power Systems -- PHP General Mailing List

[PHP] Img to a stream

2003-06-10 Thread Todd Cary
_embed($data); $pdf-image_place($image, 50, 0, $firstpage); In other words, I want to put the barcode date into $data and I am not sure how to do this. Any help is greatly appreciated. Todd --

[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
; 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
/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
put an Echo statement in the top of image.php: // Debug echo "Debugbr"; Is there some setting in the php.ini file that would prevent image.php from executing? I do have register_globals = Off However, I get the variables with $HTTP_POST_VARS[] statements. Todd Marek Kilimajer wro

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

2003-06-04 Thread Todd Cary
for register_globals : on or off. As i stated, my preference is to have it off. Sorry for not setting register_globals = On right in the beginning...it would have saved a lot of time :-)!! Todd Alex Ciurea wrote: Ok Tod, this is what I understood so far: 1) image.php should generate for you a barcode; 2

[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
--with-apxs=/usr/sbin 36 ./configure --with-interbase=/opt/interbase --with-apxs=/usr/sbin/apxs What do I need to add to this to include the graphics library? Many thanks... Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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. What is the correct syntax to do all of the suggestions? Todd Martin Helie wrote: Well, not necessarily, since gd is included with php 4.3.x. You'll probably still want

[PHP] is register globals off ready for prime time

2003-04-04 Thread Ray Todd Stevens
this. -- Ray Todd Stevens Specialists in Network and Security Consulting Senior ConsultantSoftware audit service available Stevens Services Suite 21 3754 Old State Rd 37 N Bedford, IN 47421 (812) 279-9394 [EMAIL PROTECTED

[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
n that can intercept the Socket stream? Todd --

[PHP] Opening a file in a new window

2003-03-10 Thread Todd Cary
) { fpassthru($fp); fclose($fp); } ? Now I would like to open the file in a new window and I am not sure how to do that. Todd -- Ariste Software, Petaluma, CA 94952 \n [EMAIL PROTECTED]

[PHP] Displaying a file

2003-03-09 Thread Todd Cary
is the best way to do that? Many thanks. Todd -- Ariste Software, Petaluma, CA 94952 \n [EMAIL PROTECTED]

Re: [PHP] Displaying a file

2003-03-09 Thread Todd Cary
OK! This makes sense. What is the syntax to do b) output an appropriate header for the file type c) pass through the actual file contents if I were doing an HTML file - if I were doing a PDF file? Todd Justin French wrote: Same way img src='image.php?file=myimage.gif' / image.php would

[PHP] Out of Range

2003-02-25 Thread Todd Barr
here is my code $Query = SELECT Last_Login and Current_Login from Security where PM_ID=$_SESSION[ID]; $Getdates = odbc_do($link, $Query); while(odbc_fetch_row($Getdates)) { $Last=odbc_result($Getdates, 1); $Now=odbc_result($Getdates, 2); Now I get an error that tells me that #2 is out

[PHP] Javascript

2003-02-25 Thread Todd Barr
I have tried this 3 different ways and none of them worked... I am trying to get javascript to generate a popup, with a variable passed along in the url. echoa class=white href='javascript.openpopup()' $Unique_Id; this doesn't work, neither does stopping PHP and then restarting... Blah, any

[PHP] LDAP error error

2003-02-21 Thread Todd Rosenberry
); print ERROR: $lderrstr ($lderrno)BR\n; } Thanks, - Todd

[PHP] Php 4.3

2003-02-10 Thread Todd Barr
Hello, I am having issues after I upgraded from 4.0.5 to 4.3 Alot of my link pages were based in www.something.com/phptest.php?foo=9323 Now that I have upgraded, I get foo errors. It says that it no longer gets the foo value... how can I fix this? THanks -T

[PHP] Access GAH

2003-02-04 Thread Todd Barr
Hello folks, I was wondering if anyone had anyluck with empty fields in Access. Basically, I have an update page, and sometimes items are left blank on purpose. but when I click to update, it gives me an error, as some fields are left blank. Is this an access thing, or can I code around it.

[PHP] Html forms

2003-02-03 Thread Todd Barr
I am having difficulty putting results into an form Once the query runs, I have this for my output print Input type=text name=foo value=; print $Foo; print ; This results in an HTML error being apache finds an error AFTER the /html tag Any ideas?

Re: [PHP] Html forms

2003-02-03 Thread Todd Barr
Parse error: parse error in C:\apache\htdocs\tsadbatest.php on line 148 Its the line after the html ends - Original Message - From: 1LT John W. Holmes [EMAIL PROTECTED] To: Todd Barr [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, February 03, 2003 9:59 AM Subject: Re: [PHP] Html

[PHP] Bug?

2003-01-31 Thread Todd Barr
Hello all I am having issues passing vars in the url example here is my url http://localhost/tsatest.php?Sub_Task=2 and here is my code $link = odbc_connect( 'TSA','',''); $Query = SELECT * from projects where sub_task='$Sub_Task'; $Result = odbc_do($link, $Query); All this returns is a blank

[PHP] HTML embedding

2003-01-30 Thread Todd Barr
Hello, I am having an issue. I am using an access database, where the names have whitespace. Now, when I try to generate a link within the php script I get just their first name But in the link itself I get the whole name so the html link looks something like this a

[PHP] Access

2003-01-28 Thread Todd Barr
Access Does anyone here have any idea how to connect access to PHP? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Access difficulties

2003-01-28 Thread Todd Barr
Hello, I have figured out how to connect it, I think But now I get this error

[PHP] MS Access

2003-01-28 Thread Todd Barr
I have it connected, now I am getting the following error Warning: SQL error: , SQL state 0 in SQLConnect in c:\program files\apache group\apache\htdocs\test.php on line 7 Any ideas?

Re: [PHP] MS Access

2003-01-28 Thread Todd Barr
I was just checking to see if the connection was working This one lacked a sql statment - Original Message - From: Paul Roberts [EMAIL PROTECTED] To: Todd Barr [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, January 28, 2003 11:57 AM Subject: Re: [PHP] MS Access that means there's

[PHP] I am a dullard

2003-01-07 Thread Todd Barr
Okay...I am now having difficulty with putting things INTO the database. The form is on another page, and links to this one. ?php $Host=localhost; $User=us34992a; $Password=**; $DBname=db34992a; $Link=mysql_connect ($Host, $User, $Password); $db=mysql_select_db($DBname, $Link) or die (Unable

[PHP] Hello and help

2003-01-03 Thread Todd Barr
I am a PHP newbie, and I am having difficulty in getting my records to display here is my code ?php $Host=localhost; $User=us34992a; $Password=*; $DBname=db34992a; $Tablename=calendar; $Link=mysql_pconnect($Host, $User, $Password) or die (YOu suck1); $db=mysql_select_db($DBname, $Link) or

[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
security of XP and Win 2K SP 3 that does not let the dll load and run. Ever since I loaded SP 3 I have had problems - like many others! Now to figure why it will not let Apache load and run the dll? Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Installing PHP on XP

2002-12-26 Thread Todd Cary
application/x-httpd-php .php However, I get an error when Apache tries to load the dll. Has any successfully installed PHP and Apache on Windows XP? If so, what changes are made to the conf file? Todd --

[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
syntax and order for doing this? Todd --

Re: [PHP] Linux and Graphics

2002-12-12 Thread Todd Cary
Are there any instructions on how to configure the GD libraries and compile PHP? I guess then I will have to recompile Apache so that it includes the "new" PHP?? Todd Scott Hurring wrote: With RedHat, AFAIR you have to compile PHP from source *after* first configuring the GD

[PHP] Creating a report in PHP

2002-12-09 Thread Todd Cary
any thanks.. Todd --

[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
Chris - I must be missing something because when I execute the following code, open the socket, and send the query, the form that the info is going to gets created but it is corrupted. Do you see any obvious error? Todd if (!empty($request)) { $path = $path . "?" . urlencod

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

2002-11-22 Thread Todd Cary
to test //echo('Path: ' . $path . 'brbr'); # build the absolute URL $abs_url = "http://$host:$port$path"; //Use the echo below to test //echo('Abs_url: ' . $abs_url . 'brbr'); # now we build our query $query = "GET $abs_url" . "HTTP/1.0\r\n" . "Accept-Languag

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
. Is it possible to get both values? Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Multiple selections

2002-11-12 Thread Todd Cary
nd you suggestion, which works like a champ, the use of the "[]" tells the interpreter to treat $myvar as an array. Todd Marco Tabini wrote: Sure! Just add [] to the end of the name of the field. PHP will return all the values in an array: select name="myvar[]" Marc

Re: [PHP] Multiple selections

2002-11-12 Thread Todd Cary
be a problem. Todd David Rice wrote: On Tuesday, November 12, 2002, at 07:34 PM, Ernest E Vogelsinger wrote: Sure it is - just name the listbox control myvar[] (note the angle brackets). PHP will recognize this being an array, and you'll end up with $myvar = array('select1','select2

[PHP] crypt/MD5 Problem

2002-11-12 Thread Todd Hight
this with a sample C program and a Perl script, not to mention as I stated above PHP standalone works fine. Im not sure what's happening to prevent the porper crypt support from getting in. Any suggestions would be appriciated. System specs below. TIA!!! - Todd

Re: [PHP] Graphics question

2002-11-07 Thread Todd Pasley
()*100); $anticache= md5(rand(0,999)); and then echo IMG src=\drawpic.php?arg1=blaharg2=blah.anticache=$anticache\ \n; Since this addition, i have never had a problem with cache, HTH Todd. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Quick question

2002-11-07 Thread Todd Pasley
Realistically, there is no difference. It is *slightly* quicker to parse, but thats about it. I think it was introduced to satisfy those that have used this type of syntax in other languages, like C and Perl (which users elsif). I usually use elseif as its a bit nicer looking (IMHO) 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 =

[PHP] SSH (again)

2002-10-14 Thread Alan Todd
pointers or sites they have found on this subject.. Thanks Alan Todd Webmaster : Gibhut.com icq : 159944 -- while( !asleep() ) sheep++; -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] imagecreatefromstring

2002-10-01 Thread Todd Pasley
into a string that will be in a valid format for use with imagecreatefromstring. Any help at all would be greatly appreciated. Cheers, Todd. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: inputbox?

2002-10-01 Thread Todd Pasley
What you seem to be looking for are the javascript functions, alert, confirm and/or prompt. for a billion examples see... http://www.google.com/search?num=20hl=enlr=ie=UTF-8oe=UTF-8newwindow=1; safe=offq=confirm+alert+promptbtnG=Google+Search Todd. -Original Message- From: Jeff

RE: [PHP] Connect to oracle on another host

2002-10-01 Thread Todd Pasley
Try looking at the following paper, it looks very good. http://conf.php.net/pres/slides/oci/paper.txt HTH Todd. -Original Message- From: Juan Antonio Ruiz Zwollo [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 2 October 2002 11:28 AM To: [EMAIL PROTECTED] Subject: [PHP] Connect

RE: [PHP] export data to text file

2002-09-28 Thread Todd Pasley
be possible if you write an applet, otherwise, pretty much the only thing you should be able to write to the hard drive is a cookie. HTH Todd. -Original Message- From: Diana Castillo [mailto:[EMAIL PROTECTED]] Sent: Sunday, 29 September 2002 12:03 AM To: [EMAIL PROTECTED] Subject: [PHP

Re: [PHP] Redirection

2002-09-22 Thread Todd Pasley
I use meta http-equiv=refresh content=DELAY;url=http://place.to.redirect.to Todd. - Original Message - From: Sascha Braun [EMAIL PROTECTED] To: PHP Mailingliste [EMAIL PROTECTED] Sent: Monday, September 23, 2002 9:42 AM Subject: [PHP] Redirection Hi, I want to post a form

RE: [PHP] Editor

2002-09-21 Thread Todd Pasley
You can get vi/vim for windows, without a doubt the best editor of all time if you can be bothered learning the commands. Todd. -Original Message- From: Bryan McLemore [mailto:[EMAIL PROTECTED]] Sent: Saturday, 21 September 2002 11:16 PM To: PHP GEN LIST Subject: [PHP] Editor Hi

<    1   2   3   4   5   6   7   8   >