[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 provider.
What should I use for the communication? SOAP, Sockets, XML ???

Thanks

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[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

href=\http://127.0.0.1/devsite/activate.php?member=$realnamehash=$initPass
\Click
 here to activate/a\n;

 What I actually get is the following output;

 a href=ttp://127.0.0.1/devsite/activate.php?member=Steven Mac
 Intyrehash95aea7a8aee0fdcc90d7e9893c75bb3Click here to activate/a

 You will see it is missing the h out of http and the = out of hash=
 ... also the first charactor of the hash variable is missing.

 Has anyone else seen this ? Know how to fix it ?

 PLEASE HELP

 Steven

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Constants

2004-03-23 Thread Jakes
You can keep constant variables in an interface, because thay are
static and do not change. Trust me, it is a bug.

Gerben [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 this is probably because Foo is an interface instead of a class.
interfaces
 can't contain any data as far as I know.

 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  {
  public function displayFoo(){
 print MY_FOO;
  }
  }
  $obj = new Bar;
$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



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;
}

class Conn implements Settings {
   public function  __construct(){
   $dbConn = mysql_connect(SERVER, UNAME, PWORD);
  }
}




Jay Blanchard [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
[snip]
Not too fast.

From http://www.php.net/zend-engine-2.php


PHP 5 introduces per-class constants:

?php
class Foo {
   const constant = constant;
}

echo Foo::constant =  . Foo::constant . \n;
?
[/snip]

My bad. Still not a bug.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 {
const UNAME = somename;
const PWORD = password;
const SERVER = localhost;
 }

 class Conn implements Settings {
public function  __construct(){
$dbConn = mysql_connect(self::SERVER, self::UNAME,
self::PWORD);
   }
 }

  -- red

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Constants

2004-03-22 Thread Jakes
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  {
public function displayFoo(){
   print MY_FOO;
}
}
$obj = new Bar;
  $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/)
To unsubscribe, visit: http://www.php.net/unsub.php



[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 Message-
 From: Harpreet K. Singh
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: 2004-03-04 21:55
 Subject: [PHP-WIN] Sending arguments to a SP in PHP

 I am using PHP and sql server 2000.

 I have a stored procedure which takes 3 arguments. The first argument is
 a
 string and the rest 2 are integers.

 For some reasons the call to the stored procedure is being trimmed.

 My call is as follows
 $oldquery=select var1,var2,var3,var4. from table order by var1;

 $query=exec limitselect '. $oldquery .',. $limit .,. $offset;

 i try to print the sql command
 echo br.$query;

 It prints out a trimmed string

 exec limitselect 'select origin

 is theri a limit to what one can send to a sp call

 Please help i am totally confused.

 Thanks

 -- 
 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] 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 (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[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 declared as private?
 I do not want to use reflection api in this case...

 ?php
 class MyClass {
 private $var = something;
 }

 $obj = new MyClass();

 // something like this would be nice...
 $isPrivate = isPrivate($obj, var);
 ?

 best regards,
 vivi

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[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
 values of this resultset to enter them into another table using an INSERT
 statement. I get no errors from the statement but it just doesn't seem to
 see my variables from the recordset,

 below is my code:



 $q=select * from prospects where p_id = '$p_id';
 $result=mysql_query($q, $this-link) or die (.mysql_error());

 while($a_row=mysql_fetch_array($result))
 {
 $c_query=Insert into client (c_name, c_company, c_worktel, c_directtel,
 c_hometel, c_fax, c_cell, c_email, c_address, c_city, c_pcode, c_country)
 VALUES ($a_row['p_name'], $a_row['p_company'], $a_row['p_worktel'],
 $a_row['p_directtel'], $a_row['p_hometel'], $a_row['p_fax'],
 $a_row['p_cell'], $a_row['c_email'], $a_row['c_address'],
$a_row['c_city'],
 $a_row['c_pcode'], $a_row['c_country']);
 mysql_query($c_query,$this-link) or die (.mysql_error());
 }

 I echo'd out the values from the Select just to make sure it was getting
the
 correct values.

 any help will be appreciated, thanx in advance

 Angelo

 
 Disclaimer
 This e-mail transmission contains confidential information,
 which is the property of the sender.
 The information in this e-mail or attachments thereto is
 intended for the attention and use only of the addressee.
 Should you have received this e-mail in error, please delete
 and destroy it and any attachments thereto immediately.
 Under no circumstances will the Cape Technikon or the sender
 of this e-mail be liable to any party for any direct, indirect,
 special or other consequential damages for any use of this e-mail.
 For the detailed e-mail disclaimer please refer to
 http://www.ctech.ac.za/polic or call +27 (0)21 460 3911

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[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 local computer, but when I uploaded all to the internet server I
have
 got an  error :(
 Ming library does not set in php.ini. The hosting provider company does
not
 want to add extension=php_ming.so to php.ini.
 What should I do???
 dl() function does not work too, because it is multithreaded Web servers.

 I'm congused...
 I really need to use it! Maybe I can find such library written by PHP?
 There are few classes, nothig else.

 Help me, please!!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[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: image!=userfile

 Cheers!

 Mike

 -
 Mike Ford,  Electronic Information Services Adviser,
 Learning Support Services, Learning  Information Services,
 JG125, James Graham Building, Leeds Metropolitan University,
 Beckett Park, LEEDS,  LS6 3QS,  United Kingdom
 Email: [EMAIL PROTECTED]
 Tel: +44 113 283 2600 extn 4730  Fax:  +44 113 283 3211

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[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 unsubscribe, visit: http://www.php.net/unsub.php



[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 Linux / Unix...

 Ed.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 TEXT Column
  (dont ask, it's complicated... hehe!) how would I go about it?
 
  I thought of just putting the results of print_r($myarray); into the
  text field and using eval() to get at it later... is that the right way
  to go?
  [/snip]
 
  Yes, that is certainly one right way to go.

 Actually, serialize() would be better suited I think, but thanks...


 -- 
 Nick W

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 in message
 news:[EMAIL PROTECTED]
 
  * and then Jay Blanchard declared
   [snip]
   If I wanted to store an array for future use in a MySQL TEXT Column
   (dont ask, it's complicated... hehe!) how would I go about it?
  
   I thought of just putting the results of print_r($myarray); into the
   text field and using eval() to get at it later... is that the right
way
   to go?
   [/snip]
  
   Yes, that is certainly one right way to go.
 
  Actually, serialize() would be better suited I think, but thanks...
 
 
  -- 
  Nick W

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[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 session_start in PHP obviously creates a new session.

 How can I know if the session was created after an old one was
 deleted because gc has invalidated it or it is a completely fresh session,
 from let's say a fresh browser window.

 I googled for it and looked in the docs but I found nothing on this
 matter.

 Thanks in advance,
 Catalin

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[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 message
news:[EMAIL PROTECTED]
 [This has be cross-posted. Be careful when following up, please.]

 Greetings:

 Crack open the beer, PEAR DB 1.6.0 is here!  (Hey, I'm a bit giddy
 with excitement that my intense work during the past seven weeks
 has come to fruition.)

 For those unfamiliar with PEAR DB, it's a package of PHP classes
 that provide an object oriented API with common methods of accessing
 thirteen of PHP's database driver extensions:
 dBase, FrontBase, InterBase, Informix, mSQL, MS SQL Server,
 MySQL, Oracle, ODBC (tested with DB2 and Access), PostgreSQL,
 SQLite and Sybase.

 Key links for PEAR DB:

 Download:http://pear.php.net/get/DB
 Change Log:  http://pear.php.net/package-changelog.php?package=DB
 Manual:  http://pear.php.net/manual/en/package.database.php
 Home Page:   http://pear.php.net/package/DB

 Notable changes since 1.5.0RC2 include:

 * New portability features, making it possible to write
   applications which can be easily ported between DBMS's.

 * Tons of bug fixes, making the package actually work for more
   than just MySQL systems.

 * Improved error reporting.

 * Getting prepare/execute to work the same way for all DBMS's
   and allow escaping of placeholder characters.

 * Deploying tableInfo() in more drivers and officially moving
   it from DB_result to DB_common.  See the documentation for
   proper usage.

 * Making the test suite simpler to use and work on both
   windows and *nix platforms.

 * Various optimizations, several of which were uncovered
   using Zend Studio's Code Analyzer.

 * Countless documentation corrections.

 * Full PHP 5 compatibility.

 * Requiring PHP to be at version 4.2.0 or higher.

 * Deprecating quote() and quoteString().

 If you're one of the lucky few people using PHP's mysqli extension,
 do note that the DB file/class has been renamed from mysql4 to mysqli,
 but the online documentation won't reflect this modification until
 they're rebuilt on Sunday.  Similarly, there are a few other features
 and documentation bugs that won't show up there until then either.

 Is Dutch, German or Russian your native language?  The manual needs
 translating into these languages.  Join in by signing up for the
 pear-doc mailing list at http://pear.php.net/support.php.

 For those of you in and around New York City this coming
 Tuesday, February 24th, I'll be giving a presentation about this at
 the NYPHP meeting.  See http://nyphp.org/ for more info.

 If you like the changes I've made to DB since version 1.5.0RC2, make
 a donation: http://www.analysisandsolutions.com/donate/donate.htm

 Enjoy,

 --Dan

 PS:  I'm not on this list/newsgroup.  Just posting this as an
 announcement.  So, if you wish to contact me, please do so directly
 or via cc.

 -- 
  T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
 data intensive web and database programming
 http://www.AnalysisAndSolutions.com/
  4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[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 assistance/suggestions/answers on how to
 build a select dropdown box from data that needs to be pulled recursively
 from a MySQL database.  Basically the situation is mainly for a dicussion
 thread system type of thing where I have categories nested inside
 categories, nested inside categories...  Anyway, I want to be able to
build
 a drop down box containing all the categories indented underneath it's
 parent category to look something similar to this:

 -
 Top Level Category
  - Nested Category
   - Lower level
- Etc
 Top Level Category
  - Nested Category
 Top Level Category
 -

 Then the user will be able to select one from the dropdown menu.  I have
all
 the categories stored in a MySQL database called site_categories.  The
table
 is setup like this:

 __
 | Cat_ID | Cat_Parent |   Cat_Name |
 |-|
 |1   | 0 |   Top Level  1  |
 |-|
 |2   | 1 |   Nested 1|
 |-|
 |3   | 0 |   Top Level   2 |
 |-|
 |4   | 2 |   Nested 2|
 |-|

 Sorry for the bad pictures you hopefully you get the idea.  Anything with
a
 0 Cat_Parent is a Top Level category.  Then the others are all nested
inside
 other categories that have the same Cat_ID as the nested categories
 Cat_Parent.  I basically need help creating a properly indented dropdown
 menu box using this structure from the database.  I assume I'm gonna have
to
 use some sort of recursion here, but I'm not sure how to go about this.
 Please help if you can.

 Thanks,

 Matt
 http://sweetphp.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[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 poll to show the South African interest
in the PHP
community, the better the chance we have of getting  a conference down here.

Hey and to all Non South Africa who might read this Post - South Africa is
the place to be!!!
Things are cheap in most foreign currency and we have loads on scenery 
beats the hell out
of London, New York...  that's for sure!

One conference is all that we ask for! After that I know you guys will be
hooked forever...
just like our common language - PHP.

Give it try!

Rory McKinley [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Hi All

 Just a quick question.My wife has gotten tired of me complaining about the
lack of PHP
 (and LAMP in general I suppose) conferences etc in South Africa.
Therefore, seeing as
 she runs a conference company she is thinking of hosting a PHP conference
in South
 Africa, but before she get's going she needs some idea of how large the
PHP
 community in SA (and neighbours) is to see whether it will be worthwhile.

 Can anyone who thinks this is a good idea drop me a mail off-list, so that
we can get
 some gauge of the scale of repsonse that is likely to happen should the
conference take
 place. Also, if you like you can give me info re: which city it should
take place in, people
 that you would like as speakers etc.

 Thanks in advance

 Rory McKinley
 Nebula Solutions
 +27 82 857 2391
 [EMAIL PROTECTED]
 There are 10 kinds of people in this world,
 those who understand binary and those who don't (Unknown)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[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 poll to show the South African interest
in the PHP
community, the better the chance we have of getting  a conference down here.

Hey and to all Non South Africa who might read this Post - South Africa is
the place to be!!!
Things are cheap in most foreign currency and we have loads on scenery 
beats the hell out
of London, New York...  that's for sure!

One conference is all that we ask for! After that I know you guys will be
hooked forever...
just like our common language - PHP.

Give it try!

Rory McKinley [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Hi All

 Just a quick question.My wife has gotten tired of me complaining about the
lack of PHP
 (and LAMP in general I suppose) conferences etc in South Africa.
Therefore, seeing as
 she runs a conference company she is thinking of hosting a PHP conference
in South
 Africa, but before she get's going she needs some idea of how large the
PHP
 community in SA (and neighbours) is to see whether it will be worthwhile.

 Can anyone who thinks this is a good idea drop me a mail off-list, so that
we can get
 some gauge of the scale of repsonse that is likely to happen should the
conference take
 place. Also, if you like you can give me info re: which city it should
take place in, people
 that you would like as speakers etc.

 Thanks in advance

 Rory McKinley
 Nebula Solutions
 +27 82 857 2391
 [EMAIL PROTECTED]
 There are 10 kinds of people in this world,
 those who understand binary and those who don't (Unknown)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[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 when you click in a sing out link,
something like this

a href= link
onClick=session_destroy()

Is ti possible? how?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[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 when you click in a sing out link,
something like this

a href= link
onClick=session_destroy()

Is ti possible? how?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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

2004-02-17 Thread Jakes
Trust me, its the most beautiful country in the world. You will be
mesmerized
by the Drakensburg, or as we call it The Berg. Other places to visit if
you have the
chance is, Durban, our Garden Route and Cape Town.

Enjoy!!!


Alex Hogan [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 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, February 17, 2004 9:03 AM
  To: [EMAIL PROTECTED]
  Subject: [PHP] Re: [ANNOUNCE] :Possibility of SA PHP conference
 
  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 poll to show the South African
  interest
  in the PHP
  community, the better the chance we have of getting  a conference down
  here.
 
  Hey and to all Non South Africa who might read this Post - South Africa
is
  the place to be!!!
  Things are cheap in most foreign currency and we have loads on scenery
  
  beats the hell out
  of London, New York...  that's for sure!
 
  One conference is all that we ask for! After that I know you guys will
be
  hooked forever...
  just like our common language - PHP.
 
  Give it try!
 
  Rory McKinley [EMAIL PROTECTED] wrote in message
  news:[EMAIL PROTECTED]
   Hi All
  
   Just a quick question.My wife has gotten tired of me complaining about
  the
  lack of PHP
   (and LAMP in general I suppose) conferences etc in South Africa.
  Therefore, seeing as
   she runs a conference company she is thinking of hosting a PHP
  conference
  in South
   Africa, but before she get's going she needs some idea of how large
the
  PHP
   community in SA (and neighbours) is to see whether it will be
  worthwhile.
  
   Can anyone who thinks this is a good idea drop me a mail off-list, so
  that
  we can get
   some gauge of the scale of repsonse that is likely to happen should
the
  conference take
   place. Also, if you like you can give me info re: which city it should
  take place in, people
   that you would like as speakers etc.
  
   Thanks in advance
  
   Rory McKinley
   Nebula Solutions
   +27 82 857 2391
   [EMAIL PROTECTED]
   There are 10 kinds of people in this world,
   those who understand binary and those who don't (Unknown)
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php


 **
 The contents of this e-mail and any files transmitted with it are
 confidential and intended solely for the use of the individual or
 entity to whom it is addressed.  The views stated herein do not
 necessarily represent the view of the company.  If you are not the
 intended recipient of this e-mail you may not copy, forward,
 disclose, or otherwise use it or any part of it in any form
 whatsoever.  If you have received this e-mail in error please
 e-mail the sender.
 **




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php