[PHP] Delete File With Any File Extension

2010-06-15 Thread Shaun Thornburgh
Hi, I need to delete a file with any file extension where i know the name of the file, is it possible to use regular expressions with the unlink function? Thanks _ http://clk.atdmt.com/UKM

[PHP] W3C Validator and Post Arrays

2009-04-02 Thread Shaun Thornburgh
Hi, We are getting errors when trying to vaildate our HTML due to the [ character when using Post Arrays: Line 173, Column 65: character "[" is not allowed in the value of attribute "id" …e="filters[calling_url]" id="filters[calling_url]" value="categories-bulk-ear Does anyone know of

RE: [PHP] Problems sending $_POST vairable to an ASP page

2008-08-28 Thread shaun thornburgh
> Date: Thu, 28 Aug 2008 16:24:58 -0500> From: [EMAIL PROTECTED]> To: [EMAIL > PROTECTED]; php-general@lists.php.net> Subject: RE: [PHP] Problems sending > $_POST vairable to an ASP page> > [snip]> Unfortunately I don't have curl > installed on my server.> [/snip]> > Unless you can open a sock

RE: [PHP] Problems sending $_POST vairable to an ASP page

2008-08-28 Thread shaun thornburgh
> Date: Thu, 28 Aug 2008 16:21:19 -0500> From: [EMAIL PROTECTED]> To: [EMAIL > PROTECTED]; php-general@lists.php.net> Subject: RE: [PHP] Problems sending > $_POST vairable to an ASP page> > [snip]> I need to send post variables to an > ASP page. I have the following code> which isn't produci

[PHP] Problems sending $_POST vairable to an ASP page

2008-08-28 Thread shaun thornburgh
Hi guys, I need to send post variables to an ASP page. I have the following code which isn't producing any errors but isn't working either: foreach($_POST['newsletter-group'] as $key => $value){ $_POST['addressbookid'] = $value; $out = "POST /signup.ashx"; $fp = fsockopen("dmtrk.net", 80, $err

RE: [PHP] Re: Sending a POST variable to an ASP page

2008-08-28 Thread shaun thornburgh
Date: Wed, 27 Aug 2008 15:07:53 -0600From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Re: [PHP] Re: Sending a POST variable to an ASP page well that would constitute a particular reason :) On Wed, Aug 27, 2008 at 2:55 PM, shaun thornburgh <[EMAIL PROTECTED]> wrote: > Date: Wed, 27 Aug 2

RE: [PHP] Re: Sending a POST variable to an ASP page

2008-08-27 Thread shaun thornburgh
> To: php-general@lists.php.net> Date: Wed, 27 Aug 2008 14:07:31 -0500> From: > [EMAIL PROTECTED]> Subject: [PHP] Re: Sending a POST variable to an ASP page> > > shaun thornburgh wrote:> > Hi,> > > > I need to send a post variable to an >

RE: [PHP] Sending a POST variable to an ASP page

2008-08-27 Thread shaun thornburgh
> Date: Wed, 27 Aug 2008 14:13:23 -0400> To: php-general@lists.php.net> From: > [EMAIL PROTECTED]> Subject: Re: [PHP] Sending a POST variable to an ASP page> > > At 5:54 PM + 8/27/08, shaun thornburgh wrote:> >Hi,> >> >I need to send >

[PHP] Sending a POST variable to an ASP page

2008-08-27 Thread shaun thornburgh
Hi, I need to send a post variable to an ASP page, can I do this within my PHP script? I don't need to view the page, or get any acknowledgment back, just send the single POST variable... Thanks for your advice _ Get Hotmail on

[PHP] Number of files in a dir

2002-11-01 Thread Shaun Thornburgh
How can i find out how many files exist in a dir? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: uploading files

2002-11-01 Thread Shaun Thornburgh
Thats all fine Here is my form header "Kevin Stone" <[EMAIL PROTECTED]> wrote in message news:020201c281ec$04515820$6601a8c0@;kevin... > Confirm that you're using the proper header information in your HTML > tag.. > > -Kevin > > - Original

[PHP] Re: uploading files

2002-11-01 Thread Shaun Thornburgh
d-$category_id-$sub_category_id.jpg"; //rename the file rename($dir.$image_name, $dir.$new_name); } "Shaun Thornburgh" <[EMAIL PROTECTED]> wrote in message news:20021101205003.11053.qmail@;pb1.pair.com... > I am attempting to upload image files to the server from a us

[PHP] uploading files

2002-11-01 Thread Shaun Thornburgh
I am attempting to upload image files to the server from a users browser using the following code, however, the images seem to get corrupted, they look completely different and the file sizes are generally smaller, also it sometimes says file upload unsuccessful, even when it does upload the file?