Re: [PHP] function problem

2005-01-03 Thread Viktor Popov
Hi! Thank you for the reply! I have change the function: function doReg($fname1="",$family1="",$company1="", $MOL1="", $dannum1="", $bulstat1="", $phone1="", $email1="", $username1="", $password1="", $payment1="", $maillist1="", $Addr1="", $City1="", $zipcode1="", $Country1="", $shippingName1=""

[PHP] Re: function problem

2005-01-03 Thread Viktor Popov
Hi, thank you for your reply! I'll consider carefully this holes. Thank you! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Using SSL

2005-01-03 Thread Jonel Rienton
Consulting the Apache documentation is better, seems like you just missed configuring the conf file of Apache. Have you created the certificate for your domain? SSL will not be loaded unless you configure it in the conf file(httpd.conf/apache2.conf) regards, http://jonel.road14.com -- I not kn

[PHP] or-die option - Opinions please...

2005-01-03 Thread gustav
Hi there all! I'm thinking of the "or die" suffix (or option or whatever it is called)... I can use or die together with opening a db. open_mysqldb("bla.bla.") or die("couldn't connect to db"); But this is just useful when developing? I don't want my users to see that a specific table can't be

Re: [PHP] or-die option - Opinions please...

2005-01-03 Thread Burhan Khalid
[EMAIL PROTECTED] wrote: Hi there all! I'm thinking of the "or die" suffix (or option or whatever it is called)... I can use or die together with opening a db. open_mysqldb("bla.bla.") or die("couldn't connect to db"); But this is just useful when developing? I don't want my users to see that a spe

Re: [PHP] unable to write a text file larger than 10Mb

2005-01-03 Thread Burhan Khalid
Sagar C Nannapaneni wrote: Hello All, This is very imp and urgent for me. I've a very large db on my remote website. I want to get a backup of that db. phpmyadmin is installed on the server..but if failed to create the backup (may b coz of the time outs). so i wrote my own class to get the backup.

[PHP] Re: function problem

2005-01-03 Thread Viktor Popov
Hi, Thank you for your reply! I have changed the function like this: function doReg($fname1="",$family1="",$company1="", $MOL1="", $dannum1="", $bulstat1="", $phone1="", $email1="", $username1="", $password1="", $payment1="", $maillist1="", $Addr1="", $City1="", $zipcode1="", $Country1="", $ship

[PHP] Calculate No Of Days

2005-01-03 Thread khuram noman
Hi Is there any function avialable in PHP to calculate the no of days by passing 2 dates like 1 argument is 1/1/2005 and the second one is 1/2/2005 then it returns the no of days or how can i do that if there is no builtin function . Regards Khuram Noman

[PHP] Register Globals=ON

2005-01-03 Thread HarryG
Which process is better to use in PHP? Having register_globals=on and referring to variables as if($name){} or using $_GET & $_POST statements like if(isset($_GET['name']))? What is the main advantage/disadvantage in both cases. Thanks HarryG -- PHP General Mailing List (http://www.php.net/) T

Re: [PHP] unable to write a text file larger than 10Mb

2005-01-03 Thread Sagar C Nannapaneni
yes,, I'm sure that my script is not timing out... Also i set mysql connection timeout to max. /sagar - Original Message - From: "Burhan Khalid" <[EMAIL PROTECTED]> To: "Sagar C Nannapaneni" <[EMAIL PROTECTED]> Cc: Sent: Monday, January 03, 2005 3:37 PM Subject: Re: [PHP] unable to writ

Re: [PHP] Calculate No Of Days

2005-01-03 Thread RaTT
Hi Khuram I use this function function daysLeft($startDate,$endDate=false){ // convert to timestamps $start_stamp = strtotime($startDate); $end_stamp = ($endDate)?strtotime($endDate):time(); if($start_stamp > $end_stamp){

[PHP] Total Server Sessions

2005-01-03 Thread HarryG
Is there an easier way to count the total number of sessions running on a PHP webserver? something like session_count(); I've seen some php site where it tells you how many people are currently online, which I guess is being done by keeping a count of total sessions running on the server Thanks H

[PHP] Re: Calendar Script

2005-01-03 Thread HarryG
Cool.. just tried your script. I might try to convert it to Smarty template compatible code, in my spare time. Have you used Smarty Templates?? "Joe Harman" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hello, I just finished writing a basic calendar script... I wanted to pass

Re: [PHP] Calculate No Of Days

2005-01-03 Thread tg-php
Greetings! I've posted this before, but there are always new readers so here's my script solution. One of these days I'll make it a function or something, but this should give you a good general idea of how to do such a thing in case you need it again in the future. btw: This also calculates

[PHP] migrating to PHP 5 + Apache 2 from PHP 4.3.8 + Apache 1.3.33.

2005-01-03 Thread symbulos partners
Dear friends, we would like to migrate a server where we host several websites (in virtual hosting) to PHP 5 with Apache 2. Technical support at the hosting provider told us there are still problems about safety of threads on php 5 + Apache 2 (management of memory). They would propose to migrate

Re: [PHP] migrating to PHP 5 + Apache 2 from PHP 4.3.8 + Apache 1.3.33.

2005-01-03 Thread Rasmus Lerdorf
symbulos partners wrote: Dear friends, we would like to migrate a server where we host several websites (in virtual hosting) to PHP 5 with Apache 2. Technical support at the hosting provider told us there are still problems about safety of threads on php 5 + Apache 2 (management of memory). They wo

[PHP] png.h not found, something's going wrong in my PHP installation

2005-01-03 Thread Aaron Paulley
I found a thread a couple of weeks ago where someone had to create symbolic links in order to get their install of PHP to work because PHP wasn't able to find png.h. I am having the same problem. I made no changes to the installation of libpng, installed it in its default location and PHP cannot f

Re: [PHP] migrating to PHP 5 + Apache 2 from PHP 4.3.8 + Apache 1.3.33.

2005-01-03 Thread symbulos partners
Rasmus Lerdorf wrote: > You want to stay away from the threaded MPM's in Apache2. Why? -- symbulos partners -.- symbulos - ethical services for your organisation http://www.symbulos.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to argue with ASP people...

2005-01-03 Thread John Sands
I was happy as an ASP developer - you can use MSXSL for XML processing, ADO for database, and the file scripting object for file processing. The weakness shows up when you want to do something that Microsoft has not built into ASP or JavaScript or the COM objects I just listed. You're stuck writing

Re: [PHP] migrating to PHP 5 + Apache 2 from PHP 4.3.8 + Apache 1.3.33.

2005-01-03 Thread symbulos partners
Symbulos Partners wrote: > Rasmus Lerdorf wrote: >> You want to stay away from the threaded MPM's in Apache2. > > Why? > Which versions would be recommended then? We would like to be able to use the new PHP object model, and at the same time use features like the possibility of running scriping

Re: [PHP] php vs java....

2005-01-03 Thread Greg Donald
On Sun, 2 Jan 2005 21:48:01 -0500, GH <[EMAIL PROTECTED]> wrote: > Can you please explain Threads to me? Multiple isolated tasks executing at the same time. -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: htt

Re: [PHP] Register Globals=ON

2005-01-03 Thread Greg Donald
On Mon, 3 Jan 2005 22:21:48 +1100, HarryG <[EMAIL PROTECTED]> wrote: > Which process is better to use in PHP? > > Having register_globals=on and referring to variables as if($name){} or > using $_GET & $_POST statements like if(isset($_GET['name']))? > > What is the main advantage/disadvantage in

Re: [PHP] Is there any way that PHP will issue a warning when using undeclared vars?

2005-01-03 Thread Greg Donald
On Sun, 2 Jan 2005 16:23:34 -0800, Dan Eloff <[EMAIL PROTECTED]> wrote: > My single biggest beef with PHP is the fact that it silently fails > when I use a variable that has never been declared. Like if($sumbit) > will always be false because the variable was really named $submit. My > only clue th

[PHP] newbie.. $_GET & $_POST

2005-01-03 Thread Pablo D Marotta
Hi there.. I need to pass variables to a page through an html link. I do it like this: Export where 'buildQuery' is the variable I´m passing. In the destination page, I capture it with $_GET and that´s it. I want to know if there is any way of doing it without showing the variables in the direc

Re: [PHP] Total Server Sessions

2005-01-03 Thread Greg Donald
On Mon, 3 Jan 2005 23:02:19 +1100, HarryG <[EMAIL PROTECTED]> wrote: > Is there an easier way to count the total number of sessions running on a > PHP webserver? something like session_count(); > > I've seen some php site where it tells you how many people are currently > online, which I guess is

[PHP] newbie.. $_GET & $_POST

2005-01-03 Thread Pablo D Marotta
Hi there.. I need to pass variables to a page through an html link. I do it like this: Export where 'buildQuery' is the variable I´m passing. In the destination page, I capture it with $_GET and that´s it. I want to know if there is any way of doing it without showing the variables in the direc

Re: [PHP] migrating to PHP 5 + Apache 2 from PHP 4.3.8 + Apache 1.3.33.

2005-01-03 Thread Rasmus Lerdorf
symbulos partners wrote: Symbulos Partners wrote: Rasmus Lerdorf wrote: You want to stay away from the threaded MPM's in Apache2. Why? Which versions would be recommended then? We would like to be able to use the new PHP object model, and at the same time use features like the possibility of runn

Re: [PHP] newbie.. $_GET & $_POST

2005-01-03 Thread John Nichel
Pablo D Marotta wrote: Hi there.. I need to pass variables to a page through an html link. I do it like this: Export where 'buildQuery' is the variable I´m passing. In the destination page, I capture it with $_GET and that´s it. I want to know if there is any way of doing it without showing the var

Re: [PHP] migrating to PHP 5 + Apache 2 from PHP 4.3.8 + Apache 1.3.33.

2005-01-03 Thread symbulos partners
Rasmus Lerdorf wrote: > > As far as threading goes, it is simply not a good idea for a large > complex system. I do not understand why, probably because I am not well prepared. Can you explain me? As far as I know, threading should be a noticeable improvement in case of large systems. Is there

Re: [PHP] newbie.. $_GET & $_POST

2005-01-03 Thread Robby Russell
On Mon, 2005-01-03 at 10:54 -0300, Pablo D Marotta wrote: > Hi there.. > I need to pass variables to a page through an html link. > I do it like this: > > Export > > where 'buildQuery' is the variable IÂm passing. > > In the destination page, I capture it with $_GET and thatÂs it. > > I want to

Re: [PHP] migrating to PHP 5 + Apache 2 from PHP 4.3.8 + Apache 1.3.33.

2005-01-03 Thread Greg Beaver
Symbulos Partners wrote: There are 4 alternative solutions 0)php 5 + Apache 2 1)php 5 + Apache 2 pre-fork (not totally satisfactory, but better than have a system that is unstable) 2)php 5 + Apache 1.3.33 (which is not totally satisfactory, less than 0,1 in any case, but better than have a system

[PHP] Re: Total Server Sessions

2005-01-03 Thread Rob Adams
"HarryG" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Is there an easier way to count the total number of sessions running on a > PHP webserver? something like session_count(); If you're using file based sessions, you could count the number of files in the directory where the se

[PHP] Re: newbie.. $_GET & $_POST

2005-01-03 Thread Greg Beaver
Pablo D Marotta wrote: Hi there.. I need to pass variables to a page through an html link. I do it like this: Export where 'buildQuery' is the variable I´m passing. In the destination page, I capture it with $_GET and that´s it. I want to know if there is any way of doing it without showing the var

Re: [PHP] php vs java....

2005-01-03 Thread Brent Baisley
Perhaps in specific areas related to the web. But Java is so much more extensive than PHP, I doubt PHP will ever eclipse it. On Jan 1, 2005, at 1:07 PM, Lewis LaCook wrote: ...just looking for opinions: will PHP eclipse (IS PHP eclipsing) Java? bliss lewis lacook = **

Re: [PHP] migrating to PHP 5 + Apache 2 from PHP 4.3.8 + Apache 1.3.33.

2005-01-03 Thread Matthew Weier O'Phinney
* Symbulos Partners <[EMAIL PROTECTED]>: > Rasmus Lerdorf wrote: > > > > As far as threading goes, it is simply not a good idea for a large > > complex system. > > > I do not understand why, probably because I am not well prepared. Can you > explain me? As far as I know, threading should be a not

Re: [PHP] migrating to PHP 5 + Apache 2 from PHP 4.3.8 + Apache 1.3.33.

2005-01-03 Thread symbulos partners
We would really give preference to the possibility of using PHP 5, in order to use the new object model. Is Apache 1 + php 5 rock stable? How are performances? -- symbulos partners -.- symbulos - ethical services for your organisation http://www.symbulos.com -- PHP General Mailing List (http:/

Re: [PHP] migrating to PHP 5 + Apache 2 from PHP 4.3.8 + Apache 1.3.33.

2005-01-03 Thread Rasmus Lerdorf
symbulos partners wrote: Rasmus Lerdorf wrote: As far as threading goes, it is simply not a good idea for a large complex system. I do not understand why, probably because I am not well prepared. Can you explain me? As far as I know, threading should be a noticeable improvement in case of large sy

[PHP] Persistent PHP web application?

2005-01-03 Thread Josh Whiting
Dear list, My web application (an online classifieds server) requires a set of fairly large global arrays which contain vital information that most all the page scripts rely upon for information such as the category list, which fields belong to each category, and so on. Additionally, there are a l

Re: [PHP] unable to write a text file larger than 10Mb

2005-01-03 Thread Richard Lynch
At 10Mb, I'm guessing you could be hitting the Memory limit in php.ini I have NO IDEA why anybody would try to cram all of a MySQL dump into RAM before writing it to disk or sending it out to the browser, but that might be what's happening. That said -- show us your class and its source code. It

Re: [PHP] Total Server Sessions

2005-01-03 Thread John Holmes
HarryG wrote: Is there an easier way to count the total number of sessions running on a PHP webserver? something like session_count(); I've seen some php site where it tells you how many people are currently online, which I guess is being done by keeping a count of total sessions running on the ser

Re: [PHP] newbie.. $_GET & $_POST

2005-01-03 Thread Richard Lynch
Pablo D Marotta wrote: > Hi there.. > I need to pass variables to a page through an html link. > I do it like this: > > Export > > where 'buildQuery' is the variable I´m passing. > > In the destination page, I capture it with $_GET and that´s it. > > I want to know if there is any way of doing it w

Re: [PHP] Register Globals=ON

2005-01-03 Thread John Holmes
HarryG wrote: Having register_globals=on and referring to variables as if($name){} or using $_GET & $_POST statements like if(isset($_GET['name']))? What is the main advantage/disadvantage in both cases. Doesn't matter if it's on or off, really. 1) Don't trust any input from the user 2) Always init

Re: [PHP] migrating to PHP 5 + Apache 2 from PHP 4.3.8 + Apache 1.3.33.

2005-01-03 Thread Matthew Weier O'Phinney
* Symbulos Partners <[EMAIL PROTECTED]>: > We would really give preference to the possibility of using PHP 5, in order > to use the new object model. > > Is Apache 1 + php 5 rock stable? How are performances? I have no benchmarks, but PHP5 has showed itself to be at least as stable as PHP4 on Apac

[PHP] Re: Persistent PHP web application?

2005-01-03 Thread Matthew Weier O'Phinney
* Josh Whiting <[EMAIL PROTECTED]>: > My web application (an online classifieds server) requires a set of > fairly large global arrays which contain vital information that most all > the page scripts rely upon for information such as the category list, > which fields belong to each category, and so

Re: [PHP] Register Globals=ON

2005-01-03 Thread Richard Lynch
HarryG wrote: > Which process is better to use in PHP? > > Having register_globals=on and referring to variables as if($name){} or > using $_GET & $_POST statements like if(isset($_GET['name']))? > > What is the main advantage/disadvantage in both cases. The only advantage in register_globals = ON

Re: [PHP] Total Server Sessions

2005-01-03 Thread Richard Lynch
Greg Donald wrote: > On Mon, 3 Jan 2005 23:02:19 +1100, HarryG <[EMAIL PROTECTED]> wrote: >> Is there an easier way to count the total number of sessions running on >> a >> PHP webserver? something like session_count(); >> >> I've seen some php site where it tells you how many people are curren

Re: [PHP] Total Server Sessions

2005-01-03 Thread Josh Whiting
> $num_sessions = count(glob(session_save_path() . '/sess_*')); > echo "There are about {$num_sessions} active sessions."; > > It will be fairly active so long as your garbage collection is triggered > fairly often. it is worth noting that this doesn't work if you are using the recursive directo

Re: [PHP] handling large files w/readfile

2005-01-03 Thread Richard Lynch
Sebastian wrote: > yea. all the files aren't 100MB though.. some are 2mb (even less) while > some > files are over 300MB as well. > so, does this need to be adjusted depending on the filesize? I believe that at a certain point, your setting there will be worse for the system if you make it too big

Re: [PHP] Persistent PHP web application?

2005-01-03 Thread Richard Lynch
Josh Whiting wrote: > My web application (an online classifieds server) requires a set of > fairly large global arrays which contain vital information that most all > the page scripts rely upon for information such as the category list, > which fields belong to each category, and so on. For this,

[PHP] Re: Persistent PHP web application?

2005-01-03 Thread Manuel Lemos
Hello, on 01/03/2005 02:28 PM Josh Whiting said the following: * - Please note that I am using the Zend Accelerator (on Redhat Enterprise with Apache 1.3) to cache the intermediate compiled PHP code. My benchmarks (7ms+) are after the dramatic speedup provided by the accelerator. I wouldn't even bo

Re: [PHP] function problem

2005-01-03 Thread Richard Lynch
> '$shippingCountry1')"))) > { >echo "the insertiont cannot be done"; echo mysql_error(); http://php.net/mysql_error >exit(); > } > header("Location:http://$HTTP_HOST/$DOCROOT/allright.html";); DON'T DO THAT!!! Just do: include 'allright.html'; The Location header is for a docu

