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

2007-03-29 Thread Roberto Mansfield
Only do this if all the files should be publicly accessible. Otherwise, you'll need to create a php wrapper to do authorization before sending the file. -Roberto Rahul Sitaram Johari wrote: > Ave, > > I¹m going to try creating the sharepoint within my webserver, as suggested > by you and tijnem

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

2007-03-29 Thread Rahul Sitaram Johari
Ave, I think I did it! I created a sharepoint within my web server (inside my website) and mounted the share on that sharepoint. Once I did that, I specified correct paths and my downloads are now working. I created a ³jump menu² select list and this is what I¹ve come up with: function o

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

2007-03-29 Thread Rahul Sitaram Johari
Ave, You've actually raised pretty valid security issues. The files in that particular mounted share can be publicly accessible so I'm not worried about that. But I'll certainly validate phone number before executing the find command. Thanks! ~~~ Rahul Sitaram

Re: [PHP] Date/time format?

2007-03-29 Thread Jim Lucas
Roberto Mansfield wrote: Jason Pruim wrote: Thanks everyone for your suggestions, it turns out it was a unix time stamp and I can get it to parse out a normal date now. Now... on to the harder part What I am trying to do is learn... This is kind of just a pet project for me to figure out h

Re: [PHP] Date/time format?

2007-03-29 Thread Jim Lucas
Jason Pruim wrote: Hi Everyone, First off, I'm using PHP 5.2.0 and apache 1.3.33 I am trying to figure out what format a string is in in a database. It's a timecard system that I have found on-line and I am attempting to figure out how to write a script that would give me everyones timecard

Re: [PHP] Gnome and MIME types

2007-03-29 Thread Edward Vermillion
Just going out on a limb here, but did you mis-type it in the script also? > > I then stumbled upon gnomevfs-info that provided the information I ^ > exec, etc). I used the full path (/usr/bin/gnamevfs-info) so I don't

Re: [PHP] Re: installing php 5.2.1

2007-03-29 Thread Chris
Sady Marcos wrote: Change permissions... How is that related to permissions? It was simply php trying to load up extensions that didn't exist. -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.ne

Re: [PHP] What is wrong with this INSERT?

2007-03-29 Thread Chris
Rahul Sitaram Johari wrote: My Apologies Everyone! I gave you all the wrong code Twice!! A pox on me - I tell you! This is the ACTUAL code that I'm working with - and it's not working: $WHEN, $WHAT, $WHO"; $sql = "INSERT INTO tbl (WHEN, WHAT, WHO) VALUES ('$WHEN','

Re: [PHP] Audio CAPTCHA review request

2007-03-29 Thread TG
On Thu, March 29, 2007 3:45 pm, Tijnema ! wrote: > You're maybe on the right path, adding images as the background makes > it really hard to read the code from the image. You could for example > use random images as background. Some of the CAPTCHA methods listed as being difficult for the PWNtcha

Re: [PHP] CURL questions

2007-03-29 Thread Chris
Angelo Zanetti wrote: y Erik Jones wrote: On Mar 29, 2007, at 11:15 AM, Angelo Zanetti wrote: Hi all. I have a script on a server that does some processing, now I want to execute that script using cURL. This is a basic scenario and I assume its possible but its not working. The script i

Re: [PHP] Audio CAPTCHA review request

2007-03-29 Thread TG
On Thu, March 29, 2007 4:50 pm, tedd wrote: >>2. What you've created is a relatively simplistic audio captcha that >>HAS to be really succeptible to speech recognition. Spammers have >>gotten used to visual CAPTHCA so maybe they're not going to focus >>too much on detecting and breaking audio CAPT

[PHP] Alternative/Addition to using a CAPTCHA

2007-03-29 Thread John Comerford
I was reading the current tread on CAPTCHA and possible cracks and I thought maybe I'd throw this out to the group to see what you think. Recently I saw a forum where in order to post you first had to click on a div that was placed at a random location on the page, it read something like, "Cli

[PHP] Re: CURL questions

2007-03-29 Thread Manuel Lemos
Hello, on 03/29/2007 01:15 PM Angelo Zanetti said the following: > I have a script on a server that does some processing, now I want to > execute that script using cURL. This is a basic scenario and I assume > its possible but its not working. > > The script is as follows: > >$url = "http://

[PHP] Environment variables in php.ini

2007-03-29 Thread Abdullah Ramazanoglu
Hello, I have a Linux shared hosting environment with PHP running over CGI. With CGI I can't use httpd.conf or .htaccess files for PHP related parameters, so all the parameters should be given in one central php.ini file, AFAIK. So how can I give parameters, in effect, like the ones below? error_

Re: [PHP] Re: CURL questions

2007-03-29 Thread Chris
Manuel Lemos wrote: Hello, on 03/29/2007 01:15 PM Angelo Zanetti said the following: I have a script on a server that does some processing, now I want to execute that script using cURL. This is a basic scenario and I assume its possible but its not working. The script is as follows: $url =

Re: [PHP] Re: CURL questions

2007-03-29 Thread Manuel Lemos
Hello, on 03/30/2007 12:38 AM Chris said the following: >>> I get a 500 Internal server error, not sure why as this page being >>> called just inserts a word into a database. Could the cause be something >>> else network related? What else can I troubleshoot? or is my code >>> incorrect? >> >> It

Re: [PHP] Re: CURL questions

2007-03-29 Thread Chris
Manuel Lemos wrote: Hello, on 03/30/2007 12:38 AM Chris said the following: I get a 500 Internal server error, not sure why as this page being called just inserts a word into a database. Could the cause be something else network related? What else can I troubleshoot? or is my code incorrect? I

Re: [PHP] Audio CAPTCHA review request

2007-03-29 Thread Zoltán Németh
2007. 03. 29, csütörtök keltezéssel 22.00-kor Tijnema ! ezt írta: > 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 te

Re: [PHP] Audio CAPTCHA review request

2007-03-29 Thread Tijnema !
I would like to give a few comments on your script: 1) it looks like that http://www.sperling.com/examples/captcha/tmp/access.mp3, without a code, always returns the same value :) 284 2) About the timeout, you should set it at least less then 24 hrs, i should do about 6 hrs, that's enough for

<    1   2