Re: [PHP] Audio CAPTCHA review request

2007-03-29 Thread Tijnema !
number that the CAPTCHA passed to my session. Then i would write down the code that i need to enter. So, next time i need to pass, i set the session value to the one i got first time, and i enter same code. Works for most CAPTCHA programs :) Didn't test it out on your audio CAPTCHA yet, but you r

Re: [PHP] Audio CAPTCHA review request

2007-03-29 Thread Tijnema !
On 3/29/07, Zoltán Németh <[EMAIL PROTECTED]> wrote: works fine on XP/IE7 but still tells me to install some unknown plugin on ubuntu/firefox greets Zoltán Németh That unknown plugin would probably some audio player. Tijnema 2007. 03. 29, csütörtök keltezéssel 12.41-kor tedd ezt írta

Re: [PHP] Show Filename using Wildcards

2007-03-29 Thread Tijnema !
On 3/29/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote: Ave, This Works!! "; } ?> THANKS! I recommend using basename($value) instead of substr($value,35) If the directory changes, the basename would still return valid values, while substr wou

Re: [PHP] Audio CAPTCHA review request

2007-03-29 Thread Tijnema !
On 3/29/07, Zoltán Németh <[EMAIL PROTECTED]> wrote: 2007. 03. 29, csütörtök keltezéssel 21.52-kor Tijnema ! ezt írta: > On 3/29/07, Zoltán Németh <[EMAIL PROTECTED]> wrote: > > works fine on XP/IE7 > > but still tells me to install some unknown plugin on ubuntu/firefo

Re: [PHP] Link to download files on another part of system

2007-03-29 Thread Tijnema !
osm/ESPI/ to some folder inside your www directory :) Didn't test it, but it should work though. Else you need to create some download script. (header, file_get_contents,echo) Tijnema ~~~ Rahul Sitaram Johari CEO, Twenty Four Seventy Nine Inc. W: http://w

Re: [PHP] Gnome and MIME types

2007-03-29 Thread Tijnema !
On 3/29/07, Nathan Ziarek <[EMAIL PROTECTED]> wrote: /etc/php5/apache2/php.ini has the uncommented line "safe_mode = Off" Assuming there isn't another file that can override that setting, my safe mode is off. Thanks, Nate better check this using phpinfo: Tijnema On

Re: [PHP] Audio CAPTCHA review request

