Re: [PHP] Re: Multithreading for OOP PHP

2012-11-03 Thread Joe Watkins
On 31/10/2012 13:46, Alex Nikitin wrote: Hey guys (and/or gals), I have heard this question entirely too many times, I think at some point Rasmus just stopped responding to it. The real reason that PHP is not threaded has nothing to do with PHP internal or extension thread safety, the reason is

Re: [PHP] PHP Threading on Windows

2012-09-14 Thread Joe Watkins
On 14/09/2012 04:42, tamouse mailing lists wrote: On Thu, Sep 13, 2012 at 9:32 PM, admin ad...@buskirkgraphics.com wrote: It has been suggested: That because php does not support PCNTL threading on Windows that multiple services of php are an alternative. I am interested in this

Re: [PHP] PHP Threading on Windows

2012-09-14 Thread Joe Watkins
On 14/09/2012 04:42, tamouse mailing lists wrote: On Thu, Sep 13, 2012 at 9:32 PM, admin ad...@buskirkgraphics.com wrote: It has been suggested: That because php does not support PCNTL threading on Windows that multiple services of php are an alternative. I am interested in this

Re: [PHP] php-cli-shebang

2011-06-08 Thread Joe Francis
why not using php.exe instead of php-cgi.exe as a parser ? On Wed, Jun 8, 2011 at 7:42 AM, Lists li...@euca.us wrote: Lists wrote: Windows Server 2003 PHP fastcgi 5.2 O.K. '-q' is quiet mode (no header info), which works better when not using the -f flag when calling the script (it

Re: [PHP] Help needed with php.ini

2011-06-06 Thread Joe Francis
I remember that there's 2 php.ini in Fedora, one is for SAPI like apache or other CGIServer, and another is for CLI. Can you confirm that you edited a right config file? On Mon, Jun 6, 2011 at 4:55 AM, Camilo Sperberg unrea...@gmail.com wrote: On 05-06-2011, at 10:31, Adam Tong

[PHP] a shortcut to set variable

2011-04-12 Thread Joe Francis
eh, I just want to get a shortcut like $id = isset($_GET['id']) ? $_GET['id'] : 0; BTW, I'm using PHP5.3+, thanks bros. -- Powered By Francis™. Welcome to my website: http://www.francistm.com Rewrite to francis...@gmail.com please.

Re: [PHP] PHP Email Question

2010-09-29 Thread Joe Jackson
Hi I am trying the following snippet as Bostjan suggested, and an email is getting sent when I submit the form however in the body of the email I am getting none of the form data in the body of the email. All I am getting is the letter 'z' ? Also in the from field of the email this is showing

[PHP] PHP Email Question

2010-09-19 Thread Joe Jackson
Hi Sorry for the simple question but I am trying to get my head around PHP. I have a sample PHP script that I am trying to use to send a php powered email message. The snippet of code is shown below mail('em...@address.com', 'Subject', $values['message'], From: \{$values['name']}\

[PHP] Error in Building an XML File

2009-03-09 Thread Joe Harman
-Disposition:attachment;filename=google_feed.xml); Thanks Joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Error in Building an XML File

2009-03-09 Thread Joe Harman
On Mon, Mar 9, 2009 at 9:53 AM, Bob McConnell r...@cbord.com wrote: From: Joe Harman I am using PHP to build an XML file, but I keep on getting an XML error when open the file in Google Chrome. - This page

[PHP] XML RSS installation

2008-12-01 Thread Joe Schoemann
days now and need some help, what must I do now to get the RSS working. Yours truly, Joe

[PHP] operators as callbacks?

2008-11-29 Thread Joe
Is it possible to use a PHP operator as a callback? Suppose I want to add two arrays elementwise, I want to be able to do something like this: array_map('+', $array1, $array2) but this doesn't work as + is an operator and not a function. I can use the BC library's math functions instead:

Re: [PHP] Recursive Directory Listing

2008-11-05 Thread Joe Schaeffer
help! --joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Recursive Directory Listing

2008-11-04 Thread Joe Schaeffer
Joe, Here is a simplified recursive version of your above statement. ?php $dir = '.'; function displayDir($dir='.') { $show = FALSE; $results = glob($dir.'/*'); foreach ( $results AS $entry ) { if ( is_dir($entry) !in_array($entry, array

Re: [PHP] Recursive Directory Listing

2008-10-31 Thread Joe Schaeffer
feedback. I've been referring to the SPL documentation in the manual off php.net, and the examples at phpro.org. if there are any others out there, i'd be happy to keep digging! On 10/30/08, Jochem Maas [EMAIL PROTECTED] wrote: Joe Schaeffer schreef: Well, that makes things much easier

[PHP] Recursive Directory Listing

2008-10-30 Thread Joe Schaeffer
directory, so I'll need a defined starting path (ie, $root = /site/docs/includes/navigation/ or somesuch...). 4) no database access (otherwise this whole contraption wouldn't be an issue...) Any help is greatly appreciated, thank you in advance. --joe -- PHP General Mailing List (http://www.php.net

Re: [PHP] Recursive Directory Listing

2008-10-30 Thread Joe Schaeffer
in the right direction! On Thu, Oct 30, 2008 at 1:30 PM, Jochem Maas [EMAIL PROTECTED] wrote: Joe Schaeffer schreef: New to PHP development, new to the list; searched the archives but didn't find an answer (or at least nothing i could successfully adapt). I have a (readable) directory structure

[PHP] Action on 'Require' Fatal Error

2008-07-09 Thread Joe Harman
Hello, is there a way to call a function or do a header(Location: page.php) when a fatal error is detected from using a the require statement Thanks Joe Harman

[PHP] Retrive a ID or Class value from a form input field

2008-06-09 Thread Joe Harman
Hello, is there any way to get more field information other than just the value of a field when a form is submitted??? ex: input name=email type=text id=email size=30 maxlength=120 class=theClass value= / type, size, class, etc. Thanks Joe -- PHP General Mailing List (http://www.php.net

Re: [PHP] Retrive a ID or Class value from a form input field

2008-06-09 Thread Joe Harman
make thing neat and tidy Thanks for all your input Joe On Mon, Jun 9, 2008 at 3:09 PM, Jim Lucas [EMAIL PROTECTED] wrote: Jim Lucas wrote: Jim Lucas wrote: Joe Harman wrote: Hello, is there any way to get more field information other than just the value of a field when a form is submitted

Re: [PHP] Re: PHP Web Apps OpenID

2008-05-07 Thread Joe Harman
though... which is what I want to make it easy convienent for those repeat customers thanks for your input guys Joe On Wed, May 7, 2008 at 4:04 AM, Colin Guthrie [EMAIL PROTECTED] wrote: Joe Harman wrote: I am curious here if any of you are considering or already using OpenID or Windows

[PHP] PHP Web Apps OpenID

2008-05-06 Thread Joe Harman
been looking at some PHP scripts out there for OpenID... does anyone have one to recommend??? -- Joe Harman -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Help with preg_match_all regex for alt tags

2008-04-29 Thread Joe Harman
=Shopping Cart Thanks for your help -- Joe Harman -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mysql_connect slowness

2008-04-29 Thread Joe Harman
://www.databasejournal.com/features/mysql/article.php/1382791 a great admin program to use is Navicat... it's very easy to make your indexes there... Hopefully those 2 suggestions speed up things a little! :o) let us know if it works Joe On Mon, Apr 28, 2008 at 12:14 AM, Waynn Lue [EMAIL PROTECTED] wrote

[PHP] Making an array from delimited data

2008-04-28 Thread Joe Harman
'] = 0-11,000 rpm I know I can use explode on on set of data... but up do you do it line by line? Thanks for your help -- Joe Harman -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Making an array from delimited data

2008-04-28 Thread Joe Harman
this is the complete data that was initially submitted through a textarea field. On Mon, Apr 28, 2008 at 2:56 PM, Shawn McKenzie [EMAIL PROTECTED] wrote: Joe Harman wrote: I have some data that I pull from a database that is in the following format

Re: [PHP] Re: Making an array from delimited data

2008-04-28 Thread Joe Harman
Thanks guys... that help me out a lot... i was thinking too hard on ... LOL have a great day! Joe On Mon, Apr 28, 2008 at 3:01 PM, Nathan Nobbe [EMAIL PROTECTED] wrote: On Mon, Apr 28, 2008 at 1:58 PM, Joe Harman [EMAIL PROTECTED] wrote: this is the complete data that was initially submitted

[PHP] Confused about handling bytes

2007-05-20 Thread Joe Veldhuis
, given the response I get from the device (it sends FF FF instead of the expected value at that address, which I get when I remove the variable and manually specify the address). What are the solutions to these problems? Thanks, -Joe Veldhuis -- PHP General Mailing List (http://www.php.net

Re: [PHP] Form verification

2006-11-01 Thread Joe Wollard
Captcha http://en.wikipedia.org/wiki/Captcha On 11/1/06, Ron Piggott (PHP) [EMAIL PROTECTED] wrote: I am wondering if any of you know what it is called when letters come up for the user to key in for form entry verification. Ron -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Query question

2006-10-28 Thread Joe Wollard
Agreed, this should go to a MySQL list. But in the spirit of helping I think the following should give you a good starting point. SELECT `year`, COUNT(`year`) AS `count` FROM `tbl` GROUP BY `year` ASC On 10/28/06, Ed Lazor [EMAIL PROTECTED] wrote: Use the mysql list :) On Oct 28, 2006, at

Re: [PHP] Query question

2006-10-28 Thread Joe Wollard
-Original Message- From: Joe Wollard [mailto:[EMAIL PROTECTED] Sent: October 28, 2006 10:30 PM To: Ed Lazor Cc: Beauford; PHP Subject: Re: [PHP] Query question Agreed, this should go to a MySQL list. But in the spirit of helping I think the following should give you a good starting point. SELECT

Re: Re: [PHP] OPTION

2006-10-25 Thread Joe Wollard
type this out 31 times unless you really really really like to type. ;-) - Joe On 10/25/06, Stut [EMAIL PROTECTED] wrote: Ron Piggott (PHP) wrote: I am creating a form right now. I am using the html SELECT tag. SELECT NAME=day_of_month The most number of days in a month is 31 I want

Re: [PHP] RE:[PHP] Client Computer Registration

2006-10-03 Thread Joe Harman
the activex possiblity i do know that this site uses JSP as it's scripting language. Have a great day, hope i was able to help in atleast a little way Joe On 10/3/06, Wesley Acheson [EMAIL PROTECTED] wrote: They could also be doing something like giving the client an SSH key to download, I've heard

Re: [PHP] MySQLDump and master/slave Behavior

2006-10-03 Thread Joe Wollard
1. mysqldump will only keep the connection open for as long as it needs it. Once your calling script is allowed to continue mysqldump has either exited successfully or with an error, but either way the connection should no longer be active. 2. I don't think that would be a good idea. 30

Re: [PHP] PHP5 object construct

2006-09-22 Thread Joe Wollard
http://us2.php.net/class On 9/22/06, Chris Boget [EMAIL PROTECTED] wrote: I read about a feature of PHP5 OOP that is something like this in a book or a magazine a while back. But now I don't remember exactly how this works and I can't find any reference to it in the online docs. The basic

Re: Re: [PHP] PHP5 object construct

2006-09-22 Thread Joe Wollard
well, perhaps I'm not seeing what it is that you're looking for. The page I sent you is a basic introduction to classes and OOP in PHP, which based on the example that you've provided seemed like what you wanted. It seems obvious that you want to learn more about OOP, but are you trying to find a

Re: Re: Re: [PHP] PHP5 object construct

2006-09-22 Thread Joe Wollard
ok, so if we were talking Java, perhaps you are looking for information that allows you to build 'accessor' and 'mutator' methods? If so, then your example should work (syntax aside). Here's another 'test' example that I just whipped up and tested that shows you can use any method name you wish.

Re: [PHP] Error: Cannot load /usr/local/apache2/modules/libphp4.so into server: /usr/local/apache2/modules/libphp4.so: cannot restore segment prot after reloc: Permission denied

2006-09-20 Thread Joe Wollard
Since Fedora is popular, can I assume that's what you're running? Even if it's not I'll bet it's a Linux distro that's employing SELinux. 11,500 web pages agree ;-) http://www.google.com/search?q=%22reloc:+Permission+denied%22 On 9/20/06, Kelly McCoy [EMAIL PROTECTED] wrote: I am getting

Re: [PHP] Just say hello

2006-09-15 Thread Joe Wollard
Hi AraDaen, and welcome to the list ;-) On Sep 15, 2006, at 7:32 AM, AraDaen wrote: Hi from Spain. This is my first post and im sure it wont be last :) AraDaen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing

Re: [PHP] How to skip browser's Warning?

2006-09-13 Thread Joe Wollard
Easiest way: change your search form's method to GET instead of POST - I'm sure you're not passing enough parameters to the search results page to actually need to use POST. On Sep 13, 2006, at 11:44 AM, [EMAIL PROTECTED] wrote: Hi, Could somebody explain to me what to do to skip this

Re: [PHP] Accessing .mdb Ms Access file from Linux without ODBC

2006-09-07 Thread Joe Wollard
I think kOffice can read mdb files on Linux - maybe that would be a good starting point for research. Perhaps they have built a kind of API to allow other programs to do the same..then again, maybe not - but like I said, it's some place to start. On Sep 7, 2006, at 7:57 AM, Fourat

Re: [PHP] parse text file

2006-07-23 Thread Joe Wollard
Benjamin, Use the file() function, it will read a file then return each line as a new element in an array. http://php.net/file - Joe On 7/23/06, Benjamin Adams [EMAIL PROTECTED] wrote: how would I read a file one line at a time: ?php if($lines $alllines){ $newline .= $lines

Re: [PHP] Basic PHP knowledge test

2006-07-20 Thread Joe Wollard
someone that can solve problems quickly, not someone who can simply tell you what a piece of code is doing. Just a thought though - good luck! -Joe On Jul 20, 2006, at 7:20 AM, Finner, Doug wrote: My advice, give the candidates problems and see how they solve them. Even if they don't finish

Re: [PHP] PHP LDAP - Single Sign On

2006-06-28 Thread Joe Wollard
well, I'm sure that if you really wanted to try to write your own auth module in PHP you could theoretically do so - but in lieu of that there is an open source apache module that you might want to look into called mod_ntlm http://modntlm.sourceforge.net/ keep in mind that all this does is

Re: [PHP] New install platform

2006-06-25 Thread Joe Wollard
For a simple OS X install you can either modify the existing Apache/PHP install and add MySQL or use entropy's package from http://www.entropy.ch/software/macosx/php/ On 6/25/06, Grae Wolfe - PHP [EMAIL PROTECTED] wrote: It has become evident that I need some form of local testing

Re: [PHP] templating

2006-06-22 Thread Joe Wollard
, large and small. I find that once you learn it you can use it to develop new sites rather quickly. ...and it's not like using a nuke to kill a fly - Smarty only loads the files it needs as it needs them instead of loading everything - so it's quite fast really. - Joe On Jun 22, 2006, at 7

Re: [PHP] Processing HTML in mail form

2006-06-21 Thread Joe Wollard
(sorry for the duplicate response Parathaban, forgot to reply to the list) Look at example 4 from http://us3.php.net/function.mail $headers = 'MIME-Version: 1.0' . \r\n; $headers .= 'Content-type: text/html; charset=iso-8859-1' . \r\n; That should get you started. On Jun 20, 2006, at

Re: [PHP] MYSQL_CONNECT vs MYSQL_PCONNECT

2006-06-20 Thread Joe Wollard
If you're not sure you should probably stick with mysql_connect() - otherwise you could end up bogging down mysql with way more connections than you need if you're not careful. On Jun 20, 2006, at 12:34 PM, Juanjo Pascual wrote: How can i know which of both is better to use each time? --

Re: [PHP] ldap_connect allways returns true even if logically it shouldn't?

2006-06-19 Thread Joe Wollard
I believe the manual says that ldap_connect doesn't actually make the connection but rather it just simply sets up the connection parameters. The actual connection doesn't happen until ldap_bind is executed. - or so I recall reading some where ;-) On Jun 19, 2006, at 9:06 AM, Steve

Re: [PHP] HTTP HEADERS

2006-06-03 Thread Joe Wollard
server ( http://www.php.net/manual/en/function.headers-list.php) - otherwise you can use the get_headers() function (http://www.php.net/manual/en/function.get-headers.php) see what headers the client sent you along with the file. -Joe On 6/3/06, kartikay malhotra [EMAIL PROTECTED] wrote: Hi all! I

Re: [PHP] .htaccess - change index.php to index.abc

2006-06-03 Thread Joe Wollard
If you don't want to change the names of the files themselve from .php to .abc then you'd need to use something like mod_rewrite for apache's HTTPD. I'm not entirely certain as to how you'd do this, but I've included what I normally use to hide index.php in the url. If possible I'd put this in

Re: [PHP] Paged Results Set in MySQL DB with one result

2006-05-12 Thread Joe Henry
but next/previous buttons produce no results) Blank: none that I tested Don't have Firefox on the Mac box. I just clicked the next/previous buttons a few times, so take it for what's it's worth. Thanks to you Tedd. Made me realize I should upgrade my Linux Firefox. HTHs. -- Joe Henry

Re: [PHP] remove html tags in text?

2006-05-11 Thread Joe Henry
On Thursday 11 May 2006 9:51 am, Bing Du wrote: Any functions that can help remove all the HTML tags in it? What about just removing selected tags, like b/b? Looks like strip_tags() will do the trick for you: http://us3.php.net/manual/en/function.strip-tags.php -- Joe Henry

Re: [PHP] BDC to ASCII Conversion

2006-05-11 Thread Joe Henry
On Thursday 11 May 2006 10:08 am, Jim Moseby wrote: In dog we trust Am partial to Dog is my co-pilot -- Joe Henry www.celebrityaccess.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] question about using temporary named pipe in the string for system

2006-05-10 Thread Joe Henry
. I've been googling around without much help. Could anyone plz give me some hint? Thanks a lot ginger Think you might want the shell_exec() command instead. http://us2.php.net/manual/en/function.shell-exec.php HTH -- Joe Henry www.celebrityaccess.com [EMAIL PROTECTED] -- PHP

Re: [PHP] WINNER

2006-05-08 Thread Joe Henry
. That would be, like, a latte or beer each. Yippee! -- Joe Henry www.celebrityaccess.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] List of sessions

