Re: [PHP] exec, system , backtick

2002-12-27 Thread gamin
"Michael Sims" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Sat, 28 Dec 2002 02:55:44 +0530, you wrote: <--sniped --> #! /usr/bin/php -q &1`; echo "the value in r is $r"; ?> If you need more info on the "2>&1" part, consult the Advanced Bash Scripting Guid

Re: [PHP] exec, system , backtick

2002-12-27 Thread gamin
"Maciek Ruckgaber Bielecki" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > how about : > #!/usr/local/bin/php -q > > $file = 'no_file'; > > if(!is_file($file)) > $mess = "no such file"; > else > $mess = shell_exec("ls $file"); > >

[PHP] some multiple array problems...

2002-12-27 Thread Victor
I am trying to make a calculator that figures out the total price (calculates tax sums up price for print size times quantity etc.) and the mechanism all works fine - but only when the user checks SEQUENTIALLY from their list of available picture. The user should be able to select from their list

Re: [PHP] php app frameworks?

2002-12-27 Thread Javier
[EMAIL PROTECTED] (Jason Sheets) wrote in [EMAIL PROTECTED]:">news:[EMAIL PROTECTED]: Have you got any documentation of it to share? > If you go to www.hotscripts.com they have several PHP application > frameworks listed. > > I've investigated PHPLIB, and horde (http://www.horde.org) but wound

Re: [PHP] php app frameworks?

2002-12-27 Thread michael kimsal
Jason Sheets wrote: If you go to www.hotscripts.com they have several PHP application frameworks listed. I've investigated PHPLIB, and horde (http://www.horde.org) but wound up creating my own framework because I have not yet found a well documented framework that does what I need it to do. Wh

Re: [PHP] PHP 4.3.0 released

2002-12-27 Thread The Doctor
On Fri, Dec 27, 2002 at 11:12:22AM -0500, Andrei Zmievski wrote: > The PHP developers are pleased to announce the immediate availability of > PHP 4.3.0, the latest and greatest version of this extremely popular and > widely used scripting language. > > This release contains a multitude of changes,

[PHP] object vs functions

2002-12-27 Thread Mat Harris
if i have a php script containing some functions, then all i have to do is include() the file and then call the functions. if i had an object (taking the example from php.net): do_foo(); ?> what is the point of having the object, when i could just call the functions? what a

Re: [PHP] exec, system , backtick

2002-12-27 Thread Michael Sims
On Sat, 28 Dec 2002 02:55:44 +0530, you wrote: >I tried a simple command line script, in all cases no_file does not exist. I >do not want the command line script to show the error on the screen but to >deliver it in the variable $r. But alas, in all 3 cases i get 'rm: canoot >remove `no_file': No

Re: [PHP] php app frameworks?

2002-12-27 Thread Jason Sheets
If you go to www.hotscripts.com they have several PHP application frameworks listed. I've investigated PHPLIB, and horde (http://www.horde.org) but wound up creating my own framework because I have not yet found a well documented framework that does what I need it to do. Jason On Fri, 2002-12-27

php-general Digest 28 Dec 2002 00:13:54 -0000 Issue 1788

2002-12-27 Thread php-general-digest-help
php-general Digest 28 Dec 2002 00:13:54 - Issue 1788 Topics (messages 129424 through 129481): Re: Cheap Hosting 129424 by: Shashwat Nagpal 129428 by: David T-G 129442 by: Stephen 129445 by: 1LT John W. Holmes 129447 by: Edward Peloke 129451 by:

[PHP] Re: Flow diagrams

2002-12-27 Thread Manuel Lemos
Hello, On 12/27/2002 06:00 PM, Sridhar Moparthy wrote: I have information about some processes in the database that tells different process dependencies. I need to display that information as a process flow diagram. Do you know how to prepare and display process flow diagrams dynamically. Do you

Re: [PHP] exec, system , backtick

2002-12-27 Thread Maciek Ruckgaber Bielecki
how about : #!/usr/local/bin/php -q regards, Maciek Ruckaber Bielecki On Sat, 28 Dec 2002, gamin wrote: > > "Maciek Ruckgaber Bielecki" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > try : > > > $message = shell_exec('rm file'); > > ?> > > > Tried

[PHP] Re: php app frameworks?

2002-12-27 Thread Javier
The only one I know is FuseBox www.fusebox.org. [EMAIL PROTECTED] (Jeff D. Hamann) wrote in [EMAIL PROTECTED]:">news:[EMAIL PROTECTED]: > What application frameworks are avail for php? > > Jeff. > -- *** s2r - public key: (http://leeloo.mine.nu/s2r-gmx.sig) -- PHP General Mailing List (h

