[PHP] file_exists, Windows, and EasyPHP

2007-06-18 Thread Myron Turner
difference in the way his PHP version handles the @ operator in: if(@file_exists($file)) That is, is it possible that by suppressing errors, this expression somehow returns true? And is it a bug? Thanks. Myron -- _ Myron Turner http

Re: [PHP] file_exists, Windows, and EasyPHP

2007-06-18 Thread Myron Turner
Edward Vermillion wrote: On Jun 18, 2007, at 3:30 PM, Myron Turner wrote: I've written a plugin for DokuWiki which uses the following DokuWiki function for reading files: function io_readFile($file,$clean=true){ $ret = ''; if(@file_exists($file)){ if(substr($file,-3) == '.gz'){ $ret = join

Re: [PHP] file_exists, Windows, and EasyPHP

2007-06-18 Thread Myron Turner
. -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Previous and Next Month and Year

2007-06-17 Thread Myron Turner
, 0, 0, date(m)+6, date(d), date(Y))); See http://ca3.php.net/manual/en/function.date.php for just this example. -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] Extract specific div element from page

2007-06-15 Thread Myron Turner
variable and read that when the page gets back to the server, then write it to the file. -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] ownership and permissions

2007-06-07 Thread Myron Turner
); -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] XSLT and DocBook

2007-06-07 Thread Myron Turner
issue. Thanks. [1] http://www.docbook.org/tdg/en/html/docbook.html [2] http://www.sagehill.net/docbookxsl/ [3] http://xml.apache.org/ [4] http://us.php.net/manual/en/ref.xsl.php You might get help from comp.text.xml -- _ Myron Turner http://www.room535.org http

Re: [PHP] PHP Data Mining/Data Scraping

2007-05-22 Thread Myron Turner
have to adhere to the above sequence. The posted data comes last and it is preceded by a content-length header which tells the receiving server how long the posted data is. The returned result is the html page returned from your posted request. -- _ Myron Turner http

Re: [PHP] PHP Data Mining/Data Scraping

2007-05-22 Thread Myron Turner
Tijnema wrote: On 5/22/07, Myron Turner [EMAIL PROTECTED] wrote: On Sat, May 19, 2007 10:22 pm, Shannon Whitty wrote: I'm looking for a piece of software or coding that will let me post a form to another URL, accept the response, search it for a specific success string and then let me

Re: [PHP] printing out this nested array

2007-05-14 Thread Myron Turner
Jim Lucas wrote:-- Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Unknown Malvolio,12th Night, III.iv -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser

Re: [PHP] php5 include() problem

2007-05-13 Thread Myron Turner
on this page: http://ca.php.net/include/ What you probably want to do is to change the cgi script to php and then give the full url, incuding http. -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List

Re: [PHP] Need a new shared host with php

2007-05-10 Thread Myron Turner
of the higher US dollar. It's an excellent service for VPS and stand-alone server access. I've used them for both over a period of about 4 years. -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing

Re: [PHP] Killing a process with php

2007-05-09 Thread Myron Turner
in your script which tells the script that it's time to exit. -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] sorting multi array

2007-04-25 Thread Myron Turner
) { $aq = $a['quantity']; $bq = $b['quantity']; if ($a == $b) { return 0; } return ($aq $bq) ? -1 : 1; } uasort($data, cmp); To reverse the sort order: return ($aq $bq) ? -1 : 1; -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http

Re: [PHP] Separating words based on capital letter

2007-04-24 Thread Myron Turner
)); _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] retrieve POST body?

2007-04-23 Thread Myron Turner
available in PHP. Good luck with your solution, Myron _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] retrieve POST body?

2007-04-22 Thread Myron Turner
Richard Lynch wrote: On Sat, April 21, 2007 10:56 pm, Myron Turner wrote: trick for you.You use the Perl script in the action attribute of your form. The Perl script saves the entire posted output to a file, then it sends back a page which uses Javascript to redirect back to the php