2006-05-04 Thread Joe Wollard
a database for session storage: http://www.php.net/manual/en/function.session-set-save-handler.php Cheers, - Joe On 5/4/06, Tony Aldrich [EMAIL PROTECTED] wrote: Well, I mean visitors of site. They can open it in several windows or in several browsers. I understand that each browser on a machine

Re: [PHP] Sanity checker?

2006-05-03 Thread Joe Henry
On Tuesday 02 May 2006 6:14 pm, Ezra Nugroho wrote: Does anyone know of any tools to test the sanity of your php code? This sounds an awful lot like the Halting Problem to me, which isn't solvable. http://en.wikipedia.org/wiki/Halting_Problem -- Joe Henry www.celebrityaccess.com [EMAIL

Re: [PHP] SQL query to array?

2006-04-26 Thread Joe Wollard
Will, Seems to me like you've just done it! Here's another way of doing it that will utilize mysql_fetch_assoc() to allow your query to dictate the elements of the array. Keep in mind, I haven't tested this, but since I'm not entirely sure what you are asking the list, I'll offer it anyway ;-)

Re: [PHP] Php function to Set focus On A form Field

2006-04-26 Thread Joe Wollard
PHP can't do that for you but Javascript can. Here's roughly 3 million (no joke) examples of what you'd like to accomplish: http://www.google.com/search?q=javascript+focus+first+input On 4/26/06, marvin hunkin [EMAIL PROTECTED] wrote: Hi. is there any php or java script function, where i can

