Re: [PHP] want to learn about zend

2007-09-27 Thread Tijnema
basics www.ibm.com/developerworks/opensource/library/os-php-zend1 Tijnema -- If this is a mailing list: DO NOT TOP POST! why?: http://www.caliburn.nl/topposting.html Vote for PHP Color Coding (aka Syntax Highlighting) in Gmail! -> http://gpcc.tijnema.info -- PHP General Mailing List

Re: [PHP] imagecreatefromgif fails for a valid image

2007-09-24 Thread Tijnema
H/command line try running file /home/thushw/mocha_src/LiveMocha/trunk/src/wwwroot/app/webroot/img/new/button-middle.gif and see if it's really a gif, if you don't have access to above, open the image with any text editor, and see what the first 3 letters say.. If it's an GIF ima

Re: [PHP] php Login script issue

2007-09-16 Thread Tijnema
; > Thanks, > > Chris I advice you to split the code up in 2 seperate actions, and check for errors. > if($rec=mysql_fetch_array(mysql_query("SELECT * FROM tablename WHERE > userName='$userName' AND password = '$password'"))){ would become: $result =

Re: [PHP] php5: capital "I" letters in func/class method names do not work with turkish locale in php5

2007-09-06 Thread Tijnema
ll that come out? > That's seems to me to be a sort of discrimination of turkish language in > php5. > Is it technical so difficult to develop a patch for this bug? > > Sincerely > Well, only 1 hour later than your email, there has been posted a patch on the bug page that f

Re: [PHP] is this a bug?

2007-08-20 Thread Tijnema
te close, but you expect something different from the return... Like I said above. Tijnema ps. I don't really care about your english, but top posting is annoying. Read the site in my signature to know why. Also snipping irrelevant parts of the original message is important. pps. Make sur

Re: [PHP] is this a bug?

2007-08-20 Thread Tijnema
> include 'class.php'; > $globalactions = new globalactions (); > $globalactions->include_file("foo"); //return -> "include > modules/foo/templates/foo.php" // OK. This works. > > var_dump($clients); //i dont get the object here. I got NULL!!! w

Re: [PHP] php 5 and ms sql server express won't play nice !

2007-08-17 Thread Tijnema
a lot of people have reported problems with, but there are also some solutions. I don't know if they work, because I never had any MS SQL server (MySQL rocks ;-)), but the second comment seems helpful. Tijnema [1] http://www.php.net/manual/en/function.mssql-connect.php -- If this is a mailin

Re: [PHP] problem with require_once

2007-08-14 Thread Tijnema
course, will not be saved since the class isnt > there. > > can anyone help me > Well, then you're problem is probably in your myclass.php file... Please show some relevant code so that we can help. Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Generating executable code

2007-08-13 Thread Tijnema
ation > such that PHP processes it as it would any other source code? > > thnx, > Chris > Well, that's exactly what eval does, why isn't it ideal for you? Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] apache content negotiation and $_GET

2007-08-13 Thread Tijnema
the $_GET variables with it, but don't ask me how to fix ;) I can provide a PHP solution for it ;) Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Server Process

2007-08-13 Thread Tijnema
program into memory etc. which all take resources, and when you run the program as a service with access through sockets, the program would run forever, but doesn't need to startup each time. Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info -- PHP Gener

Re: [PHP] Friday morning brain farts....

2007-08-13 Thread Tijnema
On 8/13/07, tedd <[EMAIL PROTECTED]> wrote: > At 4:54 PM +0200 8/11/07, Tijnema wrote: > >On 8/11/07, tedd <[EMAIL PROTECTED]> wrote: > >> At 7:21 PM +0200 8/10/07, Tijnema wrote: > >> >On 8/10/07, Robert Cummings <[EMAIL PROTECTED]> wrote: >

Re: [PHP] What's is the needed configuration to enable SOAP?

2007-08-12 Thread Tijnema
Is it the same server you are trying to do a SOAP request to? if so, you should use 127.0.0.1/localhost to connect to, instead of the server name/ip Also keep in mind that you can not always connect through the external IP of a server, but that you need to use internal IP sometimes when they

Re: [PHP] very strange behavior.... incomplete query performed

