[PHP] Re: force download in IE

2001-08-24 Thread Ralph Deffke
I went through the same problem. the simplest solution with browsers like IE 5.5 is to click with the right buttom on the link an choose save this location. You could mention this on the your page in a if you have trouble dwonloading sentence. a very stable solution would be to make a

[PHP] Re: force download in IE

2001-08-24 Thread Ralph Deffke
I went through the same problem. the simplest solution with browsers like IE 5.5 is to click with the right buttom on the link an choose save this location. You could mention this on the your page in a if you have trouble dwonloading sentence. a very stable solution would be to make a

[PHP] Re: PHP based authentification -----------

2001-08-24 Thread Ralph Deffke
send an 401 unauthorized header. see php manuall under function header() as an example Alex Sofronie schrieb: Hi all! How can I logout from a PHP based auth (with PHP_AUTH_USER and PHP_AUTH_PW and appropriate headers sent at the beginning)? It seems like unset($PHP_AUTH_USER) does not wotk

[PHP] how can i cache php scripts enterpretet

2001-08-24 Thread Ralph Deffke
I have developed a web portal for big compamies with a lot of traffic on their pages. main functions, like member authentication etc. are called on every page request. it would make sence to have them ready enterpretet to skip enterpretation on each request. i know that there are tools arround

[PHP] Re: IP security

2001-08-26 Thread Ralph Deffke
use the $REMOTE_ADDR variable for the remote address see php manual chapter 7 Variables - Variables from outside PHP Nafiseh Saberi schrieb: hi. how can I control the ip that with ID and password ,all of user cant enter to site and if one person want to enetr should have special IP that I

[PHP] Re: zlib1.1.3 and ob_gzhandler

2001-08-26 Thread Ralph Deffke
Are you shure u sending the right http header? your discription sound like the browser receives the wrong header information, respactively the wrong mime type. if you use the right mouse button and say show image, all browsers don't care about the mime type and try to evaluate the data content

[PHP] Re: relative filename /home/www... in stead of /www/.....

2001-08-26 Thread Ralph Deffke
use $SCRIPT_FILENAME and extract the parts of the path as u need. or better $PATH_TRANSLATED see also php manual chapter 7 predefined variables. Chris Hayes schrieb: dear group, I use the $DOCUMENT_ROOT to make a complete file name.

[PHP] Re: show number of search results

2001-08-26 Thread Ralph Deffke
make a sql just with your where clause like this select count(*) from table where your where clause the relsulting result set will give u the number of records for your where clause [EMAIL PROTECTED] schrieb: Good day, I'm trying to figure out how I can show the following on my search

[PHP] Re: Program to check for cookies

2001-08-26 Thread Ralph Deffke
see php Manual chapter 18 cookies Sunil Jagarlamudi schrieb: Is there a program which will check for cookies before it allows access into the web site ? I want the user to enter the userid/password on a secure web server and pass the cookie information to the regular server. I don't want

[PHP] Re: limit 1

2001-08-26 Thread Ralph Deffke
i would try this: $sql = SELECT DISTINCT users.names FROM users, selection Where users.name = selection.name and selection.setting = 'on' ; because you joining two tables and you get as many results per users.name = selection.name as entries in bouth tables per

[PHP] APC and WIN 32

2001-08-26 Thread Ralph Deffke
does anybody know a resource where i can get apc for windows? or does anybody have experienced how to compile APC under wimdows and include it i.e. in Merlin Desktop? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[PHP] Re: Wide Image Scroller

2001-08-26 Thread Ralph Deffke
but the frameset could be done with php ! Eric Persson schrieb: Craig Westerman wrote: I have a very wide panoramic image I want to display on a page. I don't want to side scroll the page, only the image. Is there a way to make a image side scrollable using PHP? This can not be done

[PHP] how to pass variable argument list in a childconstructor to parent constructor, ideas wanted

