RE: [PHP] Question about time...

2007-10-24 Thread Bastien Koert
what about if (date(m) == 11){ echo ; } bastien To: php-general@lists.php.net From: [EMAIL PROTECTED] Date: Wed, 24 Oct 2007 15:57:38 -0400 Subject: [PHP] Question about time... Hi Everyone, I am attempting to get the logic of something

RE: [PHP] Help securing a server : Owned by W4n73d H4ck3r

2007-11-09 Thread Bastien Koert
me, too this would be interesting bastien Date: Fri, 9 Nov 2007 09:01:09 -0600 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: [EMAIL PROTECTED]; php-general@lists.php.net Subject: Re: [PHP] Help securing a server : Owned by W4n73d H4ck3r On 11/9/07, Daniel Brown [EMAIL PROTECTED] wrote:

RE: [PHP] explorer

2007-11-10 Thread Bastien Koert
on the local machine? no. you can simulate an explorer for files on the server bastien Date: Sat, 10 Nov 2007 18:10:39 +0530 From: [EMAIL PROTECTED] To: php-general@lists.php.net Subject: [PHP] explorer Hi, How if, it is possible to open a windows

RE: [PHP] Re: functions versus includes

2007-11-11 Thread Bastien Koert
Wouldn't it be simpler to add some timers in and check for yourself? Bastien To: php-general@lists.php.net From: [EMAIL PROTECTED] Date: Sun, 11 Nov 2007 18:02:58 -0500 Subject: [PHP] Re: functions versus includes No takers on this topic? Frank Lopes

RE: [PHP] Need a hint how to track an error

2007-11-12 Thread Bastien Koert
try firebug for firefox, excellent tool bastien Date: Mon, 12 Nov 2007 13:53:55 +1100 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: php-general@lists.php.net Subject: Re: [PHP] Need a hint how to track an error Ronald Wiplinger wrote: My php program is working with Firefox, but

RE: [PHP] Sending Pictures to Cell Phones

2007-11-14 Thread Bastien Koert
What is the actual planned implemtation? Email or SMS/MMS? if the latter, you are looking for MMS specs (send XML SMS to phone with media) Try http://hellkvist.org/software/ for code samples HTH Bastien Date: Wed, 14 Nov 2007 13:45:05 -0600 From: [EMAIL PROTECTED] To:

RE: [PHP] Open Source BTS??

2007-11-15 Thread Bastien Koert
bugzilla or mantis bastien From: [EMAIL PROTECTED] To: php-general@lists.php.net Date: Thu, 15 Nov 2007 15:06:08 -0600 Subject: [PHP] Open Source BTS?? Hey, I am needing to install a bug tracking system on a web server and looking for a good PHP open source solution. Looking for a pretty

RE: [PHP] Should I put pictures into a database?

2007-11-20 Thread Bastien Koert
Well, this was just hashed out last week, again. Its a personal thing. I am against it, having seen the slowdown and database bloat caused when this is done. I prefer a pointer to the image to be stored in the table and use that. I have found that after about 12Gb of binary data gets into

RE: [PHP] Sending Pictures to Cell Phones

2007-11-21 Thread Bastien Koert
have a look at www.helkvist.org he has some php classes for MMS bastien Date: Wed, 21 Nov 2007 11:38:37 +0100 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: php-general@lists.php.net Subject: Re: [PHP] Sending Pictures to Cell Phones Maybe too late. Here are some simple starting points.

RE: [PHP] Sending Pictures to Cell Phones

2007-11-21 Thread Bastien Koert
my bad http://hellkvist.org/software/ bastien Subject: RE: [PHP] Sending Pictures to Cell Phones Date: Wed, 21 Nov 2007 11:36:58 -0600 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] CC: php-general@lists.php.net [snip] have a look at www.helkvist.org

RE: [PHP] Performance question for table updating (SOLVED)

2007-11-24 Thread Bastien Koert
Could there be some performance gain by uploading the data to another table and then update / insert via sql? bastien From: [EMAIL PROTECTED] To: php-general@lists.php.net Date: Sat, 24 Nov 2007 04:03:53 -0700 Subject: Re: [PHP] Performance question

RE: [PHP] Create PDFs with a strict layout automatically

2007-11-26 Thread Bastien Koert
you could also look at http://www.digitaljunkies.ca/dompdf/ bastien CC: php-general@lists.php.net From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Tue, 27 Nov 2007 12:16:45 +0900 Subject: Re: [PHP] Create PDFs with a strict layout automatically On 27 Nov 2007, at 11:51, Chris wrote:

RE: [PHP] Re: Newbie asks about multi-lingual website strategies