Re: [PHP] exec, system , backtick

2002-12-27 Thread gamin
"Maciek Ruckgaber Bielecki" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > try : > $message = shell_exec('rm file'); > ?> Tried that too, :-( no success gamin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.ne

Re: [PHP] monster form and compression?

2002-12-27 Thread Jimmy Brake
IE has some bugs when you have big forms when using [] test with mozilla or netscape if thats the case -- then errr well umm use what works On Fri, 2002-12-27 at 12:50, Jeff D. Hamann wrote: > I have a monster form (really a funky grid - hey the client is always right) > that does not display

Re: [PHP] exec, system , backtick

2002-12-27 Thread Maciek Ruckgaber Bielecki
try : -- "Few are those who see with their own eyes and feel with their own hearts." Albert Einstein - Maciek Ruckaber Bielecki On Sat, 28 Dec 2002, gamin wrote: > H

Re: [PHP] Flow diagrams.-- Resending

2002-12-27 Thread Jimmy Brake
can you give us some examples of the data ... the example I would like to see is: based on this information this is what should be displayed On Fri, 2002-12-27 at 11:48, Sridhar Moparthy wrote: > Hi Every one, > > I have information about some processes in the database that tells different > p

[PHP] exec, system , backtick

2002-12-27 Thread gamin
Hello, Im running PHP 4.0.6 on Red Hat 7.2 I tried a simple command line script, in all cases no_file does not exist. I do not want the command line script to show the error on the screen but to deliver it in the variable $r. But alas, in all 3 cases i get 'rm: canoot remove `no_file': No such

Re: [PHP] directory list function?

2002-12-27 Thread Maciek Ruckgaber Bielecki
o of course !! mine won't work in !UNIX ;-) On Fri, 27 Dec 2002, Johannes Schlueter wrote: > On Friday 27 December 2002 21:46, Maciek Ruckgaber Bielecki wrote: > > depending on what you need, sometimes this does the trick for me :-) > > > >exec("ls path/",$files); > > > >

[PHP] [PHP-WIN] ftp_rawlist working as Admin and not working as normal user

2002-12-27 Thread Paul Menard
All, Seasons greeting to all. I'm running PHP version C:\>php-cgi.exe -v PHP 4.3.0RC2 (cgi-fcgi), Copyright (c) 1997-2002 The PHP Group Zend Engine v1.4.0, Copyright (c) 1998-2002 Zend Technologies under windows 2000 server for production and windows 2000 prof for development. I am using IIS 5 a

RE: [PHP] mysql_escape_string is deprecated?

2002-12-27 Thread John W. Holmes
> I was looking at the PHP 4.3 changelog, and it said that > mysql_escape_string is deprecated. Is this true, and if so, what should > I be using instead? Probably addslashes() or magic_quotes_gpc... ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get your copy to

Re: [PHP] monster form and compression?

2002-12-27 Thread Maciek Ruckgaber Bielecki
hi there !!! check your HTML code, probably you miss something, it may be why the form does not display properly always, have a look on WWW: http://www.w3c.org/People/Raggett/tidy/ :-) -- "Few are those who see with their own eyes an

[PHP] php app frameworks?

2002-12-27 Thread Jeff D. Hamann
What application frameworks are avail for php? Jeff. -- Jeff D. Hamann Hamann, Donald & Associates, Inc. PO Box 1421 Corvallis, Oregon USA 97339-1421 Bus. 541-753-7333 Cell. 541-740-5988 [EMAIL PROTECTED] www.hamanndonald.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] monster form and compression?

2002-12-27 Thread Jeff D. Hamann
I have a monster form (really a funky grid - hey the client is always right) that does not display entirely each time the form is displayed. Some times, quite repeatably, the bottom half of the form's select boxes will be blank (not good). Is there a way to compress the web page before it gets sent

Re: [PHP] directory list function?

2002-12-27 Thread Maciek Ruckgaber Bielecki
depending on what you need, sometimes this does the trick for me :-) exec("ls path/",$files); foreach($files as $value) { $elem .= $value."\n"; } echo $elem; --

Re: [PHP] directory list function?

2002-12-27 Thread Kevin Stone
There is no builtin function to do this in one step but it's not in anyway difficult.. http://www.php.net/manual/en/function.opendir.php -Kevin - Original Message - From: "Dade Register" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 27, 2002 1:34 PM Subject: [PHP] dir

