[PHP] Force-Saving an Audio File

2009-12-08 Thread c...@hosting4days.com
Hi folks, I'm trying to force save .mp3 files so this is a test page (found on the net). It works fine when: $directory = ""; // so the audio is in the same local directory but fails when I use a REAL web directory - (the audio file is here - http://mysite.com/test1/audio.mp3 ) $director

[PHP] Ищешь паpтнеpа для секса? Ты не один. На сайте http://sexfuns.110mb.com многие девушки и паpни знакомятся для секса и всего остального. Пpисоединяйся! =)

2009-12-08 Thread promoaction
Если Вы стоpонник свободных и непpинужденных отношений, если Вы женаты или замужем, доpожите семьей, и пpи этом в Вас пылает стpасть к стоpонним чувствам, если Вы имеете слабость к однополому, бисексуальному, гpупповому сексу, свингу или BDSM, если Вы тpанссексуал и/или мечтаете о знакомстве с

Re: [PHP] Filtering results via user input

2009-12-08 Thread Ashley Sheridan
On Tue, 2009-12-08 at 10:49 -0800, Allen McCabe wrote: > I wrote a function (inferior no doubt) that takes the values of a form with > a get method to filter results from the database. > > It is a list of orders, and I need to be able to filter by the user, the > user's school, or specific items

Re: [PHP] Filtering results via user input

2009-12-08 Thread Bastien Koert
On Tue, Dec 8, 2009 at 1:49 PM, Allen McCabe wrote: > I wrote a function (inferior no doubt) that takes the values of a form with > a get method to filter results from the database. > > It is a list of orders, and I need to be able to filter by the user, the > user's school, or specific items (fin

[PHP] Filtering results via user input

2009-12-08 Thread Allen McCabe
I wrote a function (inferior no doubt) that takes the values of a form with a get method to filter results from the database. It is a list of orders, and I need to be able to filter by the user, the user's school, or specific items (find all orders that have *this* item). I thought I figured out

[PHP] PHP Upgrade Problem

2009-12-08 Thread David Stoltz
Folks, I upgraded from PHP 5.2.6 to 5.3.1 on my test machine. Pretty easy, just installed FastCGI for IIS6, installed PHP 5.3.1 and entered the .php ext stuff into IIS6. Now I tried it on my production box. No go. Although the web extension "FastCGI Handler" can be enabled with no problems, PHP d

Re: [PHP] cookies and carts

2009-12-08 Thread Michael A. Peters
Allen McCabe wrote: I have a shopping cart type system set up which keeps track of the cart contents using a SESSION variable, where $_SESSION['cart'][$item_id'] is equal to the quantity, so the name/value pair is all the information I need. But sessions are unreliable on the free server I am cu

Re: [PHP] Passing HTML array index to JS?

2009-12-08 Thread Philip Thompson
On Dec 8, 2009, at 11:10 AM, tedd wrote: > At 9:07 PM -0600 12/7/09, Philip Thompson wrote: >> >> -snip- > > Good stuff. > > Thanks, > > tedd You say so much with so little... ~Philip -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Passing HTML array index to JS?

2009-12-08 Thread tedd
At 9:07 PM -0600 12/7/09, Philip Thompson wrote: -snip- Good stuff. Thanks, tedd -- --- 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

Re: [PHP] mysterious include problem

2009-12-08 Thread Ashley Sheridan
On Tue, 2009-12-08 at 17:32 +0100, Jochem Maas wrote: > Hi Allen, > > gonna be a bit ruthless with you :). > > 1. your not filtering your input (your open to include being hacked) > 2. your not validating or error checking (e.g. does the include file exist??) > 3. keeping large numbers of conten

Re: [PHP] mysterious include problem

2009-12-08 Thread Jochem Maas
Hi Allen, gonna be a bit ruthless with you :). 1. your not filtering your input (your open to include being hacked) 2. your not validating or error checking (e.g. does the include file exist??) 3. keeping large numbers of content pages with numerical filenames is a maintenance nightmare and inci

Re: [PHP] cookies and carts