2007-03-29 Thread Tijnema !
ss experience with speech recognition. 4) You couldn't only depend on this audio thing inside a script. I know this has been said before, but when you are using images here, it probably makes your script more insecure. But it's surely nice done :) Tijnema -- PHP General Mailing List (http://

Re: [PHP] Link to download files on another part of system

2007-03-30 Thread Tijnema !
?> why are you using exec() to run 'find'??? what is wrong with glob()? He asked a way to do what he wanted in the thread "Show files using Wildcards", There somebody came up with the idea using find. Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Alternative/Addition to using a CAPTCHA

2007-03-30 Thread Tijnema !
some of the bigger brains out there could throw in their 2 cents.. JC This looks maybe hard to crack, but actually it isn't very hard. All the clicking does is calling a javascript function. You still could submit the page without clicking the box. Tijnema -- PHP General Mailing List (h

Re: [PHP] Environment variables in php.ini

2007-03-30 Thread Tijnema !
could just use a php.ini in each userdir, but give it only access to the user PHP is running on. Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Show filenames using Wildcards -- The glob() Solution!

2007-03-30 Thread Tijnema !
- so can't complain about it one bit." I didn't test both myself, but you might want to see the difference in performance. Tijnema ~~~ Rahul Sitaram Johari CEO, Twenty Four Seventy Nine Inc. W: http://www.rahulsjohari.com E: [EMAIL PROTECTED]

Re: [PHP] Show filenames using Wildcards -- The glob() Solution!

2007-03-30 Thread Tijnema !
ovide a real secure solution atm, but you should check for the directory set to vox atleast, or only get files from the vox dir. Tijnema ~~~ Rahul Sitaram Johari CEO, Twenty Four Seventy Nine Inc. W: http://www.rahulsjohari.com E: [EMAIL PROTECTED] ³I mo

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

2007-03-30 Thread Tijnema !
ny and what should i look up to find docs that cover this type of datatransfer ie: javascript->php. Regards, Tim I think you want to use sessions for this :) Tijnema ps. Maybe you could also use AJAX instead of submitting forms the whole time. -- PHP General Mailing List (http://www.php

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

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

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

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

Re: [PHP] Alternative/Addition to using a CAPTCHA

2007-03-30 Thread Tijnema !
On 3/30/07, Jake McHenry <[EMAIL PROTECTED]> wrote: > -Original Message- > From: tedd [mailto:[EMAIL PROTECTED] > Sent: Friday, March 30, 2007 3:06 PM > To: Tijnema !; John Comerford > Cc: php-general@lists.php.net > Subject: Re: [PHP] Alternative/Addition to

Re: [PHP] Alternative/Addition to using a CAPTCHA

2007-03-30 Thread Tijnema !
On 3/31/07, Tijnema ! <[EMAIL PROTECTED]> wrote: On 3/30/07, Jake McHenry <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > > From: tedd [mailto:[EMAIL PROTECTED] > > Sent: Friday, March 30, 2007 3:06 PM > > To: Tijnema !; John C

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

2007-03-30 Thread Tijnema !
ples) that goes about parsing cookies from javascript. So >> you could also do it with cookies. >> http://www.javascriptkit.com/javatutors/cookie2.shtml > Ermmm... > Isn't $_SESSION a superglobal available only during script execution? > Yes it sets a session_id

Re: [PHP] Ide help needed

2007-03-30 Thread Tijnema !
de and also tell me some other IDE's if possible Kdevelop is also nice if you have KDE installed :) It has support for tidy :) Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP sample code for XMLHttprequest with jQuery

2007-03-30 Thread Tijnema !
ly 100% PHP unrelated. jQuery and XMLHttpRequest (AJAX) are both Javascript. Maybe you should look here: http://docs.jquery.com/Discussion#Mailing_Lists There you can find people using jQuery ;) Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.ne

Re: [PHP] Parse error help.., thanks..

2007-03-30 Thread Tijnema !
ime(SEARCH_DIR.'_cloud_include_cache.html')>(time()-(60*60))) echo file_get_contents(SEARCH_DIR.'_cloud_include_cache.html'); else { $output = ''; $files = array(); $dir = opendir(SEARCH_DIR); while($file = readdir($dir)) if($file != '.' && $file

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

2007-03-31 Thread Tijnema !
On 3/31/07, Jochem Maas <[EMAIL PROTECTED]> wrote: Tijnema ! wrote: > On 3/30/07, Jochem Maas <[EMAIL PROTECTED]> wrote: >> Tim wrote: >> > > > > > > ... >> personally I prefer JSON formatted data, for which there are even a >>

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

2007-03-31 Thread Tijnema !
On 3/31/07, Tijnema ! <[EMAIL PROTECTED]> wrote: On 3/31/07, Jochem Maas <[EMAIL PROTECTED]> wrote: > Tijnema ! wrote: > > On 3/30/07, Jochem Maas <[EMAIL PROTECTED]> wrote: > >> Tim wrote: > >> > > > > > > > > ... >

Re: [PHP] newbie question about debuging

2007-03-31 Thread Tijnema !
e/7585/include.php include.php . Thanks in advance! Something went wrong with installation i think. You should check that the database testdb exists. Tijnema -- View this message in context: http://www.nabble.com/newbie-question-about-debuging-tf3496894.html#a9767223 Sent from the PHP - G

Re: [PHP] newbie question about debuging

2007-03-31 Thread Tijnema !
the script can't connect to your Oracle database. Did you check if the database settings are correct? Like I said i don't know anything about Oracly, i use MySQL, but it requires a host, username, password too i think, so you should check if these are correct. Tijnema -- V

Re: [PHP] Alternative/Addition to using a CAPTCHA

2007-03-31 Thread Tijnema !
On 3/31/07, tedd <[EMAIL PROTECTED]> wrote: At 4:04 PM -0400 3/30/07, Jake McHenry wrote: > > Tijnema & John: >> >> The above link I've already done a long time ago. But check out my >> dot CAPTCHA here: >> > > http://sperling.com/examp

Re: [PHP] Re: Alternative/Addition to using a CAPTCHA

2007-03-31 Thread Tijnema !
do is just making applications that format ur HDD when changing a byte :) If a hacker just does a first try, then clean up the HDD :) Tijnema -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Re: 0x9f54

2007-04-01 Thread Tijnema !
On 4/1/07, Man-wai Chang <[EMAIL PROTECTED]> wrote: >> MySQL? MSSQL? PgSQL? >> Tijnema > It seems he wanted to insert a Chinese character with that hex value. Yes... I tried the insert with PHP, including the use of mysql_real_escape_string(), but MySQL still gave me

Re: [PHP] PDO and buffered queries

2007-04-01 Thread Tijnema !
n. If this wasn't what you were looking for, then sorry for wasting your time, as I'm no PDO expert. But I thought lets give it a shot :) Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Security Best Practice: typecast?

