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

2013-05-16 Thread Francisco C Soares
other than php.net/oop5. Try, Tente, http://www.killerphp.com/tutorials/object-oriented-php/ Success! Sucesso! ___ Francisco C Soares ( *Junior* ) 403790c89847cdbe5a262146de8fb93139c4 BLOG dotjunior.blogspot.com <http://dotjunior.blogspot.com/>

Re: [PHP] HTML id attribute and arrays

2010-12-19 Thread Martin C
The "name" and "id" attributes do not have to be the same. Thank you, I thought it should be the same You're probably thinking of: http://www.w3.org/TR/html401/struct/links.html#h-12.2.3 "The id and name attributes share the same name space. This means that they cannot both define an anchor w

Re: [PHP] HTML id attribute and arrays

2010-12-19 Thread Martin C
How should I follow the HTML specification while having the passed parameters automatically converted to arrays in PHP? The "name" attribute, not the "id" attribute, is used as the key when submitting form values. The "name" and "id" attributes do not have to be the same. Thank you, I thought

Re: [PHP] HTML id attribute and arrays

2010-12-19 Thread Martin C
How should I follow the HTML specification while having the passed parameters automatically converted to arrays in PHP? The "name" attribute, not the "id" attribute, is used as the key when submitting form values. The "name" and "id" attributes do not have to be the same. Thank you, I thought

[PHP] HTML id attribute and arrays

2010-12-17 Thread Martin C
Hi, PHP converts x[a]=b parameter of the HTTP request as an array named x with its item named a set to value b. So, it seems possible to have the following (X)HTML code: Unfortunatelly, HTML specification does not allow neither "[" nor "]" inside the id attribute. Specifically: * Must begin

RE: [PHP] Getting source from remote file

2010-05-06 Thread Auto-Deppe C . Hänsel
> On 6 May 2010 10:55, Peter Lind wrote: > > You could parse the document with the DOM classes. Load as a > DOMDocument, then grab what's needed with the relevant methods (you > can use xpath to single out your divs with the right classes). > http://dk2.php.net/domdocument > > > Xpath is indeed th

[PHP] Getting source from remote file

2010-05-06 Thread Auto-Deppe C . Hänsel
Hi guys and girls, okay, this is a dumbnut question I wouldn't bother asking but I really did hit a spot now where I am totally wedged up in my head and can't think straight anymore... so the, I bet easy, answer to my question escapes me. What I am trying to do is the following: Read the con

RE: [PHP] Re: imagecopyresize

2010-04-06 Thread Auto-Deppe C . Hänsel
> -Original Message- > From: Karl DeSaulniers [mailto:k...@designdrumm.com] > Sent: Tuesday, April 06, 2010 10:39 AM > To: na...@alienworkers.com > Cc: php-general@lists.php.net > Subject: [PHP] Re: imagecopyresize > > Sweet deal. > Thanks Nadim. I think I got my script to work finally, bu

RE: [PHP] Audiobooks for Developers

2010-03-31 Thread Auto-Deppe C . Hänsel
> -Original Message- > From: Bob McConnell [mailto:r...@cbord.com] > Sent: Wednesday, March 31, 2010 2:52 PM > To: php-general@lists.php.net > Subject: RE: [PHP] Audiobooks for Developers > > From: Auto-Deppe C. Hänsel > > > since I am driving 2 hrs e

RE: [PHP] Audiobooks for Developers

2010-03-31 Thread Auto-Deppe C . Hänsel
>Have you consider getting an ebook (preferably PDF as Windows' >Narrator, if you're using Windows, works really well with Acrobat) on >the subject you're interested then use a TTS, like Windows' Narrator, >and record it on your system as an alternative solution? Using this >approach would be more

[PHP] Audiobooks for Developers

2010-03-31 Thread Auto-Deppe C . Hänsel
Good day all, since I am driving 2 hrs each day listening to either my radio or the songs on my USB drive, I was wondering whether there are some web dev related audio books for download out there. I have been searching the big G for this stuff, but haven't found anything. Do you guys know of an

[PHP] PLEASE, PLEASE, PLEASE - HELP ME GET OFF THIS LIST

2010-02-23 Thread William C. Schnute
PLEASE, PLEASE, PLEASE - HELP ME GET OFF THIS LIST --- YOU PEOPLE ARE DRIVING ME CRAZY1 Please unsubscribe: m...@honeyflowfarm.com, wschn...@mail.honeyflowfarm.com or anyone else @honeyflowfarm.com or wschn...@gm.com PLEASE At 08:32 AM 2/23/2010, you wrote:

Re: [PHP] Force-Saving an Audio File

2009-12-09 Thread c...@hosting4days.com
Thanks Gaurav & Shawn, I'll check into your suggestions. Thanks, c...@hosting4days.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Force-Saving an Audio File

2009-12-08 Thread c...@hosting4days.com
eg": case "jpg": $ctype="image/jpg"; break; case "wav": case "mp3": $ctype="application/iTunes"; break; default: $ctype="application/force-download"; } header("Pragma: public"); header("Expires: 0"); header

Re: [PHP] Plotting a Line Graph

2009-10-16 Thread c...@hosting4days.com
Jim Lucas wrote: I would recommend http://www.rgraph.net/ It was written and is currently maintained by a member of this list. Jim Lucas Hi Jim, rgraph looks cool... most demos I see show just a few points - do you think this could display 500 points? (I'm looking through their docs now.

[PHP] Plotting a Line Graph It seems that the google charts work from a url - so 500 points would be way to long for any url - so I guess that option is out.

2009-10-16 Thread c...@hosting4days.com
help - dave Thanks, c...@hosting4days.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Parse Question Using list()

2009-10-01 Thread c...@hosting4days.com
9 11:21:37 AM = not good for sql import Q: any way to turn this auto reformat off in excel and keep it the way I had it? (I saw nothing in pref's) Thanks, c...@hosting4days.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Parse Question Using list()

2009-10-01 Thread c...@hosting4days.com
& $col3 to the full contents of each for each line (not just 1st char)? '; // this shows the whole line ok echo "c1 is $col1 and c2 is $col2 and c3 is $col3".''; // this shows just 1st char of each field } ?> Thanks, c...@hosting4days.com -

Re: [PHP] Odd Endless Loop with Explorer 8 (pc)

2009-09-12 Thread c...@hosting4days.com
On Sep 12, 2009, at 7:57 PM, kranthi wrote: '; ?> may b u should have '; ?> Thanks kranthi & HallMarc Websites url= ... - that did the trick! Thanks, c...@hosting4days.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Odd Endless Loop with Explorer 8 (pc)

2009-09-12 Thread c...@hosting4days.com
I have many of these tags on a site... They work well with all browsers i've tested - except explorer 8 (pc) '; ?> It just goes into an endless loop but stays on the original page - never going to page2.php Q: Any idea how to fix this? Thanks, c...@hosting4days.com

Re: [PHP] Mail Command Body Issue - Trying to use 'do while' loop

2009-09-12 Thread c...@hosting4days.com
On Sep 12, 2009, at 3:47 PM, c...@hosting4days.com wrote: I'm having a problem with mail body issue trying to use 'do while' loop in the $mail_body var. this line: do { echo $row_get1['name'] } while ($row_get1 = mysql_fetch_assoc ($get1)) will show ok when i

[PHP] Mail Command Body Issue - Trying to use 'do while' loop

2009-09-12 Thread c...@hosting4days.com
headerfields $fullto = $recipientname . " <" . $recipient . ">"; //$fullto = $recipientname . " <" . $recipient . ">".", ".$recip2; ini_set('sendmail_from', 't...@test.com'); mail($fullto, $subject, $mail_body, $header); //mail command :) ?> Thanks, c...@hosting4days.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] newbie - Is there a calendar module for date entry?

2009-07-22 Thread c...@hosting4days.com
On Jul 21, 2009, at 6:17 PM, Jonathan Tapicer wrote: That is javascript thing, not PHP. The Yahoo UI has a nice one, here you have an example: http://developer.yahoo.com/yui/examples/calendar/ calcontainer_clean.html, and here the module reference: http://developer.yahoo.com/yui/calendar/ J

[PHP] newbie - Is there a calendar module for date entry?

2009-07-21 Thread c...@hosting4days.com
newbie ... - is there a calendar module for date fields? - so that a small calendar pops up - then you can click on a date, to add to a field - like google or yahoo calendars has...? BTW: I saw this - but it doesn't seem to be the right thing ( more meant for Converter issues) for what I'

Re: [PHP] Exception not being caught

2009-07-16 Thread Weston C
On Thu, Jul 16, 2009 at 7:42 AM, David Otton wrote: >> If it's catchable, why isn't it caught in my example? > > It's not an exception, it's a "fatal error". Fatal errors are caught > by error handling functions, not by catch blocks. > > Consequence of having (at least) two separate error handling

[PHP] Exception not being caught

2009-07-15 Thread Weston C
So, I've got a little piece of code designed to play with catching the exception that's thrown when an object doesn't have a __toString method. This does not run as expected. I'd think that when the implicit string conversion in the try block hits, the exception would be thrown, caught by the ca

[PHP] mod primary key field - newbie question

2009-07-13 Thread c...@hosting4days.com
newbie question ... I have a MySQL table where I want to update (renumber) the primary numeric key field. - I successfully turned field off as a primary key index and UN auto incremented it - then created new sequential numbers for it - then turned back on primary key index and re added auto

[PHP] Add BCC parameter to mail()

2009-07-05 Thread c...@hosting4days.com
//optional headerfields $fullto = $recipientname . " <" . $recipient . ">"; ini_set('sendmail_from', 't...@test.com'); mail($fullto, $subject, $mail_body, $header); //mail command :) ?> Thanks, c...@hosting4days.com

[PHP] Re: Same Page, Fundamentally Different Behavior OR is Firefox broken?

2009-06-11 Thread Manuel C.
Matt Neimeyer a écrit : I'm at a complete loss... So I'm hoping someone can point me in the right direction to even start looking. We have an application written in PHP that lets users send out emails. The basic process is as follows. 1. Go to "start" screen. (This resets anything currently in

[PHP] socket_write return wrong data length

2009-06-09 Thread Manuel C.
Hi all, I'm writting a little telnet client, but I've a problem with the socket_write function public function send($data){ $datalen = strlen($data); $datawritten = 0; do { $datawritten = socket_write($this->_tnsock

Re: [PHP] Re: -less layouts; Ideas welcome

2009-05-21 Thread Weston C
On Thu, May 21, 2009 at 12:10 PM, tedd wrote: > Could you be certain that your algorithm would figure out which way it needs > to present the text to a blind person? My own experience browsing the web with Lynx (which for the most part, tends to ignore table layout, giving you the content of tabl

[PHP] Problems working with HTML using PHP's XML tools (placing mixed text/html into xpath-specified nodes...)

2009-05-21 Thread Weston C
Is there a straightforward way (or, heck, any way) of placing mixed html/text content into xpath-specified nodes using any of PHP's XML tools? So far, I've tried SimpleXML and the DOM and things aren't coming out well. SimpleXML: /* $filename contains path to valid XML file, $xpathxpr conta

[PHP] Re: -less layouts; Ideas welcome

2009-05-21 Thread Weston C
On Thu, 2009-05-21 at 09:54 -0400, tedd wrote: > My thoughts are -- my understanding the reason why tables have > received such bad-press is that designers have abused tables in > holding designs together with nested tables AND in doing so made it > difficult for the visually disabled to pull conte

Re: [PHP] Architecture patterns in PHP

2008-12-28 Thread Michael C. Yates
s for PHP would be cool. Thanks Michael C. Yates -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Architecture patterns in PHP

2008-12-27 Thread Michael C. Yates
dude, whatever Daniel Brown wrote: On Sat, Dec 27, 2008 at 18:40, Michael C. Yates wrote: [snip!] Micheal C. Yates You mis-spelled your name, Michael. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Architecture patterns in PHP

2008-12-27 Thread Michael C. Yates
Hey, How do you structure your web applications? I am thinking in terms of separating presentation and logic. How is that done in PHP? And how many architecture patterns are there? Thanks Micheal C. Yates -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] gethostbyaddr and IPv6

2008-11-22 Thread Glen C
On 11/22/2008 02:17 AM, Lars Torben Wilson wrote: 2008/11/21 Glen Carreras<[EMAIL PROTECTED]>: On 11/22/2008 12:10 AM, Lars Torben Wilson wrote: Hi Glen, Works for me. IPv6 support was added in 2001. You didn't say what version of PHP you are having this problem with, so it's hard to say why

[PHP] gethostbyaddr and IPv6

2008-11-21 Thread Glen C
008 22:43:37] PHP Warning: gethostbyaddr() [function.gethostbyaddr]: Address is not in a.b.c.d form in C:\www\tests\saved\host.php on line 7 Google has not been my friend in this matter... Any insight? Thanks, Glen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Manual Coding vs. CMS Systems

2008-08-28 Thread Auto-Deppe, C. Haensel
-:- -Original Message- -:- From: Jochem Maas [mailto:[EMAIL PROTECTED] -:- Sent: Thursday, August 28, 2008 1:46 PM -:- To: [EMAIL PROTECTED] -:- Cc: php-general@lists.php.net -:- Subject: Re: [PHP] Manual Coding vs. CMS Systems -:- -:- Auto-Deppe, C. Haensel schreef: -:- > Hi

[PHP] Manual Coding vs. CMS Systems

2008-08-28 Thread Auto-Deppe, C. Haensel
Hi all! And again, a slightly off topic subject for you all from yours truly :o) I have a "customer" (helicopter company) who is willing to give me some free flights for a small website. Now, I have been talking to my sister in law who is a designer (note: designer, not coder). She said I should

Re: [PHP] "make install" doesn't seem to work on "downgrade" on OS X -- anyone else seen this?

2008-08-19 Thread Weston C
On Tue, Aug 19, 2008 at 9:43 AM, Jason Pruim <[EMAIL PROTECTED]> wrote: > Is there a particular reason you are downgrading? I'm pretty happy with some of the features in 5.3, but have been asked to work with a codebase that turned out to have some issues under 5.3 that didn't show up under 5.2.x.

[PHP] "make install" doesn't seem to work on "downgrade" on OS X -- anyone else seen this?

2008-08-19 Thread Weston C
I recently downgraded from a build of 5.3 to 5.2.6 on OS X, and had a bit of time figuring out what was going on when "make install" didn't seem to actually copy the CLI binary and Apache SO to their target spots. Has anyone else seen this problem? What category would a bug report for this be und

[PHP] Echo in __GET()

2008-08-05 Thread Tyler C.
Is the a way to have an array, or use __get() to provide different data if you are echoing a variable, rather than if you are using it in a 'if' statement? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Memory Management

2008-08-03 Thread Chacha C
is it possible because you can assign $func = foo and call $func() and it will call foo(), maybe that its creating an endless loop of assigning the function to itself? On Sun, Aug 3, 2008 at 11:17 AM, brian <[EMAIL PROTECTED]> wrote: > Waynn Lue wrote: > >> I've been running the script below: >>

Re: [PHP] Re: Exposing PHP/errors on production vs. dev

2008-08-02 Thread Chacha C
Somehow .. I feel this isn't PHP Related. On Sat, Aug 2, 2008 at 11:08 AM, Robert Cummings <[EMAIL PROTECTED]>wrote: > On Sat, 2008-08-02 at 14:01 -0400, Daniel Brown wrote: > > On Sat, Aug 2, 2008 at 1:58 PM, Robert Cummings <[EMAIL PROTECTED]> > wrote: > > > > > > Sorry, I hired a profession fo

[PHP] PHP 5 auto-htmlentitizing strings?

2008-08-02 Thread Weston C
I just switched over an app from PHP 4 to PHP 5, and one of the weird things I'm noticing initially is that some of the html output seems to be html entitized. For example, a link that was showing up in html output as: "http://metaphilm.com/philm.php?id=29_0_2_0";>Is Tyler Durden Hobbes?" now ge

[PHP] 5.3 Timeline and Features(true anon functions? shorter array syntax?)

2008-06-21 Thread Weston C
Just curious if anyone knows the rough timeline for PHP 5.3. Also curious if anyone knows whether anon functions/closures or a shorter JSON-ish array syntax are being considered for inclusion. I know there were two patches announced in December/January: http://marc.info/?l=php-internals&m=1198336

Re: [PHP] PHP Extensions as Shared Objects?

2008-05-29 Thread Weston C
On Thu, May 29, 2008 at 7:11 PM, Chris <[EMAIL PROTECTED]> wrote: > See http://www.php.net/dl (though a lot of hosts disable this > functionality for security reasons). Fortunately, I'll have full control of the hosting environment in the context this matters. :) dl is definitely interesting, bu

[PHP] PHP Extensions as Shared Objects?

2008-05-29 Thread Weston C
This might be a dumb question with an obvious answer somewhere, but I'm wondering if it's possible to build php extensions as shared objects that plug into the PHP binary much like an apache shared module plugs into apache. Is PECL close to this? Sorry if this is obvious. Searches on the topic a

[PHP] Advantages of declared vs undeclared object properties

2008-05-25 Thread Weston C
In a setup like you've got with a SimpleXML object, where object properties aren't necessarily declared in the class definition but are added on an ad hoc basis, is there any performance hit? If not, other than the ability to mark properties as private, is there any other particular advantage to d

[PHP] Phpstop.com project - wanna be a writer?

2008-05-05 Thread Auto-Deppe, C. Haensel
Hi guys and girls I have followed this group for quite some time now and have seen some great tipps and tricks concerning PHP and its surroundings. I have gotten hold of a very nice domain name ( phpstop.com ) and have thought of something nice I could do with it. Now, my idea is to start an E-du

Re: [PHP] Resetting a session variable

2008-02-03 Thread Feris Thia C.
Resetting all session variables or one of those session vars ? If you need to reset all then use *session_destroy() *function. Hope it helps.. Regards, Feris http://top-10.bigspacehosting.com On Feb 4, 2008 1:14 AM, Ron Piggott <[EMAIL PROTECTED]> wrote: > What is the command to reset a sessi

Re: [PHP] how to make multiple website on one host

2008-02-03 Thread Feris Thia C.
Yes you can. Just mirror the additional domains and in your PHP app check the $_SERVER["HTTP_HOST"] variable. Hope this helps ! Regards, Feris http://top-10.bigspacehosting.com On Feb 3, 2008 2:20 PM, jeffry s <[EMAIL PROTECTED]> wrote: > i am wondering whether this can be done. i know it ca

RE: [PHP] ORM framework suggestion

2007-08-08 Thread Anton C. Swartz IV
Rob you know .. when I went looking into ruby .. rails only turned me away from it more then wanted me to use it .. I'm not so big on the MVC setup's .. :-\ --- Anton C. Swartz IV Phoenix Edge Network L.L.C. http://www.phpopenid.com - Owner PHPLogic Development Services http://www.ph

RE: [PHP] Re: problem with install php 5.2.3 on apache 2.2.4 in windows xp sp2

2007-07-24 Thread Anton C. Swartz IV
Could you Specifiy which error messages you were getting? --- Anton C. Swartz IV Phoenix Edge Network L.L.C. http://www.phpopenid.com - Owner PHPLogic Development Services http://www.phplogic.net - Co-Owner Necrogami http://www.necrogami.com - Personal Blog Based in Indianapolis, IN &quo

RE: [PHP] Strategy when working with designer(s)?

2007-07-23 Thread Anton C. Swartz IV
code I've experienced yet Just my 2 cents --- Anton C. Swartz IV Phoenix Edge Network L.L.C. http://www.phpopenid.com - Owner PHPLogic Development Services http://www.phplogic.net - Co-Owner Necrogami http://www.necrogami.com - Personal Blog Based in Indianapolis, IN "The Opposite of war

Re: [PHP] About PHP CMS

2007-07-07 Thread Anton C. Swartz IV
No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.10.1/889 - Release Date: 7/6/2007 8:00 PM -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Form isnt emailing me

2007-06-08 Thread Austin C
Hello, I just finished making a PHP contact form for my webite, and I can run through the whole thing, and get no errors, but it doesnt email me the form contents. *Here is th actual form page:* Contact Me Please

Re: [PHP] ZIP it :o)

2007-06-01 Thread Auto-Deppe, C. Haensel
! This is Christian Haensel live from Extertal, Germany. Back to you. -:oD)= ----- Original Message - From: "Tijnema" <[EMAIL PROTECTED]> To: "Chris" <[EMAIL PROTECTED]> Cc: "Auto-Deppe, C. Haensel" <[EMAIL PROTECTED]>; Sent: Friday, June

[PHP] ZIP it :o)

2007-05-31 Thread Auto-Deppe, C. Haensel
Morning guys, I have been trying to find an easy to use way to zip an archive on a linux box running PHP5. Now I've tried the zip-lib.php and others, but they always throw an error msg But that is not the question. I am looking to use exec("zip archive.zip $directory"); $directory has been

Re: [PHP] scheduling a script to check a directory for files

2007-05-30 Thread Auto-Deppe, C. Haensel
On a *nix-box it's fairly simple when using cronjobs... maybe try that? - Original Message - From: "Bosky, Dave" <[EMAIL PROTECTED]> To: Sent: Wednesday, May 30, 2007 2:14 PM Subject: [PHP] scheduling a script to check a directory for files Greetings! I need to write a script to i

Re: [PHP] RE: Bounty

2007-05-14 Thread Auto-Deppe, C. Haensel
I am honestly surprised by your lack of understanding. Trying to get a freelancer by pissing them off may not really be the smartest thing to do. ;o) - Original Message - From: "Brad Sumrall" <[EMAIL PROTECTED]> To: "'Chris'" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, May 15, 2007 8:16

