Re: [PHP] Basic Encoding Rules (BER)

2007-06-17 Thread Tijnema
t Regards, Elier I think the following site has all you need: http://www.vijaymukhi.com/vmis/ber.htm Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Are IP addresses reliable?

2007-06-16 Thread Tijnema
t her to enter a username and a password.. Cheers, Daniel Only if she is running a proxy server, or has her computer open in some way that someone can connect through her computer, then somebody can use her IP. else it is fine to rely on her IP. Tijnema -- PHP General Mailing List (http://

Re: [PHP] PHP Competition - Win a copy of Zend Studio

2007-06-15 Thread Tijnema
tudio professional to work on a virtual host. I bought it a few years back and could never use it. Cheers, tedd Join the competition for the fun, not for the prices ;) Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Calling Pascal code/functions from PHP

2007-06-15 Thread Tijnema
all it with exec/system/... Or, I don't know if it's possible, you might be able to compile the pascal code as an extension, but that's hard stuff :P Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Competition - Win a copy of Zend Studio

2007-06-15 Thread Tijnema
udges ;) -Stut Yes, Douglas and Cal are very good judges ;) Tijnema > -Original Message- > From: Stut [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 14, 2007 1:46 PM > To: php-general@lists.php.net > Subject: [PHP] PHP Competition - Win a copy of Zend Studio > >

Re: [PHP] Calling an executable for processing some data sent from PHP

2007-06-15 Thread Tijnema
imply click on a link and let PHP handle an exec/system call. Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] OK to have many files in one folder?

2007-06-15 Thread Tijnema
don't ask me how much ;) Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Form Data Filtering

2007-06-15 Thread Tijnema
On 6/15/07, Stut <[EMAIL PROTECTED]> wrote: Tijnema wrote: > -slut Actually it's -Stut. I hate it when people spell my name wrong! -Stut Oh, didn't knew you were on the list of inappropriate words too ;) Tijnema -- PHP General Mailing List (http://www.php.net/) To unsub

Re: [PHP] Form Data Filtering

2007-06-15 Thread Tijnema
Tit" || $value == "dick" || $value == "hoe") { $profanity[$field] = "bad"; } Any suggestions welcome. Nice list, but what about this: sh!t d!ck mtherfucker sl ut and I can continue for hours..., and what if your $_POST['var'] contains more than only the

Re: [PHP] Cannot un-subscribe from list

2007-06-15 Thread Tijnema
s this happening and how can I stop it? Mark Just send an empty mail to [EMAIL PROTECTED] (or [EMAIL PROTECTED] if you are subscribed to digest). Mailing list software sends something back, just hit the reply and send empty reply and you're off the list. Tijnema -- PHP General Mailing

Re: Re[2]: [PHP] London PHP salaries

2007-06-14 Thread Tijnema
uld add on a significant extra for that location alone. Cheers, Rich Just calculate what the minimal is you need, add 25% to it and you have some reasonable salary I think. Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Competition - Win a copy of Zend Studio

2007-06-14 Thread Tijnema
h entering. It's also quite a fun challenge IMHO. http://blog.assembleron.com/2007/06/14/php-programming-contest-win-zend-studio/ -Stut Thanks for letting us know :) I have very less time, but I hope that I can make some time to participate in this contest, it looks very interesting. Tijne

Re: [PHP] SimpleXMLElement->xpath() on php 5.1 - weird blocking problem

2007-06-14 Thread Tijnema
nd you don't have a version compiled with --disable-simplexml? If it's enabled, did you check if other SimpleXML functions work fine? Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re[2]: [PHP] Need a more elegant way of bitwise ORing values

2007-06-13 Thread Tijnema
tific) >> { >> $flags[] = FILTER_FLAG_ALLOW_SCIENTIFIC; >> } >> >> if (count($flags) > 0) >> { > $tmp = FALSE; > foreach ($flags as $flag) { > $tmp = $tmp | $flag; > } > $filter['flags'] = $tmp; Nice one, thank you.

Re: [PHP] Address validation API's for PHP

2007-06-13 Thread Tijnema
ery much in advance. You can download a complete database here: http://download.geonames.org/export/dump/ Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Going from simple to super CAPTCHA

2007-06-13 Thread Tijnema
;) I think I'll start with some kind of SCAPTCHA (Super CAPTCHA) soon.. Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Going from simple to super CAPTCHA

