[PHP] Re: A really wacky design decision

2009-10-03 Thread Ralph Deffke
u increment after! asigning, so far so good, but for math reasons the interpreter has to keep in mind the 123 you want to assign before increment to the same var. this is absolutely correct what php does here. $num = ++$num; would print 124 the same like $num++; on the other hand this is just

Re: [PHP] Re: A really wacky design decision

2009-10-03 Thread Ralph Deffke
yes for using $num = $num++; yes !! Ashley Sheridan a...@ashleysheridan.co.uk wrote in message news:1254577641.2385.7.ca...@localhost... On Sat, 2009-10-03 at 15:33 +0200, Ralph Deffke wrote: u increment after! asigning, so far so good, but for math reasons the interpreter has to keep

Re: [PHP] Re: A really wacky design decision

2009-10-03 Thread Ralph Deffke
this is a clear sign that somebody is on a sin TRAIL, I would not even spend the time on what sin collections this guy got Ashley Sheridan a...@ashleysheridan.co.uk wrote in message news:1254577986.2385.8.ca...@localhost... On Sat, 2009-10-03 at 15:46 +0200, Ralph Deffke wrote: yes for using

Re: [PHP] Whacky increment/assignment logic with $foo++ vs ++$foo

2009-10-03 Thread Ralph Deffke
Ben, might be intersting to consider that in ur c axample u r working with a pure memory position, while php works with references. thry it with pointers it I'm pretty shure u get the same result as in PHP. I'm not shure, because I don't work in perl, but doesn't per work on references as well ?

Re: [PHP] Where's my memory going?!

2009-09-30 Thread Ralph Deffke
the best way to clean up after yourself. And you really should use that on anything you have sitting around daemon like. Jeff Philip Thompson wrote: On Sep 28, 2009, at 4:27 PM, Ralph Deffke wrote: well this sound clearly to me like you are not freeing resultsets you

[PHP] Re: turning off a E_STRICT or fix for a bad coding habit

2009-09-27 Thread Ralph Deffke
Hi Viraj, well from the viewpoint of the PHP developers, it depends if u allow to extend a class before it is been declared. If it is allowed that way, then yes you are right none of the sniped should create an error. If u study the bug report, u will see that the class is extended before it is

Re: [PHP] Re: Does anyone here use TCPDF?

2009-09-24 Thread Ralph Deffke
... Ralph, Paul, Thank you for responding. I don't use TCPDF; I use FPDF, but I imagine the drill is about the same I tried using FPDF, but it did not support UTF-8/Japanese. It claims some support in the documentation, but after much experimentation, I verified it does not. That is why I

Re: [PHP] Re: session.gc_maxlifetime

2009-09-24 Thread Ralph Deffke
php not but perhaps the client its not clear and commonly defined what clients do with cookies on reconnect and stuff or long idle times. I would expect as source the new browsers where more and more users use subwindows to have concurrent sessions, does anybody know how they handle ip changes?

[PHP] Re: NULLS vs Empty result in PHP

2009-09-23 Thread Ralph Deffke
using empty() is ´the right way to check a var for NULL or however, it also depends what MySQL has got as setuo definition for empty fields. on textfields u can define an epmty string as default. ralph_def...@yahoo.de Dan Shirah mrsqua...@gmail.com wrote in message

Re: [PHP] Re: session.gc_maxlifetime

2009-09-23 Thread Ralph Deffke
a custom handler instead? On 9/22/09 4:46 PM, Ralph Deffke ralph_def...@yahoo.de wrote: Hi Tom, in sometimes 2001 I did have incidences with those things, and as I remember over the past years there where some trouble with operating systems and stuff. This part is very deep inside the os

[PHP] Re: session.gc_maxlifetime

2009-09-22 Thread Ralph Deffke
Hi Tom, i did find this in the bug reports, its pretty new and should be an answer. http://news.php.net/php.doc.bugs/2653 ralph_def...@yahoo.de Tom Worster f...@thefsb.org wrote in message news:c6de9eee.12c8d%...@thefsb.org... i'm not 100% sure what the manual means when it says...

[PHP] Re: session.gc_maxlifetime

2009-09-22 Thread Ralph Deffke
I forgot to mention, that this doesn't mean, you can not read data after this timeout or that a session does ALWAYS die after this timeout. I would assume, that the server has to have a reason to run garbage clean up. If the server is not running a clean up, I would expect the session would excist

Re: [PHP] Re: session.gc_maxlifetime

2009-09-22 Thread Ralph Deffke
did investigate on this. ralph_def...@yahoo.de Tom Worster f...@thefsb.org wrote in message news:c6deae55.12cae%...@thefsb.org... thank you, Ralph! i'm going to be bold and assume that tom at punkave dot com is right despite that the report was discarded. i got a complaint from a client