Re: [PHP] How to argue with ASP people...

2005-01-03 Thread Richard Lynch
You can spend a small fortune in ASP adding in COM objects (or writing them) so it will eventually have maybe HALF the functionality of PHP. http://php.net/ ASP's "Object Oriented" feature set is a joke. All the "object"-ness is built into pre-packaged stuff from MS -- You can't actually create

[PHP] Help with pack & unpack functions

2005-01-03 Thread Scott E. Young
Hello All, I am trying to write some PHP code that will act as a client to a homegrown server interface developed in C. The client/server interfaces exchange data using two C structures defined as: /* struct for client requests to server */ struct client_request { char stringA[20];

Re: [PHP] Persistent PHP web application?

2005-01-03 Thread Rasmus Lerdorf
Josh Whiting wrote: Dear list, My web application (an online classifieds server) requires a set of fairly large global arrays which contain vital information that most all the page scripts rely upon for information such as the category list, which fields belong to each category, and so on. Addition

Re: [PHP] Re: Persistent PHP web application?

2005-01-03 Thread Rory Browne
I've only skimmed this(have to go soon), but it sounds like something you could port the FastCGI dev library to PHP for(perhaps using SWIG). Bare in mind that this is just from the top of my head, and is probably irrational. On Mon, 03 Jan 2005 16:21:35 -0200, Manuel Lemos <[EMAIL PROTECTED]> wro

Re: [PHP] function problem

2005-01-03 Thread Matthew Weier O'Phinney
* Richard Lynch <[EMAIL PROTECTED]>: > > > '$shippingCountry1')"))) > > { > >echo "the insertiont cannot be done"; > > echo mysql_error(); > > http://php.net/mysql_error > > >exit(); > > } > > header("Location:http://$HTTP_HOST/$DOCROOT/allright.html";); > > DON'T DO THAT!!! > > Just