2007-04-01 Thread Tijnema !
instead: $foo_sql = mysql_real_escape_string($foo_sql,$connection); Tijnema -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To

[PHP] Get free broadband internet from google!

2007-04-01 Thread Tijnema !
Hi, It's true, free broadband internet from google :) Have a look at this page: http://www.google.com/tisp Start now with installing: http://www.google.com/tisp/install.html Tijnema ps. 1 April is cool huh? -- PHP Ge

Re: [PHP] Best opensource XML parser for PHP ?

2007-04-02 Thread Tijnema !
easong using an external. www.php.net/xml Tijnema - Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Get free broadband internet from google!

2007-04-03 Thread Tijnema !
On 4/1/07, TheOldFellow <[EMAIL PROTECTED]> wrote: On Sun, 1 Apr 2007 15:54:33 +0200 "Tijnema !" <[EMAIL PROTECTED]> wrote: > I'm testing if it works now, I already put the cable down into my > toilet and waiting for google to connect me :) I hope they work

Re: [PHP] Question about form submitting

2007-04-03 Thread Tijnema !
wq! Mário Gamito This can only be done with Javascript if you don't want to leave the page. And so, you're on the wrong list, search for a javascript list :) Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP

Re: [PHP] Question about form submitting

2007-04-03 Thread Tijnema !
leaving the page and reloading it Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Google-Yahoo venture and PHP

2007-04-03 Thread Tijnema !
Digg shows us that it is posted on 3/31/07, is there something wrong with? Tijnema -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://w

Re: [PHP] Why do some pages repeat a previous page's action(s) after redirect?

2007-04-03 Thread Tijnema !
ves" this action as an action did by the browser itself, and so it will submit the data to the page where you redirect. If you want to bypass this, you should use the javascript window.location method instead. Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscrib

Re: [PHP] Audio CAPTCHA review request

2007-04-05 Thread Tijnema !
ands of different combinations of simple questions. Likewise, a sound file could be produced the same way. This could get hard for people, not everybody does understand a lot of English. So if you're asking a question, it does also get harder for some humans and that's not what we

Re: [PHP] DOMDocument::schemaValidate() -> libxml_get_errors()