Re: [PHP] RE: Bounty

2007-05-14 Thread Auto-Deppe, C. Haensel
Yes, you are. Better get some sleep and drink less coffee ;o) Chris - Original Message - From: "Brad Sumrall" <[EMAIL PROTECTED]> To: Sent: Tuesday, May 15, 2007 7:39 AM Subject: [PHP] RE: Bounty Does anyone want to answer the ad, or am I just going to be chasing knuckle heads?

Re: [PHP] Bounty, NOW!

2007-05-14 Thread Auto-Deppe, C. Haensel
Brad, I am pretty new to this mailing list thing, but even I would NEVER do stuff like that. Even though I would bet my behind that at least 90% of us PHP-Coders are men and women of honour, you should never post username & pass like that... Oh wait... maybe your root pass for the server :oP

[PHP] PEAR MIME Construct

2007-05-05 Thread Feris Thia C
Hi All, I've read my mail through php://stdin and then decode email message using MIME package. How can I change the "To" header field and then reconstruct and send it again through sendmail ? Regards, Feris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www

Re: [PHP] PHP & MySQL -> Field Title

2007-04-30 Thread Auto-Deppe, C. Haensel
nevermind, I made it :o) RTFM sometimes works even for me :O)) Have a great day :o) Chris - Original Message - From: "Christian Haensel" <[EMAIL PROTECTED]> To: Sent: Monday, April 30, 2007 7:47 AM Subject: [PHP] PHP & MySQL -> Field Title Good Morning guys and girls As I am rath