[PHP] directory list function?

2002-12-27 Thread Dade Register
A question for you all. Is there a php function that could count the number of files in a dir? Using FreeBSD and php4.2.2 and Apache. Thanx. -Dade __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com --

Re: [PHP] Nested Arrays

2002-12-27 Thread Beauford.2002
OK, little bit of a brain cramp here. I wasn't clueing in that $tmp=mysql_fetch_array($res) was an array and was trying to do something again that was already there. Thanks for the help. Beauford - Original Message - From: "Marek Kilimajer" <[EMAIL PROTECTED]> To: "Beauford.2002" <[EMAIL

RE: [PHP] uploading + downloading Large files ...

2002-12-27 Thread James E Hicks III
This might be your answer. http://www.phpbuilder.com/columns/florian19991014.php3 James -Original Message- From: Jimmy Brake [mailto:[EMAIL PROTECTED]] Sent: Friday, December 27, 2002 1:31 PM To: [EMAIL PROTECTED] Subject: [PHP] uploading + downloading Large files ... Hi! My users nee

[PHP] mysql_escape_string is deprecated?

2002-12-27 Thread Leif K-Brooks
I was looking at the PHP 4.3 changelog, and it said that mysql_escape_string is deprecated. Is this true, and if so, what should I be using instead? -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the

Re: [PHP] uploading + downloading Large files ...

2002-12-27 Thread Andrew Brampton
There is a limit in the php.ini saying how big a upload can be. Also I beleive there might be a limit in apache, but I'm not sure. But uploading 100mb files over HTTP is a very dodgy thing to be doing, if anything goes wrong the user has to start again. Downloading 100mb is no problem, but uploadi

[PHP] uploading + downloading Large files ...

2002-12-27 Thread Jimmy Brake
Hi! My users need to upload and download large files (100 + megs). Right now I only allow 100k to be uploaded. Will I need to do anything to php/apache to make sure things continue to be reliable? My google search only found threads with bad endings and they had much smaller files. Should i just

Re: [PHP] Just need a link ;)

2002-12-27 Thread Michael J. Pawlowsky
Just make a php file with: \n"; echo "\n\n_SERVER\n"; print_r ($_SERVER); echo "\n\n_ENV\n"; print_r ($_ENV); echo "\n\n_COOKIE\n"; print_r ($_COOKIE); echo "\n\n_GET\n"; print_r ($_GET); echo "\n\n_POST\n"; pri

Re: [PHP] Just need a link ;)

2002-12-27 Thread Jason Sheets
You might look at the PHP manual, also create a page that executes the phpinfo() function, this will a lot of the variables you may be looking for. Jason On Fri, 2002-12-27 at 10:27, Brian J. Celenza wrote: > Hello! > > I'm looking for a link that contains a list/description of all the built in

[PHP] Just need a link ;)

2002-12-27 Thread Brian J. Celenza
Hello! I'm looking for a link that contains a list/description of all the built in $PHP_ variables (the ones that show browser type, etc.). Can't seem to locate them, if the page exists. Thanks! -- --- Brian J. Celenza [EMAIL PROTECTED]

Re: [PHP] Nested Arrays

2002-12-27 Thread Michael J. Pawlowsky
Stop thinking of it as a multidimesional array. It is simply an two dimensional array of two dimensional arrays. *** REPLY SEPARATOR *** On 27/12/2002 at 11:29 AM Beauford.2002 wrote: >Great. now can you explain why this works. I'm confused at how PHP knows >this is a m

Re: [PHP] Nested Arrays

2002-12-27 Thread Marek Kilimajer
while($tmp=mysql_fetch_array($res)) { // now $tmp is now an array (as the function name suggests) $rows[]=$tmp; // by assigning to $rows[], we make $rows an array, adding array $tmp as the last element } and this makes it multidimensional Beauford.2002 wrote: Great. now can you explain why

Re: [PHP] processform.php not found

2002-12-27 Thread Maciek Ruckgaber Bielecki
i gess it is just a small example of how control your program flux using the propertie ACTION of the tag, if the code is not included on the CD as Stephen points, it will be explained later, so at this point in the book you probably should be paying attention to the order in which scripts are exec

Re: [PHP] Nested Arrays

2002-12-27 Thread Beauford.2002
Great. now can you explain why this works. I'm confused at how PHP knows this is a multidimensional array. I was trying something like $tmp[][]=???. TIA - Original Message - From: "Marek Kilimajer" <[EMAIL PROTECTED]> Cc: "Beauford.2002" <[EMAIL PROTECTED]>; "PHP General" <[EMAIL PROTECT

RE: [PHP] Cheap Hosting

2002-12-27 Thread Steve Jackson
Dotserv are high response and fairly cheap depending on what you need. Or there's phpwebhosting.com http://www.dotserv.com http://www.phpwebhosting.com > -Original Message- > From: Edward Peloke [mailto:[EMAIL PROTECTED]] > Sent: 27 December 2002 18:29 > To: PHP List > Subject: RE: [PHP] C

Re: [PHP] CLI delay

2002-12-27 Thread Maciek Ruckgaber Bielecki
thanks guys sleep did the miracle for me :-) -- "Few are those who see with their own eyes and feel with their own hearts." Albert Einstein - Maciek Ruckaber Bielecki