Re: [PHP] Using linkDisplayFields of FormBuilder

2006-04-26 Thread Joe Henry
-- Joe Henry www.celebrityaccess.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] CMS for Auto Parts

2006-04-23 Thread Joe Wollard
I could be off here, but I think he's talking about using XML to transfer data back and forth between the flash app and the PHP app. That's just me reading between the lines though. Maybe I'm taking too much from PHP/XML should be used with a client-side Web GUI to upload images, part no.,

Re: [PHP] Preg_match() regex

2006-04-21 Thread Joe Henry
/reference.pcre.pattern.syntax.php -- Joe Henry www.celebrityaccess.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] strange php url

2006-04-21 Thread Joe Wollard
this string, (generally by using the '/' character as a deliminator) and extract the data. MediaWiki even provides information (can't think of where at the moment) on how to use Apache's mod_rewrite to hide index.php thus making the url even cleaner: http://www.example.com/foo/bar Cheers! - Joe

Re: [PHP] strange php url

2006-04-21 Thread Joe Wollard
different than http://www.example.com/index.php?action=edittype=customerid=1234 in terms of security. If I'm wrong someone please let me know as I do use this technique quite a bit. - Joe On 4/21/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: You could do that... a poor man's mod_rewrite might

Re: [PHP] Re: no offense to Rasmus... are you kidding me

2006-04-20 Thread Joe Henry
On Thursday 20 April 2006 1:18 am, Richard Lynch wrote: Is 5 longer than 4? Size doesn't matter. At least that's what I've been told. ;) -- Joe Henry www.celebrityaccess.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Pushing PHP Into The Web 2.0 Generation

2006-04-18 Thread Joe Henry
development and war in the same sentence. Killer! -- Joe Henry www.celebrityaccess.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Post forms

2006-04-14 Thread Joe Henry
type=checkbox name=array[] value=... / input type=checkbox name=array[] value=... / input type=checkbox name=array[] value=... / etc. Then in your PHP script, $_POST['array'] will hold an array of the checkbox values. HTH -- Joe Henry www.celebrityaccess.com [EMAIL PROTECTED] -- PHP General

Re: [PHP] interview

2006-04-13 Thread Joe Henry
-- Joe Henry www.celebrityaccess.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] I am not able to download domxml for PHP5

