[PHP] php-general@lists.php.net, Tim-Hinnerk Heuer has invited you to open a Google mail account

2009-05-07 Thread Tim-Hinnerk Heuer
. --- Tim-Hinnerk Heuer has invited you to open a free Google Mail account. To accept this invitation and register for your account, visit http://mail.google.com/mail/a-f5f2afb0c7-9207f3d89b-bd8bac4aaf494e87 Once you create your account, Tim

[PHP] catching up

2009-04-16 Thread Tim | iHostNZ
ill have to fight a court case with the guy who owns me. i love diet coke or coke zero is even better. advertisement not intended. Cheers, Tim Tim-Hinnerk Heuer http://www.ihostnz.com Samuel Goldwynhttp://www.brainyquote.com/quotes/authors/s/samuel_goldwyn.html - A wide screen just makes a bad

Re: [PHP] mysql_real_escape_string(asdasddas) ??? wtf

2009-02-21 Thread Tim | iHostNZ
a trusted source. You guys are great! Faster with answers than i can search. Almost feel tempted not to search Nah i still search first. :-) Tim-Hinnerk Heuer http://www.ihostnz.com Emo Philips - I was the kid next door's imaginary friend. 2009/2/22 Robert Cummings rob...@interjinn.com On Sat

[PHP] mysql_real_escape_string(asdasddas) ??? wtf

2009-02-20 Thread Tim | iHostNZ
i'm working now... I can send you details of the server setup if required. Please let me know what as there are quite a few things... It's xampp on windows xp (testing/dev machine). Regards, Tim Tim-Hinnerk Heuer http://www.ihostnz.com P. J. O'Rourke - Everybody knows how to raise children

Re: [PHP] kadm5 Library

2009-02-05 Thread Tim Gustafson
the header from another OS, but I'm concerned about incompatibilities. For now, I'm just using the expect library and running kadmin.local via sudo as needed. It's clunky, but it's working. :) Thanks for all your help! Tim Gustafson BSOE Webmaster UC Santa Cruz t...@soe.ucsc.edu 831-459-5354 -- PHP

Re: [PHP] kadm5 Library

2009-01-30 Thread Tim Gustafson
repository somewhere that I could use to get a version of the PECL module precompiled for CentOS? I should point out that the Perl Kerberos module did install and compile successfully on this machine, so I'm fairly sure that Kerberos is itself working. Tim Gustafson BSOE Webmaster UC Santa Cruz t

[PHP] kadm5 Library

2009-01-29 Thread Tim Gustafson
help! Tim Gustafson BSOE Webmaster UC Santa Cruz t...@soe.ucsc.edu 831-459-5354 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: Adding extension to an existing PHP install

2009-01-12 Thread Tim Donnelly
I seem to recall reading something about Apache modules that you can do a configure, then make, but not the make install and just move the newly compiled module by hand. Is that possible with PHP? If so, where would the newly complied extension be, and where would it need to be moved? Thanks I

[PHP] Adding extension to an existing PHP install

2009-01-09 Thread Tim Donnelly
Hello list, I have a PHP (5.2.1) installation on an openSUSE 10.1 server. PHP was initially compiled from source and I have the original config.nice file, so I know what options were used. l need to add an extension to this running installation, specifically I need to add LDAP support.

Re: [PHP] Read Form values prior to submit?

2008-12-28 Thread Tim Rude
Thanks! I haven't played with javascript but it looks pretty straight-forward. I appreciate the samples. Tim Rude -- tedd tedd.sperl...@gmail.com wrote in message news:p06240817c57d610ba...@[192.168.1.101]... At 9:41 AM -0600 12/28/08, Tim Rude wrote: Using PHP, is there a way for me to read

[PHP] Missing namespaceURI after importNode()