Re: [PHP] Re: function problem

2005-01-03 Thread Richard Lynch
If you were trying to use the result from mysql_pconnect() as the second optional argument to mysql_query() in your function, be sure you declare it 'global' inside the function. Read PHP docs on "variable scope" if this is what tripped you up. If not, I have no idea why the database is not selec

Re: [PHP] Help with pack & unpack functions

2005-01-03 Thread Richard Lynch
> What is strange is that I can always get the "char data[]" structure > member, and sometimes I get meaningful data in a few of the shorts, but > never all of the structure's members at the same time. Do you consistently get the same problems on the FIRST record returned? Anything after that is

Re: [PHP] php vs java....

2005-01-03 Thread Richard Lynch
GH wrote: > Can you please explain Threads to me? Well, you start with some sheep... :-) Real Answer: [with gross simplifiations and outright "lies" to keep things easy] Imagine that you have a program that wants to SEEM to be doing multiple things at once. For example, it wants to have a bac

Re: [PHP] Using SSL

2005-01-03 Thread Richard Lynch
Daniel Lahey wrote: > I need to implement secure transactions for a client, but I just can't > figure out how to open a page with an https prefix. The server has > mod-ssl and OpenSSL compiled into it: Ah, but did you muck around with the settings in your httpd.conf to turn it *ON* and set up por

