Re: [PHP] Old PHP.net website..

2001-05-09 Thread Nathan Handler
Still lost.. where in here would it be...this looks more like the new website stuff...where would I find how to put on that pop-up thing for menus like in the old website? Best Regards, Nathan Handler - Original Message - From: <[EMAIL PROTECTED]> To: "Ender" &

Re: [PHP] PC MAG article

2001-05-09 Thread Nathan Cook
my resume?) Nathan Cook [EMAIL PROTECTED] - Original Message - From: "Mike" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 09, 2001 6:19 PM Subject: [PHP] PC MAG article > As a devoted php programmer I was surprised how bad PC MAG blasted php this >

Re: [PHP] PC MAG article

2001-05-09 Thread Nathan Cook
Did you notice how they mentioned nothing to the fact that PHP _does_ support ODBC? To think if they keep printing articles like that then macromedia just might advertise with them... Nathan Cook [EMAIL PROTECTED] - Original Message - From: "Ryan Christensen" <[EMAIL P

Re: [PHP] Old PHP.net website..

2001-05-09 Thread Nathan Handler
What is the file name that contains the pop-up info boxes? Best Regards, Nathan Handler - Original Message - From: <[EMAIL PROTECTED]> To: "Nathan Handler" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, May 09, 2001 6:07 PM Subject: Re: [PHP] Old

Re: [PHP] running a stand-alone PHP program

2001-05-16 Thread Nathan Cook
by: # /usr/local/bin/php /path/to/script/scriptname Have Fun! Nathan Cook [EMAIL PROTECTED] - Original Message - From: "midget2000x" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 16, 2001 2:52 PM Subject: RE: [PHP] running a stand-alone PHP program >

Re: [PHP] Get page height?

2001-05-16 Thread Nathan Cook
header_redirect to give php that data. sorry I don't have a code snippet. JavaScript (AFAIK) can only tell the dimensions of the window/frame the page is being drawn in. Nathan Cook [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [PHP] math - somethings wrong

2001-05-16 Thread Nathan Cook
to check math! ;-) print("Percentage: $percentage | Capped: $capped"); } else { $capped=$target_roids*($percentage/100); // Print the vars to check math! ;-) print("Percentage: $percentage | Capped: $capped"); } Good Luck! Nathan Cook [EMAIL PROTECTED] -- PHP General

Re: [PHP] preprocessing

2001-05-17 Thread Nathan Cook
1=test&var2=testing";); That way the user will never have to interact with page 'b'. Note: do not start any output before the header command. If that doesn't work then there should be some other way of assembling cgi-post headers with the header() function. Good Luck. Nathan Co

Re: [PHP] running a stand-alone PHP program

2001-05-17 Thread Nathan Cook
Not if you are currently running it as an apache module. If you are running it as a cgi, then it might. But it sounds as if you are running it as an apache module. Nathan Cook [EMAIL PROTECTED] - Original Message - From: "midget2000x" <[EMAIL PROTECTED]> To: "

Re: Re: [PHP] preprocessing

2001-05-17 Thread Nathan Cook
In that case you may be able to assemble the headers of a get using the header() function. I will look up a few more things for you and get back to you after lunch! :) Nathan Cook [EMAIL PROTECTED] - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>

Re: Re: [PHP] preprocessing

2001-05-17 Thread Nathan Cook
mp;$errstr); if (!$socket) { $Result["errno"] = $errno; $Result["errstr"] = $errstr; return $Result; } $idx = 0; fputs($socket, $ReqHeader); while (!feof($socket)) { $Result[$idx++] = fgets($socket, 128); } return $Result; } ?

Re: [PHP] running a stand-alone PHP program

2001-05-17 Thread Nathan Cook
Does your script happen to look like this? #!/usr/local/bin/php To: "Nathan Cook" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, May 17, 2001 3:15 PM Subject: Re: [PHP] running a stand-alone PHP program > Excellent. I got this working. From a comman

[PHP] Persistent Database Resources?

2002-01-14 Thread Nathan Cassano
Lets say I have a page that makes queries with multiple sorts, returning plenty of rows and displaying part of the result set. Each time the client accesses the page the query must be re-executed, spinning the CPU and thus tieing up resources. In PHP, or any other language could the result set be