2008-12-17 Thread Tim Lind
. Tim CODE SNIPPET: # ...$childNode exists previous to this point echo \n --- source node --- \n; echo $this-srcDocument-saveXML($childNode); var_dump($childNode-namespaceURI); # importing childnode into a new doc $newDoc = new DOMDocument(); $newRoot = $newDoc-importNode($childNode, true

[PHP] Re: Missing namespaceURI after importNode()

2008-12-17 Thread Tim Lind
Nathan Rixham wrote: Tim Lind wrote: Hi I am importing a node into a new document so that I can perform an XSL transformation on just that node. This works sometimes, however, I've come into the following problem, where the namespaceURI is there on the node but doesn't make it through

[PHP] Secure uploads tutorial

2008-12-16 Thread Tim Starling
I thought the list might be interested in a tutorial for secure web-based file uploads that I just wrote: http://tstarling.com/blog/2008/12/secure-web-uploads/ -- Tim Starling -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Secure uploads tutorial

2008-12-16 Thread Tim Starling
tedd wrote: At 11:45 PM +1100 12/16/08, Tim Starling wrote: I thought the list might be interested in a tutorial for secure web-based file uploads that I just wrote: http://tstarling.com/blog/2008/12/secure-web-uploads/ -- Tim Starling Tim: That's a good read -- thanks -- but it's more

Re: [PHP] Secure uploads tutorial

2008-12-16 Thread Tim Starling
, where that approach is not at all secure. The file command will tell you that the file is image/png, but IE 6 will detect it as text/html and run scripts in it. The ClamAV step is almost pointless. It does nothing to deter an attacker who is targeting your site specifically. -- Tim Starling

Re: [PHP] Good PHP book?

2008-12-14 Thread Tim | iHostNZ
The best book is php.net, if you already know a programming language ;-). Otherwise Ashley is probably right. I haven't read any books on php, got all the info off the web, but it's still my main language atm. Tim-Hinnerk Heuer http://www.ihostnz.com On Mon, Dec 15, 2008 at 11:33 AM, jeffery

Re: [PHP] Fwd: GD library for creating tables

2008-12-13 Thread Tim-Hinnerk Heuer
this generically and being as flexible as this. All you have to do is copy/paste the html code and put some php inbetween if you have a designed table with css and all that jazz. Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] foreach and destroying variables for memory saving

2008-12-10 Thread Tim | iHostNZ
if someone can answer this from the top of their head. Thanks for your patience. -- Tim-Hinnerk Heuer http://www.ihostnz.com

Re: [PHP] Can GD make a JPG thumbnail of a PDF?

2008-12-10 Thread Tim | iHostNZ
://www.ouradoptionblog.com *Join us on our adoption journey* [EMAIL PROTECTED] http://www.thelonecoder.com *Continuing the struggle against bad code* -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Tim-Hinnerk Heuer http://www.ihostnz.com

Re: [PHP] echo SESSION var doesn't work if unset after echo

2008-12-09 Thread Tim | iHostNZ
- GET - Ecomm: fooie ; unset Ecomm Browser - GET - Ecomm: [not set] If you are using Ajax and JS and whatnot, the probability of this being the culprit increases. :-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Tim-Hinnerk

Re: [PHP] array_intersect question

2008-12-02 Thread Tim | iHostNZ
, havent done much with these 'meta' functions. Regards, Tim On Tue, Dec 2, 2008 at 10:24 PM, Andrej Kastrin [EMAIL PROTECTED]wrote: Dear all, I have to perform an intersection on array of arrays. The fact is that php does not support intersection on multidimensional arrays. So, the first

Re: [PHP] stream_socket_accept() on an SSL socket

2008-12-02 Thread Tim | iHostNZ
?? Thanks for any help Darren -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Tim-Hinnerk Heuer http://www.ihostnz.com -- Web Design, Hosting and free Linux Support

RE: [PHP] Using DOM textContent Property

2008-09-10 Thread Tim Gustafson
, but complicated. I'm thinking regular expressions might be the way to go again. :\ Tim Gustafson SOE Webmaster UC Santa Cruz [EMAIL PROTECTED] 831-459-5354 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Using DOM textContent Property