2007-08-12 Thread Tijnema
imit to unlimited: set_time_limit(0); Apache (or w/e your server is) might still timeout, but these values are a lot higher.. :) Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] convert (windows-1250) to (utf-8)

2007-08-12 Thread Tijnema
On 8/12/07, Alain Roger <[EMAIL PROTECTED]> wrote: > and why not : > $out = iconv('windows-1250','UTF-8', $in); ??? > > Alain Did you test if that works? I doubt it, as windows-1250 isn't listed on the homepage of libiconv: http://www.gnu.org/softwa

Re: [PHP] manual vs. meta refresh

2007-08-12 Thread Tijnema
icates to > discount the page load from any statistics. > > Cheers, > Rob. I think you Rob missed a part of Richard's first reply: "You would then need to re-direct back to the URL *without* the GET parameter from_meta_tag=1 so that their refresh button would not be going to that UR

Re: [PHP] convert (windows-1250) to (utf-8)

2007-08-11 Thread Tijnema
gt; > -- I personally never worked with different charsets, but this might help you: http://www.php.net/manual/en/function.mb-convert-encoding.php Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] preg_match_all to match tags

2007-08-11 Thread Tijnema
On 8/11/07, Stut <[EMAIL PROTECTED]> wrote: > Tijnema wrote: > > On 8/11/07, Richard Heyes <[EMAIL PROTECTED]> wrote: > >> Richard Heyes wrote: > >>>> How can i match an image tag correctly so it does not cause any issues > >>>> wit

Re: [PHP] preg_match_all to match tags

2007-08-11 Thread Tijnema
On 8/11/07, Richard Heyes <[EMAIL PROTECTED]> wrote: > > < img src="image.jpg"> > > > > Your script doesn't catch above ;) > > So don't write HTML like that. > Depends where the HTML is coming from, it might be user input..

Re: [PHP] preg_match_all to match tags

2007-08-11 Thread Tijnema
Off the top of my head. This wouldn't allow for using the right angle > > bracket in the img tag, but that's almost never going to happen in reailty. > > Oops that should be: > > preg_match_all('/]*>/Ui', $input, $matches); > > -- > Richard Heyes &

Re: [PHP] Friday morning brain farts....

