Re: [PHP] huge PHP file, hardcore processing

2001-04-09 Thread Plutarck
Note: if you hit the stop button and php doesn't stop, that probably means it's either in the middle of a query and can't stop, or more likely it means that "ignore.user.abort" has been set to true. Turn off ignore user abort in your php.ini, and that should solve your problem. As for accessing

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

2001-04-09 Thread Plutarck
That means that your mysql_query probably returned an error. It should do that only when you screw up your syntax. echo/print out the syntax used in your query, and post it here. That is probably the problem you are having. -- Plutarck Should be working on something... ...but forgot what it wa

Re: [PHP] while loop

2001-04-09 Thread Philip Olson
What does this do : '; } } else { echo ' no result '. mysql_error(); } ?> Regards, Philip On Tue, 10 Apr 2001, Jacky@lilst wrote: > Here I got this script: > > $queryoffers = "SELECT * FROM MiniOffers WHERE hotel_id = '$hotelID' ORDER > BY start_date ASC"; > $resultofr

Re: [PHP] Finer points of debugging: vardump vs. print_r

2001-04-09 Thread John
Hi Morgan, You tip is fantastic. Will post it (with your permission) at my weblog, http://php.weblogs.com/ tomorrow. Regards, John "Morgan Curley" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I generally include the following function: > function

Re: [PHP] what could cause the maximum execution time exceeded?

2001-04-09 Thread B. van Ouwerkerk
At 11:02 10-4-01 -0500, Jacky wrote: >Hi people >I ran a PHP page and there was an error said below: >Fatal error Maximum execution time of 30 seconds exceeded in >include/getRoomDesc.php4 >What could cause this?? The rain??!! HOW should we know without some code.. You can post it or put i

Re: [PHP] page counter

2001-04-09 Thread Jack Dempsey
yes yes, bad habit i know ;-) but tis only a counter file... sometimes it probably is just better to explain the SLIGHTLY more complex solution in favor of starting a bad habit :-) all the best, jack Brian Clark wrote: > > Hi Jack, > > @ 2:44:51 AM on 4/10/2001, Jack Dempsey wrote: > > ... >

Re: [PHP] page counter

2001-04-09 Thread Chris Aitken
At 12:28 PM 10/04/2001, you wrote: >Hi wen, > >Make sure that the counter file is readable by the user apache or user >nobody which ever is your default webserver user. If it is not then just >chown it to nobody or chmod it to 777 and you are done. The catch 22 is.. If you want security the

Re: [PHP] while loop

2001-04-09 Thread Jack Dempsey
Zeus wrote: > > That was detailed :) > > Thanks Jack, it fixed my misconception of the = and == operators. > > BUT ... > > > mysql_fetch_array keeps track of where it is in the array. > > after each while loop it moves a 'step ahead' in the result > > the mysql_fetch_array fetches the results

[PHP] test

2001-04-09 Thread Ralph Guzman
... -- 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-mail: [EMAIL PROTECTED]

Re: [PHP] page counter

2001-04-09 Thread Keyur Kalaria
Hi wen, Make sure that the counter file is readable by the user apache or user nobody which ever is your default webserver user. If it is not then just chown it to nobody or chmod it to 777 and you are done. Keyur - Original Message - From: "Keyur Kalaria" <[EMAIL PROTECTED]> To: "Wen

Re: [PHP] page counter

2001-04-09 Thread Brian Clark
Hi Jack, @ 2:44:51 AM on 4/10/2001, Jack Dempsey wrote: ... > Check your permissions on the file. If its just a counter file, the > easiest thing to do would be to make it world writeable. chmod 777 > count.txt. you should then have the perms to write to it. 777 is world writable. Bad idea. Ma

Re: [PHP] page counter

2001-04-09 Thread Brian Clark
Hi Wendy, @ 1:38:45 AM on 4/10/2001, Wen Ni wrote: > I got an example from the internet about the PHP page counter. However > after several testing on the coding, I still met the problem which I > don't understand. Please help me. ... > "/home/venus/public_html/qa/doccon/doc_distribution/cou

Re: [PHP] page counter

2001-04-09 Thread Jack Dempsey
> Warning: > fopen("/home/venus/public_html/qa/doccon/doc_distribution/count.txt","w") > - Permission denied in > /home/venus/public_html/qa/doccon/doc_distribution/New.php on line 9 Check your permissions on the file. If its just a counter file, the easiest thing to do would be to make it world

Re: [PHP] while loop

