[PHP] PDF Questions
I was wondering if anyone has any good places to answer questions pertaining to PDF and PHP. 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] connecting to AS400 DB2
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 do either of these options. 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 administrators, e-mail: [EMAIL PROTECTED]
[PHP] Nulls in database
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 [Start Construction Date] != ' ' OR [Actual Completion Date] != ' ' I tried changing the != to = but it does not return anything. I am running these queries off a MSSQL 7.0 Server 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] passing arrays of objects
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 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] fucntion if not working bug error
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 PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] pdf question
Is it possible to output to more than one pdf file at one time. 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
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 Visible = false; //line3 $worksheet->Cells(1,1)->value = "Name"; //line4 $worksheet->SaveAs("temp.xls"); //line5 $excel_handle->quit(); //line6 //line7 ?> //line8 Anyone that has Com and PHP experience help please 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] Revised [PHP] COM and PHP
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 Visible = false; //line3 $worksheet = $excel_handle->workbooks->add(); //line4 $worksheet->Cells(1,1)->value = "Name"; //line5 $worksheet->SaveAs("temp.xls"); //line6 $excel_handle->quit(); //line7 //line8 ?> //line9 Anyone that has Com and PHP experience help please 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 Question
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: [EMAIL PROTECTED]
[PHP] RE: [PHP-WIN] Revised [PHP] COM and PHP
I tried with FALSE same error. I also tried the following word example Version}\n"; $word->Visible = 0; $word->Documents->Add(); $word->Selection->TypeText("Testing, testing... 1,2,3"); $word->Documents[1]->SaveAs("Some.doc"); $word->Quit(); ?> I get the following error Loaded Word, version 9.0 Warning: Invoke() failed: No description available in c:\Inetpub\wwwroot/temp2.php on line 5 Warning: Invoke() failed: Exception occurred. 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 mailto:[EMAIL PROTECTED] +--- Monday, February 05, 2001, 10:05:24 PM, you wrote: > 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 > $excel_handle = new COM("excel.application"); //line2 $excel_handle->>Visible = false; //line3 > $worksheet = $excel_handle->workbooks->add(); //line4 $worksheet->>Cells(1,1)->value = "Name"; //line5 $worksheet->>SaveAs("temp.xls"); //line6 $excel_handle->>quit(); //line7 > //line8 ?>> //line9 > Anyone that has Com and PHP experience help please > 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?
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 the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Sessions and Objects
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] MS SQL Question
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 following error. Server: Msg 107, Level 16, State 3, Line 1 The column prefix 'extended' does not match with a table name or alias name used in the query. Server: Msg 107, Level 16, State 1, Line 1 The column prefix 'extended' does not match with a table name or alias name used in the query. Anyone have any ideas. 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] copy PEAR
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 administrators, e-mail: [EMAIL PROTECTED]
[PHP] Include files
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 other include. Should I have the ' "include"c:\\...\\anotherfoo.inc" ' in the file that includes the Foo.inc? 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] INSERT into MSSQL Server
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 PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] How to delete session variables
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 administrators, e-mail: [EMAIL PROTECTED]
[PHP] security?
The company I am interning with is thinking of moving some operations of its intranet to an extranet. I researching different security to use for the connection any recommendations? SSL? Not sure what else to use. 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 administrators, e-mail: [EMAIL PROTECTED]
[PHP] AS400/Java Toolkit and PHP
> 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 code I used. > include "c:\\Inetpub\\wwwroot\\library\\calfunction.inc"; > include "c:\\Inetpub\\wwwroot\\library\\AS400lib\\standard.inc"; > session_register('userinfo'); > $user=$userinfo->user; > $pass=$userinfo->pass; > $printer=$userinfo->printer; > //java constructor is AS400("system", "user", "pass") > $as400 = new Java("com.ibm.as400.access.AS400", "X.X.X.X", "$user", > "$pass") > or die("Unable to Connect to AS400"); > ?> > > 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 administrators, e-mail: [EMAIL PROTECTED]
[PHP] Java Question
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 void main( String args[] ){ System.out.println( "Welcome to Java Programming!" ); } } The above is the code I am compiling. 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 administrators, e-mail: [EMAIL PROTECTED]
[PHP] Installing PHP 4.2.1
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.ini settings to be read? 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] PHP 4.2.1 install
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
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 ouput in the object gets outputed as "Object". Tried this way $Client = new Java("Custom.Client"); $Report=$Client->getTheReport(String str); echo($Report->Jobs[0]->getjobnum()); And this way $Client = new Java("Custom.Client"); $Client->getTheReport(String str); echo($Client->thereport->Jobs[0]->getjobnum()); Any help or links to anyone that tried this would be useful. 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] [PHP-WIN] Fopen errors out when opening a URL
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 wrappers and they are set. Any help would be appreciated. Ryan Conover [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.pitt.edu/~rscst25/ -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Fopen errors out when opening a URL
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 wrappers and they are set. Any help would be appreciated. Ryan Conover [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.pitt.edu/~rscst25/ -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php