[PHP] Re: zend framework getIdentity

2013-07-19 Thread Dan Joseph
On Wed, Jul 17, 2013 at 5:54 PM, Dan Joseph dmjos...@gmail.com wrote: Fatal error: Uncaught exception 'Zend_Session_Exception' with message 'Zend_Session::start() - /product/Messenger-dev/Messenger/library/Zend/Session.php(Line:480): Error #2 Class __PHP_Incomplete_Class has no unserializer

[PHP] zend framework getIdentity

2013-07-17 Thread Dan Joseph
= Zend_Auth::getInstance()-getIdentity(); Has anyone seen this error before? Its throwing me for a loop -- -Dan Joseph http://www.danjoseph.me http://www.dansrollingbbq.com http://www.youtube.com/DansRollingBBQ

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-21 Thread Dan Joseph
://www.php.net/unsub.php -- -Dan Joseph http://www.danjoseph.me http://www.dansrollingbbq.com http://www.youtube.com/DansRollingBBQ

[PHP] A Good OOP Tutorial/Read?

2013-05-16 Thread Dan Joseph
Hey Folks, I'm looking to refine my PHP 5 OOP skills. I know the basics, understand patterns, but have clearly missed a few things along the way. Do any of you have some real good PHP 5 OOP tutorials/reads bookmarked you could share? Something other than php.net/oop5. Thanks! -- -Dan Joseph

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-16 Thread Dan Joseph
16, 2013 at 11:01 AM, Francisco C Soares dotjun...@gmail.comwrote: On 05/16/2013 11:55 AM, Dan Joseph wrote: Hey Folks, I'm looking to refine my PHP 5 OOP skills. I know the basics, understand patterns, but have clearly missed a few things along the way. Do any of you have some real good

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-16 Thread Dan Joseph
://www.php.net/unsub.php -- -Dan Joseph http://www.danjoseph.me http://www.dansrollingbbq.com http://www.youtube.com/DansRollingBBQ

Re: [PHP] FW:

2013-05-08 Thread Dan Joseph
Yo, (And, no, PHP doesn't stand for Produced by Horses Ponies.) This is completely devastating -- -Dan Joseph http://www.danjoseph.me http://www.dansrollingbbq.com http://www.youtube.com/DansRollingBBQ

Re: [PHP] Need a tool to minimize HTML before storing in memecache

2013-04-17 Thread Joseph Moniz
http://php.net/manual/en/book.tidy.php - Joseph Moniz (510) 509-0775 | @josephmoniz https://twitter.com/josephmoniz | GitHubhttps://github.com/JosephMoniz | LinkedIn http://www.linkedin.com/pub/joseph-moniz/13/949/b54/ | Bloghttp://josephmoniz.github.io/ | CoderWall https://coderwall.com

Re: [PHP] cyberweaponry

2012-05-31 Thread Joseph Moniz
There was the Never Ever No Sanity worm ( http://news.cnet.com/Net-worm-using-Google-to-spread/2100-7349_3-5499725.html ). One variant of it was written in php the other in perl. - Joseph Moniz On Thu, May 31, 2012 at 10:21 AM, Tedd Sperling t...@sperling.com wrote: Hi gang

[PHP] PDF Form Field

2012-05-03 Thread Dan Joseph
. Thanks. -- -Dan Joseph http://www.danjoseph.me

Re: [PHP] PDF Form Field

2012-05-03 Thread Dan Joseph
On Thu, May 3, 2012 at 9:13 PM, David OBrien dgobr...@gmail.com wrote: I just found fpdfi using Google. It looks like what you need Wow, you said the key phrase in your last e-mail, 'text on top'. I didn't think of that. fpdi/fpdf does that like a charm, thanks! -- -Dan Joseph http

Re: [PHP] function

2012-05-03 Thread Dan Joseph
functions, they should work fine together, example of 2 working functions together: ?php hellotwo(); function helloone() { echo hi 1; } function hellotwo() { helloone(); } ? This results in hi 1 being echoed to the screen. -- -Dan Joseph http://www.danjoseph.me

Re: [PHP] Node.PHP

2012-04-03 Thread Joseph Moniz
-machine ( http://www.facebook.com/note.php?note_id=10150415177928920 ) and it already doing almost no optimizations is closer to performance of compiled PHP via hiphop then it is to interpreted PHP via the de facto interpreter. - Joseph Moniz  With that said, compiling PHP (such as with HopHop

Re: [PHP] Node.PHP

2012-04-03 Thread Joseph Moniz
*bad link in last post http://luvit.io/ -Joseph Moniz On Tue, Apr 3, 2012 at 12:16 PM, Joseph Moniz joseph.mo...@gmail.com wrote: On Fri, Mar 30, 2012 at 5:56 PM, German Geek geek...@gmail.com wrote: Maybe stupid question, but is node.php really necessary? If you can program PHP

[PHP] Node.PHP

2012-03-21 Thread Joseph Moniz
as crossing the PHP -- C barrier seems to be a much lighter operation then crossing the V8 -- C++ barrier. Any help or feedback will be greatly appreciated. The projects source code can be found here: https://github.com/JosephMoniz/node.php - Joseph Moniz -- PHP General Mailing List (http

Re: [PHP] PDF Printing instead?

2012-01-05 Thread Dan Joseph
. -- -Dan Joseph http://www.danjoseph.me

[PHP] PHP 5.2 and Apache 2.2 are really compatible?

2011-10-19 Thread Joseph Adenuga
on the internet with more configuration info. I don’t know what else to do. Please I’m very new to PHP codeand Apache environment. I need your help. I don’t know what I’m doing wrong and what to do. Please please help. Joseph

[PHP] PHP Version: 5.2.5.

2011-10-17 Thread Joseph Adenuga
Operating System: Window XP PHP Version: 5.2.5. with Apache 2.2.8 My Firefox browser returns (Output) the same php script code I inserted in Notepad:  ?php     echo h1Hello Web!/h1; ?   Please, what am I doing wrong?

Re: [PHP] Cwtc

2011-06-14 Thread Dan Joseph
for it? -- -Dan Joseph

Re: [PHP] PHP session replication

2011-03-17 Thread Dan Joseph
of the frameworks, such as Zend, also support Database Sessions. -- -Dan Joseph

Re: [PHP] Zend Framework - getParam() Question

2011-03-12 Thread Dan Joseph
method to grab the value and carry out further processing. Hope this helps. Cheers NetEmp On Sat, Mar 12, 2011 at 10:04 AM, Dan Joseph dmjos...@gmail.com wrote: Hi Everyone, Zend Framework getParam question I'm trying to get a value from the url... I know how to grab

[PHP] Zend Framework - getParam() Question

2011-03-11 Thread Dan Joseph
someone tell me how this is done? Thanks... -- -Dan Joseph

Re: [PHP] New to PHP and struggling with the basics

2010-10-04 Thread Abah Joseph
Your directory configuration should look like this Directory C:\path_to_www_root Order Deny,Allow Allow from all Options Indexes FollowSymLinks Includes ExecCGI # # AllowOverride controls what directives may be placed in .htaccess files. # It can be All, None, or any combination

[PHP] PHP Modular application

2010-09-06 Thread Abah Joseph
I appreciate you all. the php community is a wonderful community. i`m developing an application that i need to support plugin for additional features, i have used joomla and prestashop. i love the way module interface on prestashop and i have been looking into the classes but i did not understand

Re: [PHP] Video lessons

2010-07-23 Thread Dan Joseph
On Thu, Jul 22, 2010 at 10:04 AM, Jordan Jovanov jovanovj...@gmail.comwrote: Im thing that I'm little layse, Do you somebody know PHP VIDEO LESSONS? I'm not sure exactly what you're meaning there, but check out www.lynda.com -- -Dan Joseph http://www.canishosting.com - Unlimited Hosting

[PHP] Image Replication

2010-07-20 Thread Dan Joseph
cluster. Linux servers. How did you go about it? -- -Dan Joseph http://www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order -- Reseller Plans also available! http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry

Re: [PHP] Dynamic menu

2010-07-19 Thread Dan Joseph
://www.php.net/unsub.php Well, your basic logic is: if ( they have a session ) { //output the menu } else { //output the other menu } -- -Dan Joseph http://www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order -- Reseller Plans also

Re: [PHP] Finding a font.

2010-06-09 Thread Dan Joseph
an image, it looked at it, and told me what fonts the letters were using. Thanks Tedd! -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry

[PHP] PHP app Server Load

2010-06-08 Thread Dan Joseph
the load. I've done initial testing on a Xeon 3220 server, but we're looking at an i7 cpu based server now. Anyone know a good way to estimate load based on actually numbers compared to benchmark results from intel on a faster server? -- -Dan Joseph www.canishosting.com - Unlimited Hosting

Re: [PHP] PHP app Server Load

2010-06-08 Thread Dan Joseph
On Tue, Jun 8, 2010 at 12:19 PM, Daniel Brown danbr...@php.net wrote: On Tue, Jun 8, 2010 at 12:12, Dan Joseph dmjos...@gmail.com wrote: Anyone know a good way to estimate load based on actually numbers compared to benchmark results from intel on a faster server? Run a DDoS-style

Re: [PHP] php accelorator

2010-06-02 Thread Dan Joseph
Cool, thanks for the tips, I am going to check them out. -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry

Re: [PHP] Another NetBeans Question

2010-06-01 Thread Dan Joseph
can't find where to turn it off either, but I did notice when you type something like that, when you type in the content in the , when you type the last , it overwrites the end quote, so you don't end up with two. phped works this way too. Helps me at least. -- -Dan Joseph www.canishosting.com

[PHP] php accelorator

2010-06-01 Thread Dan Joseph
Hi, Are any of you using any of the php accelorators such as Zend, Ioncube, or any others? Any idea which is the best? -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting http

Re: [PHP] “五-连-贯”股|权-激|励-法

2010-05-06 Thread Dan Joseph
2010/5/6 Ashley Sheridan a...@ashleysheridan.co.uk [/snip] If only I could speak Chinese and was gullible I'd love to take them up on the offer for whatever it is. I wonder if we're missing out on the billion $ prize... -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans

Re: [PHP] simplexml choking on apparently valid XML

2010-05-06 Thread Dan Joseph
back to the office in the AM and I'll let you know what it was if you haven't figured it out by then. But that might get you started in fixing it. -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http

Re: [PHP] Can't find my error

2010-05-05 Thread Dan Joseph
On Wed, May 5, 2010 at 12:55 PM, David McGlone da...@dmcentral.net wrote: 26. if(isset($_GET['ProductID'])) 27. $this-mSelectedProduct = (init)$_GET['ProductID']; You've got (init) instead of (int). Its always those little characters causing trouble! -- -Dan Joseph

Re: [PHP] Can't find my error

2010-05-05 Thread Dan Joseph
On Wed, May 5, 2010 at 1:06 PM, David McGlone da...@dmcentral.net wrote: On Wednesday 05 May 2010 12:59:07 Dan Joseph wrote: On Wed, May 5, 2010 at 12:55 PM, David McGlone da...@dmcentral.net wrote: 26. if(isset($_GET['ProductID'])) 27. $this-mSelectedProduct

Re: [PHP] What's your game? (X-PHP)

2010-04-27 Thread Dan Joseph
into it :) -- Viktor http://programming-guides.com I am amazed at how long Starcraft has lasted, and how popular it still is. Is the MMORPG version Starcraft 2? Or is that yet another one? -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code

Re: [PHP] What's your game? (X-PHP)

2010-04-26 Thread Dan Joseph
On Sun, Apr 25, 2010 at 9:16 AM, tedd t...@sperling.com wrote: My gamer tag is special tedd Hey Tedd, I'm 'jakmo' on Live. I'll have to give you an add next time I jump on. I've been playing Dragon Age and Lost Odyssey. Both are great. -- -Dan Joseph www.canishosting.com - Unlimited

Re: [PHP] What's your game? (X-PHP)

2010-04-26 Thread Dan Joseph
Ice Age and Cars but crash a lot and end up shouting at each other. Ice Age was a fine game! I played that one a few years ago. I'd like to see another Diablo styled game come out in the modern setting. -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo

Re: [PHP] What's your game? (X-PHP)

2010-04-26 Thread Dan Joseph
On Mon, Apr 26, 2010 at 12:36 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: Diablo 3 is out soon... Thanks, Ash http://www.ashleysheridan.co.uk oh cool, I did not realize.. have they set a release date yet? I didn't see one on gamestop.com... -- -Dan Joseph

Re: [PHP] What's your game? (X-PHP)

2010-04-26 Thread Dan Joseph
they get Starcraft going they'll get this out. -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry

Re: [PHP] Re: replying to list (I give up)

2010-04-23 Thread Dan Joseph
don't. So you really just have to adjust to their requirements and needs. You're right tho, they all have their advantages. -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting http

Re: [PHP] Re: replying to list (I give up)

2010-04-23 Thread Dan Joseph
my PhpED license is for the Windows client, so I feel kind of trapped there :) -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry

Re: [PHP] Re: replying to list (I give up)

2010-04-23 Thread Dan Joseph
a no brainer to use flash. I didn't want to get into Java. I'll have to try it under wine sometime. I didn't even think about that. But then again, my work machine is windows anyway. -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off

[PHP] Math Question....

2010-04-22 Thread Dan Joseph
-- divide into equal groups with only 30 items per group max. Can anyone guide me towards an algorithm or formula name to solve this? PHP code or Math stuff is fine. Either way... Thanks... -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS

Re: [PHP] Math Question....

2010-04-22 Thread Dan Joseph
, but if it was a remainder of only 1 or 2, there would be an issue. Which is where I come to looking for a the right method to break it equally. -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http

Re: [PHP] Math Question....

2010-04-22 Thread Dan Joseph
, thanks for the code. -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry

Re: [PHP] Math Question....

2010-04-22 Thread Dan Joseph
On Thu, Apr 22, 2010 at 12:16 PM, Richard Quadling rquadl...@googlemail.com wrote: On 22 April 2010 14:48, Dan Joseph dmjos...@gmail.com wrote: This seems to be working ... ?php function findBestFactors($Value, $GroupSize, array $Factors = null) { $Factors = array

Re: [PHP] replying to list (I give up)

2010-04-21 Thread Dan Joseph
out all the other addresses and leave the list one in there. The list was setup like this years ago on purpose, and they've stated in the past they don't want to change it.. -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off

Re: [PHP] Re: Re: replying to list (I give up)[SOLVED TO A DEGREE]

2010-04-21 Thread Dan Joseph
My goodness, are you people still going on about all this? LOL... let it go... it is what it is. -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com

Re: [PHP] Hello everybody - php newbie from switzerland

2010-04-21 Thread Dan Joseph
it worked ok. http://us3.php.net/manual/en/function.pcntl-fork.php -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry

Re: [PHP] Hello everybody - php newbie from switzerland

2010-04-21 Thread Dan Joseph
, visit: http://www.php.net/unsub.php lol.. I didn't see your email where you said not to ask -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com

Re: [PHP] Hello everybody - php newbie from switzerland

2010-04-21 Thread Dan Joseph
On Wed, Apr 21, 2010 at 8:38 PM, David McGlone da...@dmcentral.net wrote: Are we gonna have to have a discussion on the use of threading? LOL We just might. Personally, I use it to sow holes in the toe of my socks. -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start

Re: [PHP] Date Math

2010-04-20 Thread Dan Joseph
there might be a simple one or two line option. check out: http://dev.mysql.com/doc/refman/5.1/en/date-and-time-functions.html -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting

Re: [PHP] Excel Report Formatting

2010-04-20 Thread Dan Joseph
Its good to see we're all playing nice today! -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry

Re: [PHP] Hello everybody - php newbie from switzerland

2010-04-20 Thread Dan Joseph
my questions if i don't find any answer already on this list. Hi Nick, Welcome to the community! -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Dan Joseph
back. I kinda like that word Paradigm. Rolls off the tongue nicely. I'm going to use it 3 times today before I leave the office. -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Dan Joseph
On Tue, Apr 13, 2010 at 12:40 PM, Robert Cummings rob...@interjinn.comwrote I had a pair-a-dimes one time. Unfortunately I was a nickel short of a quarter to put in the slot. But the question is... were they outside the box? -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Dan Joseph
that flush themselves now. WTF happened to grown up being equal to taking responsibility for things? I think you've found the answer to the great question of why people don't take responsibility anymore... it all started with the toilet! -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans

Re: [PHP] Saving form data into session before leaving a page

2010-04-13 Thread Dan Joseph
-- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry

Re: [PHP] another useless message.

2010-04-09 Thread Dan Joseph
spam the list over the years. Its a natural reaction. You may want to put that kind of thing in your signature also. Rather than making announcements that bother people, when you participate, your message will go out. Although, don't make it 100 lines long... -- -Dan Joseph

[PHP] Zend DB Table - WHERE as OR?

2010-04-09 Thread Dan Joseph
) -where( away_team_id = ?, $away_team_id ); This translates the where's to home_team_id = 12 AND away_team_id = 15... What I'd like to have is home_team_id = 12 OR away_team_id = 15. Is this possible? Or would I just need to build them all into a single where() manually? -- -Dan Joseph

Re: [PHP] Zend DB Table - WHERE as OR?

2010-04-09 Thread Dan Joseph
On Fri, Apr 9, 2010 at 3:25 PM, Andrew Ballard aball...@gmail.com wrote: Try this: ?php $select = $table-select()-where( home_team_id = ?, $home_team_id ) -orWhere( away_team_id = ?, $away_team_id ); Perfect...thank you! -- -Dan Joseph

Re: [PHP] Little php code - error

2010-04-08 Thread Dan Joseph
that to . -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry

Re: [PHP] Little php code - error

2010-04-08 Thread Dan Joseph
the else line. else doesn't take a condition after it. it should just be else {. -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry

Re: [PHP] contant /

2010-04-08 Thread Dan Joseph
-- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry

Re: [PHP] stat(), NFS shares and local files timeout

2010-04-07 Thread Dan Joseph
set the script to time out? Is it ignoring that too? set_time_limit( seconds ) -- -Dan Joseph www.canishosting.com - Unlimited Hosting Plans start @ $3.95/month. Promo Code NEWTHINGS for 10% off initial order http://www.facebook.com/canishosting http://www.facebook.com/originalpoetry

Re: [PHP] SimpleXMLElement occasionally fails to parse gb2312 or big5 feeds

2010-04-06 Thread Dan Joseph
it comes to complex, or abnormal XML. Abnormal being what you're describing and whatnot. I don't really have a solid answer for you (Just noticed no one responded), but I think you're running into what I was... Its just built to be Simple, not expand its mind. Hope that helps! -- -Dan Joseph

Re: [PHP] Error Message - Need help troubleshooting

2010-03-02 Thread Joseph Thayne
I do not know if the question has been answered, but how are you opening the session? Are you using session_start() or are you using session_register()? Rick Dwyer wrote: On Mar 2, 2010, at 8:48 AM, Ashley Sheridan wrote: How is $item_id created? You've not shown that in your PHP script

Re: [PHP] $_POST vs $_REQUEST

2010-02-22 Thread Joseph Thayne
Richard wrote: It's a wise choice to go with $_POST, unless your form is a GET form, in which case use $_GET. $_REQUEST has the potential to open your script(s) up to security issues. I am not sure what the security issues are you are referring to as the $_REQUEST superglobal contains

Re: [PHP] Dumb Question - Casting

2010-02-18 Thread Joseph Thayne
According to the PHP manual using the same expression, Never cast an unknown fraction to integer, as this can sometimes lead to unexpected results. My guess is that since it is an expression of floating points, that the result is not quite 8 (for whatever reason). Therefore, it is rounded

RE: [PHP] SQL insert () values (),(),(); how to get auto_increments properly?

2010-02-13 Thread Joseph Thayne
In order to make this as sql server independent as possible, the first thing you need to do is not use extended inserts as that is a MySQL capability. If you are insistent on using the extended inserts, then look at the mysql_info() function. That will return the number of rows inserted, etc. on

Re: [PHP] Mysql statement works in phpmyadmin but not in php page

2010-02-11 Thread Joseph Thayne
and fields with the same name as functions. If the tick marks are not there, then it assumes you mean to try using the function. In your case, hour is a function in mysql. I would assume that the reason it works in phpmyadmin is that it filters the query somehow to add the tick marks in. Joseph

Re: [PHP] Mysql statement works in phpmyadmin but not in php page

2010-02-11 Thread Joseph Thayne
Actually, the syntax is just fine. I personally would prefer it the way you mention, but there actually is nothing wrong with the syntax. The ,'$date1'. is not correct syntax, change it to ,'.$date.' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Mysql statement works in phpmyadmin but not in php page

2010-02-11 Thread Joseph Thayne
: On Fri, Feb 12, 2010 at 8:27 AM, Joseph Thayne webad...@thaynefam.org wrote: Actually, the syntax is just fine. I personally would prefer it the way you mention, but there actually is nothing wrong with the syntax. The ,'$date1'. is not correct syntax, change it to ,'.$date.' My

Re: [PHP] Mysql statement works in phpmyadmin but not in php page

2010-02-11 Thread Joseph Thayne
Yeah, I am a lot more descriptive now. I ran into it quite a bit when I was first starting out. James McLean wrote: On Fri, Feb 12, 2010 at 9:31 AM, Joseph Thayne webad...@thaynefam.org wrote: As for the backticks, they are required because of MySQL, not because of phpMyAdmin. The issue

RE: [PHP] Mysql statement works in phpmyadmin but not in php page

2010-02-11 Thread Joseph Thayne
for you and you can then focus on other things such as data integrity and general processing speed? Joseph -Original Message- From: Paul M Foster [mailto:pa...@quillandmouse.com] Sent: Thursday, February 11, 2010 9:15 PM To: php-general@lists.php.net Subject: Re: [PHP] Mysql statement works

Re: [PHP] PHP generated HTML has submit button which picks up the wrong url.

2010-02-05 Thread Joseph Thayne
'; document.display_data.submit(); } Example submit button: button name='edit_existing_query_form' onClick=javascript:retrieveAllPerm(); Revise query/button Joseph Mary Anderson wrote: Hi, I am writing code in PHP which generates HTML script. My app is fairly complex. Twice in the development

Re: [PHP] PHP generated HTML has submit button which picks up the wrong url.

2010-02-05 Thread Joseph Thayne
or submit_x is set. Joseph Ashley Sheridan wrote: On Fri, 2010-02-05 at 14:33 -0600, Joseph Thayne wrote: This is actually a javascript issue rather than a PHP issue. What is happening is that the action of the form is what is being submitted. The action never changes. What you need to do

Re: [PHP] MySQL ID -- what happens when you run out of range?

2010-01-25 Thread Joseph Thayne
It will continue to use the max number which of course will cause an error. Joseph Parham Doustdar wrote: Hello there, A friend called me today and was wondering what happens if the ID colomn of an MYSQL database, set to autoinc reaches the int limit. Will it return and begin choosing

Re: [PHP] MySQL ID -- what happens when you run out of range?

2010-01-25 Thread Joseph Thayne
That is incorrect. What will happen is as follows: 1. The value will be incremented by 1 causing the value to be greater than the maximum integer allowed. 2. MySQL will see this as a problem and truncate it to the closest value. 3. MySQL will then try and insert the new row with the

Re: [PHP] Cookies sessions

2010-01-20 Thread Joseph Thayne
either by the header() function or simply using echo or print(). Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Open source project management tool - PHP

2009-12-17 Thread Joseph Masoud
On 17 Dec 2009, at 10:24, Angelo Zanetti ang...@elemental.co.za wrote: Hi guys I would like to know what open source project management tools you use for your projects. We are looking at installing one that is PHP based and is easy to use. We have found: http://www.projectpier.org/

Re: [PHP] Best ajax library

2009-12-15 Thread Joseph Masoud
On 15 Dec 2009, at 08:50, Ali Asghar Toraby Parizy aliasghar.tor...@gmail.com wrote: Which one is more active than others? I mean which project extends faster and better, in future? On Tue, Dec 15, 2009 at 1:37 AM, Philip Thompson philthath...@gmail.com wrote: On Dec 14, 2009, at 4:27 AM,

Re: [PHP] MySQL Appeal from Monty

2009-12-14 Thread Joseph Masoud
On 14 Dec 2009, at 22:01, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Mon, 2009-12-14 at 15:59 -0600, Philip Thompson wrote: On Dec 14, 2009, at 12:51 AM, Lester Caine wrote: Lenin wrote: You might also like this: Come on Monty - Lukas Smith http://bit.ly/5lmwwD I've been

Re: [PHP] move_uploaded_file

2009-12-11 Thread Joseph Thayne
depends on how you define your path. Joseph Roberto wrote: Am I just drunk or blind or the documentation is simply wrong? From the official doc (http://uk2.php.net/manual/en/function.move-uploaded-file.php): ?php $uploads_dir = '/uploads'; foreach ($_FILES[pictures][error] as $key = $error

Re: [PHP] Backup to local drive

2009-12-11 Thread Joseph Thayne
If you are wanting to save the information as a PDF (formatted the same as the HTML page), check out tcpdf at www.tcpdf.org. It is fairly simple to implement and can interpret an HTML page causing it to be saved as PDF. Joseph Ben Miller wrote: Hello - I have an application I'm building

Re: [PHP] move_uploaded_file

2009-12-11 Thread Joseph Thayne
. Absolute: begins at / in Linux operating systems and C:\ in Windows OS Relative: begins wherever the running script is located in the file system. Joseph Roberto wrote: HI, Premise 1: echo exec(pwd); - /home/prof3ta/projects/moodle/htdocs/feedback_tool Premise 2: I have an upload folder

Re: [PHP] Backup to local drive

2009-12-11 Thread Joseph Thayne
always include instructions in either an on-screen format or a README file (or both). As I have been thinking about it, you are going to need to do a zip file so that the user only has to download a single file. Joseph Ashley Sheridan wrote: On Fri, 2009-12-11 at 15:04 -0700, Ben Miller wrote

Re: [PHP] Using Curl to replicate a site

2009-12-10 Thread Joseph Thayne
of the files. Your performance will be much better than if you have to request the page from another server every time. You could run this script every 15-30 minutes depending on your needs via a cron job. Joseph Ashley Sheridan wrote: Hi, I need to replicate a site on another domain, and in this case

Re: [PHP] Browsing PHP documentation from Emacs

2009-12-09 Thread Joseph Thayne
Check the following link for help on integrating with Vim: http://vim.wikia.com/wiki/PHP_manual_in_Vim_help_format Kim Emax wrote: Hello Roberto wrote on 2009-12-09 17:08: Hi all, I've just written a small tool for Emacs that will allow to browse PHP documentation directly from within

Re: [PHP] Re: What method is best for generating thumbnails in PHP from PDF's?

2009-11-12 Thread Joseph Masoud
On 12/11/09 17:44, O. Lavell wrote: Chris Payne wrote: Hi Everyone, I have been asked to create thumbnails from the first page of a PDF document on the fly with PHP, I have looked online but am confused as there doesn't seem 1 simple solution. What would you all recommend as an easy way to

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Joseph Masoud
Robert Cummings wrote: Bob McConnell wrote: From: tedd At 4:51 PM +0100 10/16/09, Ashley Sheridan wrote: On Fri, 2009-10-16 at 17:46 +0200, Dotan Cohen wrote: How would you read this out loud if you were to read it to someone over the phone? ($item-getServiceId() ?

Re: [PHP] Wrong Date

2009-10-16 Thread Joseph Masoud
Darvin Denmian wrote: Thanks for your reply - I'm running Red Hat Linux (5.3) - The system timezone is set to America/Sao_Paulo I'm running a stand-alone php script (crontab) , and I don't know how PHP output this wrong hour. The output of command php -i shows: Default timezone =

[PHP] dictionary/spell check...

2009-07-16 Thread Dan Joseph
? Yes.. I did google already... -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month.

Re: [PHP] dictionary/spell check...

2009-07-16 Thread Dan Joseph
On Thu, Jul 16, 2009 at 3:51 PM, Robert Cummings rob...@interjinn.comwrote: Aspell. Can anyone point me in the right direction? Yes.. I did google already... Thanks! -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month.

[PHP] output buffer with Chrome issue.

2009-05-01 Thread Dan Joseph
display the information after the php script stops executing. I am outputting this after every echo: echo str_pad( , 4096 ) . \n; flush(); ob_flush(); ob_implicit_flush(); Has anyone else had this issue? Anyone know how to fix it? -- -Dan Joseph

Re: [PHP] output buffer with Chrome issue.

2009-05-01 Thread Dan Joseph
at all even up to 144096 on the pad, but no dice. Ajax unfortunately isn't an option in this particular case. -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month.

Re: [PHP] output buffer with Chrome issue.

2009-05-01 Thread Dan Joseph
On Fri, May 1, 2009 at 10:40 AM, Robert Cummings rob...@interjinn.comwrote: On Fri, 2009-05-01 at 10:34 -0400, Dan Joseph wrote: Ajax unfortunately isn't an option in this particular case. Why? Maybe you're thinking about it wrong. Maybe, I'm open to suggestions: Here's the basic way

  1   2   3   4   5   6   7   8   9   >