Re: [PHP] unset() side effects in functions

2007-04-23 Thread Auto-Deppe, C. Haensel
Hey Rob, even though I have never worked with that feature (nor have I even read about it), your explanation made the usage of unset() very clear, even to me... the german coder *g* That's gonna go into my printed code folder :o) Thanks for the explanation! Chris - Original Message

Re: [PHP] Ways to tell if existing setup is SAPI or Shared Object?

2007-04-19 Thread Weston C
On 4/19/07, Edward Vermillion <[EMAIL PROTECTED]> wrote: Fedora, and I'm assuming RedHat and possibly others that use their system layout, will put the loading line in /etc/httpd/conf.d/ php.conf so yes it can be in an external configuration file. That's the exact location, and it's a shared o

Re: [PHP] Ways to tell if existing setup is SAPI or Shared Object?

2007-04-19 Thread Weston C
On 4/19/07, Richard Lynch <[EMAIL PROTECTED]> wrote: On Thu, April 19, 2007 4:08 pm, Weston C wrote: > What ways are there to tell if PHP is actually built into an Apache 2 > installation or if it's installed as a shared object? > > phpinfo() / Server API value .. just

[PHP] Ways to tell if existing setup is SAPI or Shared Object?

2007-04-19 Thread Weston C
What ways are there to tell if PHP is actually built into an Apache 2 installation or if it's installed as a shared object? I've dropped a file containing phpinfo() on the server I'm looking at, hoping the Server API value would give me a clue, but it just says "Apache 2.0 Filter," and I don't kn