2009-08-02 Thread Ralph Deffke
problem: __ construct( $something ... variable argument list ){ parent::__construct( ??? ); } I tried with func_get_args, but the problem is that it gives an indexed array back. lets say the argument list is mixed like this: ( string, string, array) func_get_args will give this [0] =

[PHP] Re: Character encoding

2009-08-05 Thread Ralph Deffke
I assume that the comments are collected by a browser form provided by you ! do u use the form attribute accept-charset ? I always do and I always use UTF-8 homogeniously throughout my application I never had that problem. Sándor Tamás (HostWare Kft . ) sandorta...@hostware.hu wrote in

[PHP] Re: Time keeping in DB

2009-08-05 Thread Ralph Deffke
sorry man, but a good data design keeps only data in a table u can not calculate. in ur case that would be only date start and end time. refernces to user and project/tasks in other tables. ur time sheet is definately a job for a report. that type of design limits u to nothing. a user can start

[PHP] Re: dynamically naming PHP vars on the fly?

2009-08-05 Thread Ralph Deffke
u can dynamical chosse a variable name with a variable using a douple $ charachter eg. $a = this is a: $b = a; echo $$b; outputs this is a this is an all open feature to u have fun ralph Govinda govinda.webdnat...@gmail.com wrote in message

[PHP] Re: Time keeping in DB

2009-08-05 Thread Ralph Deffke
as I said, the job is to store a time sheet. u came up with: 1. One record for each 7 day week (year, week_num, d1, d2, d3, d4, d5, d6, d7) where the dX field holds the hours worked 2. One record for each day (date, hours) it seems that just the first record is fine. in a data design u dont hold

[PHP] Re: PHP 6 and MySQL 5 for Dynamic Web Sites Book

2009-08-05 Thread Ralph Deffke
why do u stick to php 6? i would recommend www.scribd.com and have a search on PHP. there are books on beginners for php5 and articles of the difference to php 6. a very usefull site by the way, made me stopping buying books. loads of material on IT stuff. ralph ralph_def...@yahoo.de

Re: [PHP] Displaying user data and picture

2009-08-06 Thread Ralph Deffke
hi there, u want help? break down ur question to the point, none is going to downlod unknown zips searching for the spot. its fun to help, but its for free, so make it easier for us to help u u r lucky that i'm sick at the moment and a bit bored, but anyway i'm not downloading a zip. however,

Re: [PHP] PHP 6 and MySQL 5 for Dynamic Web Sites Book

2009-08-06 Thread Ralph Deffke
because this is to start with the baby figuring out about a family :-) ralph_def...@yahoo.de Eddie Drapkin oorza...@gmail.com wrote in message news:68de37340908060841x129a9096w6c0907f85614c...@mail.gmail.com... On Thu, Aug 6, 2009 at 11:32 AM, teddtedd.sperl...@gmail.com wrote: At 5:34 PM -0700

AW: [PHP] Displaying user data and picture

2009-08-06 Thread Ralph Deffke
u playing arround with the htaccess file 3. its easy in those and other cases 4. image directores are public, and apear in search engines Von: Michael A. Peters mpet...@mac.com An: Ralph Deffke ralph_def...@yahoo.de CC: php-general@lists.php.net Gesendet

[PHP] Re: PHP 6 and MySQL 5 for Dynamic Web Sites Book

2009-08-07 Thread Ralph Deffke
Hi Larry, nice to have a comment from the editor, and I want to say thanks for writing this book. however this discussion was initiated by a newbie asking what book he should use to learn php. ur book is important to the community of php freaks ! it saved my time to see where the path is going

Re: [PHP] Re: Buffered Logging?

2009-08-07 Thread Ralph Deffke
I did some very complete logging for two major german companies on their intranet pages. an application with something like 23000 registered users and more then 5 hits a day. I did none of any kind of buffering, just raw table inserts. it never gave any problem on performance HOWEVER we did a