2007-08-11 Thread Tijnema
On 8/11/07, tedd <[EMAIL PROTECTED]> wrote: > At 7:21 PM +0200 8/10/07, Tijnema wrote: > >On 8/10/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > > > > if( !isset( $argv[1] ) || !isset( $argv[2] ) || !isset( $argv[3] ) ) > > > >if(!isset($argv[1]

Re: [PHP] I know this is not easy and I'm not stupid but...

2007-08-11 Thread Tijnema
uot;0" == $var);' > bool(false) > > version is 5.2.1 > > is this expected behaviour to be a difference between the two types of > quotes in this case? > > greets > Zoltán Németh I think you're little bit confused by the quotes :P and since you don't have err

Re: [PHP] Concatenation vs. Interpolation

2007-08-11 Thread Tijnema
me[4] = microtime(TRUE); $x = 0; $str = ''; $add = 'def'; $time[5] = microtime(TRUE); for($x = 0; $x < 1000; $x++) { $str = ""; } $time[6] = microtime(TRUE); echo 'For 10,000,000 loops:'; echo 'Concatenation single quote:'.($ti

Re: [PHP] manual vs. meta refresh

2007-08-10 Thread Tijnema
e > going to that URL with from_meta_tag in it. > > Kind of kludgy, but should work > Do you guys read other replies first before making a reply yourself? You're the third one making the same reply... Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnem

Re: [PHP] manual vs. meta refresh

2007-08-10 Thread Tijnema
the meta tag, it is on the page with url ?from_meta=yes, or something smiliar, now when the user presses F5, it will stil think the user is redirected through the META tag... Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php 4.4.7 make install with pear causes zend freeing errors

2007-08-10 Thread Tijnema
to upgrade or install pear packages, > I get the same types of errors. > > Thanks in advance for any pointers you can > provide. > > Thanks! > > JohnM > > -- What are you doing with PHP4??? Go PHP5!! http://www.gophp5.org Tijnema -- Vote for PHP Color Co

Re: [PHP] manual vs. meta refresh

2007-08-10 Thread Tijnema
comparison to the one before. http://www.domain.com/dir/site.php?foo=bar&meta_refresh=1";> and when the new page load, check whether the value is the same as the previous page load (user has uses refresh), or it is +1 (redirected through META) Tijnema -- Vote for PHP Color Coding in Gmail! ->

Re: [PHP] Running a server process

2007-08-10 Thread Tijnema
On 8/10/07, Stut <[EMAIL PROTECTED]> wrote: > Tijnema wrote: > > On 8/10/07, Stut <[EMAIL PROTECTED]> wrote: > >> Tijnema wrote: > >>> On 8/10/07, Stut <[EMAIL PROTECTED]> wrote: > >>>> Tijnema wrote: > >>>>> On 8/10/

Re: [PHP] Running a server process

2007-08-10 Thread Tijnema
On 8/10/07, Stut <[EMAIL PROTECTED]> wrote: > Tijnema wrote: > > On 8/10/07, Stut <[EMAIL PROTECTED]> wrote: > >> Tijnema wrote: > >>> On 8/10/07, Richard Heyes <[EMAIL PROTECTED]> wrote: > >>>>> That is it works with just me usin

Re: [PHP] Friday morning brain farts....

2007-08-10 Thread Tijnema
On 8/10/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > On Fri, 2007-08-10 at 19:21 +0200, Tijnema wrote: > > On 8/10/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > > On Fri, 2007-08-10 at 11:48 -0400, Daniel Brown wrote: > > > > On 8/10/07, Stut &

Re: [PHP] Running a server process

2007-08-10 Thread Tijnema
On 8/10/07, Stut <[EMAIL PROTECTED]> wrote: > Tijnema wrote: > > On 8/10/07, Richard Heyes <[EMAIL PROTECTED]> wrote: > >>> That is it works with just me using the site. I am wondering how this > >>> would > >>> effect performance if say

Re: [PHP] Getting a 'newline' out of a string

2007-08-10 Thread Tijnema
ral Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > >If I'm not mistaken, Windows doesn't strictly use \n, but rather \r\n. > > -- > Daniel P. Brown > [office] (570-) 587-7080 Ext. 272 > [mobile]

Re: [PHP] Friday morning brain farts....

2007-08-10 Thread Tijnema
( '', file( $path ) ); $content = file_get_contents($path); // Safe to require PHP 4 >= 4.3.0 right? > > if( trim( $content ) === '' ) > { >$content = 'NO ERRORS TODAY!!!'; > } > > mail( $email, $subject, $content ); > > ?> > > Cheers, > Rob. > -- And have a nice day! Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Getting a 'newline' out of a string

2007-08-10 Thread Tijnema
#x27;', $string); > $string = str_replace("\n", '', $string); > > -Stut > You forgot the Macintosh newlines, which is a single carriage return. Try this code instead: $string = str_replace("\r\n", '', $string); $string = str_replace("\n", '', $string); $string = str_replace("\r", '', $string); Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Running a server process

2007-08-10 Thread Tijnema
I don't know if there a program exists that can "convert" the program to a service, I think you need to compile it as a service from source code, but as I mentioned in my first post, and you mentioned here too, you also need to add support for a socket server in your program. Soc

Re: [PHP] Running a server process

2007-08-10 Thread Tijnema
processes at same time. If you have written the windows application, you should rewrite some part of it to let it work with sockets, so that you can simply connect to the program with a socket. Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problems in php

2007-08-07 Thread Tijnema
; > Best regards > Roger Collis > -- Please upload the files somewhere, the list blocks them. The other files you tried to test, do you run them through localhost too? Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] javascript in or in ?

2007-08-07 Thread Tijnema
On 8/7/07, Greg Donald <[EMAIL PROTECTED]> wrote: > On 8/7/07, Tijnema <[EMAIL PROTECTED]> wrote: > > Uhh, do you know which list this is? > > I give up.. Is it the one where I get as many [OT] labeled emails as > I do on-topic ones? > > People have been asking

Re: [PHP] javascript in or in ?

2007-08-07 Thread Tijnema
be used. So, if you have a function bodyload(), and you call it from , you need to place it inside , as it isn't loaded if you put it in . Some browsers will still run the javascript code, however it is not recommended. Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnem

Re: [PHP] javascript in or in ?

2007-08-07 Thread Tijnema
On 8/7/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > On Tue, 2007-08-07 at 21:24 +0200, Tijnema wrote: > > On 8/7/07, C.R.Vegelin <[EMAIL PROTECTED]> wrote: > > > Are there any rules when to include javascript in or in ? > > > For example, > > &g

Re: [PHP] javascript in or in ?

2007-08-07 Thread Tijnema
pter=' + val ; > } > > > TIA, Cor > Uhh, do you know which list this is? Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mail problem - deadline!!!!!

2007-08-07 Thread Tijnema
ne is causing trouble. Then take a deeper look at that part, and see if you can find the problem, if not, then you can come back to this list with that small piece of code. Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Wierd error with xml_set_element_handler()

2007-08-05 Thread Tijnema
gt; > Any ideas? I've tried the line with single quotes, double quotes and no > quotes, and various other odd attempts to figure it out. I'm totally baffled. > >Many Thanks (in advance), >Bruce Steinback > let me (us) know if you fixed it. Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Rejecting File Upload

2007-08-05 Thread Tijnema
and alone application. Both can be bypassed too, though you need to have knowledge of ASM and Reverse Engineering for that, which is not easy, but once you know it, it can be quite easy to do it too ( I could do it in less than 5 mins ) Tijnema -- Vote for PHP Color Coding in Gmail! -> http://g

Re: [PHP] Problem with php mail

2007-08-05 Thread Tijnema
hanks, > Jason > There are a lot of things that can make emails go to spam, as already noted the headers and the size of the message, but also a wrong title, or wrong From: address (domain email != domain mail server) can make the message go to spam Tijnema -- Vote for PHP Color Coding in

Re: [PHP] Check for well formed html

2007-08-05 Thread Tijnema
s CMS? > > Cheers, > > tedd > Have a look at Example 1687 on the manual page for preg_match_all, I think you can use it with a little modification :) Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2007-08-02 Thread Tijnema
Adobe (Macromedia) Dreamweaver CS3, and I really like the server interface through FTP. It allows me to easily switch between my different sites around the world :) Apart from that, color coding is good, and supports auto tabbing :) Tijnema -- Vote for PHP Color Coding in Gmail! -> htt