2007-04-05 Thread Tijnema !
5535. for upper lines he return always 65535. An idea ? Thx in advance. I don't really understand what you're saying, but i might be able to help you if you post the output of the script you posted, and then tell what the expected output is. Tijnema -- PHP General Mailing List (http

Re: [PHP] Audio CAPTCHA review request

2007-04-05 Thread Tijnema !
probably need to remove a little piece in your security, which isn't wanted of course :) Tijnema -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Audio CAPTCHA review request

2007-04-05 Thread Tijnema !
reating an movie from that frames. I prefer no compression then, because that would require the user to install decoders. I think these days every user has a browser supporting inline movies right? I know, this wouldn't stop the semi-automatic bots, but i think these are very hard to stop. (Unsto

Re: [PHP] PDF: error

2007-04-05 Thread Tijnema !
arm Regards -- :wq! Mário Gamito -- Where did you get the $data variable? as filesize($data) would return false here, and that's not a good value for the Content-Length header :) Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PDF: error

2007-04-05 Thread Tijnema !
turns the number of bytes written :) Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP textbook suggestions?

2007-04-05 Thread Tijnema !
e no variables involved greets Zoltán Németh I prefer using double quotes (" ") around strings, because i don't have to escape single quotes (' ') in words like I'm, don't, etc. Tijnema > > > I will be teaching, so a book that a student can-- before

Re: [PHP] DOMDocument::schemaValidate() -> libxml_get_errors()

2007-04-05 Thread Tijnema !
guess..). An integer could a lot more. I think there are 2 options that make this error: 1) The libxml library itself doesn't support it. 2) The PHP bindings with the libxml don't support it. In the first case you would need to contact the libxml authors, in the second case, you might wa

Re: [PHP] HELP with mail()

2007-04-06 Thread Tijnema !
stration Confirmation", $mailBody, "From: \r\n" ."Reply-To: \r\n" ."X-Mailer: PHP/" . phpversion()); } ?> Try hardcoding the email, i've seen this problem more on this list.Try the code below and see if it solves your problem. Tijnema "; $

Re: [PHP] How to disable the "Daylight saving time" in PHP 5?

2007-04-06 Thread Tijnema !
n every php-page, they are to many. Regards, Summi Netfang [EMAIL PROTECTED] Heimasíða http://www.sed.is I don't know a way to disable DST, but you can change your timezone in the php.ini, so that you set it an hour back again :) manual about date.timezone: http://www.php.net/manual/en/ref.dat

Re: [PHP] link counting

2007-04-06 Thread Tijnema !
27;, 'https://', 'www.'); $total_links = 0; foreach($links as $link) { $total_links = substr_count($string, $link); } if($total_links > X) { . } I don't have a better way, but links starting with http://www. or https://www. are counted twice in your scri

Re: [PHP] Audio CAPTCHA review request

2007-04-06 Thread Tijnema !
On 4/6/07, tedd <[EMAIL PROTECTED]> wrote: At 7:54 PM +0200 4/5/07, Tijnema ! wrote: >About your dot-captcha program tedd, it's another trick, it hasn't >been used yet, so somebody needs to look at it to crack. Like Jochem >said, if someone really wants to break it, he w

Re: [PHP] Audio CAPTCHA review request

2007-04-06 Thread Tijnema !
On 4/6/07, tedd <[EMAIL PROTECTED]> wrote: At 2:55 PM +0100 4/6/07, Tijnema ! wrote: >I know, but animated gifs are still quite easy to read with a bot. Really? What if I a created a box surrounded by letters, like so: A B C D E F G H I However, where "E" is located I have

Re: [PHP] Submitting as POST. Why?

2007-04-07 Thread Tijnema !
u could make a script to search in their search machine by just going to an url like http://www.google.com/search?q=, instead of making a form. Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP has encountered an Access Violation at 01F13157?!?!?!?

2007-04-07 Thread Tijnema !
ing me blank screen. installed firefox 2 and got the error message from subject line. according google and php.net, it's bug?!? any idea? thanks for any help. -afan So, what are the error messages in your firefox? and do you have any error messages in your apache error log? Tijnema --

Re: [PHP] PHP has encountered an Access Violation at 01F13157?!?!?!?