Re: [PHP] Re: how to detect type of image

2007-04-22 Thread Myron Turner
. -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] retrieve POST body?

2007-04-21 Thread Myron Turner
Justin Frim wrote: Richard Lynch wrote: On Thu, April 19, 2007 10:28 pm, Myron Turner wrote: that should be necessary at this time. For instance, if it's necessary to pass in CGI parameters at the same time as sending out a file, the parameters can be tacked onto a query string

Re: [PHP] retrieve POST body?

2007-04-19 Thread Myron Turner
; -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] retrieve POST body?

2007-04-19 Thread Myron Turner
Tijnema ! wrote: On 4/19/07, Myron Turner [EMAIL PROTECTED] wrote: André Medeiros wrote: php://stdin perhaps? On 4/18/07, Justin Frim [EMAIL PROTECTED] wrote: André Medeiros wrote: Reading from php://input on a webserver will retrieve the Body of the HTTP Request. Not for me

Re: [PHP] retrieve POST body?

2007-04-19 Thread Myron Turner
anyone asks, it *is* a requirement to accept multipart/form-data submissions because that's the only way you can properly implement a file upload on a web form. -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP

Re: [PHP] retrieve POST body?

2007-04-19 Thread Myron Turner
. -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] retrieve POST body?

2007-04-19 Thread Myron Turner
Gregory Beaver wrote: Myron Turner wrote: That's not been my experience. I've tested it with enctype=multipart/form-data, since that's what you asked for, though the enctype wasn't included in my sample code. I've run it on PHP Version = 5.1.6 (Fedora core 4) and PHP 4.3.11 Fedora core 2

Re: [PHP] PHP4 vs PHP5

2007-04-07 Thread Myron Turner
such a project over to the PHP 5 OO model. -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Question about form submitting

2007-04-03 Thread Myron Turner
) etc. My question is how do i make all these possibilities show a different error message without leaving subscribe.php ? I know that the for action must be subscribe.php, from there i'm blind as a bat. Any help would be appreciated. Warm Regards -- _ Myron Turner http

Re: [PHP] finding the index name of an associative array

2007-04-01 Thread Myron Turner
, numeric and string, from the /input/ array. http://www.php.net/manual/en/function.array-keys.php -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Gnome and MIME types

2007-03-30 Thread Myron Turner
is the last line of the command's output. The error message you get at the command line is from bash, not from the bogus command. You can pass in a final parameter and get the status but it won't tell you much from a bogus command. -- _ Myron Turner http://www.room535.org

Re: [PHP] Parsing database variables

2007-03-30 Thread Myron Turner
. Perhaps someone can tell us whether the same is true for the parameters. The manual is mum on that one. function set_func($var1, $var2 . . . var17) { $return_var = RETURNVAR this is $var1 and $var2. . . .; RETURNVAR ; return $return_var; } _ Myron Turner http://www.room535

Re: [PHP] Parsing database variables

2007-03-30 Thread Myron Turner
Myron Turner wrote: Jake McHenry wrote: thought about that, I would need to do one ereg for each variable then correct? as of right now, there are 0 variables in the first field, and 17 in the second... so it would be 17 ereg replaces... then if i add or change anything, possibly more

Re: [PHP] using for loop in function

2007-03-28 Thread Myron Turner
) = 4 -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP 5.2.1: Some scripts are being parsed, but most aren't

2007-03-28 Thread Myron Turner
with php 5.2.1. Greetings Mario It's hard to see how this could be a browser issue. Firefox does not parse the scripts. The scripts are parsed on the server, under Apache. The server outputs the result of the parsing and the browser displays the result. -- _ Myron

Re: [PHP] PHP 5.2.1: Some scripts are being parsed, but most aren't

2007-03-28 Thread Myron Turner
Zoltán Németh wrote: 2007. 03. 28, szerda keltezéssel 14.42-kor Mario Guenterberg ezt írta: On Wed, Mar 28, 2007 at 07:20:37AM -0500, Myron Turner wrote: It's hard to see how this could be a browser issue. Firefox does not parse the scripts. The scripts are parsed on the server