Re: [PHP] Help with pack & unpack functions

2005-01-03 Thread Scott E. Young
First, let me say thanks for responding. My other responses are embedded within your reply: > > What is strange is that I can always get the "char data[]" structure > > member, and sometimes I get meaningful data in a few of the shorts, but > > never all of the structure's members at the same time

Re: [PHP] Total Server Sessions

2005-01-03 Thread HarryG
How do I have database driven php sessions. Any examples?? "Greg Donald" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Mon, 3 Jan 2005 23:02:19 +1100, HarryG <[EMAIL PROTECTED]> wrote: > > Is there an easier way to count the total number of sessions running on a > > PHP webserve

Re: [PHP] Total Server Sessions

2005-01-03 Thread Greg Donald
On Tue, 4 Jan 2005 10:40:51 +1100, HarryG <[EMAIL PROTECTED]> wrote: > How do I have database driven php sessions. Any examples?? Hmm.. maybe you missed the url the first time, here it is again: http://destiney.com/pub/Destiney_db_sessions_0.1.0.tar.bz2 -- Greg Donald Zend Certified Engineer

Re: [PHP] How to argue with ASP people...

2005-01-03 Thread Leif Gregory
Hello Richard, Monday, January 3, 2005, 11:27:05 AM, you wrote: RL> ASP has no include function. This makes life very very very RL> difficult to write decent code. Not that I like ASP, and I'm not an ASP guru by any means, but this statement is incorrect AFAICS. I use to do this all the time in A

