Re: [PHP] Re: anchor name on URL

2008-11-18 Thread Ashley Sheridan
On Tue, 2008-11-18 at 23:44 +, Richard Heyes wrote: You say that, have you heard the latest for IE9? They're already planning it, and apparently it's going to use the Webkit engine! That would be nice, if only for the rather good canvas support, which I kinda have a vested interest in.

Re: [PHP] Re: anchor name on URL

2008-11-18 Thread Ashley Sheridan
On Tue, 2008-11-18 at 23:51 +, Richard Heyes wrote: Yeah, but it will mean that there will still be about 3 different rendering versions of IE out there by the time it comes out; 7, 8 and 9 (I'm fairly sure 6 will have gone to that good ol' web in the sky by that time) Sure, but

Re: [PHP] Re: anchor name on URL

2008-11-18 Thread Ashley Sheridan
On Tue, 2008-11-18 at 19:01 -0500, Daniel P. Brown wrote: On Tue, Nov 18, 2008 at 6:57 PM, Ashley Sheridan [EMAIL PROTECTED] wrote: Don't forget Konqueror in that list ;) It's not exactly the same engine after Apple forked it from KHTML, but it's quite close, and both Konqueror

Re: [PHP] Re: anchor name on URL

2008-11-19 Thread Ashley Sheridan
On Wed, 2008-11-19 at 01:57 -0800, Yeti wrote: Now I tend only to use it now for file management, FTP and testing websites. Beware that Konqueror has changed with KDE4. Now its main purpose is to be a web browser, whereas the new program Dolphin is used for file management etc. I still

Re: [PHP] Stats (was anchor name on URL)

2008-11-19 Thread Ashley Sheridan
On Wed, 2008-11-19 at 09:50 -0500, tedd wrote: Nathan Rixham wrote: well that bubble should have popped.. from some of my sites: Browser % visits Firefox 88.43% Internet Explorer 9.99% and At 12:25 PM + 11/19/08, Stut wrote: Firefox is certainly gaining, as is Safari, but

RE: [PHP] Re: anchor name on URL

2008-11-19 Thread Ashley Sheridan
On Wed, 2008-11-19 at 08:27 -0600, Boyd, Todd M. wrote: -Original Message- From: Ashley Sheridan [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2008 5:58 PM To: Richard Heyes Cc: Yeti; Boyd, Todd M.; PHP General Mailing List Subject: Re: [PHP] Re: anchor name on URL

Re: [PHP] Invalid Arguements

2008-11-19 Thread Ashley Sheridan
On Wed, 2008-11-19 at 08:31 -0600, Terion Miller wrote: I am still getting the Invalid arguement error on this implode: if (isset($_POST['BannerSize'])){$BannerSize = implode(',',$_POST['BannerSize']);} else {$BannerSize = ;} I have moved the ',', from the beginning to the end of the

Re: [PHP] How to Execute Multiple SQL Updates Using PHP

2008-11-19 Thread Ashley Sheridan
On Wed, 2008-11-19 at 18:51 +, Alice Wei wrote: Hi, I am inquiring on this list to see if it is possible to create a script that takes multiple update statements without my having to write one SQL statement for each of the updates. I have a scenario of which I create a table

Re: [PHP] Stats (was anchor name on URL)

2008-11-19 Thread Ashley Sheridan
On Wed, 2008-11-19 at 19:44 +, Luke Slater wrote: On Wed, 19 Nov 2008, Ashley Sheridan wrote: On Wed, 2008-11-19 at 09:50 -0500, tedd wrote: Nathan Rixham wrote: well that bubble should have popped.. from some of my sites: Browser % visits Firefox 88.43% Internet

Re: [PHP] in_array breaks down for 0 as value

2008-11-20 Thread Ashley Sheridan
On Thu, 2008-11-20 at 09:25 +, Stut wrote: On 20 Nov 2008, at 06:55, Yashesh Bhatia wrote: I wanted to use in_array to verify the results of a form submission for a checkbox and found an interesting behaviour. $ php -v PHP 5.2.5 (cli) (built: Jan 12 2008 14:54:37) $ $ cat

Re: [PHP] in_array breaks down for 0 as value

2008-11-21 Thread Ashley Sheridan
On Fri, 2008-11-21 at 09:11 +, Stut wrote: On 20 Nov 2008, at 23:09, Ashley Sheridan wrote: On Thu, 2008-11-20 at 09:25 +, Stut wrote: On 20 Nov 2008, at 06:55, Yashesh Bhatia wrote: I wanted to use in_array to verify the results of a form submission for a checkbox and found

Re: [PHP] Displaying information from table graphically

2008-11-21 Thread Ashley Sheridan
On Fri, 2008-11-21 at 16:55 -0100, [EMAIL PROTECTED] wrote: I have a PHP application that accesses data from MySQL. There is table called rooms, and table called beds. There is another table called patients. Patients are being placed into beds, and beds are in the rooms. PHP application

Re: [PHP] Form Input Type=File

2008-11-22 Thread Ashley Sheridan
On Sat, 2008-11-22 at 06:21 -0600, Stan wrote: This generated HTML puts up a file selection dialog . echo p align=centerspan\n; echo Pick a picture file to examine ...\n; echo form

Re: [PHP] Form Input Type=File

2008-11-22 Thread Ashley Sheridan
On Sat, 2008-11-22 at 06:57 -0600, Stan wrote: Default.php sets a session variable named thisSelectedFile before putting the page designated by the ID (in this case PictureProperties.php) up. PictureProperties.php is . ?PHP session_start(); if

Re: [PHP] Form Input Type=File

2008-11-22 Thread Ashley Sheridan
; } } Like I said ... everything is the same ... except the browser being used. Ashley Sheridan [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Sat, 2008-11-22 at 06:57 -0600, Stan wrote: Default.php sets a session variable named thisSelectedFile before putting

Re: [PHP] Displaying information from table graphically

2008-11-22 Thread Ashley Sheridan
On Sat, 2008-11-22 at 14:22 -0100, [EMAIL PROTECTED] wrote: I mean composite in a figurative way, but they have to be overlapping individual images in order to be individually clickable. Does GD allow that? Can I create multiple images on the top of each other in GD? And how would imagemap

Re: [PHP] Form Input Type=File

2008-11-22 Thread Ashley Sheridan
On Sat, 2008-11-22 at 09:54 -0600, Shawn McKenzie wrote: Stan wrote: Ashley, If you go back to the original append you will see the URLs. IE 6 SP1 returns exactly the string that appears in the input name=\SELECTEDFILE\ type=\file\ / text box, FireFox does not. I would assume that

Re: [PHP] Re: Some kind of Popup

2008-11-22 Thread Ashley Sheridan
On Sat, 2008-11-22 at 12:32 -0500, Patrick Moloney wrote: Yeti wrote: Another JavaScript method would be to load the content in a hidden div with position: absolute. I think that's what I was considering doing with CSS except it would be labels only in the content. I only wanted to

Re: [PHP] Hi,

2008-11-22 Thread Ashley Sheridan
On Sat, 2008-11-22 at 08:30 -0800, idan72 wrote: I would like to write code where the user will input directory name. I want it to be able to browse to directory and choose it. With HTML if can only choose file. Can I do that in PHP ? Thanks -- View this message in context:

Re: [Fwd: Re: [PHP] Displaying information from table graphically]

2008-11-22 Thread Ashley Sheridan
On Sat, 2008-11-22 at 19:47 -0100, [EMAIL PROTECTED] wrote: Since I am not an expert in FLASH, I need to make sure I understand what you suggested below. From what I understand I can pass the data from SQL query to Flash via some sort of flash parameters (flashvars), but I am not sure what

Re: [PHP] Displaying information from table graphically]