2007-06-12 Thread Tijnema
On 6/12/07, Richard Lynch <[EMAIL PROTECTED]> wrote: On Tue, June 12, 2007 3:40 pm, Tijnema wrote: > A PFP (Pixel-For-Pixel) Approach would do the job, but I don't think > there exists software yet for it. I would have to get the file format > of the bitmap you're usin

Re: [PHP] Going from simple to super CAPTCHA

2007-06-12 Thread Tijnema
On 6/12/07, Richard Lynch <[EMAIL PROTECTED]> wrote: On Tue, June 12, 2007 9:33 am, Tijnema wrote: > I meant reverse order :P That would be pretty broken. First, you should;ve seen this as a joke that replies to the previous messages. There's no guarantee that browsers wi

Re: [PHP] Going from simple to super CAPTCHA

2007-06-12 Thread Tijnema
On 6/12/07, Richard Lynch <[EMAIL PROTECTED]> wrote: On Tue, June 12, 2007 6:42 am, Stut wrote: > tedd wrote: >> At 7:38 PM +0200 6/11/07, Tijnema wrote: >>>> >>> >>> Well, if you think this is the uncrackable* solution, create it and >

Re: [PHP] Going from simple to super CAPTCHA

2007-06-12 Thread Tijnema
On 6/12/07, Robert Cummings <[EMAIL PROTECTED]> wrote: On Tue, 2007-06-12 at 21:46 +0200, Tijnema wrote: > On 6/12/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Tue, 2007-06-12 at 15:06 -0400, Daniel Brown wrote: > > > > > > Ok

Re: [PHP] Going from simple to super CAPTCHA

2007-06-12 Thread Tijnema
y: (-1, 0), (0,1), (1,0), (0,1) Then change colour and draw the font at the original location. Cheers, Rob. Yes noticed that problem too, but this seems quite easy to crack, Get the text from the image, get the color of the text and search for tha tcolor circle. Tijnema Btw, I clicked the p

Re: [PHP] php script from bat file

2007-06-12 Thread Tijnema
is c:\PHP\bin\php.exe in your example, so that would become C:\PHP\bin\php.exe C:\Inetpub\scripts\run.php Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Going from simple to super CAPTCHA

2007-06-12 Thread Tijnema
On 6/12/07, Robert Cummings <[EMAIL PROTECTED]> wrote: On Tue, 2007-06-12 at 19:23 +0200, Tijnema wrote: > On 6/12/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Tue, 2007-06-12 at 18:19 +0200, Tijnema wrote: > > > On 6/12/07, Robert Cummings <[EMAIL

Re: [PHP] Going from simple to super CAPTCHA

2007-06-12 Thread Tijnema
On 6/12/07, Robert Cummings <[EMAIL PROTECTED]> wrote: On Tue, 2007-06-12 at 18:19 +0200, Tijnema wrote: > On 6/12/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Tue, 2007-06-12 at 12:01 -0400, Robert Cummings wrote: > > > On Tue, 2007-06-12 at 11:5

Re: [PHP] Going from simple to super CAPTCHA

2007-06-12 Thread Tijnema
hat you need to allow maximum of 10 attempts per few minutes, so that there will be 0,1% change ;) Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Going from simple to super CAPTCHA

2007-06-12 Thread Tijnema
On 6/12/07, Robert Cummings <[EMAIL PROTECTED]> wrote: On Tue, 2007-06-12 at 16:23 +0200, Tijnema wrote: > On 6/12/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Tue, 2007-06-12 at 15:46 +0200, Tijnema wrote: > > > > > > Nope, it does a

Re: [PHP] Going from simple to super CAPTCHA