2007-11-27 Thread Bastien Koert
My approach to multi lang abilities uses the following db structure base_name is the input field name and the basic raw label for the field lang_1 lang_2 ... lang_12 prompt_1 prompt_2 ... prompt_12 since i currently need to support 12 languages in the initial concept when the user signs

RE: [PHP] Question about authenticating people...

2007-11-27 Thread Bastien Koert
adding a client name to the login process might make that easier and it forces a sort of 2 factor authentication making the database 'hopefully' harder to crack bastien From: [EMAIL PROTECTED] To: php-general@lists.php.net Date: Tue, 27 Nov 2007 15:30:32 -0500 Subject: [PHP] Question about

RE: [PHP] PHP RFC # 0001 --- List Etiquette

2007-11-28 Thread Bastien Koert
Makes sense to me... Count me in bastien Date: Wed, 28 Nov 2007 10:48:57 -0500 From: [EMAIL PROTECTED] To: php-general@lists.php.net Subject: [PHP] PHP RFC # 0001 --- List Etiquette Good morning (/afternoon/evening) all; This is more or

RE: [PHP] zip codes and lat/longs

2007-12-05 Thread Bastien Koert
hate to say it,but there is lots on google like http://www.code322.com/zipcode_locator.php bastien Date: Wed, 5 Dec 2007 20:58:52 -0500 To: php-general@lists.php.net From: [EMAIL PROTECTED] Subject: [PHP] zip codes and lat/longs Hi gang: I'm entertaining how to determine what zip codes

RE: [PHP] Uploading a file through PHP form

2007-12-13 Thread Bastien Koert
Hi Ron, http://www.php.net/manual/en/features.file-upload.php is the page its pretty simple Bastien From: [EMAIL PROTECTED] To: php-general@lists.php.net Date: Thu, 13 Dec 2007 21:03:00 -0500 Subject: [PHP] Uploading a file through PHP form How do you upload a file using PHP? Also what

RE: [PHP] Gathering data

2007-12-13 Thread Bastien Koert
Database...in either case the data that is being searched on makes it to the server...just store the search term in a table in the db bastien To: php-general@lists.php.net From: [EMAIL PROTECTED] Date: Sat, 17 Nov 2007 19:40:14 -0600 Subject: [PHP] Gathering data Hi, I have a web site

RE: [PHP] how to handle inserting special characters into a mysql field

2007-12-14 Thread Bastien Koert
use mysql_real_escape_string bastien Date: Fri, 14 Dec 2007 08:40:47 -0600 From: [EMAIL PROTECTED] To: php-general@lists.php.net Subject: [PHP] how to handle inserting special characters into a mysql field I'm going to be inserting data from a PHP form into a mysql field. The data

RE: [PHP] Sending SMS via PHP

2007-12-23 Thread Bastien Koert
Sending proper SMS messges requires that you use an SMS gateway or buy a cellular modem. SMS is essentially XML will the message body limited to 160 characters. do some googling to get more information bastien Date: Sun, 23 Dec 2007 08:30:29 +0330

RE: [PHP] html to doc and pdf ??

2007-12-23 Thread Bastien Koert
PDF is easy, there are many packages and classes that can convert the html to PDFs. A quick google will give you lots of results like www.fpdf.org http://www.digitaljunkies.ca/dompdf/ etc word docs will be harder to create bastien

RE: [PHP] First stupid post of the year.

2008-01-02 Thread Bastien Koert
if you need to make the button wider, just style it with css and leave the value to be what it needs to be input type='text' width='100px' value='Submit' name='submit' Date: Wed, 2 Jan 2008 13:34:43 -0500 To: php-general@lists.php.net From: [EMAIL PROTECTED] Subject: [PHP] First stupid post

RE: [PHP] mysql date question

2008-01-03 Thread Bastien Koert
no need for quotes select date_format(contract.length_start, '%m-%d-%Y') as length_start from contract where user_id = 1; bastien Date: Thu, 3 Jan 2008 08:30:55 -0600 From: [EMAIL PROTECTED] To: php-general@lists.php.net Subject: [PHP] mysql date question I have a field in mysql as

RE: [PHP] handling ' with mysql/php insert and select

2008-01-03 Thread Bastien Koert
lots of ways to handle this use HTMLentities($string) to convert the apostrophes use addslashes($string) to escape them use mysql_real_escape_string($string) to escape them the last is my preferred method bastien Date: Thu, 3 Jan 2008 13:22:09 -0600 From: [EMAIL PROTECTED] To:

RE: [PHP] which window?

2008-01-05 Thread Bastien Koert
this would be an html / js issue... why have a popup login in this case? just show the logon in the main window and then do the redirect... bastien To: php-general@lists.php.net From: [EMAIL PROTECTED] Date: Sat, 5 Jan 2008 10:17:55 -0800

