[PHP] cgi error --- please help

2004-01-28 Thread Dale Hersh
CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. I am getting this error and I can't figure out what is causing the problem. If I hit refresh on the broswer, the page loads just fine. Any ideas??? Thanks, Dale RUNNING IIS 6.0 & MSSQL 2000 -- P

[PHP] CGI ERROR

2004-01-28 Thread Dale Hersh
CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. I am getting this error and I can't figure out what is causing the problem. If I hit refresh on the broswer, the page loads just fine. Any ideas??? Thanks, Dale RUNNING IIS6.0 & MSSQL 2000 -- PH

[PHP] CGI ERROR

2004-01-27 Thread Dale Hersh
CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. I am getting this error and I can't figure out what is causing the problem. If I hit refresh on the broswer, the page loads just fine. Any ideas??? Thanks, Dale -- PHP General Mailing List (http:

[PHP] UNUSUAL PROBLEM WHEN WRITING TO THE SCREEN

2003-12-22 Thread Dale Hersh
For some reason when I echo data from my database, I can't display anything longer than 255 chars. As far as I can see, tt has nothing to do with my database. Is there something in the php.ini that limits how many chars you can write to the screen per variable. -- PHP General Mailing List (http:/

[PHP] PROBLEMS WHEN EXTRACING DATA FROM MSSQL DATABASE WITH PHP

2003-12-22 Thread Dale Hersh
I am having a really unusual problem. In my database, I currently have string such as: "I went to the store and bought some food. I then decided to go to the movies and I saw Bad Boy II." When I extract the data out of the database, the data always seems to get cutoff. In other words, I will only

[PHP] PRINT QUESTION

2003-11-24 Thread Dale Hersh
I know that in php there are a bunch of basic functions for opening a connection to a printer and then handling the printer queue and so forth. I would like to know how to take a string and echo that to the printer in php. Thanks, Dale -- PHP General Mailing List (http://www.php.net/) To unsubsc

[PHP] FLOAT

2003-10-02 Thread Dale Hersh
Hi. I have a question regarding how to manipulate numbers in php. I am currently storing some values as type float in my sql database. When I display the values, I only want to display them to the 100th decimail place. As it stands, the data is written to the screen in the following format: 15.333

[PHP] TIME

2003-09-02 Thread Dale Hersh
The battery on my server keeps on dieing, so the clock is not keeping time correctly. I was wondering is there any way to query some type of global time source in php? Thanks, Dale -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] STRING_FORMAT

2003-08-22 Thread Dale Hersh
I have looked in the online manual for mssql and it describes a function called string_format that will allow one to format your data stored in your database. I am just not sure how to use it in a select statement and I can't seem to find any examples of how to use it. Any ideas? Thanks, Dale

[PHP] datetime

2003-08-21 Thread Dale Hersh
I am using a mssql database and I have a question regarding the datetime type. When I write a date to the database it store the date in the following format: 6/8/03 But when I extract the date from the database it returns the value in the following format: Jun 8 2003 12:00AM Is there a nice funct

[PHP] curl question

2003-07-28 Thread Dale Hersh
I am using authorize.net and I need to get this curl function working on a win 2k server platform in order to process credit card transactions through php. I have read through the manual and I am still failing to integrate php with curl. I was wondering if anyone could provide help or step by step

[PHP] ARRAY QUESTION

2003-07-24 Thread Dale Hersh
I have a question regarding the count function. Here goes: Lets pretend I have this array called myStuff. If I add two elements to myStuff and call the count function, I will get a result of 2. My question is how do I re-initialize the array after adding elements so when I call the count function

[PHP] STRING FORMATTING QUESTION

2003-07-16 Thread Dale Hersh
My question is regarding strings in php. I have this form in which the user fills in a description. The problem is that if the user uses any aprostrophe's or any other unusual characters in the form, the string can not be inserted into my ms sql database. Any ideas? Thanks, Dale -- PHP Genera

[PHP] PROBLEMS WITH STRINGS & SQL DATABASE

2003-07-16 Thread Dale Hersh
This my problem: I have this insert statement in my code that works fine for all strings except strings that include the following characters: ' " Any ideas? Thanks, Dale -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php