Re: [PHP] Numbers, Numbers everywhere! Need some Dollar help.

2007-08-02 Thread Tijnema
you want it squarely on the client side, then use javascript. There > are easy functions to split a text string (like php's explode). > Then you can split on the '.' and then do some logical stuff like the > cents is between 00 and 99, and anything else you think neces

Re: [PHP] Setting group sticky bit on directory with chmod()

2007-08-02 Thread Tijnema
t; $ chmod 2775 test1 > drwxrwsr-x 2 user user 4096 Aug 2 15:34 test1 > > So, what are we doing wrong with chmod() that is causing us to get the > wrong results? Keep in mind that we are running the PHP script as the > same user who owns the directory. > > -- > Ben Ramsey > http://benramsey.com/ > Who is the owner of the directory containing this test1 directory? That one should also be the same as PHP script is running on AFAIK. Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Pirate PHP books online?

2007-07-31 Thread Tijnema
get the same rate of pay as a plumber, I would > need to sell 70,000 copies of each book. I should be so lucky. > > David Powers Yes, and the president gets a lot more Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Pirate PHP books online? - ENOUGH ALREADY

2007-07-30 Thread Tijnema
> > > Chris Aitken > The Web Hub Designer and Programmer > Phone : 02 4648 0808 > Mobile : 0411 132 075 > I agree with 5000% with you, this is a PHP list, and of course threads get OT sometimes, but this is really too much OT, and there's no solution for the problem ;) Ti

Re: [PHP] Re: Pirate PHP books online?

2007-07-30 Thread Tijnema
is, make "casual pirates" into customers. > > As long as we hold onto the "OMG he copied a CD it's stealing send him to > prison for a decade!" mentality, though, that cannot happen. And no, that > won't do anything about "professional pir

Re: [PHP] audio recorder

2007-07-30 Thread Tijnema
On 7/31/07, John Pillion <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: Tijnema [mailto:[EMAIL PROTECTED] > > Sent: Monday, July 30, 2007 4:25 PM > > To: John Pillion > > Cc: php-general@lists.php.net > > Subject: Re: [PHP] audio

Re: [PHP] audio recorder

2007-07-30 Thread Tijnema
on the right list for that ;) If it's connected to the server, or if it's an Stand Alone app, then I would recommend you looking for some software that does record from the microphone, and use it through system, exec, ``, ... functions. Tijnema -- Vote for PHP Color Coding in Gmail! -

Re: [PHP] Rules of Engagement

2007-07-28 Thread Tijnema
rough "vacation response" messages each > time he/she replies to the list. > > Uhm, about that vacation response, it will only make things worser, as then email sent to a user with a vacation message, will send a message back to the list, which will be addressed to eve

Re: [PHP] Re: The Official OT "Name Tedd's Grandson" Thread

2007-07-27 Thread Tijnema
On 7/27/07, Richard Lynch <[EMAIL PROTECTED]> wrote: > On Fri, July 27, 2007 7:35 am, Tijnema wrote: > > It's quite logical that it is done this way, if you understand how a > > mailing lists works ;) > > > > When you send a email to the mailing list, you s

Re: [PHP] Re: The Official OT "Name Tedd's Grandson" Thread

2007-07-27 Thread Tijnema
the message with [PHP] in front. Now when somebody replies to the list, the title will be something like Re: [PHP] Title. Now when gmail detects that this message still belongs to the same thread, it adds the message, and keeps the original title. Which is Title for the OP, and [PHP] Title for all

Re: [PHP] Is it possible to stop an image from being cached?

2007-07-26 Thread Tijnema
it only for this page, and will remove it afterwards. Tijnema "Tijnema" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On 7/27/07, brian <[EMAIL PROTECTED]> wrote: >> Tijnema wrote: >> > On 7/26/07, Dan <[EMAIL PROTECTED]> wrote: >>

Re: [PHP] Is it possible to stop an image from being cached?

2007-07-26 Thread Tijnema
05:00:00 GMT"); // Date in the past } OR: $img = $_GET['img']; $noncached_images = array("test_a.jpg","test_b.jpg"); if(in_array($img,$noncached_images)) { header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1 header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past } Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Is it possible to stop an image from being cached?

2007-07-26 Thread Tijnema
On 7/27/07, brian <[EMAIL PROTECTED]> wrote: Tijnema wrote: > On 7/26/07, Dan <[EMAIL PROTECTED]> wrote: > >> I have a situation where there is a single image let's call it >> somebody.jpg. >> I want to be able to dynamicly create this image using php,

Re: [PHP] Is it possible to stop an image from being cached?

2007-07-26 Thread Tijnema
t of changing the name constantly of the image to avoid browser caching of an image? - Dan Solution 1: Send a header() that avoids caching (can't remember it exactly) Solution 2: Call the image like this: Or if you were creating it with a php script: Tijnema -- Vote for PHP Color Cod

Re: [PHP] Re: Pirate PHP books online?

2007-07-26 Thread Tijnema
/294/ -Stut Haha, good one stut! Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Pirate PHP books online?

2007-07-26 Thread Tijnema
On 7/26/07, Daniel Brown <[EMAIL PROTECTED]> wrote: On 7/26/07, Tijnema <[EMAIL PROTECTED]> wrote: > On 7/26/07, Stut <[EMAIL PROTECTED]> wrote: > > Man-wai Chang wrote: > > > You could open a sample book in bookstores, scan the chapters to > > > dec

Re: [PHP] Re: The Official OT "Name Tedd's Grandson" Thread

2007-07-26 Thread Tijnema
;s 'cos your client is (for whatever reason) stripping it. Cheers! Mike The only threads were [PHP] is missing for me are the threads that I started. All others start with [PHP] or Re: [PHP] Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: header( 'refresh' ), form data, and IE

2007-07-25 Thread Tijnema
On 7/25/07, Daniel Brown <[EMAIL PROTECTED]> wrote: On 7/25/07, Tijnema <[EMAIL PROTECTED]> wrote: > You Dans driving me insine with all those dans :P > > Tijnema > -- > Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info > Be jealous and afraid.

Re: [PHP] Re: header( 'refresh' ), form data, and IE

2007-07-25 Thread Tijnema
Daniel Kasak > IT Developer > NUS Consulting Group > Level 5, 77 Pacific Highway > North Sydney, NSW, Australia 2060 > T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 > email: [EMAIL PROTECTED] > website: http://www.nusconsulting.com.au > > Viva Danielism! -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107 You Dans driving me insine with all those dans :P Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How can I install GD support for a php rpm

2007-07-24 Thread Tijnema
Thanks. Build only the GD module from the PHP package, and add that to the modules to load in php.ini Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: header( 'refresh' ), form data, and IE

2007-07-24 Thread Tijnema
ccess? A very simple example: Since the user will start with a blank form, and the $_POST values won't already be set, the values in the form will be blank on the initial page load, but for unsuccessful attempts, they'll be populated with the correct data. ~ Dan^[3] -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107 Note that if you have E_NOTICE set in error reporting level, then this gives some warnings about undefined variables! Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Pirate PHP books online?

2007-07-24 Thread Tijnema
On 7/24/07, Michelle Konzack <[EMAIL PROTECTED]> wrote: Am 2007-07-19 19:41:32, schrieb Tijnema: > One word: > Useless! > > The watermark can be easily removed, and the guy who puts in on the > net will simply remove it, and can't be traced :) Not realy except you kn

Re: [PHP] Re: Re: Pirate PHP books online?

2007-07-22 Thread Tijnema
On 7/22/07, Dotan Cohen <[EMAIL PROTECTED]> wrote: On 22/07/07, Tijnema <[EMAIL PROTECTED]> wrote: > Ebooks are free (in the name of warez). > Now to not start this thread all over again, but, Authors, if you > think you can't make enough money because of the warez

Re: [PHP] Re: Re: Pirate PHP books online?

2007-07-22 Thread Tijnema
make enough money because of the warez, stop writing the books ;) Tijnema Greetings Michelle Konzack Systemadministrator Tamay Dogan Network Debian GNU/Linux Consultant -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info -- PHP General Mailing List (http://

Re: [PHP] Bundled GD compiling?

2007-07-22 Thread Tijnema
and GD will be compiled when you compile PHP, and so it will be allways the same libpng for GD and PHP :) Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] session_decode from session handler