2007-06-12 Thread Tijnema
On 6/12/07, Robert Cummings <[EMAIL PROTECTED]> wrote: On Tue, 2007-06-12 at 15:46 +0200, Tijnema wrote: > On 6/12/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Tue, 2007-06-12 at 15:23 +0200, Tijnema wrote: > > > On 6/12/07, Stut <[EMAIL PROT

Re: [PHP] Going from simple to super CAPTCHA

2007-06-12 Thread Tijnema
On 6/12/07, Robert Cummings <[EMAIL PROTECTED]> wrote: On Tue, 2007-06-12 at 15:09 +0200, Tijnema wrote: > On 6/12/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Tue, 2007-06-12 at 07:29 -0400, tedd wrote: > > > At 7:38 PM +0200 6/11/07, Tijnema wrote: > &

Re: [PHP] Going from simple to super CAPTCHA

2007-06-12 Thread Tijnema
On 6/12/07, Robert Cummings <[EMAIL PROTECTED]> wrote: On Tue, 2007-06-12 at 15:23 +0200, Tijnema wrote: > On 6/12/07, Stut <[EMAIL PROTECTED]> wrote: > > tedd wrote: > > > At 7:38 PM +0200 6/11/07, Tijnema wrote: > > >>> > > >> > >

Re: [PHP] Going from simple to super CAPTCHA

2007-06-12 Thread Tijnema
On 6/12/07, Stut <[EMAIL PROTECTED]> wrote: tedd wrote: > At 7:38 PM +0200 6/11/07, Tijnema wrote: >>> >> >> Well, if you think this is the uncrackable* solution, create it and >> i'll see if I can crack it ;) >> >> Tijnema >> >>

Re: [PHP] Going from simple to super CAPTCHA

2007-06-12 Thread Tijnema
On 6/12/07, Robert Cummings <[EMAIL PROTECTED]> wrote: On Tue, 2007-06-12 at 07:29 -0400, tedd wrote: > At 7:38 PM +0200 6/11/07, Tijnema wrote: > >> > > > >Well, if you think this is the uncrackable* solution, create it and > >i'll see if I can crack

Re: [PHP] Going from simple to super CAPTCHA

2007-06-12 Thread Tijnema
On 6/12/07, tedd <[EMAIL PROTECTED]> wrote: At 12:42 PM +0100 6/12/07, Stut wrote: >tedd wrote: >>At 7:38 PM +0200 6/11/07, Tijnema wrote: >>>> >>> >>>Well, if you think this is the uncrackable* solution, create it and >>>i'll see if

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Tijnema
On 6/11/07, Daniel Brown <[EMAIL PROTECTED]> wrote: On 6/11/07, Tijnema <[EMAIL PROTECTED]> wrote: > On 6/11/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Mon, 2007-06-11 at 14:29 -0400, Daniel Brown wrote: > > > > >To be a bit easier, I wh

Re: [PHP] Updating dropdown list

2007-06-11 Thread Tijnema
On 6/11/07, Ashley M. Kirchner <[EMAIL PROTECTED]> wrote: Tijnema wrote: > But Javascript != PHP, so if this is what you want, you're on the > wrong list... Ik weet dat meneer. But I also hate JavaScript. So if I can avoid it and use PHP, then I will. Hence me asking here

Re: [PHP] Updating dropdown list

2007-06-11 Thread Tijnema
e to see how they did it ;) But Javascript != PHP, so if this is what you want, you're on the wrong list... Tijnema [1] http://www.nvidia.com/content/drivers/drivers.asp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] "tail" solution for PHP5 wanted

2007-06-11 Thread Tijnema
e unix function for that and pass that through your PHP script to the browser? Btw, if you do this, your PHP script would keep running forever, keep in mind that the time limit setting doesn't affect system and file calls... Tijnema Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Tijnema
gt; overlay over the legitimate cigarette image as being image-synonymous > with the snake as an option by color pattern, while the parent image > matches best with the first child option image in shape. Not as easy as Tijnema thinks... all the icons are in a single image so first he needs t

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Tijnema
On 6/11/07, Daniel Brown <[EMAIL PROTECTED]> wrote: > Tijnema <[EMAIL PROTECTED]> spake the following lore: > Convert image to fixed width + fixed height + default depth, then do > some work on it :P > > Tijnema > Yeah, what work? Best of luck with getting a sy

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Tijnema
On 6/11/07, Robert Cummings <[EMAIL PROTECTED]> wrote: On Mon, 2007-06-11 at 19:38 +0200, Tijnema wrote: > On 6/11/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > Well, if you think this is the uncrackable* solution, create it and > i'll see if I can crack it ;)

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Tijnema
On 6/11/07, Robert Cummings <[EMAIL PROTECTED]> wrote: On Mon, 2007-06-11 at 18:57 +0200, Tijnema wrote: > On 6/11/07, Jim Lucas <[EMAIL PROTECTED]> wrote: > > Tijnema wrote: > > > On 6/11/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > > >

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Tijnema
On 6/11/07, Jim Lucas <[EMAIL PROTECTED]> wrote: Tijnema wrote: > On 6/11/07, Robert Cummings <[EMAIL PROTECTED]> wrote: >> On Mon, 2007-06-11 at 10:38 -0400, tedd wrote: >> > Gnag: >> > >> > I know we can beat this thing to death, as we have in p

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Tijnema
ms... then one could ask: What did you hear ringing? Possible answers... a bell, the telephone, an alarm, etc. The problem then becomes an issue of people who can't spell or are terrible at recognizing everyday things. Cheers, Rob. Server builds up a database of pictures, client

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Tijnema
o buttons or a drop-down list of, say, four items but then there's a 25% chance that automated software could still get in, so in reality, it's only blocking 3/4 of the attempts at automation. Because otherwise, you'd have to have a cAsE-iNsEnSiTiVe regexp check (and possibly a database of common mis-spellings) to check against. -- Daniel P. Brown If you make multiple choice items, a good app would probably just try max 4 times :P, so you need to check if the user did actually fail the first time... Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] [RFC] HTTP timezone