2006-04-11 Thread Joe Wollard
Oz, From your command line, try: pecl install domxml You'll need to be root to do so, but as long as you have PECL/PEAR installed this should give you domxml. Remember to restart your web server after doing so. - Joe On 4/11/06, Oz [EMAIL PROTECTED] wrote: Please help, I am not able

Re: [PHP] I am not able to download domxml for PHP5

2006-04-11 Thread Joe Wollard
Of course you said you're running PHP5so that won't work. According to the site it would be best for you to use the DOM that comes pre compiled with PHP. http://us3.php.net/manual/en/ref.dom.php Sorry about the mix up on my part. On 4/11/06, Joe Wollard [EMAIL PROTECTED] wrote: Oz, From

Re: [PHP] Argument passed by reference?

2006-04-10 Thread Joe Henry
not sure when this happened. I'm fairly new to php, myself. Maybe someone else could answer that? -- Joe Henry www.celebrityaccess.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mod_rewrite q's: syntax?

2006-04-10 Thread Joe Wollard
Mickey, I'm not an expert on the topic by any stretch of the imagination, but I seem to recall reading that it's best to move everything into httpd.conf for performance reasons. You may want to investigate that, but otherwise I don't see anything wrong with what you're doing. On 4/10/06, Micky

Re: [PHP] Need MySql Help Please