2008-11-22 Thread Ashley Sheridan
On Sat, 2008-11-22 at 23:07 -0100, [EMAIL PROTECTED] wrote: http://en.wikipedia.org/wiki/Adobe_Flash#Programming_language Of late, the Flash libraries are being used with the XML capabilities of the browser to render rich content in the browser. This technology is known as Asynchronous Flash

Re: [PHP] Displaying information from table graphically]

2008-11-23 Thread Ashley Sheridan
On Sun, 2008-11-23 at 10:20 -0100, [EMAIL PROTECTED] wrote: Yes however problem with using DIV's is that they are supported only from IE7, which is significant shortcoming I believe Maybe I missed soemthing... what was wrong with Stut's suggestion of using divs? Absolute divs within a

Re: [PHP] Displaying information from table graphically]

2008-11-23 Thread Ashley Sheridan
On Sun, 2008-11-23 at 11:21 -0100, [EMAIL PROTECTED] wrote: Excellent, it's good to know that. I think someone earlier in the discussion mentioned that DIV's were supported from IE7. He probabily meant fully supported, I am not absolutely sure but anyway it's good to know there are other

Re: [PHP] issue with php.ini

2008-11-23 Thread Ashley Sheridan
On Sun, 2008-11-23 at 17:33 +0100, Alain Roger wrote: Hi, i've reinstalled PHP 5.2.6 on my windows XP x64 and as usual i uncomment the following lines: extension=php_mysql.dll extension=php_pdo.dll extension=php_pdo_mysql.dll extension=php_pdo_pgsql.dll extension=php_pdo_sqlite.dll

Re: [PHP] file_Exists() and case