2007-07-22 Thread Tijnema
g taking place. Please start a new thread about your problem, it might be related, but not the same. Tijnema > > cheers, > Jeffery > > On Friday 20 July 2007 08:25, Ryan Graciano wrote: > > PHP passed $data to my write($id) function, and then I wrote it to the > > d

Re: [PHP] Pirate PHP books online?

2007-07-20 Thread Tijnema
On 7/21/07, Dotan Cohen <[EMAIL PROTECTED]> wrote: On 20/07/07, Tijnema <[EMAIL PROTECTED]> wrote: > > An additional benefit is that there are those who _prefer_ the > > electronic version to the dead trees. At least, I do. > > > > Dotan Cohen > > O

Re: [PHP] Pirate PHP books online?

2007-07-20 Thread Tijnema
ur revenues a bit too. > > greets > Zoltán Németh > An additional benefit is that there are those who _prefer_ the electronic version to the dead trees. At least, I do. Dotan Cohen Old paper can be recycled, lost energy from computers can't ;) Tijnema -- Vote for PHP Co

Re: [PHP] session_decode from session handler

2007-07-19 Thread Tijnema
How did you get $data? If it's just serialized data, you can simply call unserialize instead of session_decode. Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] repetition of tedious references

2007-07-19 Thread Tijnema
Yes,what if the key does exists, but is empty? Then it should fallback to the default value, which is exactly what the OP script did, and what yours does too when you add != "" statement, or empty(). Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Pirate PHP books online?