RE: [PHP] PHTML files showing as blank pages

2008-01-05 Thread Bastien Koert
Andy, try this AddHandler php5-script .php .phtml #AddType text/html .php .phtml AddType application/x-httpd-php .php .phtml .html .htm bastien Date: Sat, 5 Jan 2008 14:39:49 + To: php-general@lists.php.net From: [EMAIL PROTECTED] Subject:

RE: [PHP] fgetcsv

2008-01-09 Thread Bastien Koert
http://ca.php.net/manual/en/function.fgetcsv.php _ Discover new ways to stay in touch with Windows Live! Visit the City @ Live today! http://getyourliveid.ca/?icid=LIVEIDENCA006 -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] PHP SOAP Client formats

2008-01-09 Thread Bastien Koert
XML is case sensitive. I notice the case of the xml is different. Try making the PHP created xml the same case. Bastien Date: Wed, 9 Jan 2008 13:54:36 -0800 From: [EMAIL PROTECTED] To: php-general@lists.php.net Subject: [PHP] PHP SOAP Client formats Hi all, ok, I am a little bit new to the

RE: [PHP] Encryption failing

2008-01-15 Thread Bastien Koert
are you base64 encoding the resultant encryption string? I have found that there are problems with certain characters that can result from the encryption, usually a combination of characters that approximate a null or end of line bastien From: [EMAIL PROTECTED] Date: Tue, 15 Jan 2008 21:41:45

RE: [PHP] Scripts are fast locally, but slow on remote server

2008-01-16 Thread Bastien Koert
memory limitation in the php ini? bastien Date: Wed, 16 Jan 2008 16:29:53 +0900 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: php-general@lists.php.net Subject: Re: [PHP] Scripts are fast locally, but slow on remote server Per Jessen, Thank you for responding. Might this be a

RE: [PHP] a better way to do a data import?

2008-01-21 Thread Bastien Koert
what about uploading the entire file into a [semi]temp table..then doing cross table comparisons to load your main table with the data? bastien Date: Mon, 21 Jan 2008 13:08:27 -0500 From: [EMAIL PROTECTED] To: php-general@lists.php.net Subject: Re: [PHP] a better way to do a data import? I

RE: [PHP] Best Approach

2008-01-21 Thread Bastien Koert
sure, why notyou can exec most of the commands and log all of the results to a file that you can email yourself bastien Date: Mon, 21 Jan 2008 17:55:11 -0600 From: [EMAIL PROTECTED] To: php-general@lists.php.net Subject: [PHP]

RE: [PHP] Verification number

2008-01-24 Thread Bastien Koert
google mod10 checksum bastien Date: Thu, 24 Jan 2008 12:37:20 +0100 From: [EMAIL PROTECTED] To: php-general@lists.php.net Subject: [PHP] Verification number Hi Sorry if this is considered off topic. Please ignore the post in that case. My site uses ten digit numbers as ID:s for our

RE: [PHP] Rename

2008-01-24 Thread Bastien Koert
http://ca3.php.net/manual/en/function.copy.php make the manual your friend bastien Date: Thu, 24 Jan 2008 14:36:55 -0600 From: [EMAIL PROTECTED] To: php-general@lists.php.net Subject: [PHP] Rename Does anyone know if there is a way to move all the files in one directory into another?

RE: [PHP] PHP and LDAP Authentication

2008-01-24 Thread Bastien Koert
htmlentities? urlencode? bastien Date: Thu, 24 Jan 2008 15:20:44 -0600 From: [EMAIL PROTECTED] To: php-general@lists.php.net Subject: [PHP] PHP and LDAP Authentication Hello, I have encountered a situation where a user password Contains a space in it (in the middle). I am looking for A

RE: [PHP] Help looking for inventory software

2008-01-30 Thread Bastien Koert
check for code / systems on www.hotscripts.com http://sourceforge.net hth bastien Date: Wed, 30 Jan 2008 19:14:57 +0100 From: [EMAIL PROTECTED] To: php-general@lists.php.net Subject: [PHP] Help looking for inventory software Hello, I am sorry if this is appropriate but does anyone know

RE: [PHP] Resetting a session variable

2008-02-03 Thread Bastien Koert
unset($_SESSION['var_name']); bastien From: [EMAIL PROTECTED] To: php-general@lists.php.net Date: Sun, 3 Feb 2008 13:14:47 -0500 Subject: [PHP] Resetting a session variable What is the command to reset a session variable --- essentially

RE: [PHP] flash with PHP