2007-06-11 Thread Tijnema
liable would that header be? Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Going from simple to super CAPTCHA

2007-06-11 Thread Tijnema
On 6/11/07, Daniel Brown <[EMAIL PROTECTED]> wrote: On 6/11/07, Tijnema <[EMAIL PROTECTED]> wrote: > On 6/10/07, tedd <[EMAIL PROTECTED]> wrote: > > >Tedd: > > > > > >Please don't spread the code of your Audio CAPTCHA, we had a big > &g

Re: [PHP] Going from simple to super CAPTCHA

2007-06-10 Thread Tijnema
ou remember the thread tedd ;) I remember the threads, but nothing that was said there is counter to what I said here. Cheers, tedd It's atleast an interesting thread about CAPTCHA. Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] [RFC] HTTP timezone

2007-06-10 Thread Tijnema
On 6/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I agree with Tijnema he's hit the nail on the head. And the inability to handle daylight time really is a big potential snag - who in North America isn't on daylight time at some point in the year? If the timezone da

Re: [PHP] Going from simple to super CAPTCHA

2007-06-10 Thread Tijnema
//marc.info/?l=php-general&m=117521475815904&w=2 http://marc.info/?l=php-general&m=117596132004021&w=2 I think you remember the thread tedd ;) Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP5 or PHP4 this is the question

2007-06-10 Thread Tijnema
On 6/10/07, Larry Garfield <[EMAIL PROTECTED]> wrote: On Saturday 09 June 2007, Robert Cummings wrote: > On Sat, 2007-06-09 at 19:18 -0500, Larry Garfield wrote: > > You should get a new server that supports PHP 5.2.1. PHP 4 is dead. > > Must be a zombie then because I see it running almost EVER

Re: [PHP] Server side issue with

2007-06-10 Thread Tijnema
us part of your code, as I expect the problem to be there. Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Undefined index error

2007-06-10 Thread Tijnema
password" doesn't exist! ?> Check the line number and print out the array with var_dump/print_r to see what's in the array.. Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Transparent image resizing using php 4.4.x

2007-06-10 Thread Tijnema
systems? You can see it with phpinfo: Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] [RFC] HTTP timezone

2007-06-10 Thread Tijnema
On 6/10/07, Stefanos Harhalakis <[EMAIL PROTECTED]> wrote: On Sunday 10 June 2007, Tijnema wrote: > To get back to the point, I think that the timezone should be defined > on what time it actually is at his PC, and what time it is on > time.nist.gov for example, and not lookng

Re: [PHP] [RFC] HTTP timezone

2007-06-10 Thread Tijnema
e time. To get back to the point, I think that the timezone should be defined on what time it actually is at his PC, and what time it is on time.nist.gov for example, and not lookng at some setting... Timezone setting is often wrong, people just update their time to match the time of their watch. T

Re: [PHP] Is it possible to get the name of the top most calling script?

2007-06-09 Thread Tijnema
nction arguments. Is there any way around this? Thanks, Chris. You could also use the the suberglobal $GLOBALS Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] [RFC] HTTP timezone

2007-06-09 Thread Tijnema
e next point, what about DST? I've read your complete draft, and it doesn't say anything about DST, What should browsers send for my country? +0100 or +0200? Tijnema Ps. what's the next thing we send to the browser? We already sent a lot of info through the user-agent header... Next

Re: [PHP] Keeping file pointers open after script end