2007-04-07 Thread Tijnema !
On 4/7/07, Tijnema ! <[EMAIL PROTECTED]> wrote: On 4/7/07, Afan Pasalic <[EMAIL PROTECTED]> wrote: > hi, > I just installed php 5.2.1-win32-installer on win box (XP). use IIS. > created index.html file and localhost/index.html is ok. > created phpinfo.php (with only phpin

Re: [PHP] Re: link counting

2007-04-07 Thread Tijnema !
. Below is the function is_url function is_url($url) { return preg_match('#^http\\:\\/\\/[a-z0-9\-]+\.([a-z0-9\-]+\.)?[a-z]+#i', $url);} taken from this link: http://plurged.com/code.php?id=26 Hmm, it does only take http links, not https,ftp, etc. Tijnema -- itoctopus - http://ww

Re: [PHP] MD5 & bot Question

2007-04-07 Thread Tijnema !
On 4/7/07, tedd <[EMAIL PROTECTED]> wrote: At 11:56 PM +0100 4/6/07, Tijnema ! wrote: >On 4/6/07, tedd <[EMAIL PROTECTED]> wrote: >>At 2:55 PM +0100 4/6/07, Tijnema ! wrote: >>>I know, but animated gifs are still quite easy to read with a bot. >> >

Re: [PHP] Bind IP with fsockopen

2007-04-07 Thread Tijnema !
nnection, you should connect through another router/modem. But this depends on your setup, and has nothing to do with PHP. Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MD5 & bot Question

2007-04-08 Thread Tijnema !
#x27;re interested in the code: >> >>http://86.86.80.41/dev/debug/tedd.txt >> >>Tijnema Tijnema: Okay, I think I figured out a fix -- try it again. :-) http://sperling.com/a/arrows/ A little knowledge is a dangerous thing. Cheers, tedd Looks interesting. It generates

Re: [PHP] MD5 & bot Question

2007-04-08 Thread Tijnema !
On 4/8/07, Tijnema ! <[EMAIL PROTECTED]> wrote: On 4/8/07, tedd <[EMAIL PROTECTED]> wrote: > >>Well, I cracked it for you :) > >> > >>http://86.86.80.41/dev/debug/tedd.php > >> > >>At the bottom it shows you the MD5 code of your

Re: [PHP] Re: spl DirectoryIterator

2007-04-08 Thread Tijnema !
h some iterators inside it. But all these iterators are the same iterator i started with. Meaning i get an array of all duplicate iterators. This is not what it should do i think, but there's no documentation on the fuction, so i can't compare with the "expected output". Ti

Re: [PHP] MD5 & bot Question

2007-04-08 Thread Tijnema !
On 4/8/07, tedd <[EMAIL PROTECTED]> wrote: At 9:42 AM +0200 4/8/07, Tijnema ! wrote: >You can't stop me :) > >http://86.86.80.41/dev/debug/tedd.php > >It's cracked again :) > >and of course i show you the code: > >http://86.86.80.41/dev/debug/tedd.txt

Re: [PHP] MD5 & bot Question

2007-04-09 Thread Tijnema !
decrypting the key here, that's impossible with MD5, you can only bruteforce. But that's totally not of interest, a cracker doesn't want to implement a MD5 bruteforcer in his bot that brute forces the MD5 key each time (which can take up to several years to complete on regular PCs).

Re: [PHP] DOM and XSLTProcessor

2007-04-09 Thread Tijnema !
Processor; $proc->importStylesheet(DOMDocument::load("test.xslt")); echo $proc->transformToXML($doc); ?> But this was of no success; it just had the same output. Is there anyone that is able to help me out here? Thanks, Logan Try using htmlspecialchars_decode before outputtin

Re: [PHP] MD5 & bot Question

2007-04-09 Thread Tijnema !
aybe use flash for this... harder to crack? (Of course, Flash will > >> >open door to other problems.) > >> > > >> >Sorry, coming in on this late. Good work Tedd! Very interesting. > >> > >> > >> M: > >> > >> Tij

Re: [PHP] redirect http to https

2007-04-09 Thread Tijnema !
/".$_SERVER['SERVER_NAME'].$_SERVER ['SCRIPT_NAME']);exit;} ?> What do people think about this solution? Thanks, - Ben Apache mod_rewrite maybe? Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP G