[PHP] Re: Best Practice to Create Dynamic URL's- With Username

2009-09-21 Thread Ralph Deffke
be aware if you do not have full control of your server setup, this type of parameter handling is not possible on most shared hostings. however url encoded it is never a problem. so be clear where yout page will be hosted. ralph_def...@yahoo.de Gaurav Kumar kumargauravjuke...@gmail.com wrote in

[PHP] Re: Touch screen programming help

2009-09-21 Thread Ralph Deffke
well, I would say a touch screen usualy is just another 'pointing device' like the mouse is. it depends on the operating system and the driver setup for it. then u simply can use any browser and just adjust the pointing receiving elements like buttons and links a bit bigger and with images rather

[PHP] Re: Creating file name with $variable

2009-09-20 Thread Ralph Deffke
Hi Haig, it would be better if u tell us what purpose u want to solf with this approuch. Its hard to understand for a prov why u want to create a filename .php .php files are scrips containing functions or classes, called/instantinated with parameters. why the hell u want to create a filename

[PHP] Re: Does anyone here use TCPDF?

2009-09-19 Thread Ralph Deffke
have a look in the archive of this list. there is a topic writing japanese test in an excisting pdf its of 31. of August, this should helph u ralph_def...@yahoo.de Dave M G mar...@autotelic.com wrote in message news:4ab3ca5c.3050...@autotelic.com... PHP List, I posted this question on the

[PHP] Re: PHP Header issue

2009-09-18 Thread Ralph Deffke
sorry man, but no blancs etc. means NOTHING should be send before the header it should look like this: ?php header(Location: advertise2.php); ? here u can do ur html not one! single char incl. space should be outputted before the header e.g. before the php open tag.

Re: [PHP] ie6 memory could not be read help!

2009-09-17 Thread Ralph Deffke
Yes, there is A LOT. to make u aware that this is the last version be able to run under windows 2000. windows 2000 however is the last professional version of windows made by microsoft. I don't know any bigger company using other os. All banks, stock traders (wall street etc.) are still using 2k.

[PHP] Re: file_put_contents problem

2009-09-14 Thread Ralph Deffke
it would be interesting on what os u are working as well. did u try to open the file? on windows often a file is reported as 0 bytes as of failing the refresh in explorer. ralph_def...@yahoo.de Andres Gonzalez and...@packetstorm.com wrote in message news:4aae510e.8030...@packetstorm.com... I

Re: [PHP] get an object property

2009-09-12 Thread Ralph Deffke
echo a()['q']; // isn't? because this is simply not valid syntax for the INTERPRETER PHP while this echo o()-q; can be interpreted because of the design of the interpreter. I can live with that. ralph_def...@yahoo.de Tom Worster f...@thefsb.org wrote in message

Re: [PHP] Creating alphanumeric id for a table

2009-09-11 Thread Ralph Deffke
I agree that this question could be just how to create an unique ID with leading letters like 'AAA'. At that point I want to mention that a timestamp does garanty a unique number at almost 100% formated with the given samples in the other posts will do the job. tedd tedd.sperl...@gmail.com wrote

Re: [PHP] XML. Prevent from turning into lt;

2009-09-09 Thread Ralph Deffke
give it a try with PDATA instead of CDATA and see what happns Ashley Sheridan a...@ashleysheridan.co.uk wrote in message news:1252512252.2961.40.ca...@localhost... On Wed, 2009-09-09 at 16:51 +0100, Matthew Croud wrote: On 9 Sep 2009, at 16:37, Ashley Sheridan wrote: On Wed, 2009-09-09

[PHP] how to strip empty lines out of a txt using preg_replace()

2009-09-04 Thread Ralph Deffke
Hi all, I'm a bit under stress, maybe somebody knows the regex on a snap. using PHP_EOL would be great. thanks ralph_def...@yahoo.de -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] how to strip empty lines out of a txt using preg_replace()

2009-09-04 Thread Ralph Deffke
ok preg_replace( /^\s*$/m, , $somestring) does not take empty lines out Ashley Sheridan a...@ashleysheridan.co.uk wrote in message news:1252069539.24700.150.ca...@localhost... On Fri, 2009-09-04 at 14:58 +0200, Ralph Deffke wrote: Hi all, I'm a bit under stress, maybe somebody knows the regex

Re: [PHP] how to strip empty lines out of a txt using preg_replace()

2009-09-04 Thread Ralph Deffke
have Ashley Sheridan a...@ashleysheridan.co.uk wrote in message news:1252071327.24700.152.ca...@localhost... On Fri, 2009-09-04 at 15:28 +0200, Ralph Deffke wrote: ok preg_replace( /^\s*$/m, , $somestring) does not take empty lines out Ashley Sheridan a...@ashleysheridan.co.uk wrote