2007-06-09 Thread Tijnema
On 6/9/07, Richard Lynch <[EMAIL PROTECTED]> wrote: On Sat, June 9, 2007 3:44 pm, Tijnema wrote: > Is there any way to keep a file pointer open after script is finished, > so that it can be access later, by passing it through session? No. Well, okay, *MAYBE* you could hack somet

Re: [PHP] PHP5 or PHP4 this is the question

2007-06-09 Thread Tijnema
y there's a PHP4 replacer described. Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] generate images of register definitions

2007-06-09 Thread Tijnema
write some custom code in PHP using GD, but i'd much rather use someone else's work than start from scratch -mike I think you're wat better off using ASCII art ;) Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Keeping file pointers open after script end

2007-06-09 Thread Tijnema
On 6/9/07, Stut <[EMAIL PROTECTED]> wrote: Tijnema wrote: > On 6/9/07, Stut <[EMAIL PROTECTED]> wrote: >> Tijnema wrote: >> > On 6/9/07, Stut <[EMAIL PROTECTED]> wrote: >> >> Tijnema wrote: >> >> > On 6/9/07, Stut <[EMAIL PROT

Re: [PHP] Keeping file pointers open after script end

2007-06-09 Thread Tijnema
On 6/9/07, Stut <[EMAIL PROTECTED]> wrote: Tijnema wrote: > On 6/9/07, Stut <[EMAIL PROTECTED]> wrote: >> Tijnema wrote: >> > On 6/9/07, Stut <[EMAIL PROTECTED]> wrote: >> >> Tijnema wrote: >> >> > Hmm, fseek seems cool, but what abo

Re: [PHP] Keeping file pointers open after script end

2007-06-09 Thread Tijnema
On 6/9/07, Robert Cummings <[EMAIL PROTECTED]> wrote: On Sat, 2007-06-09 at 23:09 +0200, Tijnema wrote: > On 6/9/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Sat, 2007-06-09 at 22:00 +0100, Stut wrote: > > > Tijnema wrote: > > > > Hmm, fseek se

Re: [PHP] Keeping file pointers open after script end

2007-06-09 Thread Tijnema
On 6/9/07, Stut <[EMAIL PROTECTED]> wrote: Tijnema wrote: > On 6/9/07, Stut <[EMAIL PROTECTED]> wrote: >> Tijnema wrote: >> > Hmm, fseek seems cool, but what about FTP resources? If I open them >> > with ftp_connect, do I need to fetch all data from FTP aga

Re: [PHP] Keeping file pointers open after script end

2007-06-09 Thread Tijnema
On 6/9/07, Robert Cummings <[EMAIL PROTECTED]> wrote: On Sat, 2007-06-09 at 22:00 +0100, Stut wrote: > Tijnema wrote: > > Hmm, fseek seems cool, but what about FTP resources? If I open them > > with ftp_connect, do I need to fetch all data from FTP again, and then > >

Re: [PHP] Keeping file pointers open after script end

2007-06-09 Thread Tijnema
On 6/9/07, Stut <[EMAIL PROTECTED]> wrote: Tijnema wrote: > Hmm, fseek seems cool, but what about FTP resources? If I open them > with ftp_connect, do I need to fetch all data from FTP again, and then > just trash all data I don't need? Yes, but depending on what you'

Re: [PHP] Keeping file pointers open after script end

2007-06-09 Thread Tijnema
On 6/9/07, Stut <[EMAIL PROTECTED]> wrote: Tijnema wrote: > Is there any way to keep a file pointer open after script is finished, > so that it can be access later, by passing it through session? > > Like this: > > page1.php: > > session_start(); > > $fp = fo

[PHP] Keeping file pointers open after script end

2007-06-09 Thread Tijnema
Hi, Is there any way to keep a file pointer open after script is finished, so that it can be access later, by passing it through session? Like this: page1.php: Continue"; ?> page2.php: Thanks, Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vis

Re: [PHP] None US ASCII characters not allowed in headers?

2007-06-09 Thread Tijnema
gt; > public *lol* :) Wonder if it falls under Murphy's Law. > > ... I think you made a good point there ... Happens to me all the time. Cheers, Rob. -- Yup, happens to me too.. Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] [URL file-access is disabled]

2007-06-09 Thread Tijnema
the directory you log into with FTP isn't / Try this include: What if you do this: include "/home/users/b9/myhost/www/myhost.pandela.org/bd/userdirs/$username/listdir.php"; Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Determing Content-type from request header when Apache installed as CGI