2007-07-19 Thread Tijnema
der. Maybe the name of the original buyer, or the order number, etc. Doesn't prevent the piracy, but does give traceability should you wish to pursue the pirate. Regards, Austin. One word: Useless! The watermark can be easily removed, and the guy who puts in on the net will simply remove

Re: [PHP] Re: Pirate PHP books online?

2007-07-18 Thread Tijnema
Programming for Web Proffessionals Advanced PHP for Web Professionals PHP Solutions Dynamic Web Design Made Easy Core Web Application Development with PHP and MySQL How to Do Everything with PHP & MySQL PHP Manual Web Application Development With Php4 OReilly PHP Cookbook 2nd Edition Aug2006

Re: [PHP] Re: Encrypted Mail

2007-07-18 Thread Tijnema
orrect MIME-type?) Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re[4]: [PHP] Newbie seeks urgent help

2007-07-13 Thread Tijnema
On 7/14/07, Luc <[EMAIL PROTECTED]> wrote: Hello Tijnema, Friday, July 13, 2007, 10:09:05 PM, you wrote: > You're using a ' here, which ends the string. Use one of these: > $websitetitle = "John Doe's Site"; > OR > $websitetitle = 'John Doe\&#

Re: Re[2]: [PHP] Newbie seeks urgent help

2007-07-13 Thread Tijnema
r T_VARIABLE or T_NUM_STRING in / on line 14 -- Best regards, Luc It's defenitely not line 14, but you probably snipped some stuff out of it ;) Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mail function from and reply to address problem