[PHP] PHP 4.3.0 released

2002-12-27 Thread Andrei Zmievski
The PHP developers are pleased to announce the immediate availability of PHP 4.3.0, the latest and greatest version of this extremely popular and widely used scripting language. This release contains a multitude of changes, bug fixes and improvements over the previous one, PHP 4.2.3. It further el

Re: [PHP] processform.php not found

2002-12-27 Thread Stephen
My guess is they are explained later in the book for on the CD if it came with one. Most programming books do some with one now and days... - Original Message - From: "Cerebrimbor" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 27, 2002 8:38 AM Subject: [PHP] processfo

RE: [PHP] Cheap Hosting

2002-12-27 Thread Edward Peloke
I use www.ht-tech.net Very reliable and I currently pay $12.95 a month. Eddie -Original Message- From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED]] Sent: Friday, December 27, 2002 10:43 AM To: Stephen; Rick Emery Cc: PHP List Subject: Re: [PHP] Cheap Hosting That's only 8 days of work

[PHP] processform.php not found

2002-12-27 Thread Cerebrimbor
I'm reading "PHP and MySQL for Dummies", to try to develop a very small web database. In the examples, I see many references to: echo "" and echo "" but I have no php scripts called processform.php or checkAll.php. They seem to be fairly common scripts considering the number of Google hits I get

Re: [PHP] Cheap Hosting

2002-12-27 Thread 1LT John W. Holmes
That's only 8 days of work for a whole year of hosting... come on! :) John - Original Message - From: "Stephen" <[EMAIL PROTECTED]> To: "Rick Emery" <[EMAIL PROTECTED]> Cc: "PHP List" <[EMAIL PROTECTED]> Sent: Friday, December 27, 2002 10:29 AM Subject: Re: [PHP] Cheap Hosting > That i

[PHP] Re: Reg Ex for replacing or with \n

2002-12-27 Thread Tom Beddard
Yes, i thought it was simple, just wasn't escaping a forward slash $string = preg_replace( "/(|)/i" , "\n",$string); "Tom Beddard" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm new to using regular expressions so i'm struggling a bit in making an > expre

Re: [PHP] OOP and object references, not copies - how to do?

2002-12-27 Thread Rasmus Lerdorf
PHP can pass references to objects around exactly the same way you pass references to normal variables. -Rasmus On Thu, 26 Dec 2002, Erik Franzén wrote: > Say the you are going to create a simple forum and you want to have a number > of classes: > > Class Sql - handles the DB interface > Class U

Re: [PHP] Cheap Hosting

2002-12-27 Thread Stephen
That is way to expensive for me. I'm only 13 with a $25 a day paying job... - Original Message - From: "Rick Emery" <[EMAIL PROTECTED]> To: "Stephen" <[EMAIL PROTECTED]>; "PHP List" <[EMAIL PROTECTED]> Sent: Thursday, December 26, 2002 8:38 PM Subject: Re: [PHP] Cheap Hosting : www.nomon

[PHP] Reg Ex for replacing or with \n