Re: [PHP] MD5 & bot Question

2007-04-09 Thread Tijnema !
On 4/9/07, Robert Cummings <[EMAIL PROTECTED]> wrote: On Mon, 2007-04-09 at 16:27 +0200, Tijnema ! wrote: > > I think that we can conclude that a non-crackable CAPTCHA doesn't > exist, but also that there doesn't exist a real "hard to crack" > CAPTCHA. Al

Re: [PHP] Session Authentication

2007-04-09 Thread Tijnema !
sion id, or even better, save the authentication in a cookie on the client (seperated from the session array). And then the user would crack the cookie .... I know they are encrypted, but trust me, cookies can be edited. Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MD5 & bot Question

2007-04-09 Thread Tijnema !
On 4/9/07, Robert Cummings <[EMAIL PROTECTED]> wrote: On Mon, 2007-04-09 at 16:39 +0200, Tijnema ! wrote: > On 4/9/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Mon, 2007-04-09 at 16:27 +0200, Tijnema ! wrote: > > > > > > I think that we can conclu

Re: [PHP] MD5 & bot Question

2007-04-09 Thread Tijnema !
On 4/9/07, Stut <[EMAIL PROTECTED]> wrote: Tijnema ! wrote: > On 4/9/07, Robert Cummings <[EMAIL PROTECTED]> wrote: >> On Mon, 2007-04-09 at 16:39 +0200, Tijnema ! wrote: >> > On 4/9/07, Robert Cummings <[EMAIL PROTECTED]> wrote: >> > > On

Re: [PHP] Session Authentication

2007-04-09 Thread Tijnema !
On 4/9/07, Martin Marques wrote: Tijnema ! escribió: > On 4/9/07, Martin Marques wrote: >> >> Yes: >> >> Don't use transparent session id, or even better, save the >> authentication in a cookie on the client (seperated from the session >> array).

Re: [PHP] Session Authentication

2007-04-09 Thread Tijnema !
On 4/9/07, Peter Lauri <[EMAIL PROTECTED]> wrote: > -Original Message- > From: Tijnema ! [mailto:[EMAIL PROTECTED] > Sent: Monday, April 09, 2007 5:38 PM > To: Martin Marques > Cc: Ólafur Waage; php-general@lists.php.net > Subject: Re: [PHP] Session Authenticati

Re: [PHP] Session Authentication

2007-04-09 Thread Tijnema !
at >> means i can't give you these tools to proof it, but it is possible. >> >> Tijnema > > [Peter Lauri - DWS Asia] > > Having these tools is probably not illegal. But using them illegally is > illegal :) Could you send me some more info "off-list" abou

Re: [PHP] Session Authentication

2007-04-09 Thread Tijnema !
On 4/9/07, Tijnema ! <[EMAIL PROTECTED]> wrote: On 4/9/07, Stut <[EMAIL PROTECTED]> wrote: > Peter Lauri wrote: > >> Cookies are old, so in the time they were introduced, today it is > >> possible to create and modify cookies with some good tools. These > >

Re: [PHP] Session Authentication

2007-04-09 Thread Tijnema !
On 4/9/07, tedd <[EMAIL PROTECTED]> wrote: At 5:55 PM +0200 4/9/07, Tijnema ! wrote: >Cookies are old, so in the time they were introduced, today it is >possible to create and modify cookies with some good tools. These >tools are illegal, I don't believe that. FireFox proba

Re: [PHP] MD5 & bot Question

2007-04-09 Thread Tijnema !
distorting it beyond recognition/corrupting it, and therefore get a hybrid of static/on-the-fly images, that hashing couldn't break so simply. 2 cents... Travis Doherty This is exactly what tedd did in his last arrow example. He edited the header of the GIF image, and so that would result in different MD5. Finding this part and skipping it in the MD5 check would do the job. :) Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MD5 & bot Question

2007-04-09 Thread Tijnema !
On 4/9/07, tedd <[EMAIL PROTECTED]> wrote: At 4:39 PM -0400 4/9/07, Robert Cummings wrote: >On Mon, 2007-04-09 at 22:27 +0200, Tijnema ! wrote: > > > This is exactly what tedd did in his last arrow example. He edited the >> header of the GIF image, and so that would

[PHP] Array remove function?

2007-04-10 Thread Tijnema !
,2=>3),2,false); // array (1=>2) Anyone knows if there already exists such function? Else should i create future request? Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Array remove function?