2007-07-13 Thread Tijnema
id the same thing. So looks like thats the culprit. I'll have to comb through the sendmail configuration and find out if I can reverse this behavior. Sendmail has a usenet newsgroup (comp.mail.sendmail), where you might be able to find someone that can help you :) Tijnema On 7/13/07

Re: [PHP] Social Networking Sites OT

2007-07-13 Thread Tijnema
any of these social networking sites. The problem is, that most people on the sites I saw were only trying to get the most friends, most "friends" were even people they didn't know anything about. For me, No join, No "Social Networking Friends", no spam :) Tijnema -- Vot

Re: [PHP] Re: Announcing Xaja, a PHP Reverse Ajax framework

2007-07-13 Thread Tijnema
they can all handle about 3200 connections. Half of the users has probably more then one window open, which means another connection. So you end up to have a maximum of about 2000 visiters at same time for each site. Tijnema On 7/13/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > O

Re: [PHP] Installation problem

2007-07-13 Thread Tijnema
o 216.92.131.66, which is the IP if I ping pear.php.net. Note that this isn't a fix, but only a workaround, and the IP of the pear server might change someday and then your stuck with the old IP. So really try to fix the DNS problem.. Tijnema -- Vote for PHP Color Coding in Gmail! -> htt

Re: [PHP] Newbie seeks urgent help

2007-07-13 Thread Tijnema
> > Produto * > > > > Origem * > > > > Destino * > > > > Quantidade * > > > > Peso * > > > > Comprimento * > > > > Altura * > > > > Largura * > > > > > > > > > > -- > Best regards, > Luc > > > > Powered by The Bat! version 3.99.3 with Windows XP (build 2600), > version 5.1 Service Pack 2 and using the best browser: Opera. > > "Doctor to patient: I have good news and bad news - the good news is > that you are not a hypochondriac." > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Luc, In your code, all you have is this: mail($youremail, $subjectline, "Orçamento de empresa"); That instructs PHP to send an email to $youremail with the subject $subjectline and the message "Orçamento de empresa." It should use a basic structure such as this clandestine advertising ^ :-P Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: PHP Brain Teasers

2007-07-12 Thread Tijnema
if this one's already been done...I've only glanced at a few entries in this thread, entertaining though it is. :-) jon The same fault is made over and over again ;) as the fish egg was earlier (as noted here) Your code should be this: $a = array('Chicken','Chicken eg

Re: [PHP] Re: PHP Brain Teasers

2007-07-12 Thread Tijnema
On 7/12/07, Daniel Brown <[EMAIL PROTECTED]> wrote: On 7/12/07, Tijnema <[EMAIL PROTECTED]> wrote: > You can probably remember the good old time of being a child and > having holiday ;) > > Tijnema > -- > Vote for PHP Color Coding in Gmail! -> http://gpcc.t

Re: [PHP] Re: PHP Brain Teasers