Re: [PHP] how to strip empty lines out of a txt using preg_replace()

2009-09-04 Thread Ralph Deffke
I'm working on DTD's Ashley Sheridan a...@ashleysheridan.co.uk wrote in message news:1252071932.24700.153.ca...@localhost... On Fri, 2009-09-04 at 15:37 +0200, Ralph Deffke wrote: the problem is some have got \t\n some are just \n\n\n using PHP_EOL is a must I thing must

Re: [PHP] how to strip empty lines out of a txt using preg_replace()

2009-09-04 Thread Ralph Deffke
this works $dtd = preg_replace( /\n+/, \n, $dtd); Martin Scotta martinsco...@gmail.com wrote in message news:6445d94e0909040653i44716f79m972f11055599...@mail.gmail.com... On Fri, Sep 4, 2009 at 10:37 AM, Ralph Deffke ralph_def...@yahoo.de wrote: the problem is some have got \t\n some

Re: [PHP] how to strip empty lines out of a txt using preg_replace()

2009-09-04 Thread Ralph Deffke
not reach prce as '\n' hehe Martin Scotta martinsco...@gmail.com wrote in message news:6445d94e0909040653i44716f79m972f11055599...@mail.gmail.com... On Fri, Sep 4, 2009 at 10:37 AM, Ralph Deffke ralph_def...@yahoo.de wrote: the problem is some have got \t\n some are just \n\n\n

Re: [PHP] Reading remote files

2009-09-01 Thread Ralph Deffke
I think, this also depends on the oprating system. I would say that any development team would avoid loading file type data into fast memory. These problems are all over applications. From the PHP point of view, it could mean that file data have to be read into memory, but it could not mean that

[PHP] Re: windows 5.2.10 PHP not working with phpinfo

2009-08-30 Thread Ralph Deffke
use wamp 2 !! http://www.wampserver.com/ no easier way under windows ralph_def...@yahoo.de Fred Silsbee fredsils...@yahoo.com wrote in message news:43633.64942...@web59909.mail.ac4.yahoo.com... I got 5.3 working but found out there was no php_mssql.dll for it. Somebody (who didn;t know) said I

Re: [PHP] File Open Prompt?

2009-08-29 Thread Ralph Deffke
are u shure, u dont send anything out before u send the headers? even one space would be too much. ralph_def...@yahoo.de Dan Shirah mrsqua...@gmail.com wrote in message news:a16da1ff0908281328k641ea332v25d887c4de5b3...@mail.gmail.com... You will need to add some headers to the page to popup

Re: [PHP] File Open Prompt?

2009-08-29 Thread Ralph Deffke
even the .tif is valid or not, the file should be downloaded Ashley Sheridan a...@ashleysheridan.co.uk wrote in message news:1251530173.27899.135.ca...@localhost... On Sat, 2009-08-29 at 09:03 +0200, Ralph Deffke wrote: are u shure, u dont send anything out before u send the headers? even one

[PHP] Re: PHP Crash in file_get_contents

2009-08-29 Thread Ralph Deffke
on a regulary base I read the docs even on functions I know, I just read about the funstion u use and the doc says this: Note: If you're opening a URI with special characters, such as spaces, you need to encode the URI with urlencode(). did u try to avoid the problem by using urlencode ? just a

[PHP] Re: parse_ini_file problem

2009-08-27 Thread Ralph Deffke
Is it that some code, creating this error u talking about, is reading the init file? I would guess so, to me it looks like if u open the file dirctly the scrupt is suppost to die. that seems like a little funny protection not no show the init parameters. if thats the case u got to send the code

Re: [PHP] wierd behavior on parsing css with no php included

2009-08-25 Thread Ralph Deffke
in message news:4a923946.3020...@cmsws.com... Ralph Deffke wrote: Hi folks, i did post this also on the Wamp page but maybe someone out there had to solve that problem as well. systems involved Firefox 3.0.13 Firefox 3.5.2 IE 6 Wamp: apache 2.2.11 PHP 5.2.9 php 5.3 I

[PHP] Re: unset() something that doesn't exist

2009-08-25 Thread Ralph Deffke
yes it does on my machine and it makes sence since it is not a function its a language construct. cheers ralph_def...@yahoo.de Shawn McKenzie nos...@mckenzies.net wrote in message news:4a935c42.2010...@mckenzies.net... Ralph Deffke wrote: causes an error Parse error: parse error, expecting

Re: [PHP] Re: unset() something that doesn't exist