[PHP] most powerful php editor

2007-01-20 Thread Vinicius C Silva
hi everyone! i'd like to ask something maybe commonly asked here. what is the most powerful php editor?

[PHP] Trouble compiling in mysqli under PHP5 -- "mysql_config not found"

2007-01-02 Thread Weston C
I'm trying to build a CLI/CGI binary of PHP5 with MySQLi under Mac OS X. When I invoke configure, I get the following error message: "checking whether to enable embedded MySQLi support... no mysql_config not found configure: error: Please reinstall the mysql distribution" Now, mysql (4.1.22) is

[PHP] PHP Source File Encoding

2006-11-11 Thread C Drozdowski
Gotta a question whose answer should be really obvious to me but, for some reason, is just eluding me. Which encodings can PHP handle for source files? I've been using iso-8859-1 but what about utf-8? Thanks, C Drozdowski -- PHP General Mailing List (http://www.php.net/) To unsubs

[PHP] PHPEditIni now supports Linux/Unix

2006-05-16 Thread Jeremy C O'Connor
The PHPEditIni PHP script now supports Linux/Unix. Use this script to edit your PHP.INI files in a browser based GUI. Visit http://phpeditini.net . -- The PHP EditIni Project [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: phpEditIni has moved to phpeditini.net

2006-05-12 Thread Jeremy C O'Connor
"Barry" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Jeremy C O'Connor schrieb: > > The new browser based editor of PHP.INI files on Windows, phpEditIni, has > > moved to a new site: http://phpeditini.net Download it today! > > &