Re: [PHP] crontab, PHP and MACOSX

2007-03-28 Thread Myron Turner
be reported there (again I'm not sure about OS X). Otherwise, or in addition, check your system error logs. -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] usage of flock

2007-03-27 Thread Myron Turner
Richard Lynch wrote: On Fri, March 23, 2007 10:34 pm, Myron Turner wrote: I've never used locks in PHP, but have used them in Perl. In Perl a lock is automatically released on exit or when the locked file is closed. Is that not the same in PHP? According the the man page for the C version

Re: [PHP] usage of flock

2007-03-23 Thread Myron Turner
probably want to use sleep to time your loop, not a counter, since the counter might swallow up cpu. -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Question before upgrading to 5

2007-03-22 Thread Myron Turner
/somepage.html -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Keep the PHP list ON TOPIC! (was: [PHP] MYSQLyog)

2007-03-21 Thread Myron Turner
. -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Keep the PHP list ON TOPIC!

2007-03-21 Thread Myron Turner
Jochem Maas wrote: I would have made a similar comment - but I have soap stuck between my teeth atm :-P Just use a little of that saliva that you've been wasting on spitballs. ;-) -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org

[PHP] Re: Random Unique ID

2007-03-21 Thread Myron Turner
as to the right way to go about doing this? Best, Craig . I suggest looking into a GUID sort of thing, it is all coded for you and it works just like you want. If you are running Linux, you can get this using: $GUID = exec(uuidgen); -- _ Myron Turner http://www.room535.org http

Re: [PHP] Amazon AWS + SimpleXML

2007-03-20 Thread Myron Turner
download the class files at http://www.mturner.org/XML_PullParser/ If you decide to use it, download the most recent version, which is 1.3.2. -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List

[PHP] Re: PHP code only works on 1 server

2007-03-19 Thread Myron Turner
This isn't a php issue but an apache issue. Have you checked to make sure that apache redirects the 404 to your custom error message? http://httpd.apache.org/docs/2.2/mod/core.html#errordocument -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http

Re: [PHP] Re: Getting last record ID created from DB

2007-03-17 Thread Myron Turner
to extract the ID? -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Getting last record ID created from DB

2007-03-17 Thread Myron Turner
Robert Cummings wrote: On Sat, 2007-03-17 at 09:43 -0500, Myron Turner wrote: An earlier post called attention to a concurrency problem. Wouldn't getting the last inserted ID from LAST_INSERT_ID() suffer from the same limitations as any of the other solutions which do a select to get

Re: [PHP] 2 errors I can not understand

2007-03-15 Thread Myron Turner
Ford, Mike wrote: On 14 March 2007 22:52, Richard Lynch wrote: On Wed, March 14, 2007 6:52 am, Myron Turner wrote: Richard Lynch wrote: On Tue, March 13, 2007 6:04 pm, Jonathan Kahan wrote: The = operator takes precedence, and $d is set to 0. But why? According

Re: [PHP] 2 errors I can not understand

2007-03-14 Thread Myron Turner
, the modulus operator has precedence over the equals! So shouldn't this expression resolve to: ($s % $d) = 0 which gives an error? -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http

Re: [PHP] 2 errors I can not understand

2007-03-14 Thread Myron Turner
Robert Cummings wrote: On Wed, 2007-03-14 at 12:57 +0100, Tijnema ! wrote: On 3/14/07, Myron Turner [EMAIL PROTECTED] wrote: Richard Lynch wrote: On Tue, March 13, 2007 6:04 pm, Jonathan Kahan wrote: This did fix the problem but I am amazed that $s%$d=0 would

Re: [PHP] Regex error

2007-03-14 Thread Myron Turner
in advance Jeff K What is this part of the regex supposed to be doing: [a-z0-9-\.\/] ? Your problem is this: 0-9-, which causes a bad range error. -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General

Re: [PHP] 2 errors I can not understand

2007-03-13 Thread Myron Turner
be: if ($s%$d==0) --otherewise your loop keeps going: while ($d$s) since $d (0) will be less and $s -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] xml parsing