[PHP] Re: str_replace

2009-08-08 Thread Ralph Deffke
looks good, u r searching for $bible_verse_ref in $text_message_template to be replaced by the string bible_verse_ref. if that makes sence to u, yes its right. ralph ralph_def...@yahoo.de Ron Piggott ron@actsministries.org wrote in message

Re: [PHP] Re: dynamically naming PHP vars on the fly?

2009-08-08 Thread Ralph Deffke
of course u can do this by sql. see this SELECT * FROM `sometable` LIMIT 0 , 30 gives u max 30 records if existstarting at record 0 on the next request u could say SELECT * FROM `sometable` LIMIT 30 , 30 giving u max 30 recotds starting at record 30 ralph ralph_def...@yahoo.de Nisse

Re: [PHP] Re: dynamically naming PHP vars on the fly?

2009-08-08 Thread Ralph Deffke
but then ur byond simple select, man, I do hate unions and try to avoid those. Nisse Engström news.nospam.0ixbt...@luden.se wrote in message news:8b.50.40613.c518d...@pb1.pair.com... On Sat, 8 Aug 2009 15:01:42 +0200, Ralph Deffke wrote: of course u can do this by sql. see this SELECT

[PHP] Re: Question: what are frameworks?

2009-08-09 Thread Ralph Deffke
good question !! I think the word framework is modern fashion term in the first case. in former days we used to say library C comes with a standard library, in modern words C comes with a standard framework. I use my own framework, means I reuse my code written for similar things before, so I use

[PHP] MySQL auto_increment fields Server version: 5.1.32-community-log

2009-08-09 Thread Ralph Deffke
Hi all, I'm facing the fact that it seems that auto_increment fields in a table not start at 1 like it was in earlier versions even if I install mySQL brand new creating all tables new. it seems to me that auto_increments handling has changed to older version. is somebody out there who can give

Re: [PHP] MySQL auto_increment fields Server version: 5.1.32-community-log

2009-08-09 Thread Ralph Deffke
every record and expected the auto_increment to reset. Jerry Wilborn jerrywilb...@gmail.com On Sun, Aug 9, 2009 at 1:17 PM, Ralph Deffke ralph_def...@yahoo.de wrote: Hi all, I'm facing the fact that it seems that auto_increment fields in a table not start at 1 like it was in earlier

Re: [PHP] MySQL auto_increment fields Server version: 5.1.32-community-log

2009-08-09 Thread Ralph Deffke
that you dropped every record and expected the auto_increment to reset. Jerry Wilborn jerrywilb...@gmail.com On Sun, Aug 9, 2009 at 1:17 PM, Ralph Deffke ralph_def...@yahoo.de wrote: Hi all, I'm facing the fact that it seems that auto_increment fields in a table not start

Re: [PHP] MySQL auto_increment fields Server version: 5.1.32-community-log

2009-08-09 Thread Ralph Deffke
/9/09, Ralph Deffke wrote: Hi all, I'm facing the fact that it seems that auto_increment fields in a table not start at 1 like it was in earlier versions even if I install mySQL brand new creating all tables new. it seems to me that auto_increments handling has changed to older version

[PHP] Re: MySQL auto_increment fields Server version: 5.1.32-community-log

2009-08-09 Thread Ralph Deffke
Engström news.nospam.0ixbt...@luden.se wrote in message news:91.f7.55947.dc74f...@pb1.pair.com... On Sun, 9 Aug 2009 20:17:15 +0200, Ralph Deffke wrote: I'm facing the fact that it seems that auto_increment fields in a table not start at 1 like it was in earlier versions even if I install

[PHP] Re: MySQL auto_increment fields Server version: 5.1.32-community-log

2009-08-09 Thread Ralph Deffke
I should mention that I use MyISAM as storage engine what makes it even more wiered. Nisse Engström news.nospam.0ixbt...@luden.se wrote in message news:91.f7.55947.dc74f...@pb1.pair.com... On Sun, 9 Aug 2009 20:17:15 +0200, Ralph Deffke wrote: I'm facing the fact that it seems

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

