[PHP] reading a word document

2007-08-11 Thread Tom Cruickshank
Hello, Would anyone know or could point me to a link which might have a way for php to read a word document? The code will run on linux, so unfortunately cannot use COM. I've done research on a third application tool which converts docs to html, but have yet to find one which keeps proper

[PHP] Problems connecting to mysql

2007-06-08 Thread Tom Cruickshank
Hello, I was using a FAMP (FreeBSD Apache MySQL PHP) server for some web development I was doing. Then I had to switch over the php pages to a Linux box, however, the database is still on FreeBSD. Does that make any difference? The reason why I ask is because I keep getting this error. I use

RE: [PHP] Problems connecting to mysql

2007-06-08 Thread Tom Cruickshank
- From: Tijnema [mailto:[EMAIL PROTECTED] Sent: June 8, 2007 7:00 PM To: Tom Cruickshank Cc: php-general@lists.php.net Subject: Re: [PHP] Problems connecting to mysql On 6/9/07, Tom Cruickshank [EMAIL PROTECTED] wrote: Hello, I was using a FAMP (FreeBSD Apache MySQL PHP) server for some web

Re: [PHP] OT - FC6 as Web Server

2007-02-27 Thread Tom Cruickshank
for and Fedora Core 6 happens to be my distro of choice. PS: For anyone on the list, if you have the same intentions, try to avoid ftp and use sftp instead for security issues. Sincerely, Tom Cruickshank On 2/24/07, Chris [EMAIL PROTECTED] wrote: I just got a plain FC6 server running. Anyone here who

RE: [PHP] most powerful php editor

2007-01-20 Thread Tom Cruickshank
I use Quanta when doing PHP development. Used to use vi, but Quanta won me. Sorry vi. Is Quanta powerful in my opinion? Yes. Why? Because it fits all requirements And then some. Just my 2 cents. Tom -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: January 20,

[PHP] dynamic case statements?

2006-08-18 Thread Tom Cruickshank
Hello, Would anyone know if it's possible to have dynamic case statements? For example. Theform = new form(); $temp = $_POST['var1']; switch ($temp) { case status: $theform-status(); break; case $temp: $theform-form($temp);

Re: [PHP] shopping carts

2006-04-24 Thread Tom Cruickshank
Have you checked out oscommerce? www.oscommerce.com? It does what I think you need. And I think it might even be free, that is, if your time doesn't cost anything. As for it being simpleyou'll need to define that term. Simple for me could be rather complicated for you or vice versa. Tom

Re: [PHP] shopping carts

2006-04-24 Thread Tom Cruickshank
Waaait a second. You actually knew a girl who took orders? On 4/24/06, Ryan A [EMAIL PROTECTED] wrote: --- Jay Blanchard [EMAIL PROTECTED] wrote: [snip] Another aspect is this: Why do we call it a shopping cart? [/snip] We discarded this terminology in favor of 'order

[PHP] Developement Environment for PHP?

2005-11-16 Thread Tom Cruickshank
Hello, I'm not sure if this has been asked before or not (probably has) but I can't seem to find it. I'm looking for a Development Environment for PHP other then vi. What I'm looking for is an environment which has powerful debugging techniques and resources. Preferably using a Unix based

[PHP] printing from php

2005-10-28 Thread Tom Cruickshank
Hello, I've been reading up on printing out documents using PHP (using Printer functions calls in the php manual) I'm using a Linux and/or FreeBSD operating system to run my php code on (in apache). However, I am surfing these pages using a Windows XP machine. Has anyone ever tried having a

[PHP] getting ip of server

2005-08-12 Thread Tom Cruickshank
Hello, I'm curious to know if there is a php command that can get the IP of the server it's running on. I could always do this... $results = exec(/sbin/ifconfig ethernet device | grep broadcast | awk '{print $2}', $value); but I would prefer to not have to use system commands for this. Would

Re: [PHP] getting ip of server

2005-08-12 Thread Tom Cruickshank
Thanks for all the info guys! Apparantly I'm still not quite awake yet. Tom On 8/12/05, John Nichel [EMAIL PROTECTED] wrote: Tom Cruickshank wrote: Hello, I'm curious to know if there is a php command that can get the IP of the server it's running on. I could always do

Re: [PHP] php://input (multipart support)

2005-07-28 Thread Tom Cruickshank
What are you trying to accomplish? Tom On 7/28/05, Sonia [EMAIL PROTECTED] wrote: Hi Will HTTP_RAW_POST_DATA (php://input) multipart ever be supported? I have asked this question a few times and was told it would not happen until around php 4.3 release. Although I do appreciate the

Re: [PHP] becoming root user within php

2005-07-27 Thread Tom Cruickshank
machine: add this to the first line of your script #!/usr/bin/php (or whatever the path to your php executable is) then something like this to execute it... sudo ./myscript.php Make sence? On Tue, 2005-07-26 at 17:28 -0400, Tom Cruickshank wrote: Hello, I'm in the process of executing

[PHP] becoming root user within php

2005-07-26 Thread Tom Cruickshank
Hello, I'm in the process of executing system commands using php. The only problem is that I am not entirely sure how to execute these system commands using root user. (I need root access to do a few things through php). Whenever I use the exec command it uses the www user. Would anyone know?

[PHP] adding ftp functionality into php

2005-07-20 Thread Tom Cruickshank
Hello, My apologizes in advance if this is the wrong mailing list. I have a php module in apache which is missing ftp functionality (--enable-ftp was not used as an argument on compile time). However, recompiling php at this time does not give me other options I am looking for. I would like

[PHP] question about system function call

2005-06-16 Thread Tom Cruickshank
Hello, I'm trying to do the following in php. system(/usr/bin/smbutil -v view //[EMAIL PROTECTED]) to be able to view some shares folders on a server. Unfortunately, if I use this command in console, I get prompted for a password. Is there a way in php to wait for a password and enter it