2007-03-12 Thread Myron Turner
; } } -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] $35 to the first person who can do this XML-parsing PHP script

2007-03-12 Thread Myron Turner
that have limited local applicability. Myron Turner -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] FW: looking for two remote functions

2007-03-11 Thread Myron Turner
Myron Turner wrote: Tijnema ! wrote: On 3/10/07, Németh Zoltán [EMAIL PROTECTED] wrote: 2007. 03. 10, szombat keltezéssel 12.42-kor Riyadh S. Alshaeiq ezt írta: Actually if right click on any file or folder on a machine you will see that there are two values (Size on disk Size). Files

Re: [PHP] FW: looking for two remote functions

2007-03-11 Thread Myron Turner
files, since they are in effect scripts and their length is not know in advance. The same holds true for files which contain SSI. _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http

Re: [PHP] FW: looking for two remote functions

2007-03-11 Thread Myron Turner
but they are all wrong? Tijnema -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Why won't this query go through?

2007-03-11 Thread Myron Turner
the heredoc syntax: $query= QUERY INSERT INTO visitors (username,password,email,firstname,lastname. . . etc) VALUES($username,$password,$email . . . etc ) QUERY; _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP

Re: [PHP] FW: looking for two remote functions

2007-03-10 Thread Myron Turner
to this script and get the file size. -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/

Re: [PHP] Urgent: Way to XML-parse data with f n=name /f tags?

2007-03-08 Thread Myron Turner
-folded. From: http://www.php.net/manual/en/function.xml-set-element-handler.php So $venuecity - $attrs['venuecity'], etc. --PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- _ Myron Turner http://www.room535

[PHP] Re: I almost get what you're saying...

2007-03-08 Thread Myron Turner
['venuecity'])) { $venuecity = $attrs['venuecity']; } // etc. } _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Urgent: Way to XML-parse data with f n=name /f tags?

2007-03-08 Thread Myron Turner
Myron Turner wrote: Rob Gould wrote: The problem I'm having is that the XML data that comes back from the host doesn't just have eventname /eventname tags. It has f n=eventnamedatahere/f tags, and I don't know how to get the XML parser to read the values using that format. (And I don't

Re: [PHP] Urgent: Way to XML-parse data with f n=name /f tags?

2007-03-08 Thread Myron Turner
Myron Turner wrote: Rob Gould wrote: The problem I'm having is that the XML data that comes back from the host doesn't just have eventname /eventname tags. It has f n=eventnamedatahere/f tags, and I don't know how to get the XML parser to read the values using that format. (And I don't

[PHP] Re: [PHP-DB] array field type

2007-03-06 Thread Myron Turner
using **wddx_deserialize()* cid:part2.08060209.04020008@shaw.ca. -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] problem generating a file link