2007-06-09 Thread Tijnema
inition, I do not see the Content-Type variable listed. > Does > someone know how to extract this in an Apache PHP CGI configuration? A request has a Content-type header?... I don't think it works like that... Never seen the Content-type header either in a request, do you mean the

Re: [PHP] Problems connecting to mysql

2007-06-08 Thread Tijnema
connect from a linux to bsd box and vice versa. Hope this Helps. Tom Ok, did you check the logs of Apache if any detailed error is reported? And what about the logs of your MySQL server on the FreeBSD box? Oh, and PHP code maybe? Tijnema -Original Message- From: Tijnema [mailto:[EMAI

Re: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Tijnema
now built with support for files larger than 2GB on modern 32-bit Unix systems. Support for handling >2GB request bodies has also been added." Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problems connecting to mysql

2007-06-08 Thread Tijnema
ine by LAN, but only through localhost, and you should take a look at your mysql config file on the FreeBSD machine. Where do you run the command line? on your freeBSD machine or your Linux box? Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: php-cli vs python

2007-06-08 Thread Tijnema
.. no! It started with MSDOS, which is actually a copied version from QDOS... And after that they only copied ideas.. Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] source like smorty.com

2007-06-08 Thread Tijnema
On 6/8/07, Jay Blanchard <[EMAIL PROTECTED]> wrote: [snip] Why don't you list the rest of the search engines? [/snip] Because he can search for search engines using that search engine. Oh, you should have noted that ;) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] source like smorty.com

2007-06-08 Thread Tijnema
On 6/8/07, Jay Blanchard <[EMAIL PROTECTED]> wrote: [snip] anybody knows an open source like smorty.com ? [/snip] No, but if you hum a few bars Sourceforge Freshmeat Google Why don't you list the rest of the search engines? Yahoo! search Live search -- PHP General Mailing List (http

Re: [PHP] new forum

2007-06-08 Thread Tijnema
your local PC? From my home IP I get ping results of ~170 ms, from a damn fast server I get ping results of 60 ms, it should be less than 5ms from the server, and less than 10ms from my home connection... Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://

Re: [PHP] Parse domain from URL

2007-06-07 Thread Tijnema
=> Array ( [host] => www.l.google.com [type] => A [ip] => 64.233.161.104 [class] => IN [ttl] => 136 ) ) Array ( ) Array ( ) */ ?> Any suggestions?? Thanks, Brad I have same results as you brad, I have Apache 2.2.3 + PHP 5.2.3RC1, so if you finally get it working, it's definitely not portable code :P Maybe it's an option to talk to a whois server? Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] register_globals and magic_quotes_gpc (again)

2007-06-07 Thread Tijnema
please point me where to look after? thanks for any help. -afan Are you sure the rest of your .htaccess file is correct? And what does your Apache error log show you? there should be an error... Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] fsockopen with proxy?

2007-06-07 Thread Tijnema
t about it for using ICQ status request through proxy, but it seems not what i need. Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Anyone scripted Crossover?

2007-06-06 Thread Tijnema
On 6/6/07, George Pitcher <[EMAIL PROTECTED]> wrote: Tijnema, > > Nothing found in the archive, so asking the question: has > anyone done any > > scripting of Crossover to control MS Office applications on Linux? > > > > I would love to move to Linux, but hav

Re: [PHP] Anyone scripted Crossover?

2007-06-06 Thread Tijnema
Excel parsing. Cheers George in Edinburgh/Oxford Can't you use some OpenOffice.org tools for that? OOo can open all kind of MS Word and Excel documents. Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Is the GD module standard?

2007-06-04 Thread Tijnema
GD. Same here. Been using it for years, never had to ask for it to be installed. -- Greg Donald http://destiney.com/ For paid hosts, it should be installed, but if you want to use it on free hosts too, there's a little chance that they have GD installed. Tijnema -- PHP General Mai

Re: [PHP] Cant set info in DB...HELP

2007-06-03 Thread Tijnema
($connection,$sql_query) or die("Query failed: ".mysqli_error($connection); you're missing a ) here, it should be: mysqli_query($connection,$sql_query) or die("Query failed: ".mysqli_error($connection)) Tijnema If you still get no output, check error_reporting and display_e

Re: [PHP] I cannot figure out why this is not working?

2007-06-02 Thread Tijnema
oridaonlineinvestments.com"; . "\n" . mail($to,$subject,$body,$headers); } ?> Did you get any error? And what does mail return? true or false? Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Cant set info in DB...HELP

2007-06-02 Thread Tijnema
7;, '$stoName', '$stoCity', '$stoState')"; mysqli_query($connection,$insert_query); ?> //==End dbPopulation of Form data Try to add a die() to the mysqli_query, like this: mysqli_query($connection,$insert_query) or die(mysqli_error($connection)); This will probably tell you that there's an error in your SQL code... Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ini_set() security question