2008-02-04 Thread Bastien Koert
try asking on www.flashkit.com bastien Date: Mon, 4 Feb 2008 07:45:25 +0200 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: php-general@lists.php.net Subject: Re: [PHP] flash with PHP FlashKnowledge = 0; phpKnowledge = 1; I remember some time back finding a class for php and a

RE: [PHP] PHP Source code protection

2008-02-06 Thread Bastien Koert
zend encoder? http://sourceforge.net/projects/php-screw/ google for more bastien To: php-general@lists.php.net From: [EMAIL PROTECTED] Date: Wed, 6 Feb 2008 12:28:12 +0100 Subject: [PHP] PHP Source code protection Hi, I'm building a C# application that connects to a server that has

RE: [PHP] PHP/mySQL question about groups

2008-02-06 Thread Bastien Koert
Select * from wine where name = 'Silver Oak' GROUP BY wineid,size bastien Date: Wed, 6 Feb 2008 17:46:52 -0800 From: [EMAIL PROTECTED] To: php-general@lists.php.net Subject: [PHP] PHP/mySQL question about groups Let's say I have a PHP-based wine application, and it's taking a set of mySQL

RE: [PHP] Template system in PHP

2008-02-12 Thread Bastien Koert
smarty? bastien Date: Tue, 12 Feb 2008 14:01:11 +0400 From: [EMAIL PROTECTED] To: php-general@lists.php.net Subject: [PHP] Template system in PHP Hi, I need to develop a website, but my management is rather unstable in his vision for the layout. I'm thinking of developing the

RE: [PHP] Fwrite Function

2008-02-16 Thread Bastien Koert
Its a text file and so doesn't support markup. You could write out html into the file that does mark it up and could be displayed to the user via the browser...or you could use regex or str_replace to mark up certain text on the read of the file to display to the user bastien

RE: [PHP] PHP/mySQL dropping zeros after inserting number into record

2008-02-16 Thread Bastien Koert
char(14) is a better data type bastien Date: Sat, 16 Feb 2008 15:22:17 -0800 From: [EMAIL PROTECTED] To: php-general@lists.php.net Subject: [PHP] PHP/mySQL dropping zeros after inserting number into record I've got a PHP script that inserts

RE: [PHP] Protected ZIP file with password

2008-02-18 Thread Bastien Koert
Hey, what about placing the unzipped folder into a dir that has a process watching it that will pick up the file, zip and protect it and then ftp (or another delivery mechanism) to the destination? Bastien Date: Mon, 18 Feb 2008 08:59:02 -0300 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]

RE: [PHP] More than one values returned?

2008-02-18 Thread Bastien Koert
return an array bastien From: [EMAIL PROTECTED] To: php-general@lists.php.net Date: Tue, 19 Feb 2008 10:31:02 +0900 Subject: [PHP] More than one values returned? Hi, Is it possible to return more than one values in PHP? return $x; return $y; They don't work for me. -T -- PHP General

RE: [PHP] mysql input

2008-02-18 Thread Bastien Koert
mysql_real_escape_string() addslashes() htmlentities() take your pick bastien From: [EMAIL PROTECTED] To: php-general@lists.php.net Date: Mon, 18 Feb 2008 23:05:10 -0500 Subject: [PHP] mysql input I have a user saving a VARCHAR(255) field in a mysql db which has single quotes in the

RE: [PHP] mysql input

2008-02-19 Thread Bastien Koert
, 2008-02-18 at 23:19 -0500, Bastien Koert wrote: mysql_real_escape_string() addslashes() htmlentities() take your pick That's a bad answer. If he's using MySQL then he SHOULD use mysql_real_escape_string(). None of the other functions will fully protect him from malicious input. Cheers

RE: [PHP] Re: mysql input

2008-02-19 Thread Bastien Koert
thats awesome bastien To: php-general@lists.php.net Date: Tue, 19 Feb 2008 11:21:02 + From: [EMAIL PROTECTED] Subject: Re: [PHP] Re: mysql input Zoltán Németh wrote: 2008. 02. 19, kedd keltezéssel 11.03-kor Nathan Rixham ezt írta: Richard Heyes wrote: Shawn McKenzie wrote: nihilism

RE: [PHP] PHP To an EXE Executable for Win32 ( Is it possible)

2008-02-21 Thread Bastien Koert
www.roadsend.com ? bastien To: php-general@lists.php.net From: [EMAIL PROTECTED] Date: Thu, 21 Feb 2008 14:16:55 -0700 Subject: [PHP] PHP To an EXE Executable for Win32 ( Is it possible) I know that there's apparently some way to compile PHP to

RE: [PHP] Deleting all rows in a database every 24 hours?