2007-03-05 Thread Myron Turner
the link as or is that what is literally in the html source? I'm using Smarty so the link doesn't appear as HTML as such. This is what the browser (guessed wrong - I'm using Firefox) shows in the status bar. George -- _ Myron Turner http://www.room535.org http

Re: [PHP] Eregi error

2007-03-01 Thread Myron Turner
this as [a-z0-9\!\_ \. ,/-] with the hyphen in the last position. -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Eregi error

2007-03-01 Thread Myron Turner
Roberto Mansfield wrote: Myron Turner wrote: M.Sokolewicz wrote: $pattern = '^[a-z0-9\!\_ \.- ,/]*$'; if(!eregi($pattern, $input)){ the problem is that the hyphen is interpreted as regex range operator: [a-z0-9

Re: [PHP] base64-encoding in cookies?

2007-02-10 Thread Myron Turner
the installation. Each language has its strengths. What's true of Perl, I think is probably true of Python as well. There are lots of programmers and web sties that must mix Python and PHP. -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http

Re: [PHP] Text Editor for Windows?

2007-02-08 Thread Myron Turner
, and it can be highly customized for individual use. It will not, however, find syntax errors. -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] JS prompt - php

2007-02-07 Thread Myron Turner
the Yahoo! Mail Beta. Google Ajax How-to or Ajax How-to POST The 3rd or 4th item for plain how-to is: http://swik.net/Ajax/How+to+use+XMLHttpRequest This first item for how-to POST: http://www.captain.at/howto-ajax-form-post-request.php -- _ Myron Turner http

Re: [PHP] PHP4 to PHP5 issue

2007-02-07 Thread Myron Turner
server, which I'd done for myself. But this solution is really cool! -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP4 to PHP5 issue

2007-02-07 Thread Myron Turner
Jochem Maas wrote: Myron Turner wrote: Christopher Weldon wrote: You actually don't even have to run a second instance of Apache. From what I've heard of other hosting companies doing, you can use the same Apache installation and run PHP4 and PHP5 concurrently. if you use CGI

Re: [PHP] preg_match

2007-02-06 Thread Myron Turner
( /\/index.php$/, $_SERVER['PHP_SELF'] ))) { -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Peristent Listen over an HTTP connection

2007-02-04 Thread Myron Turner
in temporary files on the server or in temporary database entries, or you could simply pass data back and forth using POST. The script which handles the AJAX requests would be the component that resides on the server. _ Myron Turner http://www.room535.org http://www.bstatzero.org

Re: [PHP] Peristent Listen over an HTTP connection

2007-02-04 Thread Myron Turner
://www.devshed.com/c/a/PHP/Socket-Programming-With-PHP/ It needs IE (as opposed to Firefox). -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Help with matching numbers 0-100

2007-02-03 Thread Myron Turner
+)/', $variable, $matches)) { if($matches[1] 4 $matches[1] 20) { echo $matches[1] . is in range\n; } else echo $matches[1] . out of range\n; } ? -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP

Re: [PHP] Pop up window in PHP code

2007-02-03 Thread Myron Turner
. -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Parsing mail file

2007-01-30 Thread Myron Turner
Jim Lucas wrote: he wants a cut/paste answer to his problem. He doesn't want to build something and learn how it all works. He just wants it to work out of the box. Why would someone want to read an RFC if he didn't have to? Maybe we should all start by writing our own GUI's. Nothing

Re: [PHP] Re: [BULK] [PHP] Use array returned by function directly?

2007-01-29 Thread Myron Turner
. But explode($needle, $array), it turns out, simply returns the string Array. -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Re: [BULK] [PHP] Use array returned by function directly?

2007-01-29 Thread Myron Turner
, $array_2)); -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] navigation

2007-01-27 Thread Myron Turner
koen wrote: How to creat the effect of the explorers back and forward buttons in php? It's a javascript issue, using the javascript history object. -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General

Re: [PHP] Can a class instance a property of another class

2007-01-27 Thread Myron Turner
. -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: two php.ini on the same server

2007-01-26 Thread Myron Turner
for configure to work with. -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php javascript interaction

2007-01-26 Thread Myron Turner
/language.variables.predefined.php Form data is captured in PHP in a number of different predefined variables accessible from your scripts. This page defines these varibables. -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP

[PHP] Parsing AJAX post data -- The Way

2007-01-25 Thread Myron Turner
, as expected. But $HTTP_RAW_POST_DATA will not be available. -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: XML Parsing simpleXML Arrays Question

2007-01-15 Thread Myron Turner
\nVCR - 1\n; echo $xml-vcrSummary-vcr[1] .\n; echo Min Price: . $xml-vcrSummary-vcr[1]['minPrice'] .\n; /* Result: Result: VCR - 0 AA Min Price: 1667 VCR - 1 PR Min Price: 1374 */ ? -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org