2007-04-10 Thread Tijnema !
On 4/10/07, Richard Lynch <[EMAIL PROTECTED]> wrote: http://php.net/unset That works when you know the key, but will that work when you only know the value? Tijnema On Tue, April 10, 2007 2:49 pm, Tijnema ! wrote: > Hi, > > Is there currently a function that removes a ke

Re: [PHP] MD5 & bot Question

2007-04-10 Thread Tijnema !
the same 10-20 parts (and MD5 sum) and compare, and if a few (or maybe just 1) match, then you know it's same image :) Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Novice PHP Question - Listing Folder Contents

2007-04-10 Thread Tijnema !
On 4/10/07, revDAVE <[EMAIL PROTECTED]> wrote: I apologize in advance, however I know almost nothing about PHP - ( but I am trying to learn now)... I am wondering if it is possible to create a PHP page that can: 1 - Get the contents of everything in its own folder at the same level ( just list

Re: [PHP] Array remove function?

2007-04-10 Thread Tijnema !
't thought of that :) But should i submit a future request for such function? Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Novice PHP Question - Listing Folder Contents

2007-04-10 Thread Tijnema !
On 4/10/07, revDAVE <[EMAIL PROTECTED]> wrote: On 4/10/2007 1:13 PM, "Tijnema !" <[EMAIL PROTECTED]> wrote: > http://www.php.net/manual/en/function.scandir.php > >> >> 2 - List/ display the contents on the same Web-page > > http://www.php.net/manu

Re: [PHP] Array remove function?

2007-04-11 Thread Tijnema !
nd then you need to remove some of the non-unique values. But it's a multi-dimensional array... Tijnema On Tue, April 10, 2007 2:52 pm, Tijnema ! wrote: > On 4/10/07, Richard Lynch <[EMAIL PROTECTED]> wrote: >> http://php.net/unset > > That works when you know the k

Re: [PHP] dynamic web interface and size

2007-04-11 Thread Tijnema !
On 4/11/07, Richard Lynch <[EMAIL PROTECTED]> wrote: 1000 pixels? Woof. Guess my 800x600 box is not in your market... 800x600 :| Using 1600x1200 here :) I like the idea,. because most sites are made for 800x600 and they are so small on my screen... Tijnema -- PHP General Mailin

Re: [PHP] Bind IP with fsockopen

2007-04-11 Thread Tijnema !
On 4/11/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Thanks how would I handle the fgets line.. http://www.php.net/socket_read If I echo $sock I get resource ID #4 rather then the responce from the other computer. Before on my original script I returned the responce using fputs($fs, "$doma

Re: [PHP] Re: Question on Portfoilo's

2007-04-12 Thread Tijnema !
nd to build your portfolio. That's where open source comes in nicely. You don't need to make it a full time job, but actively contributing to a project will allow you to say "I played a good sized role in __." Think about the google Summer of Code idea, if you participated

Re: [PHP] PHP editor

2007-04-12 Thread Tijnema !
directly to the server (even if the server isn't in the LAN, it can save through FTP automatically). For linux i prefer Kdevelop :), nice free and buitlin with KDE, which a lot of distributions use... Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Bind IP with fsockopen

2007-04-12 Thread Tijnema !
On 4/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi ive tried \r\n\n and pretty much every other combination I can think of. But I still cant get it to return a line break. Otherwise the script is working though. A simple \r\n should do the job:) Tijnema - Original M

Re: [PHP] Dreamhost! PHP as CGI!???

