RE: [PHP] How to get a network drive name

2006-02-02 Thread Shaw, Chris - Accenture
snip i have already tryed this command barry, in fact the name of the volume is different from the name of a network drive. A volume concerns a partition i think For exemple, you can define many drives, let say COMMON1(X:), COMMON2(Y:) in the DISK(C:). In this situation, the volume

RE: [PHP] Classes and Functions

2005-11-03 Thread Shaw, Chris - Accenture
STFW -Original Message- From: Unknown Unknown [mailto:[EMAIL PROTECTED] Sent: 03 November 2005 00:05 To: Jasper Bryant-Greene Cc: php-general@lists.php.net Subject: Re: [PHP] Classes and Functions Oh thanks again and what does RTFM mean? This

RE: [PHP] session.gc_maxlifetime

2005-09-09 Thread Shaw, Chris - Accenture
-Original Message- From: Gustav Wiberg [mailto:[EMAIL PROTECTED] Sent: 09 September 2005 14:40 To: PHP General Subject: [PHP] session.gc_maxlifetime * This e-mail has been received by the Revenue Internet e-mail service.

RE: [PHP] Integer - boundary?

2005-09-07 Thread Shaw, Chris - Accenture
-Original Message- From: Gustav Wiberg [mailto:[EMAIL PROTECTED] Hi there! What is the boundary for an integer? seems to be a easy question, but I can't find it... /G http://www.varupiraten.se/ According to the manual, The size of an integer is platform-dependent,

RE: [PHP] Impossible???

2005-09-03 Thread Shaw, Chris - Accenture
I'm trying to get the computername... :-) Since your not passing the script any ip address, I presume that the Script you are trying to run gets the computername of the computer it is run on? If you got that to work, they only place you could run it is on the server, thus getting the server

RE: [PHP] array merge problem

2005-09-01 Thread Shaw, Chris - Accenture
manual snippets If you want to completely preserve the arrays and just want to append them to each other, use the + operator. ?php $array1 = array(); $array2 = array(1 = data); $result = $array1 + $array2; ? The numeric key will be preserved and thus the association remains. Array ( [1] =

RE: [PHP] PHP MySql Extension No Loading

2005-08-29 Thread Shaw, Chris - Accenture
I thought you had to put the php.ini in the c:\windows directory? -Original Message- From: Glen Zimmerman [mailto:[EMAIL PROTECTED] Sent: 27 August 2005 22:39 To: php-general@lists.php.net Subject: RE: [PHP] PHP MySql Extension No Loading * This

RE: [PHP] mail()

2005-08-17 Thread Shaw, Chris - Accenture
Can you send to a smtp server provided by your isp? -Original Message- From: George B [mailto:[EMAIL PROTECTED] Sent: 17 August 2005 18:11 To: php-general@lists.php.net Subject: Re: [PHP] mail() * This e-mail has been received by the Revenue

RE: [PHP] mail()

2005-08-17 Thread Shaw, Chris - Accenture
snip yeah I can send to the SMTP server of my ISP, but no where else. /snip If you can send to the smtp server then your ISP should deliver the email. If you have not filled in the sendmail_from var in the php.ini correctly, they cannot send back a mail saying there was a problem with the

RE: [PHP] mail()

2005-08-17 Thread Shaw, Chris - Accenture
snip Ok guys! It has sent the mail succesfully everywhere! Now one more thing. How do I make it so I can receive mail? I am using my ISP's POP server but I dosent send back because my e-mail is [EMAIL PROTECTED] How do I setup my own domain and does it cost money for an e-mail? /snip I suggest

RE: [PHP] one more mysql question

2005-08-15 Thread Shaw, Chris - Accenture
I agree with Sebastian, there is no excuse for being arrogant and rude. I understand the frustration, but is there any need for some of the replies people get? If I can, I will try to help anyone, even if the thread is OT. C. -Original Message- From: John Nichel [mailto:[EMAIL

RE: [PHP] code generation

2005-08-04 Thread Shaw, Chris - Accenture
snip thanx for the responses, i thought of that but wouldn't changing the system date on your machine be a way of getting around that? /snip Time and Date functions are dependent on the locale settings of your server. This message has been delivered to the Internet by

RE: [PHP] Re: The Naming of Directories

2005-08-04 Thread Shaw, Chris - Accenture
I believe %20 and + are used to replace spaces. See RFC 1738 - Uniform Resource Locators (URL) http://www.faqs.org/rfcs/rfc1738.html C. -Original Message- From: Satyam [mailto:[EMAIL PROTECTED] Sent: 04 August 2005 18:07 To: php-general@lists.php.net Subject: [PHP] Re: The Naming of

RE: [PHP] Very Basic question: What IDE/tools I need to begin using PHP?

2005-07-27 Thread Shaw, Chris - Accenture
PHP Designer 2005 http://www.mpsoftware.dk/ -Original Message- From: Taksam [mailto:[EMAIL PROTECTED] Sent: 26 July 2005 18:29 To: php-general@lists.php.net Subject: [PHP] Very Basic question: What IDE/tools I need to begin using PHP? * This

RE: [PHP] php mySql question

2005-07-27 Thread Shaw, Chris - Accenture
Have you tried doing a search for the text php5 in the php.ini file that sits in your c:\windows folder? C. -Original Message- From: Ned Kotter [mailto:[EMAIL PROTECTED] Sent: 26 July 2005 04:03 To: php-general@lists.php.net Subject: [PHP] php mySql question I have installed php 5.0.4

RE: [PHP] MySQL + PHP question

2005-07-26 Thread Shaw, Chris - Accenture
Hello, Consider this: tbl_project(id, name, parent) 1 6 / \ / \ 2 3 7 8 /\ 4 5 if tbl_project.parent = 0 then the project is the top parent. Therefore, 1 and 6 have the field parent = 0. So, say if you have project 5, do you

RE: [PHP] MySQL + PHP question

2005-07-26 Thread Shaw, Chris - Accenture
, but this query should work on MSSQL and Oracle. HTH. C. -Original Message- From: André Medeiros [mailto:[EMAIL PROTECTED] Sent: 26 July 2005 12:53 To: Shaw, Chris - Accenture Cc: php-general@lists.php.net Subject: RE: [PHP] MySQL + PHP question

RE: [PHP] MySQL + PHP question

2005-07-26 Thread Shaw, Chris - Accenture
Yeah I understand what he wants, but the problem boils down to the project with no parent. The only thing I can suggest is if you have a dummy row in, so the top parent row, (1) or (6) in my example with have the dummy as its parent. Then using: select b.id parentID, b.name parentName, a.id

RE: [PHP] how to post a question?

2005-07-22 Thread Shaw, Chris - Accenture
Posting a question on how to post a question. :) -Original Message- From: Chirantan Ghosh [mailto:[EMAIL PROTECTED] Sent: 22 July 2005 14:56 To: php-general@lists.php.net Subject: [PHP] how to post a question? * This e-mail has been received by the

RE: [PHP] objects destroyed in same order as created?

2005-07-21 Thread Shaw, Chris - Accenture
Jasper, I would have thought php would have called the destructors on each of the classes in a LIFO fashion, but if it doesn't, just use unset() as a workaround, where you can remove the classes in the order you want. C. -Original Message- From: Jasper Bryant-Greene [mailto:[EMAIL

RE: [PHP] My Project

2005-07-20 Thread Shaw, Chris - Accenture
snip Honestly, the best book I read when I was starting out, and one I've been using ever since, is the manual. I actually spent $ on a very good php book but I think I've only cracked the cover on it once or twice in two years. Way to go manual guys! :D /snip I totally agree, I have only used

RE: [PHP] Combining recordsets

2005-07-20 Thread Shaw, Chris - Accenture
Mike, I recommend redesigning your query, the database can pull back the records you want far quicker than any frontend combining/processing, since that's what T-SQL and relational database were designed for. I might be able to help you with the SQL, but I am a little rusty, not really used it

RE: [PHP] Question about apache-php concurrent process control

2005-07-19 Thread Shaw, Chris - Accenture
snipIt seems Rasmus is famous, and I should have shown my respect./snip history src = 'php_manual_en.chm' PHP succeeds an older product, named PHP/FI. PHP/FI was created by Rasmus Lerdorf in 1995, initially as a simple set of Perl scripts for tracking accesses to his online resume. He named this

RE: [PHP] My Project

2005-07-19 Thread Shaw, Chris - Accenture
Taxi for one.. -Original Message- From: George B [mailto:[EMAIL PROTECTED] Sent: 19 July 2005 17:39 To: php-general@lists.php.net Subject: [PHP] My Project Hey guys! This is gona be one of my last questions (hopefully) But here I will include all the info about my new project. It is

RE: [PHP] How to run .sql files using php

2005-07-13 Thread Shaw, Chris - Accenture
Can you use mysqli_multi_query for mysql in php5? hth -Original Message- From: babu [mailto:[EMAIL PROTECTED] Sent: 13 July 2005 16:39 To: php-general@lists.php.net Subject: [PHP] How to run .sql files using php Hi , i have a set of queries which i have placed them in one .sql file.i

RE: [PHP] Question to eregi Syntax

2005-07-07 Thread Shaw, Chris - Accenture
Do a search on the php website or the php offline manual for Pattern Syntax -Original Message- From: janbro [mailto:[EMAIL PROTECTED] Sent: 07 July 2005 15:30 To: php-general@lists.php.net Subject: [PHP] Question to eregi Syntax * This e-mail has

RE: [PHP] Files

2005-06-28 Thread Shaw, Chris - Accenture
Hello, I am not sure what problems you are having, but Shouldn't the id's in the files match up? So, File1: 1, test@test.com 2, [EMAIL PROTECTED] 3, [EMAIL PROTECTED] File2: 1, doc1.doc 2, doc2.doc 3, doc3.doc Also, where you are comparing the $groupid to the $id, shouldn't it be:

RE: [PHP] looking for a pure startup opportunity..

2005-06-28 Thread Shaw, Chris - Accenture
Why don't you go join one of the many Think Tanks on the net, where you can form an idea, let people join in and help the idea progress. Then you can make the idea into a well executed plan. You might find that VC's scan these webpages, looking for one that is ready to get funding.

RE: Re[2]: [PHP] looking for a pure startup opportunity..OT

2005-06-28 Thread Shaw, Chris - Accenture
snip Bruce I am not trying to be a hard-ass here, I was just pointing out that the style in which the original message was delivered had a little smell to it, IYKWIM. /snip I thought that, but I kinda over-looked/ignored it and carried on reading. This message has

RE: [PHP] array_diff php version

2005-06-27 Thread Shaw, Chris - Accenture
As far as I can see in the Help File, Array_Diff was introduced in 4.0.1 and should be in the version you are using. Does it not work? -Original Message- From: André Le Tissier [mailto:[EMAIL PROTECTED] Sent: 26 June 2005 10:20 To: php-general@lists.php.net Subject: [PHP] array_diff

RE: [PHP] fopen problem

2005-06-24 Thread Shaw, Chris - Accenture
Are you using the a or a+ modes on fopen, because I have a sneaky feeling the file doesn't exist. -Original Message- From: Ross [mailto:[EMAIL PROTECTED] Sent: 24 June 2005 00:33 To: php-general@lists.php.net Subject: [PHP] fopen problem * This

RE: [PHP] Re: security question...??

2005-06-21 Thread Shaw, Chris - Accenture
(thus Philip Zimmermann got arrested for violating the weapons law when he created PGP) I thought he got arrested because he exported PGP out of the US, not because he created it. He was told that PGP could not leave the US via any electronical form, compiled or uncompiled, because of the

RE: [PHP] Re: resetting arrays

2005-06-21 Thread Shaw, Chris - Accenture
Use !== if (array_search($basket, $baskitems) !== FALSE) { $pos = array_search($basket, $baskitems); unset($ses_basket_items[$pos]); $ses_basket_items = array_values($ses_basket_items) ; -Original Message- From: I. Gray [mailto:[EMAIL PROTECTED] Sent: 21 June 2005 14:21 To:

RE: [PHP] Re: security question...??

2005-06-21 Thread Shaw, Chris - Accenture
You could always use a IE exploit to crash the browser, if they are still requesting, you know they are not IE. ;) Out of interest, what information are you planning on getting from the browser? Why can you not use certificates? -Original Message- From: bruce [mailto:[EMAIL PROTECTED]

RE: [PHP] newbie error message i don't understand....please help

2005-06-08 Thread Shaw, Chris - Accenture
Greg, Have you enabled the MySQL extensions in the php.ini file and made sure the extension path in the php.ini file is correctly pointing to the right directory? eg c:\php\ext or c:\php\extension. I believe phpninfo() has a section for MySQL if it is enabled. hth. Chris. -Original

RE: [PHP] Accessing DLL from PHP

2005-06-03 Thread Shaw, Chris - Accenture
If the ffi route doesn't work, just create a COM wrapper for the simple DLL, then you can map any functions you need. -Original Message- From: Rory McKinley [mailto:[EMAIL PROTECTED] Sent: 03 June 2005 11:17 To: php-general@lists.php.net Cc: Rory Browne Subject: Re: [PHP] Accessing DLL

RE: [PHP] Multiple inserts as a single string?

2005-06-02 Thread Shaw, Chris - Accenture
Thomas, If you're inserting alot of rows, (eg millions) then concating them and calling the db once probably would give a small speed advantage, because of the database handshaking. But I would look at the load the database is under, if there is alot of users hitting the database with small

RE: [PHP] Multiple inserts as a single string?

2005-06-02 Thread Shaw, Chris - Accenture
Message- From: Thomas [mailto:[EMAIL PROTECTED] Sent: 02 June 2005 12:20 To: Shaw, Chris - Accenture Cc: php-general@lists.php.net Subject: RE: [PHP] Multiple inserts as a single string? * This e-mail has been received by the Revenue Internet e-mail service

RE: [PHP] Can't Get PHP to work

2005-05-30 Thread Shaw, Chris - Accenture
Morning, Check the extension path in the php.ini file in your c:\winnt directory. I can remember that I had to change that when setting up php5 because the directory was c:\php\extension and the path in the php.ini was c:\php\ext. hth C. -Original Message- From: Subscriber

RE: [PHP] Problems with multiple arrays

2005-05-23 Thread Shaw, Chris - Accenture
Try this: ?php $array_ids = array('id_1', 'id_2', 'id_3', 'id_4'); $array_names = array('name_1', 'name_2', 'name_3', 'name_4'); $array_emails = array('email_1', 'email_2', 'email_3', 'email_4'); $full_data [] = $array_ids; $full_data [] = $array_names; $full_data [] = $array_emails; foreach

RE: [PHP] Problems with multiple arrays

2005-05-23 Thread Shaw, Chris - Accenture
Sorry, sent the wrong code. ?php $array_ids = array('id_1', 'id_2', 'id_3', 'id_4'); $array_names = array('name_1', 'name_2', 'name_3', 'name_4'); $array_emails = array('email_1', 'email_2', 'email_3', 'email_4'); $full_data [] = $array_ids; $full_data [] = $array_names; $full_data [] =

RE: [PHP] Add to array problem

2005-05-16 Thread Shaw, Chris - Accenture
Hello, $items=array(); Sets $items to an array with nothing in, so if you had anything in there previously, its gone. Here is the example from the help file. ?php $stack = array(orange, banana); array_push($stack, apple, raspberry); print_r($stack); ? Array ( [0] = orange [1] =

[PHP] Problem with extending classes.

2005-05-13 Thread Shaw, Chris - Accenture
Hello, Been playing around with classes in php5, extending a base class and using a constructor etc.. But I seem to have a problem with getting the variables outside the class. In test1.txt, I cannot anything when I access the public variables for the class. In test2, when I make $contact into

RE: [PHP] Posts taking over an hour to be displayed

2005-05-12 Thread Shaw, Chris - Accenture
Yes, they are taking around an hour, must be the mailing list. -Original Message- From: Mark Sargent [mailto:[EMAIL PROTECTED] Sent: 12 May 2005 08:53 To: php-general@lists.php.net Subject: [PHP] Posts taking over an hour to be displayed Hi All, is anyone else experiencing this.? Over

RE: [PHP] SQL Date guru in the house?

2005-05-11 Thread Shaw, Chris - Accenture
Matthew, Depending on what database, you should have a TO_DATE() or DATE() function that you can cast your dd/mm/ to a date field in the select statement. select to_date(, mm, dd) mydate from dual where mydate = '11/05/2005' and mydate = '11/04/2005' Look in the help files or the

FW: [PHP] SQL Date guru in the house?

2005-05-11 Thread Shaw, Chris - Accenture
We could help him if he said what database he is using. Chris. -Original Message- From: Kristen G. Thorson [mailto:[EMAIL PROTECTED] Sent: 11 May 2005 15:42 To: Shaw, Chris - Accenture Subject: Re: [PHP] SQL Date guru in the house? * This e-mail

RE: [PHP] strpos with array?

2005-05-10 Thread Shaw, Chris - Accenture
Hello, Have you tried using array_keys or array_search for finding an occurrence in an array? HTH. Chris. -Original Message- From: Merlin [mailto:[EMAIL PROTECTED] Sent: 10 May 2005 11:11 To: php-general@lists.php.net Subject: [PHP] strpos with array?