2006-04-10 Thread Joe Wollard
check out MySQL's documentation on running MySQL from the command line in Windows http://dev.mysql.com/doc/refman/5.0/en/windows-start-command-line.html Good luck! - Joe On 4/11/06, marvin hunkin [EMAIL PROTECTED] wrote: Hi. any mysql gurus out there using a tool called EasyPHP 1-8? i am using

Re: [PHP] microtime questions

2006-04-07 Thread Joe Wollard
) is running PHP5 || . IF not, and error reporting is turned off, then you'll get a negative number from time to time since the seconds are being ignored. http://php.net/microtime has an example of how to emulate microtime(true) on PHP 5 Hope that helps! -Joe On 4/7/06, Brad Bonkoski [EMAIL

Re: [PHP] microtime questions

2006-04-07 Thread Joe Wollard
I just realized that I could check your version, and it appears that we've found the problem. You're running PHP 4.3.10, so I'd suggest using the non PHP5 work around on php.net's site. Cheers! - Joe On 4/7/06, Joe Wollard [EMAIL PROTECTED] wrote: Tedd, The only way that I can even think

Re: [PHP] how to run 'periodic'

2006-04-07 Thread Joe Wollard
shouldn't be running into any additional security issues by executing the script as root - As long as it's running through the CLI version of PHP. Just make sure it's only executable by root and then root should be the only one allowed to create that mammoth ;-) - Joe On 4/6/06, Frank Arensmeier