2009-08-25 Thread Ralph Deffke
of course its a syntax error, because unset() IS NOT A FUNCTION its a language construct ralph Stuart stut...@gmail.com wrote in message news:a5f019de0908250201g14e4b61cn73c6cd67da6f...@mail.gmail.com... 2009/8/25 Ralph Deffke ralph_def...@yahoo.de: causes an error Parse error: parse error

Re: [PHP] anchor inside form

2009-08-25 Thread Ralph Deffke
may be u can use this a href=urpage.php?var1=somethingvar2=something cheers ralph_def...@yahoo.de leledumbo leledumbo_c...@yahoo.co.id wrote in message news:25131146.p...@talk.nabble.com... Why not just use another submit button? Because it's actually an entry in a tree-like menu. I

[PHP] Re: Directory Listing

2009-08-25 Thread Ralph Deffke
I would say foreach( $dirTree as $key = $value ){ echo $key .br; foreach( $value as $v){ echo $v .br; } } something like that ralph_def...@yahoo.de Tom Chubb tomch...@gmail.com wrote in message news:4577934f0908250241i195dc691x3f8c552e72791...@mail.gmail.com... Hi gang, I'm

Re: [PHP] Re: unset() something that doesn't exist

2009-08-25 Thread Ralph Deffke
in message news:a5f019de0908250344y17c96d5eqc5cedd944e1f7...@mail.gmail.com... 2009/8/25 Ralph Deffke ralph_def...@yahoo.de: of course its a syntax error, because unset() IS NOT A FUNCTION its a language construct FFS, stop talking out of your rear end and post line 42 of testCrapp6.php

Re: [PHP] Re: unset() something that doesn't exist

2009-08-25 Thread Ralph Deffke
wrote in message news:c6b93df9.114fa%...@thefsb.org... On 8/25/09 5:00 AM, Ralph Deffke ralph_def...@yahoo.de wrote: of course its a syntax error, because unset() IS NOT A FUNCTION its a language construct that's hard to believe. i can't imagine how the compiler could reliably predict

[PHP] unset( $anobject) does not invoce __destruct()

2009-08-24 Thread Ralph Deffke
but it should? shouldn't it how can I destroy a class instance invocing __detruct() of the class ?!?!? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] wierd behavior on parsing css with no php included

2009-08-24 Thread Ralph Deffke
perfect, thats what I was looking for, great thanks ralph Jim Lucas li...@cmsws.com wrote in message news:4a923946.3020...@cmsws.com... Ralph Deffke wrote: Hi folks, i did post this also on the Wamp page but maybe someone out there had to solve that problem as well. systems involved

Re: [PHP] unset( $anobject) does not invoce __destruct()

2009-08-24 Thread Ralph Deffke
that is correct and that is the problem, and even that is not all !!! try this ?php abstract class a { public function __construct(){ echo constructingbr; } public function __detruct(){ echo destructingbr; } } class b extends a{ } $c = new b(); unset( $c ); ? the

Re: [PHP] unset( $anobject) does not invoce __destruct()

2009-08-24 Thread Ralph Deffke
typing error sorry forget my last post is there a was to destroy an object if there is hold a reference somewhere? Stuart stut...@gmail.com wrote in message news:a5f019de0908240606x5fdca70bkb31dd32b072e5...@mail.gmail.com... 2009/8/24 kranthi kranthi...@gmail.com: unset($obj) always calls

Re: [PHP] unset( $anobject) does not invoce __destruct()

2009-08-24 Thread Ralph Deffke
this is also not the full truth try this and it works what are the circumstances that is causing this problem then, yes I do have distributed references over my script and there are clearly references still set, however after running the snipped script I can not see what I do special in my script

Re: [PHP] unset( $anobject) does not invoce __destruct()

2009-08-24 Thread Ralph Deffke
I dont agree, and as u see in my snipped code it works fine. in an abstract class u can define an implementation to define some basic things a overwriting function in an extending class has to take care of as well. this includes specialy magic functions. thats what they are made for. may be you

Re: [PHP] unset( $anobject) does not invoce __destruct()

2009-08-24 Thread Ralph Deffke
/24 Ralph Deffke ralph_def...@yahoo.de: this is also not the full truth try this and it works what are the circumstances that is causing this problem then, yes I do have distributed references over my script and there are clearly references still set, however after running the snipped script I

Re: [PHP] php move_uploaded_file() filesize problem

2009-08-24 Thread Ralph Deffke
I would also be shure that u run into the srcipt time out time. of course there is one limit u can be a little bit under or a little bit above. measure the time with microtime() and compare it with the script time out settings and u will have the answer ralph_def...@yahoo.de Thomas Gabrielsen

[PHP] Re: unset() something that doesn't exist