[PHP] phpEditIni has moved to phpeditini.net

2006-05-11 Thread Jeremy C O'Connor
The new browser based editor of PHP.INI files on Windows, phpEditIni, has moved to a new site: http://phpeditini.net Download it today! -- info at phpeditini dot net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Update: That is to say PHP.INI, not WIN.INI

2006-05-10 Thread Jeremy C O'Connor
phpEditIni project. That is to say PHP.INI, not WIN.INI -- net07350 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] New: Browser based editor of WIN.INI files (on Windows)

2006-05-10 Thread Jeremy C O'Connor
Hi This is an announcement of a new browser based editor for the C:\WINDOWS\PHP.INI file. It lets you uncomment or comment lines by clicking a checkbox, and alter the values of configuration settings. You can also insert, edit and delete lines. It is in the Beta stage of release, so please let me

[PHP] Troubleshott GD & Freetype under Linux

2005-10-15 Thread Feris Thia C.
Hi All, My PHP engine still cannot load JPEG library (GD) and Freetype fonts... I use ./config.nice to reconfigure PHP coz it works... and I have compile it with --jpeg-dir options. And seems not working at all. How can I troubleshoot and resolve these problems ? Regards, Feris

[PHP] Freetype and JPEG disabled

2005-10-08 Thread Feris Thia C.
Hi All, I've tried to compile and install PHP with gd and freetype library enabled, and all PNG and GIF library are loaded. But somehow, JPEG and Freetype still not recognized. I installed Freetype 2.0. Anyone facing these problems before ??? How can I resolved these ? Regards, Feris