[PHP] Forgive me

2005-01-03 Thread Wiberg
AFAICS What does that mean? *feeling stupid* /G @varupiraten.se -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.296 / Virus Database: 265.6.7 - Release Date: 2004-12-30 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

Re: [PHP] Forgive me

2005-01-03 Thread John Nichel
Wiberg wrote: AFAICS What does that mean? *feeling stupid* As Far As I Can See -- By-Tor.com ...it's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] apache_child_terminate?

2005-01-03 Thread Robin Getz
I am trying to turn on apache_child_terminate with PHP V4.3.10 / Apache 2.0.52 According to: http://php.planetmirror.com/manual/en/function.apache-child-terminate.php I should be able to turn this on with 'child_terminate' in php.ini However, I do this, and when I do a phpinfo(); it returns a: ap

[PHP] multiple deleting and updating (addnew)

2005-01-03 Thread Sejati Opreker
Hi all, I meet a problem when I want to deleting a multiple row, I have a table that contain columns UserID, name, company name, and bill. UserID is uniq. perhaps, some of UserID, say it five UserID I have to delete, how to delete all raw that contain that UserID ? and if I want to update bill of a

[PHP] Always Include

2005-01-03 Thread The Disguised Jedi
I have a file that contains certain functions for proper function of my website scripting pages, and they need to be callable all the time. I know that this can be done through an include() or require() statement, but it would be easier if I could have it automatically done. Is there a way in Apa