2001-04-09 Thread Zeus
That was detailed :) Thanks Jack, it fixed my misconception of the = and == operators. BUT ... > mysql_fetch_array keeps track of where it is in the array. > after each while loop it moves a 'step ahead' in the result the mysql_fetch_array fetches the results in an array but should it be an on

[PHP] page counter

2001-04-09 Thread Wen Ni
I got an example from the internet about the PHP page counter. However after several testing on the coding, I still met the problem which I don't understand. Please help me. problems: Warning: fopen("/home/venus/public_html/qa/doccon/doc_distribution/count.txt","w") - Permission denied in /h

Re: [PHP] while loop

2001-04-09 Thread Brian Clark
Hi Jacky, @ 2:11:06 PM on 4/10/2001, Jacky@lilst wrote: > Not in the actual code, sorry, I did not copy the opnneing bit, but there is > one in the code. > So the same question, I got error said, maximum execution time exceed, am I > doing something time consuming here? Unless I'm blind this m

Re: [PHP] while loop

2001-04-09 Thread [EMAIL PROTECTED]
Not in the actual code, sorry, I did not copy the opnneing bit, but there is one in the code. So the same question, I got error said, maximum execution time exceed, am I doing something time consuming here? Jack [EMAIL PROTECTED] "There is nothing more rewarding than reaching the goal you set for

Re: [PHP] while loop