2007-06-01 Thread Tijnema
[1]: "If you set something using php_admin_value in httpd.conf it is then not possible to be set the value at runtime, even if it's NOT PHP_INI_SYSTEM. " So, I guess it must be a bug. Tijnema [1] http://www.php.net/manual/en/function.ini-set.php#30424 Richard Lynch schrieb: > Fi

Re: [PHP] ZIP it :o)

2007-06-01 Thread Tijnema
On 6/1/07, Jim Lucas <[EMAIL PROTECTED]> wrote: Tijnema wrote: > On 6/1/07, Jim Lucas <[EMAIL PROTECTED]> wrote: >> Auto-Deppe, C. Haensel wrote: >> > Hi guys, >> > >> > thanks to Jim, I made it :o) Here's the source I'm using for

Re: [PHP] ZIP it :o)

2007-06-01 Thread Tijnema
if(eregi("jpg", $tempfile)) { > unlink("temp/".$tempfile); > } > } > ?> > - SNAP - > So I am copying the files to a temp dir, and then zip em up, delete them > afterwards. I copy them to the dir so I wouldn't have the whole > /kfz_images/number/

Re: [PHP] ZIP it :o)

2007-06-01 Thread Tijnema
27;t have the right permissions to write the .zip file, so i would recommend you to write to /tmp first. Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Best way to convert Little-Endian DWORD to string

2007-05-30 Thread Tijnema
On 5/30/07, Edward Kay <[EMAIL PROTECTED]> wrote: > -Original Message- > From: Tijnema [mailto:[EMAIL PROTECTED] > Sent: 30 May 2007 15:20 > To: php > Subject: [PHP] Best way to convert Little-Endian DWORD to string > > > Hi, > > Maybe quite stran

Re: [PHP] uploading really big files

2007-05-30 Thread Tijnema
uploading, and they all have already uploaded 10 MB of their file, you would have 1000MB allocated. In contrast with FTP, as FTP will store the uploads directly to the drive. Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Best way to convert Little-Endian DWORD to string

2007-05-30 Thread Tijnema
th it? Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Upload a ppt file

2007-05-28 Thread Tijnema
to upload big files :) Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php and Ajax problem

2007-05-28 Thread Tijnema
0]).innerHTML = update[1]; } } } Delete this event'; echo $event['deleteevent']; ?> this is the 'eventaction.php script yo test if the ajax script works Try firefox and take a look at the javascript console, it points you to any javascript syntax errors

Re: [PHP] Tracking exit links with php?

2007-05-28 Thread Tijnema
y hint. Best regards, Merlin You would need to edit the javascript code from google, this is possible, but I don't think google will be happy with it, and they will probably say that you were doing illegal actions by modifing the code and you won't get any money ... Tijnema -- PHP Gene

Re: [PHP] installing error

2007-05-27 Thread Tijnema
! > > Rafa > > > On 5/26/07, Sathyashrayan <[EMAIL PROTECTED]> wrote: >> >> >> >> On 5/26/07, Tijnema <[EMAIL PROTECTED]> wrote: >> > >> > On 5/26/07, Richard Davey <[EMAIL PROTECTED]> wrote: >> > > Hi Rafael, >&

Re: [PHP] Too many records to display in one web page

2007-05-26 Thread Tijnema
. This save some time when interacting with the database. Of course you won't note the difference with 100-200 pages, but when it becomes more and more (think about atleast 1+) then you probably will note the speed difference. Tijnema -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] calculate xml size

2007-05-26 Thread Tijnema
but it doesn't look like this function exists. However, you could call xml_get_current_byte_index [1] once, then read the element, and call it again, and the difference should be what you're looking for. Tijnema [1] www.php.net/xml_get_current_byte_index -- PHP General Mailing List (http://

Re: [PHP] $_GET strings seperation

2007-05-26 Thread Tijnema
us what you have so far, so that we can think about a fix. *note that you don't need to place all code here, but only the relevant part. Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

<    1   2   3   4   5   6   7   8   >