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 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 theory, if anyone is currently

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 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 theory, if anyone is currently

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 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 appe

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 wrote: > On 05-06-2011, at 10:31, Adam Tong wrote: > > > Hi, > > > > I can'

[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 a

Re: [PHP] PHP Email Question

2010-09-20 Thread Joe Jackson
into the email body. I greatly appreciate all your expert advice and help. On Sun, Sep 19, 2010 at 11:37 PM, TR Shaw wrote: > > On Sep 19, 2010, at 6:00 PM, Joe Jackson wrote: > > Hi > > Sorry for the simple question but I am trying to get my head around PHP. I > have

[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']}\" <{

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 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. >> > ---

[PHP] Error in Building an XML File

2009-03-09 Thread Joe Harman
t;); header("Content-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

[PHP] XML RSS installation

2008-12-01 Thread Joe Schoemann
for 3 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: array

Re: [PHP] Recursive Directory Listing

2008-11-05 Thread Joe Schaeffer
Thanks, all, for the great 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. > > $dir = '.'; > function displayDir($dir='.') { >$show = FALSE; >$results = glob($dir.'/*'); >foreach ( $results AS $entry ) { >

Re: [PHP] Recursive Directory Listing

2008-10-31 Thread Joe Schaeffer
i can't get a hasChildren() check to work properly. I'd appreciate any 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, Joche

Re: [PHP] Recursive Directory Listing

2008-10-30 Thread Joe Schaeffer
Again, thanks for the point 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 coul

[PHP] Recursive Directory Listing

2008-10-30 Thread Joe Schaeffer
ry, 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/) To unsubscribe, visit: http://www.php.net/unsub.php

[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

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

2008-06-09 Thread Joe Harman
t it would 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, >>>>

[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: type, size, class, etc. Thanks Joe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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 al

[PHP] PHP Web Apps & OpenID

2008-05-06 Thread Joe Harman
ghts I've 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

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

[PHP] Help with preg_match_all regex for alt tags

2008-04-29 Thread Joe Harman
html code] I am currently getting alt="Wheel & Tire Acc" />< I want this result alt="Shoppin

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

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 t

[PHP] Making an array from delimited data

2008-04-28 Thread Joe Harman
$data['Gauge Series'] = 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

[PHP] Confused about handling bytes

2007-05-20 Thread Joe Veldhuis
0x484, this line should write the bytes "04 84", but it is obviously not doing so, 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 a

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 unsubsc

Re: [PHP] Query question

2006-10-28 Thread Joe Wollard
mething. Thanks -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 startin

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: Re: [PHP]

2006-10-25 Thread Joe Wollard
...and if you wanted to go an extra step you could try an alternate syntax of the exact same code: ' . $day . ''; ?> Either way, Stut is correct. Don't type this out 31 times unless you really really really like to type. ;-) - Joe On 10/25/06, Stut <[EMAIL PROTECTED]

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 min

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

2006-10-03 Thread Joe Harman
d eliminate 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

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: 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: [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: [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 t

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 Li

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 mess

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 Zoua

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: something like that, I'm cofused on if

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 f

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 environm

Re: [PHP] templating

2006-06-22 Thread Joe Wollard
jects, 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

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, 200

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 Turn

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 htt

Re: [PHP] HTTP HEADERS

2006-06-03 Thread Joe Wollard
other 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]> wrot

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

2006-05-12 Thread Joe Henry
=> (first page loads 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

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] 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 ? Looks like strip_tags() will do the trick for you: http://us3.php.net/manual/en/function.strip-tags.php -- Joe

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

2006-05-10 Thread Joe Henry
> > Also tried exec. I really want to take advantage of the > temporary named pipes so I don't have to worry about the temporary files > generated. I've been googling around without much help. Could anyone > plz give me some hint? Thanks a lo

Re: [PHP] WINNER

2006-05-08 Thread Joe Henry
mong all PHP-general subscribers. 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-03 Thread Joe Wollard
e details on how to use 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

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.co

Re: [PHP] Using linkDisplayFields of FormBuilder

2006-04-26 Thread Joe Henry
ts.php HTH -- 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 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

Re: [PHP] SQL query to array?

2006-04-25 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] 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., descrip

Re: [PHP] strange php url

2006-04-21 Thread Joe Wollard
ustomer id at the end). Really this isn't any different than http://www.example.com/index.php?action=edit&type=customer&id=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 PRO

Re: [PHP] strange php url

2006-04-21 Thread Joe Wollard
y 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 On

Re: [PHP] Preg_match() regex

2006-04-21 Thread Joe Henry
ed in > preg_match() in PHP? http://us3.php.net/manual/en/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] 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:

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

2006-04-18 Thread Joe Henry
e, the Web 2.0 Movement was born. Web 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
t of JobID's and see > which ones need to be updated. > If I'm understanding what you're asking, you have an array of checkboxes whose values you want passed to you PHP via the $_POST array. The HTML form syntax would be something like: etc. Then in your PHP script, $_

Re: [PHP] interview

2006-04-13 Thread Joe Henry
On Thursday 13 April 2006 11:13 am, Robert Cummings wrote: > On Thu, 2006-04-13 at 12:56, Wolf wrote: > > How much wood would a wood chuck chuck if a wood chuck could chuck wood?? > > Canadian, American, or "Other" woodchuck? > Leave or we shall taunt you a

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

2006-04-10 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]

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

2006-04-10 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,

Re: [PHP] Need MySql Help Please

2006-04-10 Thread Joe Wollard
g "mysql -u marvin -p" or similar. You also might 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: &g

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 H

Re: [PHP] Argument passed by reference?

2006-04-10 Thread Joe Henry
Chris: > > Please forgive my ignorance, but when did that happen? > > tedd > -- > --- >- http://sperling.com I'm 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] microtime questions

2006-04-07 Thread Joe Wollard
arification 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

Re: [PHP] Parse Error on SQL Insert

2006-04-07 Thread Joe Henry
field in the DB isn't numeric this would be > '{$_POST['model']}' > > Dan > > --- > http://chrome.me.uk > > > -Original Message- > From: Joe Henry [mailto:[EMAIL PROTECTED] > Sent: 07 April 2006 20:53 > To: php-gener

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 -- J

Re: [PHP] how to run 'periodic'

2006-04-07 Thread Joe Wollard
, you 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/

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,

Re: [PHP] microtime questions

2006-04-07 Thread Joe Wollard
e (or your hosting service) 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 help

Re: [PHP] Argument passed by reference?

2006-04-06 Thread Joe Henry
e function call. 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.

Re: [PHP] simple regex query

2006-04-06 Thread Joe Henry
anyone give me some insight as to where I'm going wrong? > > thanks > > -- > > Angelo I found an AJAX regex tester the other day. It'll check PCRE, Posix, 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] 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 de