2009-12-08 Thread Jochem Maas
Allen McCabe schreef: > I have a shopping cart type system set up which keeps track of the cart > contents using a SESSION variable, where $_SESSION['cart'][$item_id'] is > equal to the quantity, so the name/value pair is all the information I need. > > But sessions are unreliable on the free serv

Re: [PHP] request for support

2009-12-08 Thread Philip Thompson
On Dec 8, 2009, at 6:12 AM, Ashley Sheridan wrote: > On Tue, 2009-12-08 at 12:08 +, Tarek Kaddoura wrote: >> __ >> Subject: RE: [PHP] request for support >> From: a...@ashleysheridan.co.uk >> To: stevewiese...@hotmail.com >> C

Re: [PHP] How to properly serve a file via a wrapper.

2009-12-08 Thread Ashley Sheridan
On Tue, 2009-12-08 at 07:11 -0800, Michael A. Peters wrote: > Please help. > > I thought I had this squared away, but apparently not. > I need to be able to use a php wrapper to serve a file stored outside > the web root. > > Works great for downloads / images - but my wrapper seems broken for

[PHP] How to properly serve a file via a wrapper.

2009-12-08 Thread Michael A. Peters
Please help. I thought I had this squared away, but apparently not. I need to be able to use a php wrapper to serve a file stored outside the web root. Works great for downloads / images - but my wrapper seems broken for media files to be played. My wrapper: http://www.shastaherps.org/bugs

RE: [PHP] Passing HTML array index to JS?

2009-12-08 Thread Ashley Sheridan
On Tue, 2009-12-08 at 12:34 +, Ford, Mike wrote: > > > -Original Message- > > From: Skip Evans [mailto:s...@bigskypenguin.com] > > Sent: 07 December 2009 23:03 > > To: php-general@lists.php.net > > Subject: [PHP] Passing HTML array index to JS? > > > > Hey all, > > > > I have an HTM

RE: [PHP] Passing HTML array index to JS?

2009-12-08 Thread Ford, Mike
> -Original Message- > From: Skip Evans [mailto:s...@bigskypenguin.com] > Sent: 07 December 2009 23:03 > To: php-general@lists.php.net > Subject: [PHP] Passing HTML array index to JS? > > Hey all, > > I have an HTML field like this > > style="text-align: right;" onblur="calculateBidUn

RE: [PHP] request for support

2009-12-08 Thread Ashley Sheridan
On Tue, 2009-12-08 at 12:08 +, Tarek Kaddoura wrote: > > > > __ > Subject: RE: [PHP] request for support > From: a...@ashleysheridan.co.uk > To: stevewiese...@hotmail.com > CC: php-general@lists.php.net > Date: Tue, 8 Dec 2

RE: [PHP] request for support

2009-12-08 Thread Tarek Kaddoura
Subject: RE: [PHP] request for support From: a...@ashleysheridan.co.uk To: stevewiese...@hotmail.com CC: php-general@lists.php.net Date: Tue, 8 Dec 2009 11:53:53 + On Tue, 2009-12-08 at 11:53 +, Tarek Kaddoura wrote: sorry sorry thats a typo error the code

RE: [PHP] request for support

2009-12-08 Thread Ashley Sheridan
On Tue, 2009-12-08 at 11:53 +, Tarek Kaddoura wrote: > > sorry sorry thats a typo error > the code im using is: > PHPIniDir "C:/PHP/" > LoadModule php5_module "C:/PHP/php5apache2.dll" > > > __ > Subject: Re: [PHP] request f

Re: [PHP] request for support

2009-12-08 Thread Ashley Sheridan
On Tue, 2009-12-08 at 11:29 +, Tarek Kaddoura wrote: > > > I'm using PHP 5.2.11 with Apache 2 (and i also tried Apache 2.2) > > However, when I add this entry to my httpd.conf: > > LoadModule php4_module "C:/Program Files/php/sapi/php4apache.dll" > > Apache will crash when trying to start

[PHP] request for support

2009-12-08 Thread Tarek Kaddoura
I'm using PHP 5.2.11 with Apache 2 (and i also tried Apache 2.2) However, when I add this entry to my httpd.conf: LoadModule php4_module "C:/Program Files/php/sapi/php4apache.dll" Apache will crash when trying to start the service. If I comment the line out, Apache starts just fine. Thanks f