2001-04-09 Thread Jack Dempsey
Zeus wrote: > > Isn't the '=' operator suppose to be used for assigning and not for > evaluation. > yup. > I thought '==' should be used in this context? nope. Thing is, you ARE assigning. Here's a breakdown of the controlling part of the loop in english: --->while ($row = mysql_fetch_array

Re: [PHP] while loop

2001-04-09 Thread Brian Clark
Hi Zeus, @ 1:58:56 AM on 4/10/2001, Zeus wrote: > Isn't the '=' operator suppose to be used for assigning and not for > evaluation. In this case, it /is/ used for assignment. print $row['some_column']; ... >> > Isn't this suppose to be an infinite loop? >> > >> > while ($row is assigned to m

Re: [PHP] while loop

2001-04-09 Thread Brian Clark
Hi Jacky, @ 1:58:40 PM on 4/10/2001, Jacky@lilst wrote: > Here I got this script: > $queryoffers = "SELECT * FROM MiniOffers WHERE hotel_id = '$hotelID' > ORDER BY start_date ASC"; > $resultofrs = mysql_query($queryoffers, $connection) or die(mysql_error()); > while($row = mysql_fetch_arra

[PHP] Zend IDE 1.10 and Debugger Mini-review

2001-04-09 Thread John
http://php.weblogs.com/zend_ide_debugger "But we didn't get the Zend IDE to do typing. We want to use it for the Debugger stuff. Now global and local variables are visible in the Variables tab. You can drill down into arrays and objects to look at their values." -- PHP General Mailing List (ht

Re: [PHP] while loop

2001-04-09 Thread [EMAIL PROTECTED]
Here I got this script: $queryoffers = "SELECT * FROM MiniOffers WHERE hotel_id = '$hotelID' ORDER BY start_date ASC"; $resultofrs = mysql_query($queryoffers, $connection) or die(mysql_error()); while($row = mysql_fetch_array($resultofrs)) $IsAva = $row[6]; } and it keep saying "

Re: [PHP] while loop

2001-04-09 Thread Zeus
Isn't the '=' operator suppose to be used for assigning and not for evaluation. I thought '==' should be used in this context? Zeus - Original Message - From: David Robley <[EMAIL PROTECTED]> To: Zeus <[EMAIL PROTECTED]>; Michael Hall <[EMAIL PROTECTED]>; Jacky <[EMAIL PROTECTED]> Cc: <[

Re: [PHP] while loop

2001-04-09 Thread David Robley
On Tue, 10 Apr 2001 15:16, Zeus wrote: > > $query = mysql_query("some SQL here"); > > while ($row = mysql_fetch_array($query)) { > > do stuff; > > } > > Isn't this suppose to be an infinite loop? > > while ($row is assigned to mysql_fetch_array($query)) { > do stuffs; > } > > someone correct me if

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

2001-04-09 Thread elias
can you show me some code? basically when you provide an invalid link to any MySql function this error occur. -elias http://www.kameelah.org/eassoft ""Nathan Roberts"" <[EMAIL PROTECTED]> wrote in message 9atdps$kgv$[EMAIL PROTECTED]">news:9atdps$kgv$[EMAIL PROTECTED]... > I am trying to get to

RE: [PHP] while loop

2001-04-09 Thread Jason Murray
> Isn't this suppose to be an infinite loop? > > while ($row is assigned to mysql_fetch_array($query)) { > do stuffs; > } > > someone correct me if I'm wrong? They key here is that there's a single "=" in the condition. ... this is actually "while 'row equals the result of mysql_fetch_array

Re: [PHP] Adding GD for win PHP

2001-04-09 Thread elias
Basically you need php_gd.dll then you need to modify your php.ini and un-comment the line which looks line: ;extension=php_gd.dll and it works fine. i'm running WinME+PWS. -elias http://www.kameelah.org/eassoft "Brandon Orther" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL

Re: [PHP] while loop

2001-04-09 Thread Zeus
> $query = mysql_query("some SQL here"); > while ($row = mysql_fetch_array($query)) { > do stuff; > } Isn't this suppose to be an infinite loop? while ($row is assigned to mysql_fetch_array($query)) { do stuffs; } someone correct me if I'm wrong? Zeus -- PHP General Mailing List (http://ww

Re: [PHP] login & security

2001-04-09 Thread David Minor
read this tutorial: http://www.zend.com/zend/tut/authentication.php also, I have implemented this and am very happy with it: http://phortify.sourceforge.net Best of luck, dm on 4/9/01 8:19 PM, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: > From: "kaab kaoutar" <[EMAIL PROTECTED]> > Date: Mon

Re: [PHP] Edit crontab to set schedule..

2001-04-09 Thread Brian Clark
Hi E, @ 11:35:17 PM on 4/9/2001, E K L wrote: > I tried to edit the crontab file in this directory /etc to set > schedule to run some programs. Are you talking about /etc/cron.allow and /etc/cron.deny? If cron.allow exists, your login has to be there. If cron.deny exists, your login must not

[PHP] Back Button Dilemma's

2001-04-09 Thread RealGM
Hi Guys, I know everywhere it says that it is not possible to actually disable the back button, and people have offered some solutions that have not worked for me, this is why I am emailing this list. I have a form which displays the same page with new content (controlled by a counter) in a l

RE: [PHP] Another Select question

2001-04-09 Thread Peter Houchin
Thanks :> -Original Message- From: Alvin Tan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 10, 2001 2:32 PM To: Peter Houchin; Php-General@Lists. Php. Net Subject: RE: [PHP] Another Select question Try >Ultra 1 @lvin -Original Message- From: Peter Houchin [ma

RE: [PHP] Another Select question

2001-04-09 Thread Jason Murray
> Ultra 1 This shouldn't work. It will produce: Ultra 1 Try moving your " and a space: >Ultra 1 -- 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-mail: [EMAIL PR

RE: [PHP] Another Select question

2001-04-09 Thread Alvin Tan
Try >Ultra 1 @lvin -Original Message- From: Peter Houchin [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 10, 2001 12:30 PM To: Php-General@Lists. Php. Net Subject: [PHP] Another Select question can some one tell me if this should work or not please? Ultra 1 as i cant seem to get it

[PHP] Another Select question

2001-04-09 Thread Peter Houchin
can some one tell me if this should work or not please? Ultra 1 as i cant seem to get it working even if i change SELECTED to OPTION Peter

Re: [PHP] what could cause the maximum execution time exceeded?

2001-04-09 Thread David Robley
On Wed, 11 Apr 2001 01:32, Jacky wrote: > Hi people > I ran a PHP page and there was an error said below: > Fatal error Maximum execution time of 30 seconds exceeded in > include/getRoomDesc.php4 What could cause this?? The script is running for more than 30 seconds. As to what causes it - look

Re: [PHP] Why a javascript have problem if it is dynamic load?

2001-04-09 Thread Carfield Yim
Jean-Arthur Silve wrote: > Hi ! > > don't you think that the problem comes from : window.history.go(0); located > in your populateTown function ? > I guess that Netscape reload you page when you tell "history.go(0)" Thx, I have solve my problem -- PHP General Mailing List (http://www.php.net/

Re: [PHP] what could cause the maximum execution time exceeded?

2001-04-09 Thread trogers
Hi possibly a loop running endlessly.. Tom At 11:02 AM 10/04/01 -0500, Jacky wrote: >Hi people >I ran a PHP page and there was an error said below: >Fatal error Maximum execution time of 30 seconds exceeded in >include/getRoomDesc.php4 >What could cause this?? >Jack >[EMAIL PROTECTED] >"There i

[PHP] what could cause the maximum execution time exceeded?

2001-04-09 Thread Jacky
Hi people I ran a PHP page and there was an error said below: Fatal error Maximum execution time of 30 seconds exceeded in include/getRoomDesc.php4 What could cause this?? Jack [EMAIL PROTECTED] "There is nothing more rewarding than reaching the goal you set for yourself"

Re: [PHP] Edit crontab to set schedule..

2001-04-09 Thread E K L
Then, what am i suppose to do to solve the problem? Please consult >From: Lewis Bergman <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >CC: [EMAIL PROTECTED] >Subject: Re: [PHP] Edit crontab to set schedule.. >Date: Mon, 9 Apr 2001 22:44:25 -0500 (CDT) > > > and i have this in mailbox when the s

[PHP] Re:HTML front end for building page logic online

2001-04-09 Thread Dennis Gearon
I found something online that is an /*application*/ that does pretty close to what I'd like to see in my previous post. I'd like to have a front end that could put the pieces together into one file. The application is "libero", at http://www.imatix.com/. Libero does require that the user hand inse

Re: [PHP] HELP...Installation of PHP on Debian Linux!

2001-04-09 Thread Wayne Topa
Subject: [PHP] HELP...Installation of PHP on Debian Linux! Date: Mon, Apr 09, 2001 at 11:48:17AM -0500 In reply to:Frank K Quoting Frank K([EMAIL PROTECTED]): > > I am having trouble installing PHP4 on my linux machine. I downloaded to source > and i did a ./configure then a ma

Re: [PHP] Edit crontab to set schedule..

2001-04-09 Thread Lewis Bergman
> and i have this in mailbox when the scheduling failed: > your terminal lacks the ability to clear the screen or position the > cursor wget has always worked well for me. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

[PHP] Edit crontab to set schedule..

2001-04-09 Thread E K L
Hi all, I tried to edit the crontab file in this directory /etc to set schedule to run some programs. But, i failed to do so as the schedule doesn't work. I'm asking if anybody can help me to solve the problem. Below are the information: command written: 10 11 * * * root lynx -dump http://192.

Re: [PHP-CVS] cvs: php4 /ext/sockets sockets.c

2001-04-09 Thread Jason Greene
Everyone, Can I merge this into the current RC? This should not cause any problems. -Jason - Original Message - From: "Jason Greene" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 09, 2001 10:16 PM Subject: [PHP-CVS] cvs: php4 /ext/sockets sockets.c > jason Mon Apr

Re: [PHP] & PHP

2001-04-09 Thread trogers
Hi I do it this way: ' ; ?> must use single quotes Tom At 04:38 PM 9/04/01 -0400, Gary wrote: >Hi All, > When using the dtd below on a page that has a form with php. I get a > parser error for am I going to have to go back to a > HTML 4.01 dtd or can I do something like escape the ? ? > >

[PHP-CVS] cvs: php4 /ext/sockets sockets.c

2001-04-09 Thread Jason Greene
jason Mon Apr 9 20:16:06 2001 EDT Modified files: /php4/ext/sockets sockets.c Log: Fix for PR #9729, 9664, 9656, 8667. All compilers on Solaris should build this extension correctly now. It turns out the SUN CC, by default, enables a define that enables t

[PHP] Libcurl problems

2001-04-09 Thread Jason Murray
Hi everyone, I'm having a few issues with libcurl. Judging from what I've seen in the PHP manual, this should work: http://www.inww.com"); // Destination URL curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); // Output to a variable curl_setopt($curl, CURLOPT_POST, 1);

Re: [PHP] last three characters of a string

2001-04-09 Thread Jack Dempsey
echo "last 3 chars are " . substr($string,-3); Joseph Bannon wrote: > > I need to examine the last 3 characters of a string. Is there code that does > that? > > J > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-m

Re: [PHP] last three characters of a string

2001-04-09 Thread David Robley
On Tue, 10 Apr 2001 12:18, Joseph Bannon wrote: > I need to examine the last 3 characters of a string. Is there code that > does that? > > J You can extract them with substr - there are examples in the docs which demonstrate the use of negative start parameters to work backwards from the end of

Re: [PHP] last three characters of a string

2001-04-09 Thread Brian Clark
Hi Joseph, @ 10:48:03 PM on 4/9/2001, Joseph Bannon wrote: > I need to examine the last 3 characters of a string. Is there code > that does that? -Brian -- PGP is spoken here: 0xE4D0C7C8 Please do not carbon copy me on list replies. -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Array Sort?

2001-04-09 Thread Chris Anderson
heh, sounds fun. Oh well Thanks - Original Message - From: "David Robley" <[EMAIL PROTECTED]> To: "Chris Anderson" <[EMAIL PROTECTED]>; "Chris Anderson" <[EMAIL PROTECTED]>; "PHP" <[EMAIL PROTECTED]> Sent: Monday, April 09, 2001 8:47 PM Subject: Re: [PHP] Array Sort? > On Fri, 6 Apr 200

[PHP] last three characters of a string

2001-04-09 Thread Joseph Bannon
I need to examine the last 3 characters of a string. Is there code that does that? J -- 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-mail: [EMAIL PROTECTED]

[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 PROTECTED] To conta

[PHP] WHAT IF I DONT WANT TO USE ZEND......(help)

2001-04-09 Thread Dallas K.
But I still want to encode my scripts AND have them run on all differant platforms AND run with little or no setup by the user??? What other alternatives are out there? I know about APC but it only seems to run on windows. I need somthing that I can show my client here soon. so wha

Re: [PHP] Controlling just size with regular expressions

2001-04-09 Thread CC Zona
[quotes restored to bottom-posting order for clarity] In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] ("Johnson, Kirk") wrote: > > I need a regular expression that accepts *anything* without > > restrictions, > > only that the size of the string should be between (for > > instance) 0 and 9

Re: [PHP] while loop

2001-04-09 Thread Michael Hall
$query = mysql_query("some SQL here"); while ($row = mysql_fetch_array($query)) { do stuff; } Mick On Tue, 10 Apr 2001, Jacky wrote: > Hi people > I am more like ASP programmer and new to PHP, In ASP, when we want to take all >records in dayabase to display. After we did do the query

Re: [PHP] while loop

2001-04-09 Thread David Robley
On Tue, 10 Apr 2001 22:52, Jacky wrote: > Hi people > I am more like ASP programmer and new to PHP, In ASP, when we want to > take all records in dayabase to display. After we did do the query, we > call " Do while not RS.EOF ( mean do while not end of record file) , > and display record accrodin

Re: [PHP] & PHP

2001-04-09 Thread Brian Clark
Hi osium, @ 4:23:17 PM on 4/9/2001, [EMAIL PROTECTED] wrote: > I dunno if this is of any help, but when I use XML and php on the same page, > what I do to bypass that is just have php echo the XML. > echo ""; ... I think you meant: '; ?> -Brian -- PGP is spoken here: 0xE4D0C7C8 Please d

Re: [PHP] while loop

2001-04-09 Thread Lindsay Adams
On 4/10/01 6:22 AM, "Jacky" <[EMAIL PROTECTED]> wrote: > Hi people > I am more like ASP programmer and new to PHP, In ASP, when we want to take all > records in dayabase to display. After we did do the query, we call " Do while > not RS.EOF ( mean do while not end of record file) , and display

Re: [PHP] huge PHP file, hardcore processing

2001-04-09 Thread Christian Dechery
At 18:40 9/4/2001 -0700, you wrote: >On 4/9/01 6:38 PM, "Christian Dechery" <[EMAIL PROTECTED]> wrote: > > > At 10:23 10/4/2001 +0900, you wrote: > >> IIS ISAPI(PHP4.0.4pl1 and PHP4.0.5RC1) does not work well for me and > too many > >> problems. So I switched to Apache. However, ob_implicit_flush

Re: [PHP] huge PHP file, hardcore processing

2001-04-09 Thread Lindsay Adams
On 4/9/01 6:38 PM, "Christian Dechery" <[EMAIL PROTECTED]> wrote: > At 10:23 10/4/2001 +0900, you wrote: >> IIS ISAPI(PHP4.0.4pl1 and PHP4.0.5RC1) does not work well for me and too many >> problems. So I switched to Apache. However, ob_implicit_flush() seems slows >> things down on W2K/Apache/PHP

[PHP] while loop

2001-04-09 Thread Jacky
Hi people I am more like ASP programmer and new to PHP, In ASP, when we want to take all records in dayabase to display. After we did do the query, we call " Do while not RS.EOF ( mean do while not end of record file) , and display record accroding to the query. Is there anything that do teh sa

Re: [PHP] populating dropdown list problems

2001-04-09 Thread David Robley
On Tue, 10 Apr 2001 04:37, Jason Dulberg wrote: > I would like to populate a dropdown list from a particular field of a > bunch of records. > Here's what I have so far on the modify page but it doesn't list stuff > from the database, all it prints is the number 1 which isn't in any of > the record

Re: [PHP] huge PHP file, hardcore processing

2001-04-09 Thread Christian Dechery
At 10:23 10/4/2001 +0900, you wrote: >IIS ISAPI(PHP4.0.4pl1 and PHP4.0.5RC1) does not work well for me and too many >problems. So I switched to Apache. However, ob_implicit_flush() seems slows >things down on W2K/Apache/PHP4.0.4RC1 also. (ob_implicit_flush() may slow >things >down, but it's more

Re: [PHP] huge PHP file, hardcore processing

2001-04-09 Thread Yasuo Ohgaki
IIS ISAPI(PHP4.0.4pl1 and PHP4.0.5RC1) does not work well for me and too many problems. So I switched to Apache. However, ob_implicit_flush() seems slows things down on W2K/Apache/PHP4.0.4RC1 also. (ob_implicit_flush() may slow things down, but it's more apparent than my Linux/Apache box) You may

php-general Digest 10 Apr 2001 01:19:52 -0000 Issue 618

2001-04-09 Thread php-general-digest-help
php-general Digest 10 Apr 2001 01:19:52 - Issue 618 Topics (messages 47775 through 47910): Re: isset() VS if($var) 47775 by: Jesper Blomström 47776 by: Phil Driscoll 47779 by: PHPBeginner.com 47783 by: Jesper Blomström Re: URL FROM IP 4 by: troge

Re: [PHP] & PHP

2001-04-09 Thread osium
I dunno if this is of any help, but when I use XML and php on the same page, what I do to bypass that is just have php echo the XML. echo ""; > Hi All, >When using the dtd below on a page that has a form with php. I get a > parser error for am I going to have to go back to > a HTML 4.01 d

Re: [PHP] Encoding

2001-04-09 Thread Yasuo Ohgaki
Take a look at www.zend.com for Zend Encoder or http://apc.communityconnect.com/ and get 1.0.9 source. Look for file name like README.Compiler. Regards, -- Yasuo Ohgaki ""Kevin Pate"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am creating a PHP/Apache

Re: [PHP] & PHP

2001-04-09 Thread Philip Olson
> @ 8:13:49 PM on 4/9/2001, Gary wrote: > > ... > > I was afraid it would turn out like that. I hope our host will > > disable the short tags for us. > I'm not sure, but you may be able to specify that in an .htaccess > file. Check the docs on that (maybe search for htaccess). Yes it can, lik

[PHP] Encoding

2001-04-09 Thread Kevin Pate
I am creating a PHP/Apache/PostgreSQL project for a client and I want to keep them from "prying" at my source code. How can I encode or compile the PHP source code into a binary format? Kevin Pate RHCE / MCSE / CCNA Pate Consulting [EMAIL PROTECTED] www.pateconsulting.com main 832.237.5920 fax 8

Re: [PHP] Array Sort?

2001-04-09 Thread David Robley
On Fri, 6 Apr 2001 18:33, Chris Anderson wrote: > Currently I am using the sort() command to sort an array. Unfortunately > it uses the ascii number so all words starting with uppercase are > before lowercase. Is there a case insensitive alphabetical sort that I > don't know of? Thanks in advance

Re: [PHP] & PHP

2001-04-09 Thread Brian Clark
Hi Gary, @ 8:13:49 PM on 4/9/2001, Gary wrote: ... > I was afraid it would turn out like that. I hope our host will > disable the short tags for us. I'm not sure, but you may be able to specify that in an .htaccess file. Check the docs on that (maybe search for htaccess). -Brian -- PGP is sp

Re: [PHP] Finer points of debugging: vardump vs. print_r

2001-04-09 Thread Plutarck
I use print_r on arrays, and var_dump on everything else. print_r will not tell you if a variable is NULL, but var_dump will. So I usually use both. -- Plutarck Should be working on something... ...but forgot what it was. ""John Lim"" <[EMAIL PROTECTED]> wrote in message 9asuq0$f1n$[EMAIL PRO

RE: [PHP] L?

2001-04-09 Thread Philip Olson
You may want to look at class : Numbers_Roman which can be viewed here : http://cvs.php.net/viewcvs.cgi/php4/pear/Numbers/Roman.php regards, philip On Tue, 10 Apr 2001, Opec Kemp ( Ozemail ) wrote: > Try this site > > http://www.cod.edu/people/faculty/lawrence/romaindx.htm > > > > > -

[PHP] huge PHP file, hardcore processing

2001-04-09 Thread Christian Dechery
I have a huge (at least I think, for a script anyway) PHP script... it is over 1.000 lines of code. And it updates (do an entire DELETE-ALL / LOAD-ALL) an SQL Server database (over 35MB). It runs for over an hour (sometimes 2hs)... and I divided it into steps... so each step is a function in th

[PHP] Array Sort?

2001-04-09 Thread Chris Anderson
Currently I am using the sort() command to sort an array. Unfortunately it uses the ascii number so all words starting with uppercase are before lowercase. Is there a case insensitive alphabetical sort that I don't know of? Thanks in advance ^_^

RE: [PHP] L?

2001-04-09 Thread Opec Kemp \( Ozemail \)
Try this site http://www.cod.edu/people/faculty/lawrence/romaindx.htm > -Original Message- > From: Kurth Bemis [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 10, 2001 10:14 AM > To: [EMAIL PROTECTED] > Subject: [PHP] L? > > > what does the roman numeral L mean? > > can someone po

[PHP] L?

2001-04-09 Thread Kurth Bemis
what does the roman numeral L mean? can someone point me to a page that has all of the roman numerals and their English equivlents? i forgot? ~kurth -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[PHP-CVS] cvs: php4 /ext/mcrypt mcrypt.c

2001-04-09 Thread Derick Rethans
derick Mon Apr 9 17:09:18 2001 EDT Modified files: /php4/ext/mcryptmcrypt.c Log: - Removed debug thing Index: php4/ext/mcrypt/mcrypt.c diff -u php4/ext/mcrypt/mcrypt.c:1.47 php4/ext/mcrypt/mcrypt.c:1.48 --- php4/ext/mcrypt/mcrypt.c:1.47 Mon Apr

Re: [PHP] & PHP

2001-04-09 Thread Gary
Brian Clark wrote: > Hi Gary, > > @ 4:38:17 PM on 4/9/2001, Gary wrote: > > >> When using the dtd below on a page that has a form with php. I get a >> parser error for am I going to have to go back >> to a HTML 4.01 dtd or can I do something like escape the ? ? > > >> > > > > http:/

[PHP-CVS] cvs: php4 /ext/mcrypt mcrypt.c

2001-04-09 Thread Derick Rethans
derick Mon Apr 9 17:07:54 2001 EDT Modified files: /php4/ext/mcryptmcrypt.c Log: - Fix for bug #8839 - MINFO updated to use smart_str's Index: php4/ext/mcrypt/mcrypt.c diff -u php4/ext/mcrypt/mcrypt.c:1.46 php4/ext/mcrypt/mcrypt.c:1.47 --- php4/ext/m

Re: [PHP] putting a list of data into 3 columns?

2001-04-09 Thread DRN
Lindsay Adams <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... okay. your solution is not going to scale well, is it. if you have more than nine items, you have to rewrite your code. I (sort of) understand your solution, but I don't see how my solution is not goi

Re: [PHP] putting a list of data into 3 columns?

2001-04-09 Thread Lindsay Adams
okay. your solution is not going to scale well, is it. if you have more than nine items, you have to rewrite your code. here is what I did: I created this table in mysql from the command line as follows: mysql> create table tabletest ( -> id int unsigned primary key not null auto_increment);

RE: [PHP] Controlling just size with regular expressions

2001-04-09 Thread Johnson, Kirk
I think [.]{0,9} will get it. Kirk > -Original Message- > From: Jorge Alvarez [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 09, 2001 3:38 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Controlling just size with regular expressions > > > Hi there, > > I need a regular expression that

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

2001-04-09 Thread Nathan Roberts
I am trying to get to grips with managing data in mysql, am am currentky working on deleting records I have worked through a turorial - no problems, but now I am trying to apply it to my own database, I am getting the error Warning: Supplied argument is not a valid MySQL result resource in o

[PHP] Controlling just size with regular expressions

2001-04-09 Thread Jorge Alvarez
Hi there, I need a regular expression that accepts *anything* without restrictions, only that the size of the string should be between (for instance) 0 and 9 characters. I know the {0,9} trick, but how do I accept *anything* in a form field? TIA, Jorge -- PHP General Mailing List (http://

Re: [PHP] sockets

2001-04-09 Thread Lindsay Adams
well, if they did, and they made a full telnet class, then great!! give us all the class!! BUT, if they wrote their own socket listener, essentially their own protocol, then it would work. but if you are using sockets to connect to a real telnet server (as it were) then you MUST have the negotia

RE: [PHP] sockets

2001-04-09 Thread Matthias Winkelmann
> -Original Message- > From: Lindsay Adams [mailto:[EMAIL PROTECTED]] > > No, your problem is most likely that you didn't do anything with > the telnet > negotiation phase. [..] That doesn't sound very encouraging :-( Anyway, I got that idea of splitting an application into a codebase

Re: [PHP] Parse error after end of file

2001-04-09 Thread DRN
Kurth Bemis <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... | At 03:59 PM 4/9/2001, DRN wrote: | you need to make sure that ALL your curly brackets are closed and that all | lines that require semi-colons have them | | ~kurth D'oh, I don't know how I didn't

Re: [PHP] MySQL broken in 4.0.5RC6

2001-04-09 Thread B. van Ouwerkerk
>True...but I used the same php.ini as with php4.0.4pl1, so the location of >all files is identical. If I don't specify a location in 4.0.4pl1, why >should i need one in 4.0.5rc6? Dunno, I don't have 4.0.5rc6 here, only 4.0.4pl1 so no change to test it.. or to take a look at the code.. It's pa

Re: [PHP] putting a list of data into 3 columns?

2001-04-09 Thread DRN
Lindsay Adams <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... | This is exactly what I sent you. | You have to realize that you can't print down one column, and then start a | new one. | You have to print across, left to right before you go down. | You have to mo

RE: [PHP-CVS] cvs: php4 /ext/standard dir.c

2001-04-09 Thread Sean R. Bright
Damn me and my spelling... "Constant should be case sensitive"! :) > -Original Message- > From: Sean Bright [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 09, 2001 5:13 PM > To: [EMAIL PROTECTED] > Subject: [PHP-CVS] cvs: php4 /ext/standard dir.c > > > elixerMon Apr

Re: [PHP] & PHP

2001-04-09 Thread Brian Clark
Hi Gary, @ 4:38:17 PM on 4/9/2001, Gary wrote: > When using the dtd below on a page that has a form with php. I get a > parser error for am I going to have to go back > to a HTML 4.01 dtd or can I do something like escape the ? ? > ... http://www.php.net/manual/en/configuration.php#ini.shor

Re: [PHP] link variable to an html page...

2001-04-09 Thread Lindsay Adams
use a get encoded string. as many variables as you can fit inside the limits of a get string. script.php?variable1=something&variable2=somethingelse&... On 4/9/01 2:03 PM, "Curtis" <[EMAIL PROTECTED]> wrote: > Hello, > I have one that I am stuck on. > > I have a link, with a variable attached

Re: [PHP] link variable to an html page...

2001-04-09 Thread Alexander Skwar
So sprach Curtis am Mon, Apr 09, 2001 at 05:03:14PM -0400: > I have a link, with a variable attached to it. So, just a random string. > I need to pass this variable to an HTML page,,, > Also, can I pass more than one variable? use GET? Possibly with get, if you have a form, yes. Else:

[PHP-CVS] cvs: php4 /ext/standard dir.c

2001-04-09 Thread Sean Bright
elixer Mon Apr 9 14:12:54 2001 EDT Modified files: /php4/ext/standard dir.c Log: Constand should be case sensitive. # Thanks Sterling Index: php4/ext/standard/dir.c diff -u php4/ext/standard/dir.c:1.61 php4/ext/standard/dir.c:1.62 --- php4/ext/standard/

Re: [PHP] Finer points of debugging: vardump vs. print_r

2001-04-09 Thread Morgan Curley
I generally include the following function: function dump( $label, $input ){ echo( "" ); echo( "$label\n" ); print_r( $input ); echo( "" ); return 1; } or if you like javascript this pops up an

[PHP] problem with ftp-support from php

2001-04-09 Thread Dennis Schulz
When i try to connect to an server with my php-skript I get the error message: "Warning: Unable to find ftpbuf 0 in /home/ftpcenter/html/Anmelden/schritt2.php on line 194" But this is not ever. Only on special servers. With some it goes with problems. Can somebody tell me what this errormessage m

[PHP-CVS] cvs: php4 /ext/standard dir.c

2001-04-09 Thread Jon Parise
jon Mon Apr 9 14:08:47 2001 EDT Modified files: /php4/ext/standard dir.c Log: Fix whitespace (use tabs). Index: php4/ext/standard/dir.c diff -u php4/ext/standard/dir.c:1.60 php4/ext/standard/dir.c:1.61 --- php4/ext/standard/dir.c:1.60Mon Apr 9

  1   2   3   >