2002-12-27 Thread Tom Beddard
I'm new to using regular expressions so i'm struggling a bit in making an expression to replace or with \n $string = preg_replace( "/(|)/i" , "\n",$string); which needless to say doesn't work. I'm sure its obvious, just need a bit of a pointer! Cheers Tom -- PHP General Mailing List (http:

[PHP] Re: Does PHP recognize multiple selections in a form?

2002-12-27 Thread Micah Bushouse
Sweet! It worked. Thanks a lot! btw: php|architect is good stuff. My dad was complaining about not being able to convert doc to pdf cheaply, and the next day I coincidentally got the first issue. He now uses the pdf converter at work! keep it up! ~Micah -- PHP General Mailing List (http:

RE: [PHP] Finding # of weekdays between 2 dates..

2002-12-27 Thread Chad Day
I should have specified, those dates were in US form.. so: $nowdate = mktime(0, 0, 0, 1, 4, 2002); $futuredate = mktime(0, 0, 0, 2, 5, 2002); $futuredate - $nowdate equals 2764800 ((2764800 / 86400) / 7) = 4.57142 then when floored, comes out to 4. The only thing I can think of possibly getting

[PHP] Re: [PHP-DEV] XML-Presentationsystem from the Conf2002

2002-12-27 Thread Derick Rethans
On Fri, 27 Dec 2002, Derick Rethans wrote: > On Fri, 27 Dec 2002, Tobias Schlitt wrote: > > > I saw the nice-looking presentationsystem, written in PHP and using XML, on > > the PHP-Conference this year. I liked that very much and think it's must for > > every PHP-related presentation. So, can an

[PHP] Re: [PHP-DEV] XML-Presentationsystem from the Conf2002

2002-12-27 Thread Derick Rethans
On Fri, 27 Dec 2002, Tobias Schlitt wrote: > I saw the nice-looking presentationsystem, written in PHP and using XML, on > the PHP-Conference this year. I liked that very much and think it's must for > every PHP-related presentation. So, can anyone tell me, where to download > the system? Has anyo

Re: [PHP] XML-Presentationsystem from the Conf2002

2002-12-27 Thread Rasmus Lerdorf
Check it out of cvs. It is in the pres2 directory. On Fri, 27 Dec 2002, Tobias Schlitt wrote: > Hi folks! > > I saw the nice-looking presentationsystem, written in PHP and using XML, on > the PHP-Conference this year. I liked that very much and think it's must for > every PHP-related presentatio

[PHP] XML-Presentationsystem from the Conf2002

2002-12-27 Thread Tobias Schlitt
Hi folks! I saw the nice-looking presentationsystem, written in PHP and using XML, on the PHP-Conference this year. I liked that very much and think it's must for every PHP-related presentation. So, can anyone tell me, where to download the system? Has anyone got it at home and could send me a qui

Re: [PHP] Does PHP recognize multiple selections in a form?

2002-12-27 Thread Marek Kilimajer
^^ Then $_POST['submitID'] will be an array with selected options Micah Bushouse wrote: grrr... I am trying to get several values from a selection form field (using multiple) into PHP. Is this possible? The code I'm using to test this is below. After running the code

Re: [PHP] Does PHP recognize multiple selections in a form?

2002-12-27 Thread Marco Tabini
Hello Micah-- Yes, PHP supports multiple selections, but you need to change the name of the control from submitID to submitID[], so that it will become an array once inside your script. Hope this helps! Marco -- php|architect - The Magazine for PHP Professionals The monthly magazi

Re: [PHP] executable

2002-12-27 Thread Michael J. Pawlowsky
Sure... with the use of the proper MIME type and if they have that MIME type mapped to that application. Think of a PDF.. it gets sent out with the header Content-type: application/pdf Your browser has a reference for that MIME type to link it to acrobat reader... so it opens up reader (or the plu

[PHP] Does PHP recognize multiple selections in a form?

2002-12-27 Thread Micah Bushouse
grrr... I am trying to get several values from a selection form field (using multiple) into PHP. Is this possible? The code I'm using to test this is below. After running the code and selecting more than one field, the last field (the greatest number) is the only one that shows up as the only in

Re: [PHP] executable

2002-12-27 Thread Marek Kilimajer
No, you cannot execute commands on the users machine. However, if you use the right content-type header and the user browser is set up to open movie streams in a player, you don't need it. Edward Peloke wrote: Hello all, Can php call an executable on the users machine? I have some divx movies

[PHP] executable

2002-12-27 Thread Edward Peloke
Hello all, Can php call an executable on the users machine? I have some divx movies and I want the user to be able to click on a link and the php page will open the divx player and start to stream the movie. is this possible? Thanks, Eddie -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Cheap Hosting

2002-12-27 Thread David T-G
Stephen -- ...and then Stephen said... % % Hello, Hi! % % I need a nice, reliable host for my new website. It needs to be fast, reliable, needs a good uptime, and some features. PHP and MySQL are the two I really need. Does anyone recomend one that's really cheap? So far I've found on, $5 a

Re: [PHP] Nested Arrays

2002-12-27 Thread Marek Kilimajer
Sorry, now I reminded myself this would cause a false element at the end of $rows, use this: while($tmp=mysql_fetch_array($res)) { $rows[]=$tmp; } Marek Kilimajer wrote: Simple: while($rows[]=mysql_fetch_array($res)) {} ($res is a mysql result resource) Beauford.2002 wrote: Thanks for th

Re: [PHP] Nested Arrays

2002-12-27 Thread Marek Kilimajer
Simple: while($rows[]=mysql_fetch_array($res)) {} ($res is a mysql result resource) Beauford.2002 wrote: Thanks for the info, but maybe I didn't give enough info. I have a mysql database with up to 10 rows and 5 fields in each row.. I have been reading up on some of the array functions, but h

Re: [PHP] php+gd 2.0.7 problems take 2

2002-12-27 Thread Marek Kilimajer
Check the gd library, you should likely install the one on the other machine cj wrote: Hi would any one know what the following error's are for/mean I am using gd 2.0.7 with gif support built in and php4.2.3 I am using the exact same gd version and php version as I used on another machine and it

[PHP] Re: Cheap Hosting

2002-12-27 Thread Shashwat Nagpal
I can suggest u the best then.. 40$ annually will be fine with you??? then mail me back! Cheers! Shashwat www.shashwat.com "Stephen" <[EMAIL PROTECTED]> wrote in message 001e01c2ad42$b4ff1d20$0200a8c0@melchior">news:001e01c2ad42$b4ff1d20$0200a8c0@melchior... Hello, I need a nice, reliabl

php-general Digest 27 Dec 2002 11:32:06 -0000 Issue 1787

2002-12-27 Thread php-general-digest-help
php-general Digest 27 Dec 2002 11:32:06 - Issue 1787 Topics (messages 129388 through 129423): Re: Open HTTPS connection 129388 by: Sean Burlington Re: Nested Arrays 129389 by: Weston Houghton 129390 by: Weston Houghton 129391 by: Wee Keat [Amorphosium]

RE: [PHP] Selecting what's for deletion

2002-12-27 Thread John W. Holmes
> Thanks John and Marek for your fast responses. I made the decision to > opt for the "hidden" tag option. Now, I'll show you the part of my code > that hangs when trying to make what I intend it to do. > > > > $query1 = "DELETE * FROM maracat WHERE catid = $catid"; > $re

Re: [PHP] CLI delay

2002-12-27 Thread Rick Widmer
At 03:55 AM 12/27/02 -0500, Maciek Ruckgaber Bielecki wrote: has anyone an idea of how can i do some kind of decent delay (instead of some shell_exec doing pings) :-P Have you tried sleep()? http://www.php.net/manual/en/function.sleep.php Rick -- PHP General Mailing List (http://www.ph

Re: [PHP] CLI delay

2002-12-27 Thread Marek Kilimajer
sleep(); usleep(); Maciek Ruckgaber Bielecki wrote: Hi guys !! im starting on this list today so hello to everyone :-) i have been programming in php for 2 years now, so i hope i may be helpfull. on the other hand im quite new to CLI PHP, an here my first question on the list : has anyone an id

[PHP] CLI delay

2002-12-27 Thread Maciek Ruckgaber Bielecki
Hi guys !! im starting on this list today so hello to everyone :-) i have been programming in php for 2 years now, so i hope i may be helpfull. on the other hand im quite new to CLI PHP, an here my first question on the list : has anyone an idea of how can i do some kind of decent delay (instead o

RE: [PHP] Selecting what's for deletion

2002-12-27 Thread Cesar Aracena
Thanks John and Marek for your fast responses. I made the decision to opt for the "hidden" tag option. Now, I'll show you the part of my code that hangs when trying to make what I intend it to do. $query1 = "DELETE * FROM maracat WHERE catid = $catid"; $result1 = mysql_qu

Re: [PHP] language internationalisation

2002-12-27 Thread Marek Kilimajer
Look at projects where it is done already (e.g. PhpNuke) If the strings are static (simple translation of static strings), keep it in a file as variables or constants, for dynamic content you may use separate table for language independent information and another table for language dependent info

Re: [PHP] Selecting what's for deletion

2002-12-27 Thread Marek Kilimajer
Make the "Delete" button a link with href="delcategory.php?catid=$catid", maybe with additional information so you can redirect the browser back to where it has been (page #, parent category ...) Cesar Aracena wrote: Hi all, I'm making the administration part of a site which handles categories