Re: [PHP] IF or SWITCH

2006-04-05 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,

Re: [PHP] Sessions and Frames

2006-04-05 Thread Joe Wollard
on ID 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

Re: [PHP] Download image in PHP

2006-04-05 Thread Joe Henry
- 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 www.celebrityaccess.com [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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. Whe

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 .. oh well! :( > > Matt Richards wrote: > > quote: > > Joe Wollard wrote: > > Just as long as everyone knows that

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 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

Re: [PHP] microsoft PHP ?

2006-04-01 Thread Joe Wollard
this list. They both know 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 t

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. I

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] 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 start

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 succ

Re: [PHP] IP Address Filtering

2006-03-29 Thread Joe Harman
him? > > Thanks, > > Rahul S. Johari > Coordinator, Internet & Administration > Informed 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.infor

Re: [PHP] private $foo

2006-03-28 Thread Joe Henry
; > throw new Exception("non existing property!"); > } > } > > $f = new Foo; > echo $f->foo,"\n"; > $f->foo = "bar"; > echo $f->foo,"\n"; Maybe I'm wrong, but I thought you couldn't use the "

Re: [PHP] where php at?

2006-03-27 Thread Joe Henry
your local machine? If you do, then that would be where you'd run the command "which php". On Linux/Mac OS X, you can ssh via a terminal. On Windows, a program like PuTTY will do the trick. Link for PuTTY download (just in case): http://www.chiark.greenend.org.uk/~sgtatham/p

Re: [PHP] IE quirk

2006-03-17 Thread Joe Henry
ill remain > open until the page has finished loading or it is explicitly terminated. > > You can lose the session however if the the page contains a reference to > with name and id references (which may be used if the image > is referencing a dynamic image, called by javascr

Re: [PHP] What am I missing?

2006-03-07 Thread Joe Henry
ve 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

  1   2   3   4   5   6   7   8   >