Re: [PHP] multiple deleting and updating (addnew)

2005-01-03 Thread Tatang Widyanto
DELETE FROM TableName WHERE UserID IN ('User1', 'User2', '', ..) UPDATE TableName SET fieldName='NewValue' WHERE UserID IN ('User1', 'User2', '', ..) Sejati Opreker wrote: Hi all, I meet a problem when I want to deleting a multiple row, I have a table that contain columns UserID, name, company name

Re: [PHP] newbie.. $_GET & $_POST

2005-01-03 Thread The Disguised Jedi
Yes, very true. When dealing with externally provided data in your script, always assume first that data is tainted, and make sure it isn't before you try to do anything with it. Follow Richard & Greg's advice on checking your data. You could also use some kind of priveleged authentication thing

Re: [PHP] Always Include

2005-01-03 Thread Jason Wong
On Tuesday 04 January 2005 10:56, The Disguised Jedi wrote: > I have a file that contains certain functions for proper function of > my website scripting pages, and they need to be callable all the time. > I know that this can be done through an include() or require() > statement, but it would be

Re: [PHP] Always Include

2005-01-03 Thread James Stewart
On Jan 3, 2005, at 9:56 PM, The Disguised Jedi wrote: I have a file that contains certain functions for proper function of my website scripting pages, and they need to be callable all the time. I know that this can be done through an include() or require() statement, but it would be easier if I co