2009-08-10 Thread Ralph Deffke
this is not intelligence its just pure math. the '' says if BOTH expressions are true then the whole expression is true. so if the first one is false, the whole is false, why checking the next one in the underlaying C it would be something like this { if ( expression == false ) return false; if (

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

2009-08-10 Thread Ralph Deffke
Von: Martin Scotta martinsco...@gmail.com An: Andrew Ballard aball...@gmail.com CC: Ralph Deffke ralph_def...@yahoo.de; php-gene...@lists..php.net Gesendet: Montag, den 10. August 2009, 20:40:19 Uhr Betreff: Re: [PHP] reason for a Notice:.. on one site but not another? (Same

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

2009-08-10 Thread Ralph Deffke
with XOR try this $a = 0; echo $a ^ 1; $a = 1; echo $a ^ 1; hope that helps ralph ralph_def...@yahoo.de John Butler govinda.webdnat...@gmail.com wrote in message news:52842d6f-dd45-44a6-ae06-2e58ef8f6...@gmail.com... quick Q: I have this inside a foreach{} that I want to alternate between

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

2009-08-10 Thread Ralph Deffke
u... try echo pre; for( $i=0 ; $i10; $i++){ echo something . (($a = $a^1) ? red\n : green\n); } echo /pre; watchout the brackets ! cheers ralph_def...@yahoo.de John Butler govinda.webdnat...@gmail.com wrote in message news:52842d6f-dd45-44a6-ae06-2e58ef8f6...@gmail.com... quick Q: I

[PHP] Re: Synchronizing autonumber fields

2009-08-11 Thread Ralph Deffke
hi there, this is typical app for db repliction mechanism. it depnds of the size off your project. have a look here: http://dev.mysql.com/doc/refman/5.1/en/replication-howto.html if this is oversized for u do a dump of each table without the auto_increment fields. if u read in these tables the

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

2009-08-11 Thread Ralph Deffke
seems they changing idears on the fly? could it be that the designer is a smal ugly person while u a a good looking ladykiller ? on that background I would design a function where u can change ti what ever u want on the fly something like this var $a; function alternate( $a, $_b=array( red, red

Re: [PHP] Is select_db necessary?

2009-08-12 Thread Ralph Deffke
here a basic background to this question. all databases are build from various module bases. one module is the database itself prosessing eg. the sql's another module is the database connectivity. e.g. mySQL has a ability to connect thru ADO, .NET and an server via IP. MySQL supports unlimited

[PHP] Re: Is select_db necessary?

2009-08-12 Thread Ralph Deffke
I agree totally, are we not dicussing speed issues all the time? and then we recommend a code doing an unessesary job on every call? an ANSI selct db in the sql forces any database to run the internal select db because there would be no check if the databse is the current one. because,

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: Re: Re: Design Patterns

2009-08-13 Thread Ralph Deffke
Thanks Jaime, very nice, but I'm a programmer since 1982 and into OOP since 1988 with the outcome if IBM's C++ compiler on the OS2 platform. Don't u think it could be reasonable to ask if such an overhead IN PHP is necessary? does anybody agree that PHP might be the wrong language to accomplish

[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
. 2009/8/13 Ralph Deffke ralph_def...@yahoo.de Thanks Jaime, very nice, but I'm a programmer since 1982 and into OOP since 1988 with the outcome if IBM's C++ compiler on the OS2 platform. Don't u think it could be reasonable to ask if such an overhead IN PHP is necessary? does anybody agree

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

[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
... On Sun, 2009-08-16 at 04:06 +0200, Ralph Deffke wrote: 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

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
, chrysanhy phpli...@hyphusonline.comwrote: I pasted the code exactly as you 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

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

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

[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

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

  1   2   >