[PHP] Communication

2004-05-28 Thread Jakes
I'm looking at distributing PHP applications to desktops, using SQLite as the database. All information that is updated in the application will be local on the machine, until published to the webserver. My question is, what would be the best way to update the webserver sitting at a service

[PHP] Object

2004-03-25 Thread Jakes
Does anybody know of a good COM object tutorial, that explains how to format a microsoft word document via PHP? Thanks in advance. Jakes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: php and email

2004-03-23 Thread Jakes
Make sure that your header function as it set to send html mail Steven Mac Intye [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, Im wondering if anyone can help me with this problem I have a form with the following line of code; $message .= a

[PHP] Re: Constants

2004-03-23 Thread Jakes
. Jakes [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] The bug server looks like its down, so I will just post the bug here, and hopefully someone will spot it PHP version: 5RC1 ?php interface Foo { const MY_FOO = hello world; } class Bar implements Foo

Re: [PHP] Constants

2004-03-23 Thread Jakes
If you define constants with in a interface and then implement that interface it does not work on 5RC1 This should work, but it displays the constant name rather than value it references interface Settings { const UNAME = somename; const PWORD = password; const SERVER = localhost; }

Re: [PHP] Constants

2004-03-23 Thread Jakes
Thanks, will do. Red Wingate [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Give this a read: http://marc.theaimsgroup.com/?l=php-devm=107936530102181w=2 Am Dienstag, 23. März 2004 15:16 schrieb Red Wingate: IIRC it was changed to self::CONST_NAME recently interface Settings {

[PHP] Constants

2004-03-22 Thread Jakes
; $obj-displayFoo(); ? The results should display hello world, but it prints out MY_FOO. Thanks Jakes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Licensing System

2004-03-15 Thread Jakes
Does anybody know of a licensing system or tutorial that uses mysql or a text file. I want to add some sort of license control to the web app, eg if it's a 10 user license, only 10 people can be on that site at a time. Thanks Jakes -- PHP General Mailing List (http://www.php.net

[PHP] Re: [PHP-WIN] Sending arguments to a SP in PHP

2004-03-05 Thread Jakes
is it you result set that is getting trimmed or the actual query? B.A.T. Svensson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Very is your problem located? Is the string not properly built by php? or is an error genereated when you try to execute the query? -Original

[PHP] Re: numeric characters

2004-03-03 Thread Jakes
Another thing that you can do is cast the variable to integer $int = (int) $_POST['data']; Dominique Anokre [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Is there a way with php to force the user to put only numeric character in a text field ? thanks -- PHP General Mailing List

[PHP] Re: check if a variable is declared as private

2004-03-02 Thread Jakes
The word private says it all - If you create a object, you are not going to be able to use it, because its private to that class. Its a class variable, not a object variable Vivian Steller [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, is it possible to check if a variable

[PHP] stdClass

2004-02-27 Thread Jakes
Please can some explain to me what the stdClass is used for in PHP 5. I've tried to use the reflection API to reverse engineer it but it does not give you much on the stdClass What methods can be inherited from this class? Does it work the same was as the java base class - Object?

[PHP] strstr

2004-02-27 Thread Jakes
I got this out the manual: ?php $email = '[EMAIL PROTECTED]'; $domain = strstr($email, '@'); print $domain; // prints @example.com ? how do I get the user ranther than @example.comThanks

[PHP] Re: values from string query

2004-02-26 Thread Jakes
excape your variables like so in your insert statement - ' $a_row[p_company] ' (quick and dirty style), or the clean way .$a_row['p_company'] . Angelo Zanetti [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] HI all I have a Select that get a resultset, once I get this then I use the

[PHP] Re: Ming library

2004-02-26 Thread Jakes
Change your provider... :-) If it is a multi thread server, you wont be using extension=php_ming.so, try using extension=php_ming.dll Rostislav Kerey [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I've developed the web-site by PHP with using Ming-library. All worked well on the

[PHP] Emails

2004-02-25 Thread Jakes
How would you be able to read the bounces undelievrable mail when you send out a mail with PHP. I'm trying to write a eCampaign client for our business, this would be a is a nice feature to have to keep our mail list clean. Thanx in advance. J

Re: [PHP] where is my uploaded file ?

2004-02-24 Thread Jakes
var_dump($_FILES); Mike Ford [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On 24 February 2004 06:58, adwinwijaya wrote: input name=image type=file $uploadfile = $uploaddir . $_FILES['userfile']['name']; Array ( [image] = Array Hint:

[PHP] Re: About php and mysql

2004-02-24 Thread Jakes
mysql_connect(IP, username, password); [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, I want to know how to control php program connect to MySQL Database System ( another computer machine ) ? Thank a lots. Ed. -- PHP General Mailing List (http://www.php.net/) To

[PHP] Re: Working with MS-SQL

2004-02-24 Thread Jakes
Make sure you have the dll or so loaded. mssql_connect(IP#, username, password); [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, How can we connect to MS-SQL Server ? What tools ( where can we download ) must be installed ? Thank a lots. PS : the php programs under

Re: [PHP] Storing Arrays?

2004-02-24 Thread Jakes
depending how long you want to keep it, wrap the array in a object and then serialize the object in a session variable. Nick Wilson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] * and then Jay Blanchard declared [snip] If I wanted to store an array for future use in a MySQL

Re: [PHP] Storing Arrays?

2004-02-24 Thread Jakes
rather just serialize() it. didnt read your question properly Jakes [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] depending how long you want to keep it, wrap the array in a object and then serialize the object in a session variable. Nick Wilson [EMAIL PROTECTED] wrote

[PHP] Re: session expired - how to know if the session is new or old

2004-02-24 Thread Jakes
What do you need this for.? You session is only suppose to last for one browser session Catalin Trifu [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, Here is the problem: The session gc runs and deletes the session data. This is good, but calling

[PHP] Re: PEAR DB 1.6.0 has been released

2004-02-19 Thread Jakes
What is performance like using this class? I've gone through the class and it just seams to be over kill, for a DB API (13 databases). Are there any time stats showing the different time in using a single DB API class to the PEAR class. Thanks Daniel Convissor [EMAIL PROTECTED] wrote in

[PHP] Re: Recursive Select Box

2004-02-18 Thread Jakes
use two loops 9(or as many as you need) with global varaibles. If a variable in the top level loop is executed it prints out the second loop. You need to do round trips to the db. Matt Palermo [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hey everyone. I'm looking for

[PHP] Re: [ANNOUNCE] :Possibility of SA PHP conference

2004-02-17 Thread Jakes
I'm another South African, and I think my wife is tired of hearing the same thing! South Africa is very Microsoft based, but it does seem to be changing especially in the last few years. We don't we get a site together where we can have some sort voting poll The more users we get voting on this

[PHP] Re: [ANNOUNCE] :Possibility of SA PHP conference

2004-02-17 Thread Jakes
I'm another South African, and I think my wife is tired of hearing the same thing! South Africa is very Microsoft based, but it does seem to be changing especially in the last few years. We don't we get a site together where we can have some sort voting poll The more users we get voting on this

[PHP] Re: destroy session

2004-02-17 Thread Jakes
rather have a link like - somepage.php?signout=true on that page... if($_GET['signout'] == true){ session_destroy(); header(location: someotherpage.php); }else{ // do something else } Natalia Sensini [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I want to destroy a session

[PHP] Re: destroy session

2004-02-17 Thread Jakes
rather have a link like - somepage.php?signout=true on that page... if($_GET['signout'] == true){ session_destroy(); header(location: someotherpage.php); }else{ // do something else } Natalia Sensini [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I want to destroy a session

Re: [PHP] Re: [ANNOUNCE] :Possibility of SA PHP conference

2004-02-17 Thread Jakes
] You do have some nice scenery. My son is in the Texas Boys Choir and they hosted the Drakensberg Boys Choir. We are going to Drakensberg in the summer after Europe and can't wait to see it other than pictures. -Original Message- From: Jakes [mailto:[EMAIL PROTECTED] Sent: Tuesday