Re: [PHP] Parse Error on SQL Insert

2006-04-07 Thread Joe Henry
On Friday 07 April 2006 1:37 pm, Tom Chubb wrote: $insertSQL = INSERT INTO cars (model, `year`, details, price, image1, Not sure if this is your problem, but those look like backticks around year instead of single quotes. Should there even be quotes there? HTH -- Joe Henry

Re: [PHP] Parse Error on SQL Insert

2006-04-07 Thread Joe Henry
['model']}' Dan --- http://chrome.me.uk -Original Message- From: Joe Henry [mailto:[EMAIL PROTECTED] Sent: 07 April 2006 20:53 To: php-general@lists.php.net; [EMAIL PROTECTED] Subject: Re: [PHP] Parse Error on SQL Insert On Friday 07 April 2006 1:37 pm, Tom Chubb

Re: [PHP] microtime questions

2006-04-07 Thread Joe Wollard
on this. There are a lot of people on this list, so someone will have the answer that you need. ;-) - Joe On 4/7/06, tedd [EMAIL PROTECTED] wrote: -B At 12:51 PM -0400 4/7/06, Brad Bonkoski wrote: How is the CPU not in question? Does this script run on air? I did not say that. I said that it was not MY CPU

Re: [PHP] IF or SWITCH

2006-04-06 Thread Joe Wollard
On 4/5/06, Ray Hauge [EMAIL PROTECTED] wrote: Hello World! wait, not coding... (sorry, long night) Okay, I finally finished hashing out all the logic for a very complex set of rules to determine what type an application should be set to. I won't bore you with the details of it, but the