2009-08-24 Thread Ralph Deffke
causes an error Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `'$'' in C:\wamp\www\TinyCreator\testCrapp6.php on line 42 Tom Worster f...@thefsb.org wrote in message news:c6b87877.11463%...@thefsb.org... is it the case that unset() does not trigger an error or throw an

[PHP] __destruct() not called ! we shot us in the foot try the script

2009-08-24 Thread Ralph Deffke
well I would call this an error in the first view , and some of u where right! and the stuff with the refernce counter seems to be right as well. however I can't see a reason for it as 5.x works through refernces. so unsetting a REFERENCE to the object does not destroy it. How to destroy the

[PHP] Re: unset( $anobject) does not invoce __destruct()

2009-08-24 Thread Ralph Deffke
I did start a new topic have a look there; Ralph Deffke ralph_def...@yahoo.de wrote in message news:79.73.03363.43752...@pb1.pair.com... but it should? shouldn't it how can I destroy a class instance invocing __detruct() of the class ?!?!? -- PHP General Mailing List (http

[PHP] wierd behavior on parsing css with no php included

2009-08-23 Thread Ralph Deffke
Hi folks, i did post this also on the Wamp page but maybe someone out there had to solve that problem as well. systems involved Firefox 3.0.13 Firefox 3.5.2 IE 6 Wamp: apache 2.2.11 PHP 5.2.9 php 5.3 I do parse css files through php Problem: css files are loaded into the browsers but not

[PHP] wierd behavior on parsing css with no php included

2009-08-23 Thread Ralph Deffke
Hi folks, i did post this also on the Wamp page but maybe someone out there had to solve that problem as well. systems involved Firefox 3.0.13 Firefox 3.5.2 IE 6 Wamp: apache 2.2.11 PHP 5.2.9 php 5.3 I do parse css files through php Problem: css files are loaded into the browsers but not

[PHP] Re: wierd behavior on parsing css with no php included

2009-08-23 Thread Ralph Deffke
Yes, pasring .css is the problem, is there a way to tell php to send different headers based on the file extention of the file parsed ? should be, it worked on linux. ralph_def...@yahoo.de Ralph Deffke ralph_def...@yahoo.de wrote in message news:67.4f.03363.a1e21...@pb1.pair.com... Hi folks, i

[PHP] Re: wierd behavior on parsing css with no php included

2009-08-23 Thread Ralph Deffke
before you come up with how to send a header in php I'm TALKING ABOUT .CSS FILES NOT INCLUDING ANY PHP if you put this in httpconf AddType application/x-httpd-php .css the problem is caused Ralph Deffke ralph_def...@yahoo.de wrote in message news:67.4f.03363.a1e21...@pb1.pair.com... Hi

Re: [PHP] array() returns something weird

2009-08-22 Thread Ralph Deffke
well, when I saw ur post I got immediately the thought I would bed it has to do with some stuff of $this or self. I did play arround a bit with class creation the last days and yes, with using self parent and $this I did put the HTTPPD in unstable and sometimes it died without beeing able to send

[PHP] Re: Form Spam

2009-08-20 Thread Ralph Deffke
may be a better afvice could be given if we would know more about the application. However u mentioend that these little amonut is HUMAN driven. then its very much dependent on the application itself and can not be done with putting some retrictions which would be against the internationality of

[PHP] Re: DB Question | A hotel reservation scenario

2009-08-18 Thread Ralph Deffke
to answer this is in fact not possible on the base of information u give. I dont think there is a general db outlay for hotels. it depends how the booking tables are designed. does the application excist or u are doing a new one? if it excist, have a look how the availability of a room is

Re: [PHP] Undefined Offset Error with Pagination and Sessions

2009-08-18 Thread Ralph Deffke
by having a quick look on it, u have to work on a session base? otherwise it could be done by the post data only. I'm trying to avoid to work on the session, because it makes live a bit easier. if u can try. I'm telling this, because as u metioned to unset the session stuff is wierd and I

[PHP] Re: How do I extract link text from anchor tag as well as the URL from the href attribute

2009-08-16 Thread Ralph Deffke
try $link-nodeValue() or $link-getContent() im not shure which one works on an image link which is indeed a child of a so u could also check if the node has a child, if so its an image with, in good practice. an alt attribute to use haven't tried but should work. let me know pls

Re: [PHP] Re: Issue with the huge import script

2009-08-16 Thread Ralph Deffke
because I assume always that a requester got some intelligence, so in that case there must be a reasonsble reason why he wants to do it in PHP im not like u assuming everybody is a thumb ralph Ashley Sheridan a...@ashleysheridan.co.uk wrote in message news:1250413427.2344.51.ca...@localhost

Re: [PHP] Re: Issue with the huge import script

2009-08-16 Thread Ralph Deffke
to the prof solution I think thats what I did Ashley Sheridan a...@ashleysheridan.co.uk wrote in message news:1250414284.2344.55.ca...@localhost... On Sun, 2009-08-16 at 11:05 +0200, Ralph Deffke wrote: because I assume always that a requester got some intelligence, so in that case there must

Re: [PHP] Re: Issue with the huge import script

2009-08-16 Thread Ralph Deffke
wrote in message news:1250417781.2344.58.ca...@localhost... On Sun, 2009-08-16 at 11:25 +0200, Ralph Deffke wrote: so then tell me tell me what my first sentence means this sounds huge, and cries for a sql version of the import. it looks like u have no experience in working as consultant

[PHP] Re: How do I extract link text from anchor tag as well as the URL from the href attribute

2009-08-16 Thread Ralph Deffke
did u try it something like this foreach ($links as $link) { $int_url_list[$i][href] = $link-getAttribute( 'href' ); $int_url_list[$i++][linkText] = $link-getContent( ); // nodeValue(); } that should work send ur code then please ralph_def...@yahoo,de chrysanhy

Re: [PHP] Re: How do I extract link text from anchor tag as well as the URL from the href attribute

2009-08-16 Thread Ralph Deffke
well the immage goes inside the a.. img... /a on ur html the node a has no value however u should not get a error this is pergect jtml link a href=thema.htmimg src=button4.jpg width=160 height=34 border=0 alt=THEMA/a ralph chrysanhy phpli...@hyphusonline.com wrote in message news

Re: [PHP] Re: How do I extract link text from anchor tag as well as the URL from the href attribute

2009-08-16 Thread Ralph Deffke
have it, and I got the following: *Fatal error*: Call to undefined method DOMElement::getContent() I got the same thing with nodeValue(). On Sun, Aug 16, 2009 at 7:35 AM, Ralph Deffke ralph_def...@yahoo.dewrote: did u try it something like this foreach ($links as $link

[PHP] brainstorm/samples on _autoload() needed

2009-08-16 Thread Ralph Deffke
anybody out there with a ultimate solution, speed optimzed? im going now for an ultimate solution, this repeating problem sucks ralph_def...@yahoo.de -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Another date exercise

2009-08-16 Thread Ralph Deffke
i agree on date pickers and js is well use individual fields for day month and year, make month and year as drop down and u have no problem at all make live easier ralph Paul M Foster pa...@quillandmouse.com wrote in message news:20090816202217.gs2...@quillandmouse.com... On Sun, Aug 16

[PHP] Re: File or directory?

2009-08-15 Thread Ralph Deffke
can u upload ur own files ? can u create a directory ? are u using a ftp client ? try ralph_def...@yahoo.de Clancy clanc...@cybec.com.au wrote in message news:kjhc85hpub7drihgappifphcboolt9u...@4ax.com... I have just got access to a new server, and am playing with upload/download procedures. I

[PHP] Re: Issue with the huge import script

2009-08-15 Thread Ralph Deffke
Hi, this sounds huge, and cries for a sql version of the import. Are both databases the same? MySQL? I give u a draft for MySQL u export the data u have, then u got a textfile with 10+ sql statments in the php script u open the file and iterate over it by line (carefull it could be also ;

Re: [PHP] session variables - help

2009-08-14 Thread Ralph Deffke
I'm realy sorry for u, but the reason for no answers is ur concept. may be some rules will help u and I recommend u to think to spend the time to rewrite the whole code. Im shure u will solve the problem then: first dont use the global arrays directly. pick the values u need and put them in

Re: [PHP] session variables - help

2009-08-14 Thread Ralph Deffke
well thanks good they are far away then, but the problem is ur client, i didnt find anybody giving me the permission to beat his customers Ashley Sheridan a...@ashleysheridan.co.uk wrote in message news:1250236989.2344.10.ca...@localhost... On Fri, 2009-08-14 at 09:55 +0200, Ralph Deffke wrote

[PHP] Re: Using fopen on a site with popups

2009-08-14 Thread Ralph Deffke
have u tried? I did not, but as far as I understand u getting the stream including the html causing the browser to open an popup. so what is ur real problem then? James Colannino ja...@colannino.org wrote in message news:4a851d14.2010...@colannino.org... Hey everyone! I have a question. I

Re: [PHP] Re: Using fopen on a site with popups

2009-08-14 Thread Ralph Deffke
well included in a html script tag isn't it! James Colannino ja...@colannino.org wrote in message news:4a8522f6.60...@colannino.org... Ralph Deffke wrote: have u tried? I did not, but as far as I understand u getting the stream including the html causing the browser to open an popup

[PHP] PHP Byte Code Compiler

2009-08-14 Thread Ralph Deffke
quite a while I'm thinking for what could that be used. also in the documentation there are no posts, has anybody ever played arround with if? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Re: Re: Design Patterns

2009-08-13 Thread Ralph Deffke
Merino jaimejper...@gmail.com wrote in message news:62f65ec80908130320t70078242y65308d2ef0288...@mail.gmail.com... Hi Ralph. If u want to understand the Martin's job u need to read about design patterns. A good place to start? Wikipedia ( http://en.wikipedia.org/wiki/Design_Patterns). The use

[PHP] Re: literal strings vs variable strings

2009-08-13 Thread Ralph Deffke
I dont think so, because PHP is an interpreter, the string 'something' has to be extracted and then be put in memory after that the code will compare the two memory locations. doesnt give me any benefit. however, comparing strings with the '==' does involve case sensitivity and also leading or

Re: [PHP] Re: Re: Re: Design Patterns

2009-08-13 Thread Ralph Deffke
a language independent tool. again this is chasing mice with an elephant ralph_def...@yahoo.de Nathan Nobbe quickshif...@gmail.com wrote in message news:7dd2dc0b0908130809p456de5e7g35641de69af14...@mail.gmail.com... On Thu, Aug 13, 2009 at 8:09 AM, Ralph Deffke ralph_def...@yahoo.de wrote: Thanks

Re: [PHP] Re: Re: Re: Design Patterns

2009-08-13 Thread Ralph Deffke
pattern I miss the orientation on the real problem - outputting marup text cheers ralph_def...@yahoo.de Jaime Jose Perera Merino jaimejper...@gmail.com wrote in message news:62f65ec80908130817x3edc8ffav4153b7c1a44a2...@mail.gmail.com... Hi Ralph, Sorry, I haven't understand your question. Do you

Re: [PHP] Re: Re: Re: Design Patterns

2009-08-13 Thread Ralph Deffke
tell me on a design pattern frame work what requirements the server should fullfill that I can astimate if the customers situation will not put me out of business? Robert Cummings rob...@interjinn.com wrote in message news:4a84400a.9090...@interjinn.com... Ralph Deffke wrote: funny

Re: [PHP] Re: Re: Re: Design Patterns

2009-08-13 Thread Ralph Deffke
, accessright implements HTML { } WHEN Greg Beaver g...@chiaraquartet.net wrote in message news:4a84460d.3080...@chiaraquartet.net... Robert Cummings wrote: Martin Zvarík wrote: Ralph Deffke napsal(a): NO NO NO OOP is the best ever inventet ! see my comments on this list, I

AW: [PHP] Re: Re: Re: Design Patterns

2009-08-13 Thread Ralph Deffke
it will not be endless ralph_def...@yahoo.de Von: Jay Blanchard jblanch...@pocket.com An: Ralph Deffke ralph_def...@yahoo.de; php-general@lists.php.net Gesendet: Donnerstag, den 13. August 2009, 20:15:31 Uhr Betreff: RE: [PHP] Re: Re: Re: Design Patterns [snip] u can not go smaler

[PHP] design pattern

2009-08-13 Thread Ralph Deffke
so guys why u don't discuss Martins outcome? is there no advice, idears? isn't there a need for it? nobody want to use it? I WANT TO LEARN ralph_def...@yahoo.de -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] design pattern

2009-08-13 Thread Ralph Deffke
that design pattern experts comment his work. ralph_def...@yahoo.de Robert Cummings rob...@interjinn.com wrote in message news:4a846ea7.5010...@interjinn.com... Ralph Deffke wrote: so guys why u don't discuss Martins outcome? is there no advice, idears? isn't there a need for it? nobody

Re: [PHP] design pattern

2009-08-13 Thread Ralph Deffke
, Aug 13, 2009 at 4:04 PM, Ralph Deffke ralph_def...@yahoo.de wrote: so guys why u don't discuss Martins outcome? is there no advice, idears? isn't there a need for it? nobody want to use it? I WANT TO LEARN ralph_def...@yahoo.de -- PHP General Mailing List (http

Re: [PHP] Is select_db necessary?

2009-08-12 Thread Ralph Deffke
just raw sql's to that database. now after dumping that much stuff on u, it depends on ur design if u need a select_db first or not. hope that helps Ralph ralph_def...@yahoo.de Allen McCabe allenmcc...@gmail.com wrote in message news:657acef20908112023y222de6f4q63e64cd1e2785...@mail.gmail.com

[PHP] Re: Is select_db necessary?

2009-08-12 Thread Ralph Deffke
, databasedevelopers can espext some smartness of us, the programmers. its a lot off stuff to do for the database to select a database. for shure, the database leafs that IN OUR hand to avoid to force time consuming server resources. ralph ralph_def...@yahoo.de Colin Guthrie gm...@colin.guthr.ie wrote

Re: [PHP] Re: Is select_db necessary?

2009-08-12 Thread Ralph Deffke
ralph_def...@yahoo.de Martin Scotta martinsco...@gmail.com wrote in message news:6445d94e0908120718g6c5bf368tacf8bbad127b5...@mail.gmail.com... Wed, Aug 12, 2009 at 10:37 AM, Ralph Deffke ralph_def...@yahoo.de wrote: I agree totally, are we not dicussing speed issues all the time? and then we

AW: [PHP] Re: Is select_db necessary?

2009-08-12 Thread Ralph Deffke
to be logical, and I would try to create code which is logical speedy. I expect the database kernel programmer the same. I think then we are on the secure side. ralph_def...@yahoo.de Von: Martin Scotta martinsco...@gmail.com An: Ralph Deffke ralph_def...@yahoo.de CC

Re: [PHP] how to say inverse your value (to a boolean)?

2009-08-12 Thread Ralph Deffke
thats why I decided years ago to write myself a little bunch of classes for the html tags which gives me the ability to have PHP only code, very nice, no errors and my outputs dont even need Tidy pure XHTML i find these idear of mixing html and php as spagetty, using divs for tables as something

Re: [PHP] Include Paths

2009-08-12 Thread Ralph Deffke
a rap song hihi haha best comment I've ever read on a mailing list. reminds me that live is fun thanks for making my day thanks sheridan for ur shakespear like abbilities thanks bastien for ur humor GREAT Bastien Koert phps...@gmail.com wrote in message

[PHP] Re: Form Validation

2009-08-12 Thread Ralph Deffke
this is a PHP mailing list, may be u ask this on a js mailinglist ralph_def...@yahoo.de Micheleh Davis m...@micheleh.com wrote in message news:002901ca1b68$fc6b0020$f54100...@com... Please help. My form validation worked fine until I added the terms check at the bottom. Any ideas?

Re: [PHP] Re: Form Validation

2009-08-12 Thread Ralph Deffke
may I ask what JS list u are using? Micheleh Davis m...@micheleh.com wrote in message news:003901ca1b6b$dd103d00$9730b7...@com... Yep, I'm sorry, sent to the wrong one. Thanks all! -Original Message- From: Ralph Deffke [mailto:ralph_def...@yahoo.de] Sent: Wednesday, August 12, 2009

[PHP] Re: Design Patterns

2009-08-12 Thread Ralph Deffke
it would help if u would tell us what u want to accomplish with this ativity cheers ralph_def...@yahoo.de Martin Scotta martinsco...@gmail.com wrote in message news:6445d94e0908121323x721254c4ja389978d67bc0...@mail.gmail.com... Hi all! I've written a little Design Patterns Catalog in PHP.

Re: [PHP] Re: Design Patterns

2009-08-12 Thread Ralph Deffke
for me. may I ask again what do u want to accomplish? ralph_def...@yahoo.de Martin Scotta martinsco...@gmail.com wrote in message news:6445d94e0908121526r7280c680v22742e8418e6b...@mail.gmail.com... On Wed, Aug 12, 2009 at 6:27 PM, Ralph Deffke ralph_def...@yahoo.de wrote: it would help if u

[PHP] Re: Synchronizing autonumber fields

2009-08-11 Thread Ralph Deffke
at the same time in the various subsidaries. a timestamp field is a breakdown to the milisecond. however there is still a chance of 1 to some billion, that two records have the same key. just some possibilities cheers ralph ralph_def...@yahoo.de Leidago !Noabeb leid...@googlemail.com wrote in message

Re: [PHP] how to say inverse your value (to a boolean)?

2009-08-11 Thread Ralph Deffke
,green ,... ) { if( count( $_b ) $a ) { return $_b[ $a++ ] ; } $a=0; return $_b[ $a++ ] ; } so now u can do what ever anybody wants on just putting the right values into the array cheers ralph ralph_def...@yahoo.de David Otton phpm...@jawbone.freeserve.co.uk wrote

Re: [PHP] reason for a Notice:.. on one site but not another? (Same code.)

2009-08-10 Thread Ralph Deffke
; if ( expression == false) return false; return true; } ralph ralph_def...@yahoo.de John Butler govinda.webdnat...@gmail.com wrote in message news:9ada6df4-649c-4790-b51b-cc9cc0505...@gmail.com... If you switch it around you'll get a notice because the IF evaluates from left to right. So you

  1   2   3   4   >