2008-09-05 Thread Tim Gustafson
; } Then it echos foo! as expected. It just seems that none of the nodes in the tree are DOMText nodes. In fact, get_class($Element) returns DOMElement for every node in the tree. Tim Gustafson SOE Webmaster UC Santa Cruz [EMAIL PROTECTED] 831-459-5354 From

RE: [PHP] Using DOM textContent Property

2008-09-03 Thread Tim Gustafson
. That way, you need not create new nodes in your nodelist. I think that's the way I'm going to have to go, but I was really hoping not to. Thanks for the suggestion! Tim Gustafson SOE Webmaster UC Santa Cruz [EMAIL PROTECTED] 831-459-5354 -- PHP General Mailing List (http://www.php.net

[PHP] Using DOM textContent Property

2008-09-02 Thread Tim Gustafson
). But there doesn't appear to be any way to know if the textContent you've got is for just one node, or for a whole bunch of nodes. Is there any way to figure that out, so that I can adjust the textContent property of just the lowest-level nodes, rather than mucking up the higher-level ones? Tim

RE: [PHP] Using DOM textContent Property

2008-09-02 Thread Tim Gustafson
helpful, because, for example: h2a name=bar/aFoo/h2 returns two child nodes, neither of which has Foo for its textContent. Tim Gustafson SOE Webmaster UC Santa Cruz [EMAIL PROTECTED] 831-459-5354 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] pdo compilation question

2008-08-18 Thread Tim Rupp
hoping someone on the list can point me in the right direction. Thanks in advance, Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] segfault help

2008-06-27 Thread Tim Rupp
writable by the user that I'm running the script as. Any help would be appreciated. Thanks, Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] segfault help

2008-06-27 Thread Tim Rupp
On Fri, Jun 27, 2008 at 10:14 AM, Daniel Brown [EMAIL PROTECTED] wrote: On Fri, Jun 27, 2008 at 10:30 AM, Tim Rupp [EMAIL PROTECTED] wrote: Hi list, I'm getting a segfault when I run (what I assume) is a very simple script. I'm not sure if it's a php bug or a bug in the library I'm using

Re: [PHP] segfault help

2008-06-27 Thread Tim Rupp
On Fri, Jun 27, 2008 at 11:03 AM, Daniel Brown [EMAIL PROTECTED] wrote: On Fri, Jun 27, 2008 at 11:57 AM, Tim Rupp [EMAIL PROTECTED] wrote: ./configure --enable-force-cgi-redirect --enable-debug --disable-rpath --enable-inline-optimization --with-bz2 --with-db4=/usr --with-curl --with-gd

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

2008-05-21 Thread Tim Thorburn
if you simply don't have an answer beyond the standard your code is bad response. Tim

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

2008-05-19 Thread Tim Thorburn
Wolf wrote: Tim Thorburn [EMAIL PROTECTED] wrote: Hi all, Having a slight problem with a demo I gave at a clients last week - looking for a little advise. Part of my demo involved a password protected area - the simplified process is: client enters password on login page if login

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

2008-05-19 Thread Tim Thorburn
robert wrote: On May 18, 2008, at 10:14 PM, Tim Thorburn wrote: Hi all, Having a slight problem with a demo I gave at a clients last week - looking for a little advise. Part of my demo involved a password protected area - the simplified process is: client enters password on login page

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

2008-05-18 Thread Tim Thorburn
experience have any idea either a) what I would need to ask the IT person to allow for their site only, or b) have any suggestions for alternate password authentication that may work given the above conditions? TIA -Tim

[PHP] HELP !!!!! PHP SOAP Not building objects correctly

2008-05-16 Thread Tim Traver
) ) [customerType] = individual [billTo] = CustomerAddressType Object ( [firstName] = Tim [lastName] = Traver ) ) [validationMode] = none

