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

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

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]>

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,

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 Br

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,

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

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:> >

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]> T

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 s

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

2007-11-20 Thread Bastien Koert
storage) - performance slowdowns as image data grows regards, bastien> Date: Wed, 21 Nov 2007 10:14:43 +0800> From: [EMAIL PROTECTED]> To: php-general@lists.php.net> Subject: [PHP] Should I put pictures into a database?> > I have an application, where I use pictures. The size

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

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> > [s

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]

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

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

2007-11-27 Thread Bastien Koert
templating the forms for each language. I would use a folder for each language. hth bastien > To: php-general@lists.php.net> From: [EMAIL PROTECTED]> Date: Tue, 27 Nov > 2007 15:18:45 +> Subject: [PHP] Re: Newbie asks about multi-lingual > website strategies> > Jeff

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> S

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

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 entertain

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 fi

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> > H

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 &

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 +0

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 > Date: Wed, 2 Jan 2008 13:34:43 -0500> To: php-general@lists.php.net> From: [EMAIL PROTECTED]> Subject: [PHP] First stupid post of the year.> > Hi gang:> > I have a> > $submit = $_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 questio

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]>

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

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

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 un

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,> >

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

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,>

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

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 > S

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.> >

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 direc

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

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

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 sess

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

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# applicat

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 appl

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 la

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 ba

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

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]> T

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

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 mys

RE: [PHP] mysql input

2008-02-19 Thread Bastien Koert
I agree, but they all provide some level of handling just might not be the 'most correct' way of handling it bastien> Subject: RE: [PHP] mysql input> From: [EMAIL PROTECTED]> To: [EMAIL PROTECTED]> CC: [EMAIL PROTECTED]; php-general@lists.php.net> Date: Mon, 18

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

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

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. > >

RE: [PHP] Re: temporary error