[PHP] Apache Linux question

2005-09-06 Thread Feris Thia C.
Hi All, If I already install my Apache on linux system, then is it possible to check what configuration settings I provided when compiling the source ?? Regards, Feris

[PHP] Problem with Apache+Fedora Core 4 + PHP Installation

2005-09-06 Thread Feris Thia C.
Hi All, I'm using Fedora Core 4 (kernell 2.6.11-1.1369_FC4) and having problem when installing Apache + PHP... the configuration that I'm using : 1. Apache 2.0.54 ./configure --prefix=/usr/local/apache2 --enable-so make make install 2. PHP 4.3.1 ./configure --with-apxs2=/usr/local/apache2/bin/ap

[PHP] PHP Security

2005-08-25 Thread Ian C . McGarvey
I have been studying PHP all summer because I wanted to put some PHP code on my schools web site. I got to school and went to the web design teacher. I asked him if they had installed PHP on their server. He said that the district thinks that it would be a HUGE security risk and that people at

[PHP] Visit to Germany

2005-07-29 Thread DL Neil, Newsletter a/c
Greetings, I'm hoping to visit the Stuttgart area* for one week ~ ten days commencing c.Friday 19 August, to visit my brother-in-law and take a short vacation. If there are any PHP-related gatherings or activities I would be interested to meet up (last time I tried, I missed out by one week.

Re: [PHP] Apache 1.3x/PHP 5.0.3 404 error handler & posted data...

2005-07-10 Thread Raymond C. Rodgers
On Sat, 2005-07-09 at 02:04 -0700, Rasmus Lerdorf wrote: > Raymond C. Rodgers wrote: > > I'm trying to write an error handler in PHP to try to avoid sending the > > browser a 404 error message. Basically, if someone > > requests /whatever.html on the server and it d

[PHP] Apache 1.3x/PHP 5.0.3 404 error handler & posted data...

2005-07-09 Thread Raymond C. Rodgers
I'm trying to write an error handler in PHP to try to avoid sending the browser a 404 error message. Basically, if someone requests /whatever.html on the server and it doesn't exist, my 404 error handler checks to see if /whatever.php exists, if so, it then includes that file. That part works fine

[PHP] Re: Include Remote Content as REMOTE_ADDR of Browser

2005-05-27 Thread Gary C. New
Ryan Grange wrote: Gary C. New wrote: Is there a quick and dirty way to include, file, or fsockopen content from a remote server and make it appear as though the request was straight from the browser's remote address? Thank you for your assistance. Respectfully, Gary I believ

[PHP] Compiling Phpcap