Re: [PHP] HELP !!!!! PHP SOAP Not building objects correctly

2008-05-16 Thread Tim Traver
Nathan Nobbe wrote: On Fri, May 16, 2008 at 1:04 PM, Tim Traver [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi all, sorry for the cross post to the general PHP list as well as the SOAP PHP list, but I'm a little bit desperate... Ok, for some reason when I am sending

[PHP] setcookie

2008-03-12 Thread Tim Daff
appreciated. Tim

[PHP] setcookie

2008-03-12 Thread Tim Daff
Thank's for your help Zareef, Hiep, Shiplu and Jean-Christophe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP SOAP Client formats

2008-01-09 Thread Tim Traver
, and open a socket and send the text manually like I did to verify that the top one works, and the bottom one doesn't. Thanks, Tim.

Re: [PHP] PHP SOAP Client formats

2008-01-09 Thread Tim Traver
stuff in line with what the server expects. I want to use PHP's built in classes for this so I don't have to manually send xml to the api... Thanks, Tim. Bastien Koert wrote: XML is case sensitive. I notice the case of the xml is different. Try making the PHP created xml the same case

Re: [PHP] PHP SOAP Client formats

2008-01-09 Thread Tim Traver
Nathan Nobbe wrote: On Jan 9, 2008 10:45 PM, Tim Traver [EMAIL PROTECTED] wrote: Bastien, I want to use PHP's built in classes for this so I don't have to manually send xml to the api... writing the xml by hand would be madness... i didnt want to spend all night screwing around w

Re: [PHP] Re: how to detect type of image

2007-04-28 Thread Tim
because it only gets the file type. getimagesize does also get the width/height, MIME type, etc. I think getimagesize depends on exif_imagetype and will work even if exif is disabled, but I am not sure. Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

RE: [PHP] Session with microtime

2007-04-21 Thread Tim
the $_SESSION's. I moved the login script to the middle of the session_start() and the if( ). snip Am I the only one that uses 'session.auto_start = 1'? It saves me from worrying about that type of problem. I like control over what goes on ;) Tim -- PHP General Mailing List (http

RE: [PHP] should I be looking to eliminate all notices?

2007-04-21 Thread Tim
debugging (yup their are a lot of people who have scripts that work but don't really know why! ) Regards, Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Preventing SQL Injection/ Cross Site Scripting

2007-04-21 Thread Tim
of escaping certain data, i only allow certain data, that i consider safe for display on a web site.. I recommend you dig deeper into that xss page you might even find a script that filters xss.. You might even be able to modify it to suit your needs and/or to harden/better it... Regards, Tim -- PHP

RE: [PHP] isset

2007-04-17 Thread Tim
you all seem to know so much about, it is very interesting and i'd like to add it to some of my late night reading if possible :) Regards, Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-17 Thread Tim
-Message d'origine- De : Jochem Maas [mailto:[EMAIL PROTECTED] Envoyé : mardi 17 avril 2007 16:19 À : [EMAIL PROTECTED] Cc : Robert Cummings; Tim; 'Jarrel Cobb'; 'tedd'; php-general@lists.php.net Objet : Re: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer! Richard

RE: [PHP] auto page generation

2007-04-16 Thread Tim
Applications with PHP and MySQL However, that's a minor fraction of the php, mysql, javascript, and other books I've purchased to do what you're wanting to do. It might be cheaper and quicker to hire one of us. Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

RE: [PHP] Saving css state in javascript and passing to php via form submit

2007-04-16 Thread Tim
to look at www.tizag.com, there it is really easy explained. It's nothing more then making new request to scripts inside javascript. Was a great idea and also works great until the moment i needed to upload images :P You have a suggestion for that by any chance Tijnema? Regards, Tim -- PHP

TR: [PHP] auto page generation

2007-04-16 Thread Tim
tim says: forwarding to list as was sent to me directly: Thanks everyone, I'll look into all of this. I'm trying to learn all of this since I'm starting school next semester for Computer programming and am trying to get some understanding of the concepts by building web pages. If anyone

RE: [PHP] Re: header('Location:') works locally but not remotely

2007-04-16 Thread Tim
() to make an absolute URI from a relative one yourself /php.net Could this be your issue? I always use full URI for header('location: Regards, Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: header('Location:') works locally but not remotely

2007-04-16 Thread Tim
-Message d'origine- De : Tim [mailto:[EMAIL PROTECTED] Envoyé : lundi 16 avril 2007 19:54 À : 'Ross'; php-general@lists.php.net Objet : RE: [PHP] Re: header('Location:') works locally but not remotely -Message d'origine- De : Ross [mailto:[EMAIL PROTECTED

RE: [PHP] isset

2007-04-16 Thread Tim Earl
, shoot newbies in the toes functions. But then I guess to each their own :) What about in the following context? $arr = array(); If (!empty($arr)) { } This is where i have found it to be the most usefull... tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

RE: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-13 Thread Tim
? Can't we tone it down in here where their is some resemblance of peace? ;) Regards, Tim -Message d'origine- De : Jarrel Cobb [mailto:[EMAIL PROTECTED] Envoyé : vendredi 13 avril 2007 15:24 À : Robert Cummings Cc : tedd; [EMAIL PROTECTED]; Jochem Maas; [EMAIL PROTECTED] Objet

RE: [PHP] IE6 PHP

2007-04-13 Thread Tim
a float:left style and see what happens... Also what is that br doing there? Could you give more code onhow you are generating this thumbnail table? Regards, Tim Funny, you mentionned you css problem in the middle of a css shitstorm here :P -- PHP General Mailing List (http://www.php.net

RE: [PHP] IE6 PHP

2007-04-13 Thread Tim
Oh and if it really is a pure css problem try a css list ;) -Message d'origine- De : elk dolk [mailto:[EMAIL PROTECTED] Envoyé : vendredi 13 avril 2007 16:16 À : [EMAIL PROTECTED] Objet : [PHP] IE6 PHP Hi all, I have a bunch of thumbnail images that link to larger versions

RE: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-13 Thread Tim
-Message d'origine- De : Jochem Maas [mailto:[EMAIL PROTECTED] Envoyé : vendredi 13 avril 2007 16:32 À : Tim Cc : 'Jarrel Cobb'; 'Robert Cummings'; 'tedd'; [EMAIL PROTECTED]; [EMAIL PROTECTED] Objet : Re: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer! Tim wrote

RE: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer!

2007-04-13 Thread Tim
-Message d'origine- De : tedd [mailto:[EMAIL PROTECTED] Envoyé : vendredi 13 avril 2007 16:37 À : Tim; 'Jarrel Cobb'; 'Robert Cummings' Cc : 'tedd'; [EMAIL PROTECTED]; 'Jochem Maas'; [EMAIL PROTECTED] Objet : RE: [PHP] WWE in Stamford, CT needs a kick ass PHP Developer! At 4

RE: [PHP] PHP editor

2007-04-13 Thread Tim
$file_content/textareabr /'; $content .= 'input type=submit value=Save /'; $content .= '/formbr /br /'; ? There is now :P Regards, Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP editor

2007-04-13 Thread Tim
-Message d'origine- De : Tim [mailto:[EMAIL PROTECTED] Envoyé : vendredi 13 avril 2007 18:19 À : 'Philip Thompson'; 'php General List' Objet : RE: [PHP] PHP editor -Message d'origine- De : Philip Thompson [mailto:[EMAIL PROTECTED] Envoyé : vendredi 13 avril

RE: [PHP] Session Authentication

2007-04-12 Thread Tim Earl
are authenticated on. It's quite suprising how it just logs in without credentials ;) Regards, Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Session Authentication

2007-04-12 Thread Tim Earl
shoot my websites while under developpment... Really the way to securing web application is learning to hack them or learning what hacks are possible.. And stop feeling superior sir! Regards, Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php5 oop question

2007-04-12 Thread Tim Stiles
Post values from a form and get back a simple pass/fail response for each. A bit of work to set up initially, but once the system is built, it's pretty elegant. Tim Stiles Icomex.com, DallasPHP.org On Apr 12, 2007, at 1:29 AM, Paul Scott wrote: On Wed, 2007-04-11 at 23:22 -0700, Jim

Re: [PHP] php5 oop question

2007-04-12 Thread Tim Stiles
, but they probably shouldn't change your day to day practices. As with most techniques, it becomes a matter of knowing when to apply this particular tool. Tim Stiles, WatchMaker, Icomex.com DallasPHP.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

RE: [PHP] Saving css state in javascript and passing to php via form submit

2007-04-03 Thread Tim
with your input i oppted for this list ;) Tim -Message d'origine- De : Richard Lynch [mailto:[EMAIL PROTECTED] Envoyé : dimanche 1 avril 2007 07:39 À : Tim Cc : php-general@lists.php.net Objet : Re: [PHP] Saving css state in javascript and passing to php via form submit On Fri

[PHP] Saving css state in javascript and passing to php via form submit

2007-03-30 Thread Tim
: javascript-php. Regards, Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Saving css state in javascript and passing to php via form submit

2007-03-30 Thread Tim
-Message d'origine- De : Tijnema ! [mailto:[EMAIL PROTECTED] Envoyé : vendredi 30 mars 2007 16:56 À : Tim Cc : php-general@lists.php.net Objet : Re: [PHP] Saving css state in javascript and passing to php via form submit On 3/30/07, Tim [EMAIL PROTECTED] wrote: Hello all

RE: [PHP] Saving css state in javascript and passing to php via form submit

2007-03-30 Thread Tim
-Message d'origine- De : Tijnema ! [mailto:[EMAIL PROTECTED] Envoyé : vendredi 30 mars 2007 17:06 À : Tim Cc : php-general@lists.php.net Objet : Re: [PHP] Saving css state in javascript and passing to php via form submit On 3/30/07, Tim [EMAIL PROTECTED] wrote

RE: [PHP] Saving css state in javascript and passing to php via form submit

2007-03-30 Thread Tim
framework i would like to, i still havent quite understood the whole concept, not enough research yet, but yes i'll be doing that next ;) (you know deadlines, can't sit and read docs all day etc.. Although i'd rather!) ;) Regards, Tim Really, it's

RE: [PHP] Saving css state in javascript and passing to php via form submit

2007-03-30 Thread Tim
the current state :P Regards, Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: combine empty and trim

2007-03-26 Thread Tim
Ross schrieb: I want to trim any whitepace and check if it is empty in the same line this is not working. if (empty(trim($_POST['_createcategory']))) { Hi, try this: if (isset($_POST['_createcategory'])) { $value = trim($_POST['_createcategory']); if (empty($value)) { } } -- PHP

Re: [PHP] Re: combine empty and trim

2007-03-26 Thread Tim
Richard Davey schrieb: Tim wrote: Ross schrieb: I want to trim any whitepace and check if it is empty in the same line this is not working. if (empty(trim($_POST['_createcategory']))) { Hi, try this: if (isset($_POST['_createcategory'])) { $value = trim($_POST['_createcategory

[PHP] Re: short open tags not working even if enabled - lighttpd + fastcgi

2007-03-26 Thread Tim
Hi, maybe it's because of the whitespace after the ?. Try this: ?=$_SERVER['PHP_SELF']; ? Best regards, Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: question regarding form filtering

2007-03-15 Thread Tim
-Message d'origine- De : Richard Lynch [mailto:[EMAIL PROTECTED] Envoyé : mercredi 14 mars 2007 23:45 À : Tim Cc : 'Haydar Tuna'; php-general@lists.php.net Objet : RE: [PHP] Re: question regarding form filtering On Wed, March 14, 2007 9:07 am, Tim wrote: You almost for sure

RE: [PHP] Re: question regarding form filtering

2007-03-14 Thread Tim
-Message d'origine- De : Richard Lynch [mailto:[EMAIL PROTECTED] Envoyé : mercredi 14 mars 2007 09:48 À : Tim Cc : 'Haydar Tuna'; php-general@lists.php.net Objet : RE: [PHP] Re: question regarding form filtering I personally would not presume that PHP and JS regex patterns

RE: [PHP] cannot load mysql extension - PHP Installation on Vista/Apache

2007-03-14 Thread Tim
for himself ... the reasoning behind ... and not just the answer. Those are the sort of people that will learn ... (Rhino) - y'all know who he is ;) Regards, Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Referring URL Authentication

2007-03-14 Thread Tim
, to certain domains.. Regards, Tim Programming is a race between people making better and faster programs and the universe making bigger and dumber people. So far the universe is winning -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] cannot load mysql extension - PHP Installation on Vista/Apache

2007-03-14 Thread Tim
-Message d'origine- De : Rahul Sitaram Johari [mailto:[EMAIL PROTECTED] Envoyé : mercredi 14 mars 2007 16:48 À : Tim; PHP Objet : Re: [PHP] cannot load mysql extension - PHP Installation on Vista/Apache Ave, Well good words there, I'm not gonna argue with you

[PHP] $_POST array order

2007-03-14 Thread Tim
be the submit element (it is always last in form)? I would like to array_pop($_POST) to get rid of that last element for various reasons (validation scheme) later on.. Regards, Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: question regarding form filtering

2007-03-13 Thread Tim
filling the form? Am stumped, can't seem to find the real reason... Regards, Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: Question on virus/worms

2007-03-03 Thread Tim
secure and live with it, someday it will bite you when you least expect it.. Make it a part of your everyday work to constantly reduce the risk of unwanted intrusions.. Regards, Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: how to display images stored in DB

2007-03-02 Thread Tim
I highly recommend a dark ale or two to bring down the core temperature :) Amen! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] ID problem

2007-02-28 Thread Tim
-Message d'origine- De : Delta Storm [mailto:[EMAIL PROTECTED] Envoyé : mercredi 28 février 2007 10:24 À : php-general@lists.php.net Objet : [PHP] ID problem Hi, I'm building an CMS system (for practice and experience :)). And of course like many times before I have

RE: [PHP] ID problem

2007-02-28 Thread Tim
-Message d'origine- De : tedd [mailto:[EMAIL PROTECTED] Envoyé : mercredi 28 février 2007 15:54 À : Delta Storm; php-general@lists.php.net Objet : Re: [PHP] ID problem At 10:24 AM +0100 2/28/07, Delta Storm wrote: The problem is: I have a index.php that takes the news from

RE: [PHP] Re: Securing user table with sha function

2007-02-21 Thread Tim
based on whats known to be one of the best ways. Once again thanks for your input, it's my call now :D Tim -Message d'origine- De : Haydar Tuna [mailto:[EMAIL PROTECTED] Envoyé : mercredi 21 février 2007 07:15 À : php-general@lists.php.net Objet : Re: [PHP] Re: Securing user table

RE: [PHP] Re: Securing user table with sha function

2007-02-20 Thread Tim
or her password, you can send email to the user when the user answer password protected question. -- Haydar TUNA Republic Of Turkey - Ministry of National Education Education Technology Department Ankara / TURKEY Web: http://www.haydartuna.net Tim [EMAIL PROTECTED] wrote

RE: [PHP] Re: Securing user table with sha function

2007-02-20 Thread Tim
-Message d'origine- De : Fergus Gibson [mailto:[EMAIL PROTECTED] Envoyé : lundi 19 février 2007 12:01 À : php-general@lists.php.net Objet : [PHP] Re: Securing user table with sha function Tim wrote: Now moving on into other aspects of security :P I was thinking of a way

RE: [PHP] Re: Securing user table with sha function

2007-02-19 Thread Tim
']) . '\''; Well was just an idea, i'll try it, doesn't seem to interest many people, that's ok keep using the classic method ;P Regards, Tim -- Haydar TUNA Republic Of Turkey - Ministry of National Education Education Technology Department Ankara / TURKEY Web: http://www.haydartuna.net Tim [EMAIL

[PHP] Securing user table with sha function

2007-02-17 Thread Tim
even though it may slow down logins a tad but the tight security in my opinion justifies this.. Does anyone see an ugly flaw in this scheme? Does it look viable? Thanks for any input, Regards, Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Unable to compile php 5.2.1 on Intel Macbook

2007-02-16 Thread Tim Visher
Hello all, I can't compile php 5.2.1. I don't exactly know where the error starts or begins so I'm just going to post the whole thing: gcc -I/usr/include -g -O2 -L/usr/local/mysql/lib -L/usr/local/mysql/lib ext/libxml/libxml.o ext/pcre/pcrelib/pcre_chartables.o

[PHP] Deny processing of non included files

2007-02-15 Thread Tim
... Regards, Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Deny processing of non included files

2007-02-15 Thread Tim
-Message d'origine- De : Jon Anderson [mailto:[EMAIL PROTECTED] Envoyé : jeudi 15 février 2007 17:11 À : Tim Cc : 'php-general' Objet : Re: [PHP] Deny processing of non included files Easy answer: deny access to them. Use your web server to prevent execution of the files

RE: [PHP] Deny processing of non included files

2007-02-15 Thread Tim
, and not needing to worry about that test.php file that got forgotten during dev or something, or even a user uploading a $.php file i dont want him to execute.. Thanks guys, Regards, Tim -Message d'origine- De : Jon Anderson [mailto:[EMAIL PROTECTED] Envoyé : jeudi 15 février 2007 17:11 À

RE: [PHP] Banner rotation with links

2007-02-14 Thread Tim
, there's always an answer ;) Regards, Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Banner rotation with links

2007-02-14 Thread Tim
... http://www.phpadsnew.com/ -Brad Yeah, maybe their should be an alternate list for Where can i find the app for me to do this queries :D Regards, Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Retrieve value of newly inserted row.

2007-02-14 Thread Tim
-Message d'origine- De : Dan Shirah [mailto:[EMAIL PROTECTED] Envoyé : mercredi 14 février 2007 19:20 À : php-general Objet : [PHP] Retrieve value of newly inserted row. Hello, I have a page the contains two insert statements. $insert1 = INSERT INTO table1 (

RE: [PHP] Retrieve value of newly inserted row.

2007-02-14 Thread Tim
-Message d'origine- De : Tim [mailto:[EMAIL PROTECTED] Envoyé : mercredi 14 février 2007 19:28 À : 'Dan Shirah'; 'php-general' Objet : RE: [PHP] Retrieve value of newly inserted row. -Message d'origine- De : Dan Shirah [mailto:[EMAIL PROTECTED] Envoyé : mercredi

RE: [PHP] round to nearest 500?

2007-02-13 Thread Tim
snip Supposedly this is an accounting trick that ultimatley works out in the end for proper rounding of money values. Yeah works out for who? Bet it doesn't for the guy paying :P -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] round to nearest 500?

2007-02-12 Thread Tim
-Message d'origine- De : Robert Cummings [mailto:[EMAIL PROTECTED] Envoyé : lundi 12 février 2007 18:00 À : blackwater dev Cc : php-general@lists.php.net Objet : Re: [PHP] round to nearest 500? On Mon, 2007-02-12 at 11:52 -0500, blackwater dev wrote: Is there an easy way in

<    1   2   3   4   5   6   7   8   9   10   >