2008-02-22 Thread Bastien Koert
d weird > grass/*something else* mixes, but all grass - to me thats proof of > creation, and therefore proof of a creator, thus god. > > god's like wind, can't see it but it still blows your bin over so you > know it's there. > > shoulda posted on php-religion

RE: [PHP] Flash menu

2008-02-23 Thread Bastien Koert
age reload forces the movie to start over, i can see three options... 1. use frames (not recommended for a variety of reasons, but the top frame w/ your menu won't need to reload and keeps its place) 2. get into ajax and try not to reload the entire page that often 3. pass a variable into the movie each time the page loads, so that it knows what frame its on, kinda like a counter or placemarker to keep the continuity correct. bastien _

RE: [PHP] validate + if

2008-02-23 Thread Bastien Koert
_> > // Diseño & Comunicación //> + _> > // [EMAIL > PROTECTED] /> // 15 40 58 60 02 ///> + _> > > Return false from the form validation if it fails and call if with the form's onSubmit function returning false will stop the submission bastien _

RE: [PHP] Shopping Carts

2008-02-24 Thread Bastien Koert
tumble".> > -Shawn> > -- > PHP General Mailing List > (http://www.php.net/)> To unsubscribe, visit: http://www.php.net/unsub.php> I usually stumble after too much beer ;-) bastien _

RE: [PHP] PHPTriad and php error

2008-02-24 Thread Bastien Koert
e as long as you are consistent) to wrap the text. That is what the error is telling you. Note that when using quotes, double quotes will eveluate php variables correctly, while single quotes treat them as text. bastien _

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 decid

RE: [PHP] More than one values returned?

2008-02-26 Thread Bastien Koert
.> | InterJinn > Application Framework - http://www.interjinn.com |> > ::> | An > application and templating framework for PHP. Boasting |> | a powerful, > scalable system for accessing system services |> | such as forms, properties, > sessions, and caches. InterJinn |> | also provides an extremely flexible > architecture for |> | creating re-usable components quickly and easily. |> > `'> > -- > PHP > General Mailing List (http://www.php.net/)> To unsubscribe, visit: > http://www.php.net/unsub.php> Now, thats funny ;-) bastien _

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
ww.php.net/unsub.php > """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" Now thats excessive quoting ;-) Bastien _ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2008-02-27 Thread Bastien Koert
ck in the > day> > -- > PHP General Mailing List (http://www.php.net/)> To unsubscribe, > visit: http://www.php.net/unsub.php> Back in the day??? Damn it, My boss said we were bleeding edge Work is ASP, but for anything else, its PHP all the way Bastien _

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

2008-02-27 Thread Bastien Koert
Nah, I try to keep the 2.0 subtle, where its just cool...some others here use it as a shotgun to kill the fly...just to say the product does it... bastien Date: Wed, 27 Feb 2008 16:26:01 -0500From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Re: [PHP] Are these Truthful Proof about PHP ??CC

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

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

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 PH

RE: [PHP] SESSIOn when cookies are disabled

2008-03-07 Thread Bastien Koert
sant Day> Chetan. D. Rane> Location: India> Contact: > +91-9986057255> other ID: [EMAIL PROTECTED]> [EMAIL PROTECTED] pass the session id in the URL or add it as a hidden field Bastien _

Re: [PHP] WAMP servers

2008-03-27 Thread Bastien Koert
intainable install. And you learn to do this all yourself -- Bastien Cat, the other other white meat

Re: [PHP] munge / obfuscate ?

2008-03-27 Thread Bastien Koert
et/unsub.php > > The solution here is to store the images in a folder above the web root and then use a php page to read in the requested image ( a hash value should be sufficient (eg Click for image The show_image page can query the database for the true image name, read it in from the folder and pass it to the page hth -- Bastien Cat, the other other white meat

Re: [PHP] Re: Quick email address check

2008-03-27 Thread Bastien Koert
> > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > I have used this to good effect function isEmail($email) { if (eregi("^[a-z0-9]+([-_\.]?[a-z0-9])[EMAIL PROTECTED]([-_\.]?[a-z0-9])+\.[a-z]{2,4}",$email)) { return TRUE; } else { return FALSE; } }//end function -- Bastien Cat, the other other white meat

[PHP] Humour in Hotmail :OT

2008-04-21 Thread Bastien Koert
out much better, Thanks, -- Bastien Cat, the other other white meat

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread Bastien Koert
is where the component nature of the Zend framework is more appealing. I can pick and choose what I need without having the whole kit and kaboodle draining resources. Personally, I think the OO approach has relevance, but its not a panacea to cure all ills. And under the covers its procedural any ways. (Oh, that should raise some blood pressure ;-) ) Any way, my two cents. -- Bastien Cat, the other other white meat

Re: [PHP] Big companies that use PHP?

2008-04-23 Thread Bastien Koert
t; > > > Do any of you know? > > > > And what % of the web market share does PHP take? > > > > > > Thanks, > > Thiago Pojda > > Facebook, Wikimedia, Oracle, Yahoo are just a few -- Bastien Cat, the other other white meat

Re: [PHP] Large XML manipulation within PHP

2008-04-23 Thread Bastien Koert
address is not guaranteed to be read) > Can you chunk the data in any way, break it into smaller more managable peices? -- Bastien Cat, the other other white meat

Re: [PHP] peer review (was php framework vs just php?)

2008-04-25 Thread Bastien Koert
It will look for primary keys, adapt to place quotes only around the text elements, and fill in the default db values where needed. There is always room for improvement, but this really reduces the workload when working on pages that map to one table. You can copy the code generated from the scr

Re: [PHP] peer review (was php framework vs just php?)

2008-04-26 Thread Bastien Koert
On 4/26/08, Robert Cummings <[EMAIL PROTECTED]> wrote: > > Wow, that's umm hideous. > > Cheers, > Rob. > > > > yep, but i did say it was old > > -- > > Bastien > > Cat, the other other white meat

Re: [PHP] Replacing accented characters by non-accented characters

2008-05-14 Thread Bastien Koert
name in a db. Then when presenting the data to the user just show the user provided name as the folder name. This would also handle multiple users trying to use the same folder name for their stuff. -- Bastien Cat, the other other white meat

Re: [PHP] using variable in php form before the form is POSTed

2008-05-14 Thread Bastien Koert
.net/unsub.php > > You could get funky and send that data bit via AJAX to the server to be preprocessed. But likely handling the data bit as the first step on submission, is gonna be simpler and faster to do -- Bastien Cat, the other other white meat

Re: [PHP] Mic check 1, 2, 3...

2008-05-14 Thread Bastien Koert
gt; > If you don't receive this, please let me know. > > Cheers, > > tedd > > -- > --- > http://sperling.com http://ancientstones.com http://earthstones.com > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > check check -- Bastien Cat, the other other white meat

Re: [PHP] OT - Question about nested sortable lists

2008-05-16 Thread Bastien Koert
II, Scene V >by William Shakespeare > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Jim, You could make each element of the list its own div..then you could use the drag'n'drop tools -- Bastien Cat, the other other white meat

Re: [PHP] Semi-OT: PHP Login with client security

2008-05-19 Thread Bastien Koert
sound like a code failure, with error reporting turned off. While this is appropriate for a production machine, it can play havoc with the debugging if something is not set quite right. -- Bastien Cat, the other other white meat

Re: [PHP] array recursion from database rows

2008-05-24 Thread Bastien Koert
thru, when you hit an empty parent id field its a new parent and you could use the row id (or whaever) as the key and then keep adding the children until you hit a new (empty) parent id -- > > Bastien > > Cat, the other other white meat

Re: [PHP] Still need help with some kind of memory leak in my php database program. General hints for php would help

2008-05-25 Thread Bastien Koert
all of the real issues in the code performance are related to developers not understanding the true goal, or just not seeing the implications their decisions on the design. > > > Mary Anderson > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Bastien Cat, the other other white meat

Re: [PHP] Restricting access to a file

2008-05-28 Thread Bastien Koert
>> >> TIA, >> JC >> >> -- >> >> -- I usually place the documents in a folder above the web root so that it can not be acccessed directly through a url, then as Adam suggested, create a controller that will validate the user, read in the file and send it out to the user. Bastien Cat, the other other white meat

Re: [PHP] Embed images in emails

2008-05-29 Thread Bastien Koert
et/unsub.php > > You'll need to create a HTML email, and then embed the image with the tag, using the entire path to the image as the source attribute You may want to look at some email that you get that have images in them and just view the source. -- Bastien Cat, the other other white meat

Re: [PHP] going from procedural style to object orientated style coding

2008-05-30 Thread Bastien Koert
headfirst OO A&D http://www.amazon.com/Head-First-Object-Oriented-Analysis-Design/dp/0596008678/ref=pd_sim_b_img_4 PHP architects guide to PHP Design patterns http://www.amazon.com/PHP-Architects-Guide-Design-Patterns/dp/0973589825/ref=sr_1_3?ie=UTF8&s=books&qid=1212179213&sr=1-3 -- Bastien Cat, the other other white meat

Re: [PHP] PHP eg.

2008-05-31 Thread Bastien Koert
> defiantly this mailing list will provide me great help when ever I'll need. > I am so glad you are DEFINITELY defiant ;-) -- Bastien Cat, the other other white meat

Re: [PHP] slowness mystery

2008-06-04 Thread Bastien Koert
the client does not > request it each time. > Eric, How do I do that? I generally embed the js file in the html that gets sent down How can I set the expiry header? I know I can use php to send that header, but how when its as above? Is that an apache setting? Thanks, -- Bastien Cat, the other other white meat

Re: [PHP] spaces - not sure if this is a preg_match issue or a regexp issue

2008-06-07 Thread Bastien Koert
looks like this: >> >> begin 644 a nice photo.jpg >> >> with spaces in the filename, the script seems to stop looking after the >> "a", thinks this is just normal text in the message and doesn't decode the >> image. This results in the raw UUEncoded text showing up where the image >> should. >> >> I'm stumped. Any ideas? >> >> -Allen >> >> >> >> -- >> >> > > what about just writing a utility to manipulate the files names to remove spaces? -- Bastien Cat, the other other white meat

Re: [PHP] Imagick installation issue

2008-06-07 Thread Bastien Koert
; > undefined symbol: zend_hash_internal_pointer_reset_ex > > ... (and the list goes on) > > Any help would be appreciated. > > Thanks, > Mark > > > _ > It's easy to add contacts from Facebook and other social sites through > Windows Live™ Messenger. Learn how. > https://www.invite2messenger.net/im/?source=TXT_EML_WLH_LearnHow Have you tried restarting apache? its usually required if you've made changes -- Bastien Cat, the other other white meat

Re: [PHP] PHP compile

2008-06-09 Thread Bastien Koert
ent=firefox-a&rls=com.ubuntu%3Aen-US%3Aunofficial&hs=Tfi&q=PHP%3A+compile&btnG=Search > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > might want to look at roadsend as well http://www.roadsend.com/home/index.php?SMC=1&pageID=compiler -- Bastien Cat, the other other white meat

Re: [PHP] regular expression to find body text in mobile

2008-06-11 Thread Bastien Koert
? > >> I am using php. > > > > Mobile what? > > > > -- > > Richard Heyes > You want to search for text that is on a screen on a mobile device? PHP runs on the server, so it won't be able to manage that. Can you be more clear about the goal? Help us understand what you want to do. -- Bastien Cat, the other other white meat

Re: [PHP] Redirect after pdf / file download

2008-06-12 Thread Bastien Koert
ts to 3.html.. > > so where does the download happen ? in 3.html ? > > thx. > > yashesh > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Force the download thru a new window or a frame inside the main window. Then you can redirect the main window to where you need it -- Bastien Cat, the other other white meat

Re: [PHP] Re: Forum coded in PHP with mail and news gateway

2008-06-12 Thread Bastien Koert
eating >> > ^ > I don't think you'll have to search too far to find some old code with a > very high level of threat.. > > :p > > Col > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www

Re: [PHP] PHPMailer not working but Squirell mail works

2008-06-13 Thread Bastien Koert
gt; > -- > Shiplu > http://talk.cmyweb.net > Could be an authentication issue between PHP Mailer and the squirrelmail. -- Bastien Cat, the other other white meat

Re: [PHP] Re: why are passwords stored encrypted in databases even when thedatathey protect is stored in the same database?

2008-06-13 Thread Bastien Koert
the impact of a hacked password pretty > small. Which is a good thing :) > I would recommend, if you go this way, to add an expiry date to the > url/password combo. So for example you can only use that url/password combo > for 3 days before it expires, after that, you need a new combo. Doing it > this way (with server-generated passwords) you make sure that _if_ it were > ever to fall into hands-it-should-not-be-in, it won't be there for long. > > - Tul > > P.S. in other words, sounds fine to me :) > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > What I would consider here is to send a link to a specific access page with a new hash for each user requesting a file. That hash could point to a db record that has the file name and access grants for the file. then nothing is exposed and if you create the hash based on a time value it should be unique -- Bastien Cat, the other other white meat

Re: [PHP] Capture homepage screenshot

2008-06-13 Thread Bastien Koert
way to achieve this? without creating a > screen shot server. > > Thanks > Shiplu > http://talk.cmyweb.net/ > google php screen scraping tutorial for more solutions -- Bastien Cat, the other other white meat

Re: [PHP] Can I do in Drupal

2008-06-14 Thread Bastien Koert
ng Drupal? If yes then can you please suggest how to go.. > > thank you > yes, download drupal and install it -- Bastien Cat, the other other white meat

Re: [PHP] Strategy to protect images

2008-06-15 Thread Bastien Koert
>>> able viewing >>> them from the pages of the site. What's the best way of >>> doing it, or >>> something similar? Is there a common strategy using PHP? >>> Thank you for >>> any hint :-) >>> >>> >>> >> > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > No, the content type directive is only for the image -- Bastien Cat, the other other white meat

<    1   2   3   4   5   6   7   >