Re: [PHP] IF or SWITCH

2006-04-06 Thread Joe Wollard
On 4/6/06, Robert Cummings [EMAIL PROTECTED] wrote: On Thu, 2006-04-06 at 02:29, Joe Wollard wrote: The main perk to using switch over if statements is speed (Google can back this up). The reason it's faster is because it's simpler by design and is able to jump directly to the case

Re: [PHP] simple regex query

2006-04-06 Thread Joe Henry
, and Javascript. Don't know how useful this is, but thought I'd throw it into this thread. http://rexv.org/ -- Joe Henry www.celebrityaccess.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Argument passed by reference?

2006-04-06 Thread Joe Henry
. Something like: function foo ($bar) { ... } Here's a link to that section of the php manual: http://us3.php.net/manual/en/language.references.pass.php Hope that helps. -- Joe Henry www.celebrityaccess.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Download image in PHP

2006-04-05 Thread Joe Henry
keep taxing the image server). I allow the file() command to pull from other sites, can I do this with just the file('http://www.site.com/image.jpg;); - or how would i do this? Russ You might want to look at CURL, too. http://us2.php.net/manual/en/ref.curl.php -- Joe Henry

Re: [PHP] Sessions and Frames

2006-04-05 Thread Joe Wollard
gets changed in one frame it will still be correct in all of the other frames. - Joe On 4/5/06, Richard Lynch [EMAIL PROTECTED] wrote: On Wed, April 5, 2006 1:02 pm, Shaun wrote: I have a site that uses frames. The frameset loads another site (both on the same server) in the lower frame

Re: [PHP] Re: mysql_fecth_array() and function call as parameter

2006-04-03 Thread Joe Wollard
Paul, Try TO_DAYS(curdate()) instead - if not you can't say we didn't try! ;-) If that doesn't work you may want to try a MySQL list. - Joe On 4/3/06, Paul Goepfert [EMAIL PROTECTED] wrote: I included the or die function on the end of my query statement. When I tested this on my web page

Re: [PHP] microsoft PHP ?

2006-04-02 Thread Joe Wollard
Just as long as everyone knows that everything I said was all in good fun. Next time I'll be sure to use sarcasam just to be sure nothing is taken the wrong way ;-) On 4/2/06, Chris Shiflett [EMAIL PROTECTED] wrote: Joe Wollard wrote: I made fun of Chris and Rasmus specifically because I