2007-04-13 Thread Tijnema !
Micky Google tells me that it is an optional feature to run PHP as CGI, default it is running under apache. Atleast that's what i found for dreamhost. Tijnema -- Wishlists: <http://snipurl.com/vrs9> Switch: <http://browsehappy.com/> BCC?: <http://snipurl.

Re: [PHP] Dreamhost! PHP as CGI!???

2007-04-13 Thread Tijnema !
up is a pain in the ass there, it can take a few days before you get a reply. But once you got it, it's a really nice host. Nice speed, really 99.9% uptime, and not much limited stuff :) safe_mode is even turned off :) Tijnema -- Zend Certified Engineer http://www.corephp.co.uk "Never

Re: [PHP] width and height of flash-files

2007-04-13 Thread Tijnema !
width :) Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP editor

2007-04-13 Thread Tijnema !
he light bulb turn on). Nonetheless, this "ignorant" > user brings up a thought - are there any editors written in PHP? > > ~Philip I sure hope not. Editors should never be written in scripting-languages in my opinion. - tul Uhm, C is a scripting language too right? Most editors

Re: [PHP] sendmail loop

2007-04-13 Thread Tijnema !
es? Thanks! ~J With set_time_limit you could set the timeout value higer: http://www.php.net/set_time_limit So that your script won't timeout when it takes too long. Also, when the user closes his browser, the script will continue! Tijnema Ps. No, this is not a spam application - i

Re: [PHP] Re: width and height of flash-files

2007-04-14 Thread Tijnema !
LV files, so then you need to use such tools as FLV Metdata Injector, but i didn't find a linux alternative. If you're only doing a few .flv files, and quite small ones, you might want to convert the FLV files first to another format with ffmpeg. Then use some tools on that. Tijnem

Re: [PHP] how to get var name and value from function?

2007-04-14 Thread Tijnema !
${$key} = $value; echo ($print ==1) ? $key.': '.$value.''; // to test results and seeing array variables and values } } value2var($_POST, 1); but, I don't know how to get info from function back to script?!?!? :-( Uhm, it's not even possible when you don&

Re: [PHP] Images again

2007-04-14 Thread Tijnema !
For the rest of your message, i don't understand what you're trying to do. Show us (parts of) the code you have now, and then explain what you've wanted to do, and what it does now. Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Json.php

2007-04-14 Thread Tijnema !
this available in the PHP manual (http://ch2.php.net/manual/de/ref.json.php)? O. Wyss *ROFLMFAO*...Did you actually try google for json.php? Second result: http://mike.teczno.com/JSON/JSON.phps Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.ph

Re: [PHP] Problems installing php with pdflib

2007-04-14 Thread Tijnema !
the libraries in pdflibdir/lib Tijnema I do run the same version on the old box which is php 4.4.6 and pdflib 4.03. I do not want to upgrade to a new pdflib since I was totaly satisfied with the installation which runs perfectly. The php version seems also not to be the problem since I tried

Re: [PHP] warning message to hide

2007-04-14 Thread Tijnema !
ke this: $conn = @pg_connect($conn_string); And if you want also to generate your own error. $conn = @pg_connect($conn_string) or die("My error here!"); This will show My error here! when the function can't connect. Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] auto page generation

2007-04-16 Thread Tijnema !
ht be cheaper and quicker to hire one of us. Or just google for some tutorials like : www.tizag.com It has a great tutorial for n00bs... ;) After that you probably will be able to make such site you want to :) Tijnema Cheers, tedd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] how to get var name and value from function?

2007-04-16 Thread Tijnema !
On 4/16/07, Ford, Mike <[EMAIL PROTECTED]> wrote: On 14 April 2007 13:16, Afan Pasalic wrote: > Tijnema ! wrote: > > On 4/14/07, Afan Pasalic <[EMAIL PROTECTED]> wrote: > > > function value2var($array, $print=0) > > > { > > >foreach ($_PO

<    1   2   3   4   5   6   7   8   >