[PHP] Re: Counting the occurences of items in an array

2006-12-24 Thread Myron Turner
if there's a better way of doing this I'd love to know. Thanks. Dotan Cohen http://what-is-what.com/what_is/html_email.html http://lyricslist.com/lyrics/artist_albums/162/disturbed.php -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org

[PHP] Re: PHP and XML

2006-11-24 Thread Myron Turner
, visit: http://www.php.net/unsub.php -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: XML parser error ..

2006-11-22 Thread Myron Turner
-- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] CSS / PHP / Javascript

2006-11-16 Thread Myron Turner
who can't even grasp the concept of screen resolution (I know plenty of print-based designers that fall into this category)] -Ed --PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- _ Myron Turner http://www.room535.org

[PHP] Re: Space in regex

2006-11-16 Thread Myron Turner
\'.-:underscore:] All these regexes match strings containing the specified characters, but none of them match strings with spaces. Dotan Cohen http://what-is-what.com/ http://technology-sleuth.com/ -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http

[PHP] Re: Space in regex

2006-11-16 Thread Myron Turner
is why .* represents all characters. Myron Turner http://www.mturner.org/XML_PullParser/ On Thu, 16 Nov 2006 23:08:34 +0200, [EMAIL PROTECTED] (Dotan Cohen) wrote: I'm trying to match alphanumeric characters, some common symbols, and spaces. Why does this NOT match strings containing spaces

[PHP] Re: Simple logic but can't get it right

2006-11-09 Thread Myron Turner
; } echo ID = $idbr; //Output is b...WHY?? It should be outside... ? -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: Permanent Links - Blog

2006-11-08 Thread Myron Turner
blogs, but it´s easy to implement? See it in action at wikipedia, blogger blogs, simplebits http://www.simplebits.com. Both simplebits and wikipedia is written in PHP, I guess. Help! Thank you -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http

[PHP] Re: fsockopen error messages

2006-11-06 Thread Myron Turner
; } ? Thanks, ~Philip -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] XML Sending problem

2006-11-05 Thread Myron Turner
, but how I can send XML to the processing script on another server ? Thanks in advance, Rosen -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Re: preg_split

2006-11-03 Thread Myron Turner
/vonage.php and the sample data is http://akane.covisp.net/~kreme/vonage.callers --No one ever thinks of themselves as one of Them. We're always one of Us. It's Them that do the bad things. -- _ Myron Turner http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List

Re: [PHP] Re: preg_split

2006-11-03 Thread Myron Turner
them in \01. -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Closing a connection to browser without exiting the script

2006-11-02 Thread Myron Turner
. -- _ Myron Turner http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] str_replace on words with an array

2006-10-29 Thread Myron Turner
of $searchQuery could be What is php? or What is open source. See this site for details: http://what-is-what.com Dotan Cohen http://technology-sleuth.com/ -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org/XML_PullParser/ -- PHP

[PHP] Re: A general UL script

2006-10-28 Thread Myron Turner
of these statements will continue wether my form is empty or not, why? if(!empty($_FILES)){ do som checking if its a jpg. if not exit; if(isset($_FILES)){ -- _ Myron Turner http://www.room535.org http://www.bstatzero.org http://www.mturner.org

[PHP] Re: Problem compiling PHP 4.4.2 with mcrypt

2006-10-27 Thread Myron Turner
? Normally I haven't had this problem with this. But this is an old suse 8.x box that is being used due to time frame issues. Like I said I can compile PHP without mcrypt, but the project requires mcrypt so any help on this would be appreciated. Thanks! -- _ Myron Turner http

[PHP] Re: Problem with EXEC and PASSTHRU

2006-10-25 Thread Myron Turner
not very well-informed about hacking and security, but it would seem to me that you are taking a risk by giving users root privileges to restart amavisd-new. _ Myron Turner http://www.mturner.org/XML_PullParser/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe

  1   2   >