2007-07-12 Thread Tijnema
od_ it's Friday??? Covering all bases are we? ;) No, I said, "thank God it's ALMOST Friday." Nothing to do with the puzzle, I'm just exhausted this week for some reason. -- Daniel P. Brown You can probably remember the good old time of being a child and having hol

Re: [PHP] Re: Simple PHP setting arrays with keys question

2007-07-10 Thread Tijnema
On 7/10/07, Jim Lucas <[EMAIL PROTECTED]> wrote: Tijnema wrote: > On 7/10/07, Jim Lucas <[EMAIL PROTECTED]> wrote: >> Fredrik Thunberg wrote: >> > >> > Dan skrev: >> >> Oh yeah, the problem isn't that I'm using -> instead of =>.

Re: [PHP] Re: Simple PHP setting arrays with keys question

2007-07-10 Thread Tijnema
; > either: > > $products[$value['productName']] = $value['actualValue']; > > OR > > $products[] = array( $value['productName'] => $value['actualValue'] ); > But these are not the same... -- Jim Lucas This one is: $products += array( $value['productName'] => $value['actualValue'] ); :) Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Another simple question (Probably)

2007-07-10 Thread Tijnema
en I try to submit any date through the form. I'm sure I just have something messed up in my mktime, or in the way I'm grabbing the variable. Thanks for looking! -- Jason Pruim All weird dates here :P, seems to be no relation to any Unix/PHP things ;) Tijnema -- Vote for PHP

Re: [PHP] system() call in PHP5 on win2003

2007-07-10 Thread Tijnema
owser (received only "retval =-1"). I have checked the permissions on all those files/folders, even tried giving read/execute permission to "everyone", still no help. In our configuation, the safe mode is off. Any clue? Thanks in advance. Xiaogang Are you sure PHP does act

Re: [PHP] Where does PHP look for php.ini??

2007-07-09 Thread Tijnema
On 7/9/07, Mario Guenterberg <[EMAIL PROTECTED]> wrote: On Mon, Jul 09, 2007 at 10:38:24PM +0200, Tijnema wrote: > On 7/9/07, Mario Guenterberg <[EMAIL PROTECTED]> wrote: > > On Mon, Jul 09, 2007 at 05:16:20PM +0200, Tijnema wrote: > > > I've build my own L

Re: [PHP] Where does PHP look for php.ini??

2007-07-09 Thread Tijnema
On 7/9/07, Mario Guenterberg <[EMAIL PROTECTED]> wrote: On Mon, Jul 09, 2007 at 05:16:20PM +0200, Tijnema wrote: > I've build my own Linux, so good to know how to change it :) > > Tijnema Ahh, a linux from scratch user, eh? :-) If you need it or want some usefull input,

Re: [PHP] Another simple question (Probably)

2007-07-09 Thread Tijnema
On 7/9/07, Daniel Brown <[EMAIL PROTECTED]> wrote: On 7/9/07, Tijnema <[EMAIL PROTECTED]> wrote: > On 7/9/07, Daniel Brown <[EMAIL PROTECTED]> wrote: > > On 7/9/07, Shafiq Rehman <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > > > co

Re: [PHP] Another simple question (Probably)

2007-07-09 Thread Tijnema
,int minute [,int second [,int month [,int day [,int year [,int dst]]] ) And by default, if date() is given a second parameter, but that parameter is null or empty, date() will return `9 December, 2006` (formatted accordingly). I'm not certain of the significance of this, nor am I su

Re: [PHP] Where does PHP look for php.ini??

2007-07-09 Thread Tijnema
On 7/8/07, Mario Guenterberg <[EMAIL PROTECTED]> wrote: On Sat, Jul 07, 2007 at 02:08:21AM +0200, Tijnema wrote: > Hi, > > I just noted that my php (CLI and Apache2 SAPI) doesn't read my php.ini in > /etc > I have compiled php with --prefix=/usr, and my /usr/etc is

Re: [PHP] About DOM function in PHP

2007-07-08 Thread Tijnema
tialize new object for DOMDocument $doc = new DOMDocument(); What's the problem? ** Which PHP version are you using? from the manual[1]: "The DOM extension allows you to operate on XML documents through the DOM API with PHP 5. For PHP 4, use DOM XML. " Tijnema [1] http://www.php

  1   2   3   4   5   6   7   8   >