[PHP] Re: Calculate No Of Days

2005-01-03 Thread Jerry Kita
Khuram Noman wrote: Hi Is there any function avialable in PHP to calculate the no of days by passing 2 dates like 1 argument is 1/1/2005 and the second one is 1/2/2005 then it returns the no of days or how can i do that if there is no builtin function . Regards Khuram Noman __

Re: [PHP] apache_child_terminate?

2005-01-03 Thread Curt Zirzow
* Thus wrote Robin Getz: > I am trying to turn on apache_child_terminate with PHP V4.3.10 / Apache > 2.0.52 > > According to: > http://php.planetmirror.com/manual/en/function.apache-child-terminate.php > > I should be able to turn this on with 'child_terminate' in php.ini > > However, I do thi

Re: [PHP] png.h not found, something's going wrong in my PHP installation

2005-01-03 Thread Curt Zirzow
* Thus wrote Aaron Paulley: > I found a thread a couple of weeks ago where someone had to create > symbolic links in order to get their install of PHP to work because > PHP wasn't able to find png.h. A reference to that thread could be helpfull. > > I am having the same problem. I made no change

[PHP] php5 webhosting

2005-01-03 Thread Greg Donald
Anyone found any good deals with webhosts supporting PHP5 yet? Thanks, -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: php5 webhosting

2005-01-03 Thread Greg Beaver
Greg Donald wrote: Anyone found any good deals with webhosts supporting PHP5 yet? it's not exactly for newbies, but bluga.net has been doing a fine job for me. Greg P.S. "ZCE" doesn't exactly imply newbie :) this is for others on the list -- PHP General Mailing List (http://www.php.net/) To unsub

[PHP] PDFlib-Lite-6.0.1

2005-01-03 Thread 2wsxdr5
I am trying to install PDFlib-Lite-6.0.1 on my testing server. So far no luck. I am starting with php 4.3.3 and apache 2.0 on an SUSE 9.0 machine. Apache and php were installed with the OS. I started by getting

Re: [PHP] How to argue with ASP people...

2005-01-03 Thread M Saleh EG
Not to offend u or backup ASP but ur just wrong... You said: >You >can't actually create a class. That's not true! u might not be knowing the syntax of creating a class in vb or js script. Sorry but this is the truth my friend. On Mon, 3 Jan 2005 10:27:05 -0800 (PST), Richard Lynch <[EMAIL PROT

Re: [PHP] How to argue with ASP people...

2005-01-03 Thread Sagar C Nannapaneni
I'm a passionate freak of PHP from the past 4 years (that i can remember). And i love everything that php can do. But just 2 days ago i came along a situation where i have to write a hit counter for my website without using a database or a text file. Just using a global variable i wanted to do this