RE: [PHP] sql question

2002-01-15 Thread Nathan Cassano
select * from tbl_lit where lit_source like 'c%'; Check out http://www.sqlcourse.com/ -Original Message- From: Wolf-Dietrich von Loeffelholz [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 15, 2002 12:09 PM To: [EMAIL PROTECTED] Subject: [PHP] sql question i want that a select quer

RE: [PHP] 8 bit check sum???? Not 32 bit

2002-01-16 Thread Nathan Cassano
This is a strange request but here you go. function CRC8bit($data){ return (crc32($data) & 255); } -Original Message- From: Brian C. Doyle [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 16, 2002 11:34 AM To: [EMAIL PROTECTED] Subject: [PHP] 8 bit check sum Not 32 bit

RE: [PHP] WAP

2002-01-17 Thread Nathan Cassano
There are some excellent article at phpbuilder.com about PHP and WAP. Go to http://www.phpbuilder.com/columns/ and scroll down to the WAP columns. -Original Message- From: LaserJetter [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 17, 2002 9:27 AM To: [EMAIL PROTECTED]; [EMAIL PROT

[PHP] Quote in input tag value?

2002-02-07 Thread Nathan Cassano
If there is a quote mark in an input tags value what is the correct way to print the quote? or -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Browser cache

2002-04-23 Thread Nathan Cassano
-Original Message- From: José León Serna [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 9:31 AM To: [EMAIL PROTECTED] Subject: [PHP] Browser cache Hello: How could I disable the browser cache?, I have a script that generates an image and shows it via . The problem is if

RE: [PHP] eregi(mail)

2002-05-10 Thread Nathan Cassano
This is what I have used. Here is an excellent article on Regular Expressions. Learning to Use Regular Expressions by Example http://www.phpbuilder.com/columns/dario19990616.php3 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] socket_create()

2002-02-26 Thread Nathan Littlepage
Anyone having an issue with socket_create(AF_INET, SOCK_DGRAM, SOL_UDP) not working on a FreeBSD box? socket_create(AF_INET, SOCK_STREAM, SOL_TCP) work fine, just not udp.

Re: [PHP] Crontab

2002-02-26 Thread Nathan Littlepage
Compile php as a CGI then write a script that begins as such. #!/usr/local/bin/php -q Chmod on file and place in crontab. - Original Message - From: "Uma Shankari T." <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 26, 2002 11:11 PM Subject: [PHP] Crontab > > >

RE: [PHP] URGENT: CERT Advisory CA-2002-05 Multiple Vulnerabilities in PHP fileupload

2002-02-28 Thread Nathan Cassano
I'm finished! Patched all my servers, recompiled and installed. We're safe. -Original Message- From: Bogdan Stancescu [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 28, 2002 9:58 AM To: [EMAIL PROTECTED] Subject: [PHP] URGENT: CERT Advisory CA-2002-05 Multiple Vulnerabilities in P

RE: [PHP] HTMLnetscape issue

2002-03-20 Thread Nathan Cassano
Yes here is a solution to this problem and I am surprised no one on this list pointed it out. Simply put a transparent dot within a cell table that you wish to have the background image display. Netscape 4 in retarded in the fact that it will not display a cell background image unless it has cel

[PHP] PHP OOP: Multiple Class Extends

2002-03-21 Thread Nathan Cassano
Attention PHP guru's, I have a question about PHP and OOP. My problem is that I want multiple inheritance functionality in PHP but it does not support this (see http://www.zend.com/manual/keyword.extends.php). My question is can PHP classes be extended multiple times to simulate multiple

RE: [PHP] Cookies

2002-04-02 Thread Nathan Cassano
There is no such thing as an "infinite cookie". About the closest thing to infinity in PHP is year 2038. setcookie("test", "val", 2147483647); -Original Message- From: Steffan Harris [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 11:57 AM To: [EMAIL PROTECTED] Subject: [PHP]

RE: [PHP] php and wml

2002-04-09 Thread Nathan Cassano
Introduction to WML, Apache, and PHP http://www.phpbuilder.com/columns/mike20010118.php3 Building dynamic WML sites http://www.phpbuilder.com/columns/baravalle20010221.php3 -Original Message- From: Starman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 1:00 PM To: [EMAIL PROT

RE: [PHP] Secure storage of credit card information

2002-04-10 Thread Nathan Cassano
If I where in your shoes I would encrypt the accounts with Mcrypt, setup a separate database, on a separate computer, communicating on a low speed serial line (4800 baud) using ppp, fully fire walling the connection and doing mass logging. Mcrypt Encryption Functions http://www.php.net/manual/e

RE: [PHP] How to protect MySQL password

2001-10-23 Thread Nathan Cassano
One solution is to depend upon your defaults in "/usr/local/lib/php.ini" . Then just call mysql_connect() with no arguments or just call mysql_db_query with out the connection parameter and PHP will connect for you. If you are connecting to different MySQL servers this solution is not appropriate

RE: [PHP] What's the difference between mail() in PHP and sendmail?

2001-10-26 Thread Nathan Cassano
Not a whole lot. The PHP mail function is just a nice fuzzy function wrapper to popen("sendmail"). The gory details can be found at http://cvs.php.net/co.php/php4/ext/standard/mail.c?r=1.44. -Original Message- From: Web user [mailto:[EMAIL PROTECTED]] Sent: Friday, October 26, 2001 8:4

[PHP] Daylight savings and timestamps

2001-10-26 Thread Nathan Cassano
Hello fellow PHPer's, Daylight savings is soon upon most of us and I have some questions in regard to timestamps. My problem: So we put our clocks an hour back. I have database tables with plain integers that store timestamps. I like to do comparison operations with these timestamps. When

RE: [PHP] defending PHP mail function

2001-10-31 Thread Nathan Cassano
My favorite email libraries are .. SMTP class http://www.phpguru.org/download.php?script_id=10 And working in conjunction with SMTP class .. HTML Email Class http://www.phpguru.org/download.php?script_id=4 -Original Message- From: Matthew Luchak [mailto:[EMAIL PROTECTED]] Sent: Wedn

RE: [PHP] PHP and qmail

2001-10-31 Thread Nathan Cassano
If you have installed Qmail and removed Sendmail create symlinks to the qmail sendmail wrapper and you should not have to edit you php.ini. Read the qmail INSTALL file for more. # ln -s /var/qmail/bin/sendmail /usr/lib/sendmail # ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail -Original Me

[PHP] Simulating POST with GET and Location:

2001-11-02 Thread Nathan Cassano
Hi list, Don't you just hate the way that the POST method makes browsers act some times? Expiring pages and asking you if you really want to reload this page. I have found a solution. Instead of relying on the POST method to protect pages from being accessed twice, I use GET and at the en

RE: [PHP] How to UNSUBSCRIBE ???

2001-12-07 Thread Nathan Cassano
Whats wrong? Is it that you don't like us anymore? Why would you want to unsubscribe? Please inspect the bottom of any PHP list email to find you answer. -Original Message- From: fazer [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 06, 2001 8:25 AM To: [EMAIL PROTECTED] Subject: [

[PHP] Mass Mailing

2001-12-03 Thread Nathan Cavicchi
I started writing a set of scripts that would send out mutiple emails to a list of customers. I then realized that most likely this program, and/or snipits had most likely already been written. If so, can some one point me in the right direction and save me 3 or 4 days? Thanks Nathan

RE: [PHP] Script like this for PHP

2001-12-12 Thread Nathan Cassano
While we are on the topic of Dynamic HTML, I'd like to recommend DynAPI (http://dynapi.sourceforge.net/), a powerful cross-browser DHTML library. You can do some awesome stuff with DynAPI. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

RE: [PHP] Performance

2001-12-13 Thread Nathan Cassano
I have always assumed straight html was faster than function output. My logic being that "quoted" output requires more parsing than straight html. But they may be the same speed after a simple optimization pass. -Original Message- From: René Fournier [mailto:[EMAIL PROTECTED]] Sent: Tu

RE: [PHP] phplib???

2001-12-13 Thread Nathan Cassano
Went to www.google.com. Searched "phplib". The first result returned was http://sourceforge.net/projects/phplib. -Original Message- From: Duane Douglas [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 13, 2001 1:59 PM To: [EMAIL PROTECTED] Subject: [PHP] phplib??? hello, can some

RE: [PHP] PHP module for modem???

2001-12-18 Thread Nathan Cassano
There aren't any modem modules that I am aware of but if you are using UNIX you can just open the modem device and talk to it directly. What is your application that would need to use a modem? -Original Message- From: Scott Fletcher [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 1

RE: [PHP] How can I have CVS ?

2001-12-20 Thread Nathan Cassano
And the answer is... WinCVS Check it our at. http://www.cvsgui.org/ -Original Message- From: Alawi [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 20, 2001 7:51 AM To: PHP genral Subject: [PHP] How can I have CVS ? and log to it from windows ? -- PHP General Mailing List (ht

RE: [PHP] Mommy, is it true that...?

2001-12-21 Thread Nathan Cassano
One thing that I do know is dangerous is deleting rows based on an integer field with an unprocessed value; Example: Delete row script By simply appending an all inclusive sql clause. $id = "21421 or 1 = 1"; Ca-Boom! The entire table has been deleted. Don't you feel dumb! Instead process t

RE: [PHP] password

2001-03-27 Thread Nathan Cassano
Don't you mean.. http://httpd.apache.org/docs/mod/mod_auth.html or do you want to do this with php headers? -Original Message- From: Marisol Díaz E. [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 27, 2001 9:03 AM To: PHP General Subject: [PHP] password Hi I need the code, for protec

[PHP] Inputing data to a relational database

2001-04-08 Thread Nathan Roberts
want to have a combo box that will let me select one of the categories from the categories table. Is there anything like phpmyadmin that will let me do this without me having to write code. Any advice much appreciated Nathan Roberts -- PHP General Mailing List (http://www.php.net/) To unsubs

[PHP] Supplied argument is not a valid MySQL result resource

2001-04-09 Thread Nathan Roberts
on line 14 I cannot see what is causing it - if anyone can it would be much appreciated. thanks Nathan For clarity/brevity I have cut the page back to what i beleive to be the relivant part. Code for page is:- %s %s \n", $PHP_SELF, $myrow["section_id"], $myrow["se

[PHP] Empting all variables

2001-04-09 Thread Nathan Roberts
Is there a quick way to 'empty' all the variables I have set on a page? I need to clear everything before re-loading the page. Thanks Nathan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

[PHP] Line Breaks in

2001-06-28 Thread Nathan Cook
breaks in the db). If you can shed any light on this subject, please share. Thank You, Nathan Cook [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e

Re: [PHP] Credit card number checker?

2001-07-16 Thread Nathan Cook
lidationSolution($Number) == TRUE) { echo "GOOD"; } else { echo "Bad card!"; } --- Good Luck! Nathan Cook [EMAIL PROTECTED] - Original Message - From: "Dr. Evil" <[EMAIL PROTECTED]> To:

Re: [PHP] note to PHP developers

2001-07-17 Thread Nathan Cook
On a side note, qmail has a wrapper that pretends to be sendmail. You can overwrite the /bin/mail with it and it will behave and accept mail just like sendmail, but send it through qmail-smtp. Nathan Cook [EMAIL PROTECTED] - Original Message - From: "Michael Geier, CDM Systems

Re: [PHP] Big difference?

2001-07-25 Thread Nathan Cook
Not if there are syntax errors like misplaced quotes (", '). Nathan Cook [EMAIL PROTECTED] - Original Message - From: "Henrik Hansen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 25, 2001 3:54 PM Subject: Re: [PHP] Big difference?

Re: [PHP] Sorry To Repeat Repeat Repeat Repeat Re.......

2001-07-26 Thread Nathan Cook
Just check out px.sklar.com. Nathan Cook [EMAIL PROTECTED] - Original Message - From: "Kyle Smith" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 26, 2001 10:14 PM Subject: [PHP] Sorry To Repeat Repeat Repeat Repeat Re... Could you peo

Re: [PHP] Find and Replace

2001-07-30 Thread Nathan Cook
I just setup apache to parse *.inc files through php. Nathan Cook [EMAIL PROTECTED] - Original Message - From: "Shrout, Ryan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 30, 2001 1:06 PM Subject: [PHP] Find and Replace > This isn't exa

Re: [PHP] Being a SERVER (you cant kill me, im.... DAMN!!)

2001-08-01 Thread Nathan Cook
http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/print.html Nathan Cook [EMAIL PROTECTED] - Original Message - From: "Kyle Smith" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 01, 2001 11:32 PM Subject: [PHP] Being a SERVER (you can

Re: [PHP] Getting MySQL Query Times.

2001-08-23 Thread Nathan Cook
idea of processing time. Nathan Cook [EMAIL PROTECTED] - Original Message - From: "Gabe da Silveira" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 23, 2001 10:22 AM Subject: [PHP] Getting MySQL Query Times. > I was looking thru the mysql fun

Re: [PHP] php from the command line

2001-09-25 Thread Nathan Cook
n/php ... Then just run your executable file like you would any other. Nathan Cook [EMAIL PROTECTED] - Original Message - From: "Jimmy Bäckström" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 25, 2001 10:21 AM Subject: [PHP] php from the command line

Re: [PHP] php from the command line

2001-09-25 Thread Nathan Cook
> Simply put > > /usr/local/bin/php -q to the top of your script ... > i've written one a while ago an email roboter ... it works on command line But you realize you have to have command line php compiled first, right? Nathan Cook [EMAIL PROTECTED] -- PHP General M

[PHP] Array?

2004-08-25 Thread Nathan Mealey
mail."' and password='".$pass."'"; $results = mysql_query($q); if ($results) { while ($list=mysql_fetch_assoc($results)) { $things[]=$list; } } //$things[7] is a MySQL timestamp column named "last_login" $date = strtotime($things[7]); Thanks

[PHP] Handling Exceptions from Embedded PHP module

2004-08-30 Thread Nathan Schmitz
I've looked over the SAPI struct, and haven't found anything that might help me. Suggestions? Nathan Schmitz Software Developer Biap Systems, Inc. [EMAIL PROTECTED]

[PHP] File Upload Problem

2004-10-20 Thread Nathan Mealey
move_uploaded_file() [function.move-uploaded-file]: Unable to move '/var/tmp/phpibRXhc' to '/articles_store/case_for_base.pdf' in /usr/local/www/data-dist/cycle-smart/www/Articles/admin/ articleinsert.php on line 50 Any help is very, very much appreciated. NM -- Nathan Meale

[PHP] Re: $60 Reward, 1 Hour Eclipse Project

2008-11-17 Thread Nathan Rixham
johny why wrote: - Tasks $60 reward to walk me through a successful Eclipse PHP debug session of doProject on my IIS server. The only task here is to get a debug session going. There will not be any IIS support or PHP programming involved. Should only be some basic config settings in Eclips

[PHP] Re: while question

2008-11-17 Thread Nathan Rixham
Alain Roger wrote: Hi, i'm on PHP training and our lector is telling us that to avoid counting an array item amout thanks count($my_array), he tells we can do: while($my_array) { ... do something } but from experience this is an infinity loop... it should be always something like $count = coun

Re: [PHP] while-question

2008-11-17 Thread Nathan Rixham
Jochem Maas wrote: $a = range(1,10); for ($i = 0, $c = count($a); $i < $c; print($a[$i]."\n"), $i++); think the point of this is to count the items in an array without count mate :p no point in the above you could just: $c = count($a); foreach! $a = range(1,10); $c = 0; foreach($a as $b) {

[PHP] Re: Cannot create statement handler

2008-11-17 Thread Nathan Rixham
Thodoris wrote: I was wondering if anyone sees something I am bypassing: I have this sample code that works in another server: query($sql); // die(var_dump($sthr)); $res = $sthr->fetch(PDO::FETCH_ASSOC); return $res['Name']; } try { $dbh = new PDO('mysql:host=localhost;port=3306;

Re: [PHP] Variable Argument List

2008-11-17 Thread Nathan Rixham
Richard Heyes wrote: ... And you might also be interested in func_get_args(), which returns an array of args passed to the function (don't know what it does if used outside a function. Probably get an error). yup.. Warning: func_get_args(): Called from the global scope - no function conte

Re: [PHP] while-question

2008-11-17 Thread Nathan Rixham
Stut wrote: On 17 Nov 2008, at 14:31, Nathan Rixham wrote: if you really want a challenge try this one.. task: add the numbers 5 and 17 together, using php, without using the + operator. fill it in: function add($a , $b) { //code here but no + - / * operators return $answer; } echo add(5

[PHP] Re: Accented character in Regex.

2008-11-17 Thread Nathan Rixham
Shiplu wrote: How to match accented characters by preg match?? I need to match ">Sin garantía<" by "/>([^<]+) convert to utf8 and use the U modifier on the regex string? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Date Issue

2008-11-17 Thread Nathan Rixham
Boyd, Todd M. wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2008 10:50 AM To: php-general@lists.php.net Subject: [PHP] Date Issue $smont = 10; $sday = 13; $syear = 2008; $timestamp = mktime(0,0,0,$smont,$sday,$syear); $thismonth =

[PHP] Re: Accented character in Regex.

2008-11-17 Thread Nathan Rixham
Nathan Rixham wrote: Shiplu wrote: How to match accented characters by preg match?? I need to match ">Sin garantía<" by "/>([^<]+) convert to utf8 and use the U modifier on the regex string? sorry.. lowercase "u" for utf8! (U is ungreedy) -- PHP General

Re: [PHP] while-question

2008-11-17 Thread Nathan Rixham
bruce wrote: curious qiestion to all on here who dabble in php... how many of you have actully gone to college, taken algorithm courses, microprocessor courses, design/architecture courses, etc.. or is the majority of the work here from people who've grabbed the tools and started programmin

Re: [PHP] while question

2008-11-18 Thread Nathan Rixham
Ashley Sheridan wrote: On Mon, 2008-11-17 at 18:01 -0500, Craige Leeder wrote: Ashley Sheridan wrote: On Mon, 2008-11-17 at 17:47 -0500, Craige Leeder wrote: Only thing to note with the foreach is that you are actually working on a copy of the array, so if you intend to modify it, pass it b

Re: [PHP] while-question

2008-11-18 Thread Nathan Rixham
tedd wrote: At 7:02 PM -0500 11/17/08, Craige Leeder wrote: I'm not illiterate; promise :p - Craige Yeah, his parents were married before he was born. Cheers, tedd omg tedd, I was just reading this thread over, thought exactly that witty response, clicked you're reply and there it is;

[PHP] Re: phpDesigner 2008?

2008-11-18 Thread Nathan Rixham
Waynn Lue wrote: I know the IDE wars spring up occasionally, but looking through the archives, I haven't seen any discussions pro or con for phpDesigner 2008 ( http://www.mpsoftware.dk/phpdesigner.php). Anyone had a chance to use it and think it's good or not? I just installed PDT + Eclipse tod

Re: [PHP] Days until Easter and Christmas

2008-11-18 Thread Nathan Rixham
Kevin Waterson wrote: This one time, at band camp, tedd <[EMAIL PROTECTED]> wrote: Easter lands on different dates depending upon several different factors. For example in Canada it's the day after it is in the USA -- I guess Canadians are slower, eh? :-) Also, in some religions the date is

Re: [PHP] Days until Easter and Christmas

2008-11-18 Thread Nathan Rixham
Nathan Rixham wrote: Kevin Waterson wrote: This one time, at band camp, tedd <[EMAIL PROTECTED]> wrote: Easter lands on different dates depending upon several different factors. For example in Canada it's the day after it is in the USA -- I guess Canadians are slower, eh? :-)

[PHP] Re: implode()

2008-11-18 Thread Nathan Rixham
Terion Miller wrote: I have read the whole forum at php.net on implode and I still don't get why this one does not work if (isset($_POST['BannerSize'])){$BannerSize = implode($_POST['BannerSize'],',');} else {$BannerSize = "";} someone please help don't think it's a php thing, it's expecting

Re: [PHP] while-question

2008-11-18 Thread Nathan Rixham
Craige Leeder wrote: Jochem Maas wrote: klieder ... kliederen the E sound is short. Interesting to know. Thanks :D - Craige don't believe him, "jochem" is really called Bob Davis, a slightly balding middle aged ASP developer from hull sent to infiltrate the PHP community and misguide

[PHP] Re: PHP performance profiling

2008-11-18 Thread Nathan Rixham
Gryffyn wrote: I did a search and didn't find anything really astounding sounding, so I wanted to ask for some "live" recommendations from the crowd here. I was wondering if anyone had used FirePHP with Firebug or could recommend a good profiling method for figuring out where the slow parts of

[PHP] Re: anchor name on URL

2008-11-18 Thread Nathan Rixham
Stan wrote: If I had a page written in HTML and I had a named anchor on that page I could position the user at the anchor by http://myPage.com/myHTML.htm#myAnchor but I can't seem to make this work if the page is generated http://mypage.com/myPHP.php#myAnchor I've tried both FireFox

Re: [PHP] Re: anchor name on URL

2008-11-19 Thread Nathan Rixham
Per Jessen wrote: Craige Leeder wrote: Micah Gersten wrote: I'd rather all the engines follow the W3C standards so that you just have to make sure your web page is compliant. Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com Though I always script to W3

Re: [PHP] Re: anchor name on URL

2008-11-19 Thread Nathan Rixham
Per Jessen wrote: Nathan Rixham wrote: Per Jessen wrote: Nathan Rixham wrote: i never understand this, if i was makign a browser I'd be "where's the rfc's" then code it to implement those rfc's - why people choose not to is beyond me? World domination is pa

Re: [PHP] Re: anchor name on URL

2008-11-19 Thread Nathan Rixham
Richard Heyes wrote: although the crapness of firefox 3 may change that a bit.. Keh? FF3 is great IMO. I thought that at first as well, then I noticed it was a bit unstable on windows xp/media center/tablet edition, on all my machines, then talked to workmates, friends, partner etc and th

Re: [PHP] Re: anchor name on URL

2008-11-19 Thread Nathan Rixham
Per Jessen wrote: Nathan Rixham wrote: Though I always script to W3 Standards, I could care less if browsers follow those standards, so long as we wind up closer and closer to a general set of rules we can obide by. Uh, only as long as that general set of rules is well documented. /Per

[PHP] Re: mysql_fetch_object and modulo %

2008-11-19 Thread Nathan Rixham
Alain Roger wrote: Hi, how can i do to test if the row number (record number) sent by mysql_fetch_object is odd or even ? i mean that: while ($row = mysql_fetch_object($result)) { if($row%2 == 1) { ... } } the $row doesn't return a value... like 1, 2 or 6 for exampl

[PHP] Re: HTTP Authentication

2008-11-19 Thread Nathan Rixham
Thiago H. Pojda wrote: Guys, I have to access a WS that uses HTTP auth directly with PHP. I've tried using the usual http://user:[EMAIL PROTECTED]/ but I couldn't get it working. I believe it has something to do with the password containing a # (can't change it) and the browser thinks it's an a

[PHP] Re: PHP Warning: HTTP request failed -- BSD resource limit reached?

2008-11-19 Thread Nathan Rixham
Rene Fournier wrote: Hi, I have four identical command-line PHP scripts running, and each will frequently fetch some data from another server via file_get_contents(). By frequently, I mean on average, every second. Periodically, one of the processes (command-line PHP scripts), will fail on

Re: [PHP] Stats (was anchor name on URL)

2008-11-19 Thread Nathan Rixham
Luke Slater wrote: On Wed, 19 Nov 2008, Ashley Sheridan wrote: On Wed, 2008-11-19 at 09:50 -0500, tedd wrote: Nathan Rixham wrote: well that bubble should have popped.. from some of my sites: Browser % visits Firefox 88.43% Internet Explorer 9.99% and At 12:25 PM + 11/19/08

Re: [PHP] Invalid Arguements

2008-11-19 Thread Nathan Rixham
Ashley Sheridan wrote: On Wed, 2008-11-19 at 08:31 -0600, Terion Miller wrote: I am still getting the Invalid arguement error on this implode: if (isset($_POST['BannerSize'])){$BannerSize = implode(',',$_POST['BannerSize']);} else {$BannerSize = "";} I have moved the ',', from the beginning to

[PHP] Re: How to Execute Multiple SQL Updates Using PHP

2008-11-19 Thread Nathan Rixham
Alice Wei wrote: Hi, I am inquiring on this list to see if it is possible to create a script that takes multiple update statements without my having to write one "SQL" statement for each of the updates. I have a scenario of which I create a table of some sort with some existing informati

Re: [PHP] Re: PHP Warning: HTTP request failed -- BSD resource limit reached?

2008-11-20 Thread Nathan Rixham
Rene Fournier wrote: On 19-Nov-08, at 12:52 PM, Nathan Rixham wrote: Rene Fournier wrote: Hi, I have four identical command-line PHP scripts running, and each will frequently fetch some data from another server via file_get_contents(). By frequently, I mean on average, every second

Re: [PHP] Invalid Arguements

2008-11-20 Thread Nathan Rixham
On 20 Nov 2008, at 14:37, Terion Miller wrote: I currently have it like this: if you've got it working don't change it :) but to explain: it is possible to send through an array of data from a form, to do this you place multiple elements with the same name followed by [] in the form.. so

Re: [PHP] Invalid Arguements

2008-11-20 Thread Nathan Rixham
Terion Miller wrote: Nathan, thank you thank you thank you now I get it! your the bomb!! terion joy, glad to hear it -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: PHP Warning: HTTP request failed -- BSD resource limit reached?

2008-11-20 Thread Nathan Rixham
gs? It may be configured to deny requests temporarily on hosts it thinks may be attempting an HTTP DDoS, or perhaps something similar. Nathan mentioned the same, but is it possible that you're only considering a hardware firewall? Unless explicitly configured, a software firewall on the O

Re: [PHP] Re: PHP Warning: HTTP request failed -- BSD resource limit reached?

2008-11-20 Thread Nathan Rixham
Rene Fournier wrote: On 20-Nov-08, at 12:44 PM, Daniel P. Brown wrote: On Thu, Nov 20, 2008 at 2:41 PM, Rene Fournier <[EMAIL PROTECTED]> wrote: There is no firewall between any of the servers -- they are all on the same LAN. I read when you said that, but I must not have explained my

[PHP] Re: reading XML

2008-11-21 Thread Nathan Rixham
Angelo Zanetti wrote: What is the simplest way to accomplish this small challenge? you could give this a go if you like (one i made earlier): http://programphp.com/xmlparser.phps - class at the top, usage at the bottom. it simply turns xml into an associated array, using regex; just teste

Re: [Fwd: Re: [PHP] Displaying information from table graphically]

2008-11-22 Thread Nathan Rixham
Ashley Sheridan wrote: On Sat, 2008-11-22 at 19:47 -0100, [EMAIL PROTECTED] wrote: Since I am not an expert in FLASH, I need to make sure I understand what you suggested below. >From what I understand I can pass the data from SQL query to Flash via some sort of flash parameters (flashvars), but

Re: [Fwd: Re: [PHP] Displaying information from table graphically]

2008-11-22 Thread Nathan Rixham
[EMAIL PROTECTED] wrote: So basically all the data between Flash and SQL queries goes thru temporary XML files correct? not so much temporary as you convert the data to xml packets and transport in that format, you use the xml as a way of keeping the data structured and transportable (see S

[PHP] Re: Displaying information from table graphically]

2008-11-22 Thread Nathan Rixham
[EMAIL PROTECTED] wrote: http://en.wikipedia.org/wiki/Adobe_Flash#Programming_language Of late, the Flash libraries are being used with the XML capabilities of the browser to render rich content in the browser. This technology is known as Asynchronous Flash and XML, much like AJAX. This technolo

Re: [PHP] Displaying information from table graphically]

2008-11-22 Thread Nathan Rixham
Ashley Sheridan wrote: On Sat, 2008-11-22 at 23:07 -0100, [EMAIL PROTECTED] wrote: http://en.wikipedia.org/wiki/Adobe_Flash#Programming_language Of late, the Flash libraries are being used with the XML capabilities of the browser to render rich content in the browser. This technology is know

Re: [PHP] Displaying information from table graphically]

2008-11-22 Thread Nathan Rixham
Nathan Rixham wrote: WSOT is worth a look... sorry my nickname for it.. i meant wso2 (wso2.org) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Open Project

2008-11-22 Thread Nathan Rixham
y anything without an html front end :) Regards, Nathan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Open Project

2008-11-22 Thread Nathan Rixham
webservice or basically anything without an html front end :) Regards, Nathan Hi Nathan, I am about to launch my own framework called Fred the Framework. Designed to be easy going, it is suppose to be ready to use out of the box, with very little config and a usable user management system - unl

<    1   2   3   4   5   6   7   8   9   10   >