2008-02-22 Thread Bastien Koert
cron bastien To: php-general@lists.php.net From: [EMAIL PROTECTED] Date: Fri, 22 Feb 2008 07:28:58 +0100 Subject: [PHP] Deleting all rows in a database every 24 hours? The title says it all, how do I perform an action every 24 hours? Thank you. -- PHP General Mailing List

RE: [PHP] Re: temporary error

2008-02-22 Thread Bastien Koert
To: php-general@lists.php.net Date: Sat, 23 Feb 2008 00:14:27 + From: [EMAIL PROTECTED] Subject: Re: [PHP] Re: temporary error tedd wrote: At 3:58 PM -0500 2/22/08, Robert Cummings wrote: On Fri, 2008-02-22 at 14:49 -0600, Greg Donald wrote:

RE: [PHP] Flash menu

2008-02-23 Thread Bastien Koert
Date: Sat, 23 Feb 2008 09:38:17 -0500 To: php-general@lists.php.net From: [EMAIL PROTECTED] Subject: Re: [PHP] Flash menu At 9:46 AM +0100 2/23/08, Alain Roger wrote: Hi, i have a problem with my animated web flash menu (+images+sounds). basically my menu in embedded into flash, and

RE: [PHP] validate + if

2008-02-23 Thread Bastien Koert
From: [EMAIL PROTECTED] To: php-general@lists.php.net Date: Sat, 23 Feb 2008 16:01:08 -0300 Subject: [PHP] validate + if Hi list!I have a form. I validated it with javascript. Do the validation, but send the form information. How can I prevent send the information and stay in the

RE: [PHP] Shopping Carts

2008-02-24 Thread Bastien Koert
To: php-general@lists.php.net Date: Sun, 24 Feb 2008 09:43:20 -0600 From: [EMAIL PROTECTED] Subject: Re: [PHP] Shopping Carts questions and help out people who try and stumble... I'm less likely to help someone who tries to stumble. -Shawn -- PHP General Mailing List

RE: [PHP] PHPTriad and php error

2008-02-24 Thread Bastien Koert
To: php-general@lists.php.net Date: Sun, 24 Feb 2008 20:53:03 +0200 From: [EMAIL PROTECTED] Subject: [PHP] PHPTriad and php error hi to all, I set up phptriad on my computer running windows xp. When I tried to test php with the following program I got an error Parse error: parse error,

RE: [PHP] PHPTriad and php error

2008-02-24 Thread Bastien Koert
This is a good place, other include various forums and the manual bastien To: php-general@lists.php.net Date: Sun, 24 Feb 2008 21:21:01 +0200 From: [EMAIL PROTECTED] Subject: Re: [PHP] PHPTriad and php error thanks for the help. I am a C/C++ programmer and decide to learn php and mysql to

RE: [PHP] More than one values returned?

2008-02-26 Thread Bastien Koert
From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: php-general@lists.php.net Date: Tue, 26 Feb 2008 10:40:34 -0500 Subject: Re: [PHP] More than one values returned? On Tue, 2008-02-26 at 10:32 -0500, tedd wrote: At 1:08 PM -0500 2/25/08, Daniel Brown wrote: On Sat, Feb 23, 2008 at

RE: [PHP] How do you send stylized email?

2008-02-26 Thread Bastien Koert
send an html email... if you are looking to send calendar events, you could look at using the vcal or ical standards plain text emails you can't do much with other than separate sections with dashes or asteriks bastien Date: Tue, 26 Feb 2008 09:28:06 -0500 To:

RE: [PHP] checking for and enforcing https

2008-02-26 Thread Bastien Koert
Date: Tue, 26 Feb 2008 17:39:13 -0500 From: [EMAIL PROTECTED] To: php-general@lists.php.net Subject: Re: [PHP] checking for and enforcing https On Tue, Feb 26, 2008 at 04:46:38PM -0500, Daniel Brown wrote: Of course, getting into that is a

RE: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Bastien Koert
Date: Wed, 27 Feb 2008 14:28:30 -0600 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] CC: php-general@lists.php.net Subject: RE: [PHP] Are these Truthful Proof about PHP ?? [snip] I thought ASP was the language and .NET was the framework. I was under this impression as

RE: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Bastien Koert
: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] not bleeding edge unless it's web2.0 ;) On Wed, Feb 27, 2008 at 4:22 PM, Bastien Koert [EMAIL PROTECTED] wrote: Date: Wed, 27 Feb 2008 14:28:30 -0600 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] CC: php

RE: [PHP] Guidance

2008-02-27 Thread Bastien Koert
UK? I was hoping for Windsor Ontario Canada bastien CC: php-general@lists.php.net From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Wed, 27 Feb 2008 22:21:59 + Subject: Re: [PHP] Guidance On 27 Feb 2008, at 21:50, Shawn McKenzie wrote:

RE: [PHP] Can PHP do this? -- w/o using event handler

2008-03-03 Thread Bastien Koert
sure, user curl (www.php.net/curl) bastien Date: Mon, 3 Mar 2008 15:57:19 +0800 From: [EMAIL PROTECTED] To: php-general@lists.php.net Subject: [PHP] Can PHP do this? -- w/o using event handler Could PHP do.. 1. Connect and send a parameter to a remote host 2. Wait for the host to

RE: [PHP] GPS Locator

2008-03-04 Thread Bastien Koert
http://www.phpclasses.org/browse/package/3507.html bastien Date: Tue, 4 Mar 2008 10:18:15 -0600 From: [EMAIL PROTECTED] To: php-general@lists.php.net Subject: [PHP] GPS Locator Howdy group! I know that this is not a PHP question (but it will work with a PHP app) but I thought I would ask

RE: [PHP] SESSIOn when cookies are disabled

2008-03-07 Thread Bastien Koert
Date: Fri, 7 Mar 2008 23:45:51 +0530 From: [EMAIL PROTECTED] To: php-general@lists.php.net Subject: [PHP] SESSIOn when cookies are disabled Hi all how can we manage session variables when cookies are disabled. -- Have A pleasant Day Chetan. D. Rane Location: India Contact:

RE: [PHP] I'm prepared to feel like an idiot... But I just simply need the answer :)

2007-08-01 Thread Bastien Koert
I have had success in running CLI php pages from a bat file fired via a scheduled task. Since the output can be limited I would suggest adding some logging functionality to the page to trap errors and write them to a file that you can use to analyze any issues. bastien To:

RE: [PHP] DOMDocument - loadHTML() cuts off html input

2007-08-01 Thread Bastien Koert
Is there a quote in the data? That is the usual culprit in my situations like that... bastien Date: Wed, 1 Aug 2007 10:54:59 +0200 From: [EMAIL PROTECTED] To: php-general@lists.php.net Subject: [PHP] DOMDocument - loadHTML() cuts off html input Hey List, In my application, I am loading

RE: [PHP] Problem with php mail

2007-08-05 Thread Bastien Koert
Can you post the headers that you are using...they play a role how the message is viewed by the receiving agent bastien Date: Sat, 4 Aug 2007 21:06:53 -0700 From: [EMAIL PROTECTED] To: php-general@lists.php.net Subject: [PHP] Problem with php

RE: [PHP] Problems in php

2007-08-07 Thread Bastien Koert
This is the proper behavior for php. its supposed to only send the html down to the client bastien From: [EMAIL PROTECTED] To: php-general@lists.php.net Date: Tue, 7 Aug 2007 20:09:51 +0700 Subject: [PHP] Problems in php Dear Sirs, I have installed a

RE: [PHP] Check if var has a date (timestamp or regular)

2007-08-08 Thread Bastien Koert
Other options include using a date calendar widget (js) to fill the field splitting the date field into three separate selects and building the date on the server from those three elements Bastien From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; php-general@lists.php.net Date: Wed, 8 Aug 2007

RE: [PHP] magic quotes