2008-11-23 Thread Ashley Sheridan
On Sun, 2008-11-23 at 12:24 -0500, Craige Leeder wrote: Stan wrote: If $basePicture = ../pictures/2008 west coast trip/2008-06-10 first week at Chris'/DSC_0011.jpg and the file actually is ../pictures/2008 west coast trip/2008-06-10 first week at Chris'/DSC_0011.JPG (uppercase

Re: [PHP] issue with php.ini

2008-11-23 Thread Ashley Sheridan
On Sun, 2008-11-23 at 18:32 +0100, Alain Roger wrote: Yes, i do it in that way but nothing changed On Sun, Nov 23, 2008 at 6:34 PM, Ashley Sheridan [EMAIL PROTECTED]wrote: On Sun, 2008-11-23 at 17:33 +0100, Alain Roger wrote: Hi, i've reinstalled PHP 5.2.6 on my windows XP x64

Re: [PHP] issue with php.ini

2008-11-23 Thread Ashley Sheridan
On Sun, 2008-11-23 at 18:44 +0100, Alain Roger wrote: On Sun, Nov 23, 2008 at 6:41 PM, Ashley Sheridan [EMAIL PROTECTED]wrote: On Sun, 2008-11-23 at 18:32 +0100, Alain Roger wrote: Yes, i do it in that way but nothing changed On Sun, Nov 23, 2008 at 6:34 PM, Ashley Sheridan

Re: [PHP] Re: file_Exists() and case

2008-11-23 Thread Ashley Sheridan
On Sun, 2008-11-23 at 13:12 -0600, Stan wrote: This thread began because file_exists() WILL NOT tell that a file exists FOR SURE and FOR CERTAIN if the file you check for happens to be named whatever.jpg and whatever.JPG exists. I know this because IMagick then chokes on whatever.jpg because

Re: [PHP] how can I make an email bounce

2008-11-24 Thread Ashley Sheridan
On Sun, 2008-11-23 at 16:01 -0800, Richard Kurth wrote: I need to make a bunch of emails bounce in different ways so I can check to see if my script to read a mail box full of bounced emails will work properly. Does any body know how I can do this. Send some flubber as an attachment and...

Re: [PHP] how can I make an email bounce

2008-11-24 Thread Ashley Sheridan
On Mon, 2008-11-24 at 12:53 +, Richard Heyes wrote: Hi, I need to make a bunch of emails bounce in different ways Carve them into some rubber and throw them at the flloor at different angles... :-) -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari:

Re: [PHP] PostTrack Reminder

2008-11-24 Thread Ashley Sheridan
On Mon, 2008-11-24 at 15:04 -0500, Daniel Brown wrote: On Mon, Nov 24, 2008 at 3:00 PM, Ashley Sheridan [EMAIL PROTECTED] wrote: What exactly are these metrics? Are they part of the mailing list? Yes, last year and earlier this year, before you began contributing to the list

Re: [PHP] PostTrack Reminder

2008-11-24 Thread Ashley Sheridan
On Mon, 2008-11-24 at 20:30 +, Stut wrote: On 24 Nov 2008, at 20:21, Ashley Sheridan wrote: On Mon, 2008-11-24 at 15:04 -0500, Daniel Brown wrote: On Mon, Nov 24, 2008 at 3:00 PM, Ashley Sheridan [EMAIL PROTECTED] wrote: What exactly are these metrics? Are they part of the mailing

Re: [PHP] PostTrack Reminder

2008-11-24 Thread Ashley Sheridan
On Mon, 2008-11-24 at 14:45 -0500, Daniel Brown wrote: Folks; Just as a reminder, the PostTrack/ListWatch system is back to recording and reporting data on the list for the Friday summary reports and list metrics. If you do not want your email address to show up in the reports and have

Re: [PHP] PostTrack Reminder

2008-11-24 Thread Ashley Sheridan
On Mon, 2008-11-24 at 20:45 +, Stut wrote: On 24 Nov 2008, at 20:35, Ashley Sheridan wrote: On Mon, 2008-11-24 at 20:30 +, Stut wrote: On 24 Nov 2008, at 20:21, Ashley Sheridan wrote: On Mon, 2008-11-24 at 15:04 -0500, Daniel Brown wrote: On Mon, Nov 24, 2008 at 3:00 PM, Ashley

Re: [PHP] PHP friendly web software?

2008-11-25 Thread Ashley Sheridan
On Tue, 2008-11-25 at 12:54 -0200, uaca man wrote: I use vs.php to edit php and dreamweaver to html and im happy with those two. 2008/11/25 John Boy [EMAIL PROTECTED]: Can anyone recommend a wysiwyg web development software which is php friendly, i.e. you can design the page in wysiwyg

Re: [PHP] Re: HTMLEntities as NUMERIC for XML

2008-11-25 Thread Ashley Sheridan
On Tue, 2008-11-25 at 17:09 +, [EMAIL PROTECTED] wrote: I already had a function to go from weird MS-Word characters to HTML Entities, which I was putting into the DB as such. In retrospect, that function should have been called at output... Actually, I knew it should have, but

Re: [PHP] PHP friendly web software?