2005-05-27 Thread Gary C. New
I am trying to compile phpcap-0.2e with php-4.2.3 and get the following configure error: ./configure: line 52860: syntax error near unexpected token `PHP_NEW_EXTENSION(phpcap,' ./configure: line 52860: ` PHP_NEW_EXTENSION(phpcap, phpcap.c, $ext_shared)' The phpcap INSTALL file show php-4.3.

[PHP] Include Remote Content as REMOTE_ADDR of Browser

2005-05-27 Thread Gary C. New
Is there a quick and dirty way to include, file, or fsockopen content from a remote server and make it appear as though the request was straight from the browser's remote address? Thank you for your assistance. Respectfully, Gary -- PHP General Mailing List (http://www.php.net/) To unsubscr

[PHP] Including class of Exception in exception message

2005-04-09 Thread C Drozdowski
I'm using Exceptions and variously handling them in try..catch blocks or defaulting to my set_exception_handler handler. When I create an Exception I'd like to prepend the class of the Exception to the message. Can this be done with code or do I have to hard code the name of the Exception class

[PHP] Smart Trimming of UTF-8 Entities for Database

2005-04-07 Thread C Drozdowski
I need to be able to store UTF-8 characters from a form into a MySQL table. But I need to support pre-UTF-8 MySQL (< 4.1). So I'm converting UTF-8 characters into their numeric entities (e.g. ñ = ñ). The problem is that if the user enters a character that gets converted to an entity, the strin

RE: [PHP] cancelling

2005-04-05 Thread newbie c
user from making some huge request then going away for a couple of days. I don't want to restrict the requests of a user however how can I stop them from monopolizing the server? thanks! "Chris W. Parker" <[EMAIL PROTECTED]> wrote: newbie c on Tuesday, April 05, 2005 11

[PHP] cancelling

2005-04-05 Thread newbie c
Hi, I would appreciate help on the following. I have been looking up ways to implement a cancel button with php. Basically, I have a mypictures.php file. There are select statements, grep statements, and a call to executables. I don't understand why there isn't that much around about this c

Re: [PHP] Header issues

2005-04-05 Thread Martin . C . Austin
d to the main area , using the header function. You can't. Not using header() at least. header() happens on the server, targeting a frame happens in the client. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Why do I have to declare __set if I declare __get for read-only properties?

2005-04-04 Thread C Drozdowski
Howdy, I'd like to access some of the private members of my classes as read-only properties without resorting to function calls to access them. (e.g. $testClass->privateMember instead of $testClass->privateMember(), etc) Based on my research and testing, using the __get and __set overloading m

Re: [PHP] functions vs classes

2005-04-04 Thread Martin . C . Austin
I know I sure appreciate reading any discussions on OOP issues, as they are something I just cannot seem to grasp. Thanks! Martin Austin Brent Baisley <[EMAIL PROTECTED]> 04/04/2005 08:44 AM To: DuSTiN KRySaK <[EMAIL PROTECTED]> cc: PHP Subject:Re:

[PHP] Using header(0 to manage user inactivity

2005-04-03 Thread C Drozdowski
I'd like to be able to "timeout" a user if they are inactive for X minutes. Say, if they walk away from the browser leaving sensivive data in plain view. Is there any reason that using the header() function as below wouldn't be a reliable way to do this (albeit user-unfriendly)? It "works for

Re: [PHP] Include file

2005-03-30 Thread Martin . C . Austin
>>> xfedex wrote: Welli have a 30k script, with double i get 8 or 9 seconds, with sigle i get 0.05 or 0.08 seconds. The script basically made a lot of querys, its part of a user manager module of a system im writing. <<< Could the speed have more to do with whatever database server you are us

RE: Re[6]: [PHP] asking comment

2005-03-30 Thread Martin . C . Austin
I agree with this solution, though it only effects the OP if he is using a login system of sorts. Martin Austin "Mikey" <[EMAIL PROTECTED]> 03/30/2005 12:39 PM Please respond to frak To: cc: Subject:RE: Re[6]: [PHP] asking comment How about a filenam

Re: [PHP] How to format every secound row in a database result

2005-03-30 Thread Martin . C . Austin
Or you could simply test the $color variable to see its contents, and change it if it's what you expected: $color = "#FF"; if($color = "#FF") { $color = "#00"; //output } else { $color = "#FF"; } There may be something inherently wrong in this approach, but it has always w

  1   2   3   4   5   6   >