2007-08-09 Thread Bastien Koert
you could use ini_set at the top of the script to turn the magic quotes off...if you add this in a prepend file or a common included file that sits at the top of the script, it should take care of the damn magic quotes... failing that ask your host to turn it off Bastien From: [EMAIL

RE: [PHP] simplexml_load_file()

2007-08-11 Thread Bastien Koert
switch to an underscore comment_id instead bastien Date: Fri, 10 Aug 2007 23:03:19 +0100 From: [EMAIL PROTECTED] To: php-general@lists.php.net Subject: [PHP] simplexml_load_file() Hello, I'm doing an script which it'll read the xml values,

RE: [PHP] www.soongy.com

2007-08-14 Thread Bastien Koert
Looks nice, but you need to have it adapt to screen resolutions...the fixed size of the page doesn't allow for scrolling etc...does not fit well on a 1400x900 laptop screen bastien From: [EMAIL PROTECTED] To: php-general@lists.php.net Date: Tue, 14 Aug 2007 20:15:27 +0500 Subject: [PHP]

RE: [PHP] QuickTime question

2007-08-15 Thread Bastien Koert
Can't you just embed embed the file in the page? object classid=clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B codebase=http://www.apple.com/qtactivex/qtplugin.cab; height=256 width=320 param name=src value=?php echo ./vids/$file ? param

RE: [PHP] adding Back to Search results link

2007-08-15 Thread Bastien Koert
what about hadding the search form elements to the results page and letting the users search right from there bastien To: php-general@lists.php.net From: [EMAIL PROTECTED] Date: Wed, 15 Aug 2007 15:44:46 -0500 Subject: Re: [PHP] adding Back to Search results link Jim and Brad. Thanks for

RE: [PHP] About Session And Cookies

2007-08-17 Thread Bastien Koert
If cookies are not available, you can either hide the id in the hidden form field element or enable trans_sid to automatically pass the session id in the url bastien From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; php-general@lists.php.net Date: Fri, 17 Aug 2007 17:03:54 -0700 Subject: RE:

RE: [PHP] Cookies and sent headers

2007-08-18 Thread Bastien Koert
sessions and cookies either need to be set at the beginning of the page, or you can look into the ob_start(), ob_flush() functions to use output buffering bastien To: php-general@lists.php.net Date: Sat, 18 Aug 2007 11:25:54 +0200 From: [EMAIL

RE: [PHP] Cookies and sent headers

2007-08-18 Thread Bastien Koert
The commands start and use an output buffer, a chunk of memory that stores all the output on the server until the ob_flush, the buffer flush, function is called. You need to be aware that in high load situations this may adversly affect performance since it loads the servers memory, also be

RE: [PHP] mail() issue

2007-08-22 Thread Bastien Koert
try doing a trim($email) to remove any whitespace, just in case bastien Date: Wed, 22 Aug 2007 08:27:36 -0400 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: php-general@lists.php.net Subject: Re: [PHP] mail() issue The . (period) is simply the end of my sentance in the email. The From

RE: [PHP] ignore-user-abort and connection-handling

2007-08-23 Thread Bastien Koert
if aborted actions are a worry, then consider using transactions in the database, if the process is interupted at any time, the changes made will all role back to a pre transaction start state. bastien Date: Thu, 23 Aug 2007 13:30:00 -0400 From:

RE: [PHP] SQL Distinct-like behaviour

2007-08-24 Thread Bastien Koert
Read them all into an array and do an array-unique on it bastien Date: Thu, 23 Aug 2007 23:54:40 -0300 From: [EMAIL PROTECTED] To: php-general@lists.php.net Subject: [PHP] SQL Distinct-like behaviour How could I iterate over the files in a directory and build a list of unique filenames?

RE: [PHP] text to HTML

2007-08-26 Thread Bastien Koert
the closest is nl2br() which converts line breaks to tags. Other than that, you would need to look at regex manipulation to make those changes. Bastien From: [EMAIL PROTECTED] To: php-general@lists.php.net Date: Sun, 26 Aug 2007 10:36:06 -0400

RE: [PHP] A simple PHP script to generate a Pie Chart based on SQL query

2007-08-27 Thread Bastien Koert
http://www.aditus.nu/jpgraph/ bastien Date: Mon, 27 Aug 2007 10:44:01 -0700 From: [EMAIL PROTECTED] To: php-general@lists.php.net Subject: [PHP] A simple PHP script to generate a Pie Chart based on SQL query Hello All, I am looking for a

RE: [PHP] Pragmatically changing a Record Number

2007-08-29 Thread Bastien Koert
Please don't do that...autonumber should not be relied for anything other than a unique row identifier. It should NOT matter to the application what that value is as long as it unique. If you need a count of the number of records, do a query (select count(*) from table...) bastien To:

RE: [PHP] mail() silly question

2007-09-01 Thread Bastien Koert
no difference bastien Date: Sat, 1 Sep 2007 08:00:11 -0500 From: [EMAIL PROTECTED] To: php-general@lists.php.net Subject: [PHP] mail() silly question I have a question that might be too silly for those of you who are PHP gurus. Here it comes: I

RE: [PHP] Create a matrix gallery

2007-09-03 Thread Bastien Koert
Hotmail sucks but try this [code] $counter = 1; while ($rows=mysql_fetch_assoc($getpic)) { //close the tr tag after 5 photos usng the mod function to check the counter if($counter % 5 == 0) { echo ; //reset the counter $counter = 1; } extract ($rows); echo ; echo ; $counter++; }

RE: [PHP] Dealing with auto-increment in MySQL

2007-09-04 Thread Bastien Koert
I just let it go...there is no need to manage that process or you'll just screw up the mysql... it shouldn't be relied on for anything other that uniqueness any way bastien Date: Mon, 3 Sep 2007 23:53:22 -0400 From: [EMAIL PROTECTED] To: php-general@lists.php.net Subject: [PHP]

RE: [PHP] php Login script issue

2007-09-16 Thread Bastien Koert
argh! hotmail sucks I don't see in the script where you are using $_POST / $_GET / $_REQUEST to access tha data from the form. Its likely that the example you are following is old and uses 'register_globals'. Since register_globals is a huge security hole and is not active in any new

RE: [PHP] setup help in IIS6

2007-09-18 Thread Bastien Koert
Have you created the .php file type in the IIS and pointed IIS to the php.exe? Bastien Date: Tue, 18 Sep 2007 22:39:07 -0400 From: [EMAIL PROTECTED] To: php-general@lists.php.net Subject: [PHP] setup help in IIS6 Hello, I have installed the latest PHP on my windows server 2003 IIS6 machine.

RE: [PHP] MAX_FILE_SIZE not working with file uploads

2007-09-20 Thread Bastien Koert
Max file size is a hint to the browser and not all support it...you can't count on it bastien To: php-general@lists.php.net Date: Thu, 20 Sep 2007 14:45:36 -0500 From: [EMAIL PROTECTED] Subject: [PHP] MAX_FILE_SIZE not working with file uploads The punchline question is: What am I

[PHP] OT IDEs

2007-10-03 Thread Bastien Koert
I just found a tool called CodeLobster, but the site seems a little funky, mostly because the owners first language is not English...is anyone using this tool and is it any good? Thanks bastien _ Be seen when you can't be

RE: [PHP] inserting ´ in a db

2007-10-03 Thread Bastien Koert
There are any number of elements to try htmlspecialchars mysql_real_escape_string addslashes RTFM and see what works best for your situation bastien From: [EMAIL PROTECTED] To: php-general@lists.php.net Date: Thu, 4 Oct 2007 11:44:34 +0900 Subject: [PHP] inserting ´ in a db Hi list,

RE: [PHP] IIS 6 and php.ini not being friends

2007-10-10 Thread Bastien Koert
why not try searching the c:/windows folder for a copy of the php.ini file? Maybe there is a straggler that needs to be deleted. Bastien Date: Wed, 10 Oct 2007 17:24:54 +0100 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: php-general@lists.php.net Subject: Re: [PHP] IIS 6 and php.ini

RE: [PHP] How do I get PHP to save a backslash in a Mysql table?

2007-10-10 Thread Bastien Koert
use mysql_real_escape_string bastien From: [EMAIL PROTECTED] To: php-general@lists.php.net Date: Wed, 10 Oct 2007 13:48:03 -0400 Subject: [PHP] How do I get PHP to save a backslash in a Mysql table? Hi, I have a field in which a user inputs a Windows style directory path, hence using

RE: [PHP] Which PHP-Editor to use?

2007-10-16 Thread Bastien Koert
In the same boat here...waiting for a guinea pig to ok it Bastien Date: Tue, 16 Oct 2007 08:56:16 -0500 From: [EMAIL PROTECTED] To: php-general@lists.php.net Subject: Re: [PHP] Which PHP-Editor to use? On 10/16/07, Stut [EMAIL PROTECTED] wrote: Zoltán Németh wrote: 2007. 10. 16, kedd

RE: [PHP] IF command

2007-10-18 Thread Bastien Koert
Are you sure that the value is a string? If its numeric, then try the check without the quotes around the value bastien From: [EMAIL PROTECTED] To: php-general@lists.php.net Date: Thu, 18 Oct 2007 19:49:55 -0500 Subject: [PHP] IF command When $component_reference is 5 or 19 I don't want

RE: [PHP] Multi-table pager sorted by date

2007-10-21 Thread Bastien Koert
damn hotmail blows But if the database supports it, what about using a view that is made up of the two tables? Could that be a possibility? Bastien From: [EMAIL PROTECTED] To: php-general@lists.php.net Date: Sat, 20 Oct 2007 21:39:03 -0400

RE: [PHP] problem with foreach

2007-10-22 Thread Bastien Koert
I am sure that I am late to the party, but am sure that double or single quotes at least are needed around the attribute values to make this work Civil Rights bastien Date: Mon, 22 Oct 2007 12:20:55 -0500 From: [EMAIL PROTECTED] CC:

Re: [PHP] WAMP servers

2008-03-27 Thread Bastien Koert
On Thu, Mar 27, 2008 at 9:40 AM, Rod Clay [EMAIL PROTECTED] wrote: Hello. Does anyone use a WAMP server? And, if so, have you found one to be better than another? I am using a WAMP server entitled, aptly enough, WampServer (formerly WAMP5). In the few weeks I have been using it, I

Re: [PHP] munge / obfuscate ?

2008-03-27 Thread Bastien Koert
On Thu, Mar 27, 2008 at 9:10 PM, Joey [EMAIL PROTECTED] wrote: Hi All, I have written an app to allow a person to go online and see a picture we take of them. When we link to the picture I don't want it to be obvious that the URL is Domain.Com/Pix/123.jpg because the next person we take

  1   2   3   4   5   6   >