[PHP-WIN] PHP5 MSSQL and FreeTDS

2005-01-17 Thread Frank M. Kromann
Hello Everyone, I have (finally) had the time to build a version of the mssql extension that uses FreeTDS on Win32. This should end some of the limitations in Microsofts libraries (ie char/varchar with max width of 255 bytes). It still ned some testing so if you are interested in testing this new

[PHP-WIN] Tool to convert delphi to php

2005-01-17 Thread Louis Young
Hi Is there a tool that can do this for me, or do I have to do it manually? Cheers Louis -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] I am trying to write & read to a file

2005-01-17 Thread graeme
Here are a few steps to try: Go to your favourite text editor and open the file, what do you see? If the contents are there then go back to your script and read the file using *file_get_contents(filename)* graeme Patrick Roane wrote: I created a form that asks for the users 1st and last name. I t

Re: [PHP-WIN] Output Image from Db to Browser

2005-01-17 Thread graeme
Sorry running from memory here. You need to set your output headers to display a jpg not text. So you need something like: header("Content-type: image/jpg"); This will display the image on its own, if you need to embed the image in a web page you need a little more trickery. I'll try to look it

Re: [PHP-WIN] Newbie question: convert string to int

2005-01-17 Thread graeme
If you note in my text I had said number. 5.7 is a number. If you want to convert the number to an integer then there are a number of php functions to do that. It all depends on how you want the conversion to be done but a type cast (int) will eventually be necessary. graeme BENJAMIN LAMBE wrot

[PHP-WIN] I am trying to write & read to a file

2005-01-17 Thread Patrick Roane
I created a form that asks for the users 1st and last name. I than try and attempt to save this data to a file. Next, I'd like to read the data from this file and write its contents to the browser. I only get so far before I get a wierd response after hitting the submit button: Resource id #3 S

Re: [PHP-WIN] Re: help w/hidden fields and storing an int.

2005-01-17 Thread Patrick Roane
Thanks- I will look into session vars. --- Jason Barnett <[EMAIL PROTECTED]> wrote: > Patrick Roane wrote: > > I am tring to store and display the number of > requests > > that a user has submitted via a hidden field. I've > > created a form that does a some simple addtion. > > Everything works,

Re: [PHP-WIN] including an HTML file

2005-01-17 Thread Randy Clamons
True enough, fread reads the entire file contents into RAM, and that could be a problem. On the other hand, if it is not a problem--if the file to be read is not too big--it's more efficient and there is less code to maintain. The regular expression in my example extracts the appropriate part of

[PHP-WIN] Re: help w/hidden fields and storing an int.

2005-01-17 Thread Jason Barnett
Patrick Roane wrote: I am tring to store and display the number of requests that a user has submitted via a hidden field. I've created a form that does a some simple addtion. Everything works, but I need some direction as to how I can store each number the user puts in and to display them. Please s

[PHP-WIN] Output Image from Db to Browser

2005-01-17 Thread MikeA
I am trying to output a JPG image to the browser without creating a file. I have tried several things but nothing seems to work. I sure could use a whole lot of help right now! LOL Going crazy trying to figure this out. But I know there are PHP gurus out there that will have the answer in 2 s

[PHP-WIN] help w/hidden fields and storing an int.

2005-01-17 Thread Patrick Roane
I am tring to store and display the number of requests that a user has submitted via a hidden field. I've created a form that does a some simple addtion. Everything works, but I need some direction as to how I can store each number the user puts in and to display them. Please see below: http://

Re: [PHP-WIN] Anybody know a good javascript newsgroup

2005-01-17 Thread trystano
There is a good forum section at www.sitepoint.com/forums Thanks Tryst -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] PHP 5.0.3 and Oracle on Windows/Apache2

2005-01-17 Thread Chaun Keating
I am having trouble logging onto Oracle via PHP on a Windows 2000 machine. I keep getting the error: Fatal error: Call to undefined function OCILogon() in C:\Program Files\Apache Group\Apache2\htdocs\oraconnect.php on line 15 I seem to have everything set up correctly. I am running an Oracle 9i

[PHP-WIN] PHP MS-DOS

2005-01-17 Thread Shawn McKenzie
Is it possible to run the current win32 PHP under DOS only? I have a bootable DOS disk with PHP and when I attempt to run it I get "This program can not run in DOS mode.". Is there a DOS binary??? TIA -Shawn -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php

[PHP-WIN] PHP 5.0.3 and Oracle on Windows/Apache2

2005-01-17 Thread Chaun Keating
I am having trouble logging onto Oracle via PHP on a Windows 2000 machine. I keep getting the error: Fatal error: Call to undefined function OCILogon() in C:\Program Files\Apache Group\Apache2\htdocs\oraconnect.php on line 15 I seem to have everything set up correctly. I am running an Oracle 9i

[PHP-WIN] Trouble opening excel workbook

2005-01-17 Thread Louis Young
Hi there I'm having a bit of trouble opening an Excel workbook. The following code: // Set the workbook to use and it's sheet $workbook=$_GLOBALS["templatedir"]."\ElectricityTransactions.XLT"; $sheet="Sheet1"; //Instantiate the spreadsheet component. $ex = &new COM("Excel.sheet") or Die ("Did not

[PHP-WIN] Anybody know a good javascript newsgroup

2005-01-17 Thread Ross Hulford
Hi, I am working on a project and need to incorporate some javascript. Can you point me in the right direction of a server/newsgroup? Thanks R. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: Change Excel spreadsheet

2005-01-17 Thread GkE
If I understood your question very well, the answer is very simple. Under file menu, simply click "Save As...", type in the new name and click Save button. All the best. GKE "Louis Young" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi > > What would be the best way to do the fol

[PHP-WIN] Memory error

2005-01-17 Thread Louis Young
Hi guys Using Apache/2.0.52 with PHP 4.3.10 on Windows XP. When I try to load a page, I get the following error message: --- php.exe - Application Error --- The instruction at "0x10007889" referenced memory at "0x30681876". The memory could not be

Re: [PHP-WIN] Newbie question: convert string to int

2005-01-17 Thread Rasmus Lerdorf
On Mon, 17 Jan 2005, Louis Young wrote: > What's the function to convert a string to an int. echo (int) "123abc"; -Rasmus -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php