[PHP-WIN] Next GD headache

2002-07-25 Thread Aron Pilhofer
Short question: I can't find this in the docs anywhere. Is it possible to register more than one session variable at a time? If so, what is the syntax? Long question: I am trying to generate a bar chart to accompany some figures I calculate. I have the code to generate the bar chart in a separate

[PHP-WIN] Re: pretty simple-but i can't figure it out

2002-07-25 Thread Peter
You could also make a function to simplify things if you have lots of links function dolink($href, $text) { $text = "$text"; return $text; } then calling echo dolink("page1.php","Link to page 1"); would output a link to page1.php with the text Link to page 1 "Tim Blackwell" <[EMAIL PROTECTED]

Re: [PHP-WIN] pretty simple-but i can't figure it out

2002-07-25 Thread Scott Carr
try: echo "{Your Text}"; -- Scott Carr OpenOffice.org Documentation Maintainer http://documentation.openoffice.org/ Quoting Tim Blackwell <[EMAIL PROTECTED]>: > how do you make a link using PHP it's very simple in html and javascript, > but i can't seem to figure out how to make a simple lin

[PHP-WIN] pretty simple-but i can't figure it out

2002-07-25 Thread Tim Blackwell
how do you make a link using PHP it's very simple in html and javascript, but i can't seem to figure out how to make a simple link? i'm making a news site and would like to have enormous articles have a nice little more.. link at the bottom of the first portion of the article. any help would

RE: [PHP-WIN] Brain Twister

2002-07-25 Thread Asendorf, John
Try this: --- $mi_boston = 645; //would be a calculation I guess $mi_ny = 886; //would be a calculation I guess $mi_chicago = 423; //would be a calculation I guess $mi_la = 1087; //would be a calculation I guess $arr_places = array( '0' => array( 'City' => 'Bosto

RE: [PHP-WIN] Date conversion

2002-07-25 Thread Scott Carr
You can use strtotime function. It'll take any textual rep of a date and convert it to Unix Timestamp. Then your checks will be int based. You can then use Date() to format it back to your liking, etc. -- Scott Carr OpenOffice.org Documentation Maintainer http://documentation.openoffice.org/

[PHP-WIN] Re: Mixing GD graphics and HTML/PHP ANSWERED

2002-07-25 Thread Aron Pilhofer
Duh, duh, duh. One of those days. Thanks guys for pointing out the (what should have been) obvious. :) "Aron Pilhofer" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'd like to insert a dynamic grahic (bar chart) into an existing page, but I > keep getting

Re: [PHP-WIN] Brain Twister

2002-07-25 Thread Jason Soza
Maybe use sort(), asort(), or array_multisort()? I'm sure one of them would do what you're looking for. asort() http://www.php.net/manual/en/function.asort.php sort() http://www.php.net/manual/en/function.sort.php array_multisort() http://www.php.net/manual/en/function.array-multisort.php Jas

[PHP-WIN] Mixing GD graphics and HTML/PHP

2002-07-25 Thread Aron Pilhofer
I'd like to insert a dynamic grahic (bar chart) into an existing page, but I keep getting tripped up on the header issue. Is there any workaround that does not involve frames, which would be a pretty klunky solution IMHO. Thanks in advance. -- PHP Windows Mailing List (http://www.php.net/) To

RE: [PHP-WIN] Date conversion

2002-07-25 Thread Dash McElroy
Well... you could cut the string down like: $string = substr("$string", 0, 9); then explode them into an array like follows: $array = explode("-", "$string"); and then... $dbdate = date("m/d/Y", mktime(0,0,0,$array[1],$array[2],$array[0])); then do your compare. OR - you could just co

RE: [PHP-WIN] Brain Twister

2002-07-25 Thread Asendorf, John
http://www.php.net/manual/en/function.asort.php http://www.php.net/manual/en/ref.array.php Is the information (non-mileage) going to be stored in a database? - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY!

[PHP-WIN] Brain Twister

2002-07-25 Thread R.S. Herhuth
I have a series of offices (11 at the present time). Each office has a CITY STATE ZIPCODE and a MILEAGE. What I need to do is to sort them by mileage which is dynamically calculated earlier in the script. I need the offices to be stored in an array and sorted by the MILEAGE after which I will

RE: [PHP-WIN] Date conversion

2002-07-25 Thread Kit Kerbel
I'm pulling the "2002-04-02 00:00:00" from a database(mssql). It reads 04/02/2002 in the database table, but when you pull the value out with php, it converts it to 2002-04-02 00:00:00. Then I am trying to compare it with 7/11/2002 to see if it is > or <. It's not comparing properly. Not sur

Re: [PHP-WIN] Include Issues Windoes 2000