Re: [PHP] microsoft PHP ?

2006-04-02 Thread Joe Wollard
el-oh-el. See, I forgot already. Good lookin' out Matt! On 4/2/06, Matt Richards [EMAIL PROTECTED] wrote: oops forgot the first sarcasam .. oh well! :( Matt Richards wrote: quote: Joe Wollard wrote: Just as long as everyone knows that everything I said was all in good fun./sarcasam

Re: [PHP] microsoft PHP ?

2006-04-01 Thread Joe Wollard
Leave poor Zouari alone! I for one think that Microsoft buying Zend would be the best thing to happen to PHP, EVAR! This Rasmus guy didn't even mean for PHP to be what it is, he just wanted something simple and now look at it. It's WAY to complex for an unorganized bunch of hobbyists to maintain.

Re: [PHP] microsoft PHP ?

2006-04-01 Thread Joe Wollard
they _rule_so_hard_! On 4/1/06, Kevin Kinsey [EMAIL PROTECTED] wrote: Stut wrote: Joe Wollard wrote: Leave poor Zouari alone! I for one think that Microsoft buying Zend would be the best thing to happen to PHP, EVAR! This Rasmus guy didn't even mean for PHP to be what it is, he just wanted

Re: [PHP] Can output_buffering be set in a script?

2006-03-30 Thread Joe Henry
On Thursday 30 March 2006 9:02 am, Todd Cary wrote: I do not have access to the php.ini file and I need to have output_buffering turned on. Can this be done within a script? Thank you Yep. http://us2.php.net/manual/en/function.ob-start.php That link should get you started. -- Joe Henry

Re: [PHP] White label with PHP?

2006-03-30 Thread Joe Henry
On Wednesday 29 March 2006 9:52 am, Merlin wrote: white label solution Can someone enlighten me as to what this means? Thanks. -- Joe Henry www.celebrityaccess.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] IP Address Filtering

2006-03-29 Thread Joe Harman
Marketing Services Inc. 500 Federal Street, Suite 201 Troy NY 12180 Tel: (518) 687-6700 x154 Fax: (518) 687-6799 Email: [EMAIL PROTECTED] http://www.informed-sources.com -- Joe Harman - * My programs never have bugs, they just develop random features. -- PHP General Mailing List

Re: [PHP] IP Address Filtering

2006-03-29 Thread Joe Harman
Good thing I don't have kids! On 3/29/06, Kevin Kinsey [EMAIL PROTECTED] wrote: Joe Harman wrote: if you really want to mess with them.. only show the user with the NULL IP address all the spam posts.. .make them think that they've been successful Freaking hilarious idea!! Remind me

Re: [PHP] private $foo

2006-03-28 Thread Joe Henry
; echo $f-foo,\n; Maybe I'm wrong, but I thought you couldn't use the $f-foo to access private variables from outside a class? -- Joe Henry www.celebrityaccess.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] where php at?

2006-03-27 Thread Joe Henry
(just in case): http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html Syntax for ssh: ssh user account@hostname/IP Once you have an ssh session open to your remote server, running which php will return the remote path for php. Hope that helps. -- Joe Henry www.celebrityaccess.com [EMAIL

Re: [PHP] IE quirk

2006-03-17 Thread Joe Henry
if the the page contains a reference to img src= with name and id references (which may be used if the image is referencing a dynamic image, called by javascript) This seems to casue IE6 to refresh the page session id and hence loose the session. [/quote] -- Joe Henry www.celebrityaccess.com [EMAIL

Re: [PHP] What am I missing?

2006-03-07 Thread Joe Henry
/form You could try using an absolute rather than a relative path: /mobilkamera/admin/phpfunctions/addnewmanufacturer.php -- Joe Henry www.celebrityaccess.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Downloading very large files

2006-02-13 Thread Joe Wollard
not as taxing. Again I've never had to write a script that matches your conditions but I hope this helps. -Joe W. www.joewollard.com - theCore On 2/13/06, Jonathan Duncan [EMAIL PROTECTED] wrote: Thank you for the input. For now we are just using PHP to create symbolic links to the video files

  1   2   3   4   5   6   7   >