[PHP] Fopen errors out when opening a URL

2002-07-16 Thread Conover, Ryan
I am trying to do a simple fopen(http://www.weather.com/index.html;, r); For some reason I cannot Open any URL's after trying several. I get the following error Warning: stat failed for Resource id #1 (errno=2 - No such file or directory) I checked my php.ini to make sure I set the fopen

[PHP] [PHP-WIN] Fopen errors out when opening a URL

2002-07-15 Thread Conover, Ryan
I am trying to do a simple fopen(http://www.weather.com/index.html;, r); For some reason I cannot Open any URL's after trying several. I get the following error Warning: stat failed for Resource id #1 (errno=2 - No such file or directory) I checked my php.ini to make sure I set the fopen

[PHP] PHP 4.2.1 install

2002-05-21 Thread Conover, Ryan
What do I set cgi_redirect var in the php.ini if I install php 4.2.1 under win2k/iis5. Ryan Conover [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.pitt.edu/~rscst25/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Java PHP Integration

2002-05-21 Thread Conover, Ryan
I was wondering if anyone uses php to call enterprise javabeans? I wrote a java class that is accessed by some php code. This java class calls an EJB and gets a custom object returned to the java class called report. When I returned the custom object to php to reference, everything I try to

[PHP] Installing PHP 4.2.1

2002-05-20 Thread Conover, Ryan
I am having trouble installing PHP 4.2.1 on Win2K/IIS5 as an ISAPI Module. I copied php.ini file with my config to the winnnt folder, and set the the app mappings and Isapi filters to C:\PHP\SAPI\php4isapi.dll, but the module does not read any of the changes in the php.ini file. How can I get

[PHP] Java Question

2001-02-27 Thread Conover, Ryan
I have not programmed in Java in awhile. I keep getting an error: when I invoke the JVM java Welcome. Exception in thread "main" java.lang.NoClassDefFoundError: Welcome It compiles fine. javac Welcome.java import java.lang.*; public class Welcome { //main method public static

[PHP] AS400/Java Toolkit and PHP

2001-02-26 Thread Conover, Ryan
I am using php 4.0.4pl1. I added the AS400 toolkit to the JVM so I can interface with an AS400. but for some reason when I go to use a class in the JVM it says. Fatal error: Cannot instantiate non-existent class: java in c:\Inetpub\wwwroot/AS400/testtoolbox.php on line 11 Below is the

[PHP] How to delete session variables

2001-02-20 Thread Conover, Ryan
I would like the session variable to be deleted when the user closes their browser. Any ideas on how this is done. Ryan Conover -- 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] INSERT into MSSQL Server

2001-02-13 Thread Conover, Ryan
I trying to insert some data into a MSSQL Server 7.0 database from Php. Some of the data has various characters ', . How can I tell SQL Server to treat these characters as part of the input. Ryan Conover -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] Include files

2001-02-12 Thread Conover, Ryan
I have an include file foo.inc. I want to call a function that is in another include file,say anotherfoo.inc, from the foo.inc. //Foo.inc include "c:\\...\\anotherfoo.inc"; //other code //end of include can I call an include from another include? I tried the above but it fails opening the

[PHP] copy PEAR

2001-02-09 Thread Conover, Ryan
I was wondering if PEAR is built into the Win distribuition of php 4.0.4pl1. Or can I download it somewhere, and where? -- 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] MS SQL Question

2001-02-07 Thread Conover, Ryan
I am trying to update a table with data from another table within the same database with the following SQL UPDATE common SET common.[Extended Description] = extended.[Extended Description] WHERE common.[id] = extended.[Extended Description] the id is the primary key. I keep getting the

[PHP] COM?

2001-02-06 Thread Conover, Ryan
Does Anyone know what needs to be installed on the server other than php 4.0.4 and IIS to instantiate COM Objects like Excel and word. Ryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

[PHP] Sessions and Objects

2001-02-06 Thread Conover, Ryan
If I save an object as a session var. will I still have access to its methods. Ryan -- 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]

[PHP] COM and PHP

2001-02-05 Thread Conover, Ryan
I have been trying the following example from the PHP developer's cookbook and it keeps giving me the following error. Parse error: parse error in c:\Inetpub\wwwroot/temp.php on line 4 ? //line 1 $excel_handle = new COM("excel.application"); //line2 $excel_handle-Visible = false; //line3

[PHP] Revised [PHP] COM and PHP

2001-02-05 Thread Conover, Ryan
I have been trying the following example from the PHP developer's cookbook and it keeps giving me the following error. Parse error: parse error in c:\Inetpub\wwwroot/temp.php on line 5 ? //line 1 $excel_handle = new COM("excel.application"); //line2 $excel_handle-Visible = false; //line3

[PHP] COM Question

2001-02-05 Thread Conover, Ryan
Do I need to have anything special installed on the server (IIS) to call excel and word with COM. Ryan -- 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:

[PHP] RE: [PHP-WIN] Revised [PHP] COM and PHP

2001-02-05 Thread Conover, Ryan
d. in c:\Inetpub\wwwroot/temp2.php on line 7 Ryan -Original Message- From: Andris Jancevskis [mailto:[EMAIL PROTECTED]] Sent: Monday, February 05, 2001 3:01 PM To: Conover, Ryan Subject: Re: [PHP-WIN] Revised [PHP] COM and PHP Try "FALSE" instead of "false" Andris mail

[PHP] fucntion if not working bug error

2001-02-02 Thread Conover, Ryan
I think I found a bug with the pdf_open_image_file() function. I am running php4.0.4 pl1 with pdflib 3.03. I cannot open any .gif or .tif files. Ryan Conover -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP] Nulls in database

2001-02-01 Thread Conover, Ryan
I am trying to write a query to bring back rows that have null values set in them. I cannot figure out how to do this. I can bring back all rows that do not have nulls with the following query. SELECT [ID], [Project Name], [Start Construction Date], [Actual Completion Date] FROM common WHERE

[PHP] passing arrays of objects

2001-02-01 Thread Conover, Ryan
I was wondering if I can pass an array that has serialized objects to next page via url encoding $foo //array with serialized objects in it with the following encoding something/something/foobar.php?foo=echo($foo) and be able too unserialize $foo on the next page(foovar.php) ryan -- PHP

[PHP] connecting to AS400 DB2

2001-01-31 Thread Conover, Ryan
I was wondering if anyone as successfully pulled info from a DB2 Database on As400. My enviroment is Win2K server/php4.0.4/ZendOptimizer/IIS5. I was wondering how I could directly query the AS400. Or would it be wiser to pull the info from the AS400 into MSSQL Server. I was wondering how I would