2002-07-25 Thread Luis Ferro
I doubt... (i've no reason to believe that it doesn't work, but if it doesn't i would assume it to be a bug in windows filesystem->networksystem layer)... Anyway, the better way is to create a distributed file system and/or map the share as if it was a directory in one of the WS machine... Th

[PHP-WIN] Authenticating users. Help!

2002-07-25 Thread Tudor, Frank
I am trying set up a server like pop-up window (something you would see when logging into an intranet site) for users to authenticate to my site. I have had no success. All I get is the pop-up window returning over and over again. Like it is not even looking at the code. Please help. This seem

RE: [PHP-WIN] Include Issues Windoes 2000

2002-07-25 Thread Dash McElroy
2 things: 1. Your webserver should be running as IUSR_something which as far as I know, may have no network access, or permissions by default. There was a like topic discussed recently on this list. I don't use IIS (YAY!) so I'm not really sure. Check your permissions. Then double check them. 2.

RE: [PHP-WIN] reading input from a magnetic stripe and then parsingit to a MySQL database for querry?

2002-07-25 Thread Brian Huff
The card reader should have some driver documentation on how to access the data... you'd most likely have to write this in C++. If you're lucky, the manufacturers may have a command-line interface program to get at the data, or some dlls... so you might be able to get away with VB or Java...

[PHP-WIN] mssql on linux

2002-07-25 Thread Nicola Delbono
hello, any trouble connecting to MSSQL server from linux to win? I Run php on linux with freeTDS e unixODBC but there are alot lot of troubles. Every now and then I have to close and reopen connections because in pages with many queries, every qry need a new connection-.. Can't do any nested

[PHP-WIN] Date conversion

2002-07-25 Thread Kit Kerbel
I would like to convert 2002-04-02 00:00:00 to the format, 04-02-2002or m/d/Y How would I do this? Thanx in advance, Kit _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- PHP Windows Mailing List

php-windows Digest 25 Jul 2002 15:25:32 -0000 Issue 1257

2002-07-25 Thread php-windows-digest-help
php-windows Digest 25 Jul 2002 15:25:32 - Issue 1257 Topics (messages 14927 through 14938): tricky session question 14927 by: Kit Kerbel 14928 by: Nicole Amashta In php coders near Atlanta GA? 14929 by: Nicole Amashta Re: Can php generate MS word doc format?

[PHP-WIN] Include Issues Windoes 2000

2002-07-25 Thread Chris Schmidt
I have two server FS = File Server WS = Web server WS is IIS and is conecting to a share on FS. So the path to the PHP files is \\FS\iisweb\phpfiles\ So if i call test.php and that is located at http://WS/client/test.php and config is at http:\\WS\phpfiles\config.php test.php has this as a lin

[PHP-WIN] Re: Can php generate MS word doc format?

2002-07-25 Thread Brian Huff
Check out the COM interface. You can load Microsoft Word as a COM component in PHP, and do things like "TypeText", "SaveAs", etc. There is a sample in the documentation specificly for this, but the COM syntax may vary depending on which version of word you have. Expect to spend some time p

RE: [PHP-WIN] Can php generate MS word doc format?

2002-07-25 Thread Olav Bringedal
> Quoting Nicole Amashta <[EMAIL PROTECTED]>: > This is the first place I am going to look for > an answer to this... > Can PHP generate a word document formatted > file? If so, can someone point me > to where I might find some documentation for > this. I checked php.net and > typed "doc" in the

[PHP-WIN] extensions error - kills server

2002-07-25 Thread Adam Jackett
When I try to enable any extensions, it kills the server, making it impossible to view any website. I've tried multiple versions of PHP with multiple php.ini files. I've made sure the extension_dir was pointing to the correct extension directory, and that the extensions I tried to enable did in fa

RE: [PHP-WIN] reading input from a magnetic stripe and then parsing it to a MySQL database for querry?

2002-07-25 Thread Ross Fleming
> -Original Message- > From: Mentor Mala [mailto:[EMAIL PROTECTED]] > Sent: 25 July 2002 08:33 > To: [EMAIL PROTECTED] > Subject: RE: [PHP-WIN] reading input from a magnetic stripe and then > parsing it to a MySQL database for querry? > -- NOT AT ALL.. Thanks.. what I am trying to do actua

RE: [PHP-WIN] reading input from a magnetic stripe and then parsing it to a MySQL database for querry?

2002-07-25 Thread Mentor Mala
-Original Message- Eh?? Well first off I wouldn't be using php to do it... I'd use a language such as C++ or VB to do it, given you're probably wanting to communicate with a serial/parallel/usb port to drive the reader and extract the (probably) binary data from a card swipe, I don't kn