2008-11-25 Thread Ashley Sheridan
On Tue, 2008-11-25 at 12:54 -0500, Eric Butera wrote: On Tue, Nov 25, 2008 at 10:03 AM, Ashley Sheridan [EMAIL PROTECTED] wrote: On Tue, 2008-11-25 at 12:54 -0200, uaca man wrote: I use vs.php to edit php and dreamweaver to html and im happy with those two. 2008/11/25 John Boy [EMAIL

Re: [PHP] Voting methodology

2008-11-26 Thread Ashley Sheridan
On Wed, 2008-11-26 at 09:23 -0500, tedd wrote: Hi gang: What methodology would be the best for online voting? I have a client who is a Union and they want members to vote online, but don't want someone to stuff the voting box. I have some ideas of my own, but would like to hear what

Re: [PHP] Happy Turkey Day

2008-11-27 Thread Ashley Sheridan
On Thu, 2008-11-27 at 19:18 +0200, Sancar Saran wrote: On Thursday 27 November 2008 19:07:42 Daniel P. Brown wrote: On Thu, Nov 27, 2008 at 11:08 AM, tedd [EMAIL PROTECTED] wrote: Hi gang: Happy Turkey Day to all who are working on Thanksgiving. Back at you, my friend.

Re: [PHP] Happy Turkey Day

2008-11-27 Thread Ashley Sheridan
On Thu, 2008-11-27 at 17:24 +, Ashley Sheridan wrote: On Thu, 2008-11-27 at 19:18 +0200, Sancar Saran wrote: On Thursday 27 November 2008 19:07:42 Daniel P. Brown wrote: On Thu, Nov 27, 2008 at 11:08 AM, tedd [EMAIL PROTECTED] wrote: Hi gang: Happy Turkey Day to all who

Re: [PHP] Happy Turkey Day

2008-11-27 Thread Ashley Sheridan
On Thu, 2008-11-27 at 12:31 -0500, Daniel P. Brown wrote: On Thu, Nov 27, 2008 at 12:26 PM, Ashley Sheridan [EMAIL PROTECTED] wrote: For anyone who has no idea who Mr Bean is: http://img.photobucket.com/albums/v125/aricacritter/mr-bean-cooking-turkey.jpg The half-hour blocks

Re: [PHP] Happy Turkey Day

2008-11-27 Thread Ashley Sheridan
On Thu, 2008-11-27 at 12:47 -0500, Robert Cummings wrote: On Thu, 2008-11-27 at 17:36 +, Ashley Sheridan wrote: On Thu, 2008-11-27 at 12:31 -0500, Daniel P. Brown wrote: On Thu, Nov 27, 2008 at 12:26 PM, Ashley Sheridan [EMAIL PROTECTED] wrote: For anyone who has no idea who

[PHP] Parsing XML

2008-11-27 Thread Ashley Sheridan
Hi All, I've run into a bit of a problem. I need to parse some fairly detailed XML files from a remote website. I'm pulling in the remote XML using curl, and that bit is working fine. The smaller XML documents were easy to parse with regular expressions, as I only needed bit of information out

Re: [PHP] Re: Parsing XML

2008-11-27 Thread Ashley Sheridan
On Thu, 2008-11-27 at 20:56 +, Nathan Rixham wrote: Ashley Sheridan wrote: Hi All, I've run into a bit of a problem. I need to parse some fairly detailed XML files from a remote website. I'm pulling in the remote XML using curl, and that bit is working fine. The smaller XML

Re: [PHP] Re: Parsing XML

2008-11-27 Thread Ashley Sheridan
On Thu, 2008-11-27 at 22:13 +, Ashley Sheridan wrote: On Thu, 2008-11-27 at 20:56 +, Nathan Rixham wrote: Ashley Sheridan wrote: Hi All, I've run into a bit of a problem. I need to parse some fairly detailed XML files from a remote website. I'm pulling in the remote XML

Re: [PHP] Re: Parsing XML

2008-11-27 Thread Ashley Sheridan
On Fri, 2008-11-28 at 01:04 +0100, Maciek Sokolewicz wrote: Ashley Sheridan wrote: On Thu, 2008-11-27 at 22:13 +, Ashley Sheridan wrote: On Thu, 2008-11-27 at 20:56 +, Nathan Rixham wrote: Ashley Sheridan wrote: Hi All, I've run into a bit of a problem. I need to parse some

Re: [PHP] Parsing XML

2008-11-28 Thread Ashley Sheridan
On Fri, 2008-11-28 at 10:15 +0100, Per Jessen wrote: Ashley Sheridan wrote: Do any of you have a copy of this extension, or failing that, a suggestion of how I can parse XML files without having to install anything on the remote server, as I do not have that level off access

Re: [PHP] About Time Zones

2008-11-28 Thread Ashley Sheridan
On Fri, 2008-11-28 at 02:23 +0100, Franz wrote: Hi, I do not know if I am at the right place... Ref. : http://fr3.php.net/manual/fr/timezones.america.php Well I was wondering what is the different between : - America/Argentina/Buenos_Aires and - America/Buenos_Aires Thank you

Re: [PHP] Parsing XML

2008-11-28 Thread Ashley Sheridan
On Fri, 2008-11-28 at 13:14 +0100, Per Jessen wrote: Ashley Sheridan wrote: On Fri, 2008-11-28 at 10:15 +0100, Per Jessen wrote: Ashley Sheridan wrote: Do any of you have a copy of this extension, or failing that, a suggestion of how I can parse XML files without having to install

Re: [PHP] Curl with asp pages....

2008-11-28 Thread Ashley Sheridan
On Fri, 2008-11-28 at 01:13 -0500, Andrew Ballard wrote: On Thu, Nov 27, 2008 at 7:12 PM, ioannes [EMAIL PROTECTED] wrote: What are the differences between asp and non-asp pages when you are curling them? Apart from ,as referred to in php.net, you need to urlencode the post values... Do

Re: [PHP] Re: Parsing XML

2008-11-28 Thread Ashley Sheridan
On Fri, 2008-11-28 at 13:48 +, Nathan Rixham wrote: 2008/11/27 Ashley Sheridan [EMAIL PROTECTED] On Thu, 2008-11-27 at 22:13 +, Ashley Sheridan wrote: On Thu, 2008-11-27 at 20:56 +, Nathan Rixham wrote: Ashley Sheridan wrote: Hi All

Re: [PHP] Parsing XML

2008-11-29 Thread Ashley Sheridan
On Fri, 2008-11-28 at 20:39 +0100, Per Jessen wrote: Andrew Ballard wrote: XSL will only allow me to convert it into a different document format, which is not what I want as I need to keep a local copy of information in a database for searching and sorting purposes. Nathans class allows

Re: [PHP] PHP attaching css and JS files to current page

2008-11-30 Thread Ashley Sheridan
On Sun, 2008-11-30 at 14:23 +0100, Alain Roger wrote: Hi, is there a way how a PHP class can attach JS (javascript) and CSS documents to current web page in which the class is instanced ? till now i used an echo which write a script/script code into current document. in this javascript, i

Re: [PHP] PHP attaching css and JS files to current page

2008-11-30 Thread Ashley Sheridan
, Nov 30, 2008 at 2:55 PM, Ashley Sheridan [EMAIL PROTECTED] wrote: On Sun, 2008-11-30 at 14:23 +0100, Alain Roger wrote: Hi, is there a way how a PHP class can attach JS (javascript) and CSS documents to current web page in which the class

Re: [PHP] PHP attaching css and JS files to current page

2008-11-30 Thread Ashley Sheridan
On Sun, 2008-11-30 at 15:08 +0100, Alain Roger wrote: Can you not just write all of the CSS/Javascript that you need right from the get-go in the same place you're writing out your Javascript now? I'm not sure I follow you then.

Re: [PHP] Parsing XML

2008-12-01 Thread Ashley Sheridan
On Mon, 2008-12-01 at 11:28 +0100, Per Jessen wrote: Peter Ford wrote: Per Jessen wrote: That's cool, but XSL is still the more appropriate tool IMO. It does exactly what you need - it parses and validates the XML document, allows you to extract the bits you need and in virtually

Re: [PHP] Parsing XML

2008-12-01 Thread Ashley Sheridan
On Mon, 2008-12-01 at 21:35 +0100, Per Jessen wrote: Ashley Sheridan wrote: I still disagree, as using XSL is essentially converting the XML to another format, Which is all you're doing when you're extracting parts of an XML document. which is then being used by PHP. XSL is great

Re: [PHP] question about corrupt db?

2008-12-01 Thread Ashley Sheridan
On Mon, 2008-12-01 at 15:12 -0600, Micah Gersten wrote: Terion Miller wrote: could a corrupt db make php pages stop functioning? My pages no longer go anywhere, I went back found the original scripts and still it didn't fix the problem (thought I had messed the code up) so it has to be

Re: [PHP] question about corrupt db?

2008-12-01 Thread Ashley Sheridan
On Mon, 2008-12-01 at 15:53 -0600, Terion Miller wrote: On Mon, Dec 1, 2008 at 3:40 PM, Wolf [EMAIL PROTECTED] wrote: -Original Message- From: Terion Miller [EMAIL PROTECTED] Sent: Monday, December 01, 2008 4:23 PM To: Micah Gersten [EMAIL PROTECTED] Cc: PHP General

Re: [PHP] question about corrupt db?

2008-12-01 Thread Ashley Sheridan
On Mon, 2008-12-01 at 16:29 -0600, Terion Miller wrote: On Mon, Dec 1, 2008 at 4:20 PM, Ashley Sheridan [EMAIL PROTECTED] wrote: On Mon, 2008-12-01 at 15:53 -0600, Terion Miller wrote: On Mon, Dec 1, 2008 at 3:40 PM, Wolf [EMAIL PROTECTED] wrote

Re: [PHP] question about corrupt db?

2008-12-02 Thread Ashley Sheridan
On Tue, 2008-12-02 at 01:14 +, Nathan Rixham wrote: Ashley Sheridan wrote: On Mon, 2008-12-01 at 16:29 -0600, Terion Miller wrote: On Mon, Dec 1, 2008 at 4:20 PM, Ashley Sheridan [EMAIL PROTECTED] wrote: On Mon, 2008-12-01 at 15:53 -0600, Terion Miller wrote

Re: [PHP] Slow file download

2008-12-02 Thread Ashley Sheridan
On Tue, 2008-12-02 at 11:55 -0800, Brian Dunning wrote: I'm using a PHP cron job to constantly download files from a remote server. Client and server both have abundant unused bandwidth, and the sysads have already eliminated switches, interface cards, etc. as the source of the slowdown.

Re: [PHP] Slow file download

2008-12-02 Thread Ashley Sheridan
. On Dec 2, 2008, at 12:04 PM, Ashley Sheridan wrote: Instead of using PHP for this, why not have a look at WGET for Windows. Well you could always replace your CURL request with an exec() call to WGET, which will be able to return the HTTP request codes (200 for success, 404 for file

Re: [PHP] Re: Slow file download

2008-12-02 Thread Ashley Sheridan
On Tue, 2008-12-02 at 21:10 +, Nathan Rixham wrote: Brian Dunning wrote: IIS, Windows PHP 5.2.6, and unfortunately the downloads are https. On Dec 2, 2008, at 12:32 PM, Nathan Rixham wrote: what's the server running? iis/apache, win/linux version of php (as accurate as you can)

Re: [PHP] Re: Slow file download

2008-12-02 Thread Ashley Sheridan
On Tue, 2008-12-02 at 21:13 +, Nathan Rixham wrote: Nathan Rixham wrote: Brian Dunning wrote: IIS, Windows PHP 5.2.6, and unfortunately the downloads are https. On Dec 2, 2008, at 12:32 PM, Nathan Rixham wrote: what's the server running? iis/apache, win/linux version of php (as

Re: [PHP] stream_socket_accept() on an SSL socket

2008-12-02 Thread Ashley Sheridan
On Tue, 2008-12-02 at 23:48 +, Darren wrote: I'm trying to connect to an SSL server, but I keep on getting these errors: - PHP Warning: stream_socket_accept(): SSL operation failed with code 1. OpenSSL Error messages: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown

Re: [PHP] Accessing the 'media' attribute in php

2008-12-03 Thread Ashley Sheridan
On Wed, 2008-12-03 at 08:00 +0100, Maciek Sokolewicz wrote: Clancy wrote: Oh? Unfortunately I have had great difficulty trying to find out how things really work, as all the books I have seen are recipe books, which tell you how to achieve particular results, but not what is going

Re: [PHP] IE8 and HTML5

2008-12-04 Thread Ashley Sheridan
On Thu, 2008-12-04 at 17:37 +, Richard Heyes wrote: (And don't get me wrong--I had tons of problems with Chrome; mostly about crashing unexpectedly.) That was the only one for me, and it doesn't do it anymore. Guess it was an update to 0.4 (?) that fixed it. Switching to FF fixed it

Re: [PHP] Will not report errors what can I do

2008-12-04 Thread Ashley Sheridan
On Thu, 2008-12-04 at 16:20 -0600, Terion Miller wrote: Hey everyone I am still fighting the same problem that my script isn't working and its not reporting errors, when you click to view the work order it doesn't do anything, I have all kinds of error reporting turned on but nothing, do I

Re: [PHP] Will not report errors what can I do

2008-12-05 Thread Ashley Sheridan
On Fri, 2008-12-05 at 00:00 -0500, Robert Cummings wrote: On Fri, 2008-12-05 at 17:44 +1300, German Geek wrote: On Fri, Dec 5, 2008 at 4:26 PM, Robert Cummings [EMAIL PROTECTED] wrote: On Thu, 2008-12-04 at 15:07 -0800, Jim Lucas wrote: Terion Miller wrote:

Re: [PHP] Poll of sorts: Javascript Form validation or PHP

2008-12-05 Thread Ashley Sheridan
On Fri, 2008-12-05 at 12:08 -0800, Yeti wrote: Java Script should always be an option, unless you write the validation for yourself or people you personally know only. JavaScript is client-side, ergo untrusted. Javascript can be nice as an addition, but only that. Ash

RE: [PHP] Downloading file from local network machine

2008-12-05 Thread Ashley Sheridan
On Fri, 2008-12-05 at 17:32 +, Mayer, Jonathan wrote: Thanks Wolf :) Yup, I had considered that, although there could be up to 8 different servers so that's 8 seperately mapped drives. If that's the simplest/neatest way, I'll do that, although I did wonder whether there was some

Re: [PHP] Poll of sorts: Javascript Form validation or PHP

2008-12-05 Thread Ashley Sheridan
On Fri, 2008-12-05 at 15:16 -0500, Bastien Koert wrote: On Fri, Dec 5, 2008 at 3:18 PM, Ashley Sheridan [EMAIL PROTECTED]wrote: On Fri, 2008-12-05 at 12:08 -0800, Yeti wrote: Java Script should always be an option, unless you write the validation for yourself or people you personally

Re: [PHP] Downloading file from local network machine

2008-12-05 Thread Ashley Sheridan
On Fri, 2008-12-05 at 16:59 -0500, Bastien Koert wrote: On Fri, Dec 5, 2008 at 3:22 PM, Ashley Sheridan [EMAIL PROTECTED]wrote: On Fri, 2008-12-05 at 17:32 +, Mayer, Jonathan wrote: Thanks Wolf :) Yup, I had considered that, although there could be up to 8 different servers so

Re: [PHP] Poll of sorts: Javascript Form validation or PHP

2008-12-05 Thread Ashley Sheridan
On Sat, 2008-12-06 at 08:38 +1100, Clancy wrote: On Fri, 05 Dec 2008 20:24:07 +, [EMAIL PROTECTED] (Ashley Sheridan) wrote: On Fri, 2008-12-05 at 15:16 -0500, Bastien Koert wrote: On Fri, Dec 5, 2008 at 3:18 PM, Ashley Sheridan [EMAIL PROTECTED]wrote: On Fri, 2008-12-05 at 12:08

Re: [PHP] SQL syntax?

2008-12-05 Thread Ashley Sheridan
On Fri, 2008-12-05 at 16:51 -0600, Terion Miller wrote: Excellent Allan thanks so much, sometimes I think php is causing me blindness!! Terion On Fri, Dec 5, 2008 at 4:26 PM, Allan Arguelles [EMAIL PROTECTED]wrote: Try this: $sql = SELECT WorkOrderID AS Work_Order_ID,

Re: [PHP] Re: Convert .docx /.pdf file to .txt

2008-12-06 Thread Ashley Sheridan
On Sat, 2008-12-06 at 09:17 +, Colin Guthrie wrote: 'Twas brillig, and Jagdeep Singh at 06/12/08 06:46 did gyre and gimble: Hi! I need a function to fetch text from docx file, but it is showing formated characters in output. I was using fopen, fgets etc function . I want to

Re: [PHP] Poll of sorts: Javascript Form validation or PHP

2008-12-07 Thread Ashley Sheridan
On Sun, 2008-12-07 at 17:36 +1030, Michael Kubler wrote: I agree with Nathan. Always do server side validation, and if you have the skills, time, or are being paid then add javascript validation to make the user experience better. I have a general contact form which checks the input server

Re: [PHP] Poll of sorts: Javascript Form validation or PHP

2008-12-07 Thread Ashley Sheridan
On Sun, 2008-12-07 at 02:27 -0800, Yeti wrote: I put a small one together using regular expressions, http://www.ashleysheridan.co.uk/coding_php_validation.php So we are regexing emails again? #OUT OF coding_php_validation.php COPY case 'email': { $expression =

Re: [PHP] A MySQL Question

2008-12-07 Thread Ashley Sheridan
On Sun, 2008-12-07 at 10:03 -0500, tedd wrote: Hi gang: I just interviewed for a job teaching at the local college (imagine me taking minds of mush and molding them to the world according to tedd -- frightening huh?) In any event, the interviewer asked me how long I've been using MySQL

Re: [PHP] A MySQL Question

2008-12-07 Thread Ashley Sheridan
On Sun, 2008-12-07 at 12:38 -0500, Robert Cummings wrote: On Sun, 2008-12-07 at 11:01 -0500, Eric Butera wrote: Sounds like someone thinks they're pretty clever. I'll never understand why interviewers want to ask really odd edge case questions instead of ones that really show practical

Re: [PHP] Refresh (F5) adds another SQL record.

2008-12-07 Thread Ashley Sheridan
On Sun, 2008-12-07 at 16:44 +, Bhupendra Patel wrote: I've found a way that works for me. Using the START SESSION on the initial form, e.g. ?php session_start(); // store session data $_SESSION['form'] = 1; ? and the using the code below in the processing form. You can do a

Re: [PHP] Poll of sorts: Javascript Form validation or PHP

2008-12-07 Thread Ashley Sheridan
On Sun, 2008-12-07 at 20:31 +0100, Per Jessen wrote: Yeti wrote: I think hotmail, or was it some other mail mogul, is allowing their users to have those weird German umlauts and some accented characters. EXAMPLE: [EMAIL PROTECTED] Anyone who allows 8-bit characters on the left

Re: [PHP] Poll of sorts: Javascript Form validation or PHP

2008-12-07 Thread Ashley Sheridan
On Sun, 2008-12-07 at 15:13 -0500, Robert Cummings wrote: On Sun, 2008-12-07 at 19:54 +, Nathan Rixham wrote: Ashley Sheridan wrote: On Sun, 2008-12-07 at 20:31 +0100, Per Jessen wrote: Yeti wrote: I think hotmail, or was it some other mail mogul, is allowing their users

Re: [PHP] Poll of sorts: Javascript Form validation or PHP

2008-12-07 Thread Ashley Sheridan
On Sun, 2008-12-07 at 20:21 +, Nathan Rixham wrote: pessary I had to Google that one, and wished I didn't... Ash www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] A MySQL Question

2008-12-07 Thread Ashley Sheridan
On Mon, 2008-12-08 at 12:33 +1300, German Geek wrote: EXIST? Yeah I certainly have seen it before in the result of a mysqldump, but from the top of my head, I probably wouldn't have known in exactly what context it is used. I've used MySQL for 5 years now and i think if you ask such a

Re: [PHP] A MySQL Question

2008-12-08 Thread Ashley Sheridan
On Mon, 2008-12-08 at 23:23 +, [EMAIL PROTECTED] wrote: Presumable, the EXISTS sub-query can be optimized sometimes to just stop processing the sub-query and kick things back out to the outer query. IN has to process them all and find them all. Don't forget the special case use

Re: [PHP] echo SESSION var doesn't work if unset after echo

2008-12-09 Thread Ashley Sheridan
On Tue, 2008-12-09 at 19:11 +, [EMAIL PROTECTED] wrote: Fire up Live HTTP Headers in Firefox. My theory is that the browser is RE-requesting the data because of the private, must-revalidate. So it goes like this: Browser - GET - Ecomm: fooie ; unset Ecomm Browser -

Re: [PHP] how do i allow more than 2 threads of php to run?

2008-12-09 Thread Ashley Sheridan
On Tue, 2008-12-09 at 12:19 -0800, Daevid Vincent wrote: Assuming this is in-fact your issue, I ALWAYS do this registry hack on my Windows computers: http://support.microsoft.com/kb/282402 On Tue, 2008-12-09 at 22:10 +0200, Krister Karlström wrote: Hi! Please note that most

Re: [PHP] how to not show login info in the url ...what am I looking for?

2008-12-09 Thread Ashley Sheridan
On Tue, 2008-12-09 at 15:41 -0600, Terion Miller wrote: So I have this login information passing parameters in the url to the next page (this is on a intranet app) which I thought was no big deal until a wise crack graphics guy decided to hack it because he could by changing the ?adminID=

Re: [PHP] echo SESSION var doesn't work if unset after echo

2008-12-09 Thread Ashley Sheridan
On Tue, 2008-12-09 at 16:51 -0500, Eric Wood wrote: I have two vars doing the same thing. One is echo'd/unset in the head/head section and the other echo'd/unset in the footer of the page. No re-direct request is being made. Ok now check this. If I use this code:

Re: [PHP] file_exists and wildcard/regex

2008-12-09 Thread Ashley Sheridan
On Tue, 2008-12-09 at 12:54 -1000, Daniel Kolbo wrote: Daniel Kolbo wrote: What is the preferred method with php to test and see if a file [pattern] exists? For example, i only need to search in one directory, that may have any number of files named such as afile1.txt, afile2.txt,

RE: [PHP] how to not show login info in the url ...what am I looking for?

2008-12-10 Thread Ashley Sheridan
looking for? On Wed, Dec 10, 2008 at 10:03 AM, tedd [EMAIL PROTECTED] wrote: At 9:52 PM + 12/9/08, Ashley Sheridan wrote: You shouldn't be passing info like that over the URL; use sessions instead. I saw a shopping cart system once that passed the price of items over

Re: [PHP] converting a vid with ffmpeg - howto do progress bars?

2008-12-10 Thread Ashley Sheridan
On Wed, 2008-12-10 at 22:13 +0100, Rene Veerman wrote: Hi, i got ffmpeg to convert videos for my CMS to Flash-video. With debian, it was real easy to set up. The only drawback is that if i can't advance the progressbar during the call to ffmpeg.. If i encode longer videos, it can take up

Re: [PHP] converting a vid with ffmpeg - howto do progress bars?

2008-12-10 Thread Ashley Sheridan
fps= 21 q=2.6 size=5752kB time=43.0 bitrate=1095.8kbits/s (the last line continually updates) since it doesnt print the number of input frames, i can't calculate progress from frame-count in the last line. not even when i put ffmpeg -v verbose, do i get the frame count.. Ashley

Re: [PHP] how to not show login info in the url ...what am I looking for?

2008-12-11 Thread Ashley Sheridan
On Fri, 2008-12-12 at 10:59 +1300, German Geek wrote: On Fri, Dec 12, 2008 at 7:03 AM, tedd tedd.sperl...@gmail.com wrote: At 11:23 AM -0500 12/11/08, Robert Cummings wrote: On Thu, 2008-12-11 at 11:05 -0500, tedd wrote: When I say Hack a site I mean to do something to get the site to

Re: [PHP] Chrome 1.0 released

2008-12-13 Thread Ashley Sheridan
On Sat, 2008-12-13 at 15:08 -0800, Yeti wrote: I have to defend poor little IE a little now. It supports XHTML and CSS2 pretty well so far. And those standards came out a couple of months ago. Well, as far as I'm aware, the other browsers have been supporting most of CSS 2 for over a year

Re: [PHP] IP and gethostbyaddr() --- difference?

2008-12-13 Thread Ashley Sheridan
On Sun, 2008-12-14 at 00:28 +0100, Martin Zvarík wrote: Hello, I am doing a view stats for my website. I've seen that many of such statistic scripts store two values to identify the visitor: IP and getHostByAddr(IP) I've been searching..., but I don't get why the IP address isn't

Re: [PHP] Good PHP book?

2008-12-14 Thread Ashley Sheridan
On Sun, 2008-12-14 at 16:33 -0600, jeffery harris wrote: Hi guys/gals. I'm a first time user. Does anyone know of a good php book? I tend to trust O'Reilly books a lot for all things programming, although I learnt largely with 'PHP, Apache, MySQL Web Development' from WROX. Ash

Re: [PHP] Re: Create unique non-autoincrement key for700,000records?

2008-12-16 Thread Ashley Sheridan
On Tue, 2008-12-16 at 09:56 +0100, Ondrej Kulaty wrote: Sorry you are right. He said he wants each row to have an unique ID so AutoIncId+timestamp will satisfy it, But still i think that adding microseconds timestamp is better because it will be harder for potential hacker to guess. --

<    1   2   3   4   5   6   7   8   9   10   >