[PHP] Re: Problem with MySQL Query

2003-07-23 Thread Mikael Jansson
Hi Phil, What I can see in your question there is a missing space between fieldname "type" and the operator != I tested on my machine and it works fine when using both != and <> operators, but it will not work with the NOT operator. Hope the missing space will do some good. br /Mikael "Phillip

[PHP] Re: [PEAR-DEV] Please Help me..MySQL

2003-07-23 Thread Sebastian Bergmann
Mohsen Pahlevanzadeh wrote: > Hi dears. Please post such questions to mailto:[EMAIL PROTECTED] Your posting has no reference to PEAR whatsover. Greetings, Sebastian -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Das Buch zu PHP 5: http://

Re: [PHP] PHP CGI mode and command line variables

2003-07-23 Thread Chris Shiflett
--- CDitty <[EMAIL PROTECTED]> wrote: > Thanks man. That got rid of the error, however it is not using the > variable in the script. You have to read them in. I think you can just loop through $argv, so something like this will show you what PHP is receiving: Hope that helps. Chris = Be

Re: [PHP] PHP CGI mode and command line variables

2003-07-23 Thread CDitty
Thanks man. That got rid of the error, however it is not using the variable in the script. I can't run this via wget or the browser since the importing files are rather large. Any other ideas? Chris At 11:33 PM 7/23/2003, Chris Shiflett wrote: --- CDitty <[EMAIL PROTECTED]> wrote: > I have

Re: [PHP] PHP CGI mode and command line variables

2003-07-23 Thread Chris Shiflett
--- CDitty <[EMAIL PROTECTED]> wrote: > I have written a script that runs fine when I run it via the > command line. However, when I tack on variables to the command > line, I get an error. > > This works. > php -q ./import.php > > This doesn't > php -q ./import.php?feed=eastwood I might be

Re: [PHP] do i need to output headers on parsed CSS files?

2003-07-23 Thread Justin French
Yup, that worked... thanks to everyone for their help :) Justin On Thursday, July 24, 2003, at 01:50 PM, Chris Shiflett wrote: Yeah, that's a very good guess. You should be able to do something like this to specify the content type yourself: header('Content-Type: text/css'); -- PHP General

Re: [PHP] Login Script and Global Registering Things

2003-07-23 Thread Master Mark
Sounds good (o; I find it easyer to work with HTML auth anyway. / Mark - Original Message - From: "Chris Shiflett" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "PHP" <[EMAIL PROTECTED]> Sent: Thursday, July 24, 2003 4:06 PM Subject: Re: [PHP] Login Script and Global Registering Things

[PHP] PHP CGI mode and command line variables

2003-07-23 Thread CDitty
I have written a script that runs fine when I run it via the command line. However, when I tack on variables to the command line, I get an error. This works. php -q ./import.php This doesn't php -q ./import.php?feed=eastwood This is the error that it returns - Could not open input file: ./i

[PHP] How to debug the php scripts?

2003-07-23 Thread chenqi1
Is there any useful implement to debug the php scripts,just like Visual studio.Now I'm using "echo" to debug the scripts,it disgusts me:( -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Login Script and Global Registering Things

2003-07-23 Thread Chris Shiflett
--- Master Mark <[EMAIL PROTECTED]> wrote: > Is HTTP auth better than HTML? In my opinion, no. Handling authentication in your application is a much better choice for numerous reasons (although HTTP authentication has its place and can be very useful). Chris = Become a better Web developer w

Re: [PHP] I'm really getting annoyed with PHP

2003-07-23 Thread Leif K-Brooks
Beauford.2005 wrote: It's obvious though that PHP can not handle it. A poor workman always blames his tools. -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law. -- PHP General Mailing List (htt

RE: [PHP] I'm really getting annoyed with PHP

2003-07-23 Thread Chris Shiflett
--- "Beauford.2005" <[EMAIL PROTECTED]> wrote: > It's obvious though that PHP can not handle it. This is why I am > forced to use javascript. I have already spent a week on this > and am not going to waste any further time. So you sacrifice the experience of your users due to your own difficulties

[PHP] Login Script and Global Registering Things

2003-07-23 Thread Master Mark
Hay people. This is my code below ... I have been using this for ages, but would like to know if there is a better way to process a login ... Is HTTP auth better than HTML? / Mark

Re: [PHP] do i need to output headers on parsed CSS files?

2003-07-23 Thread Chris Shiflett
--- Justin French <[EMAIL PROTECTED]> wrote: > So, my assumption is that pushing the .css file through PHP is > putting the wrong header on the file (text/html) rather than > text/css Yeah, that's a very good guess. You should be able to do something like this to specify the content type yourself:

RE: [PHP] I'm really getting annoyed with PHP

2003-07-23 Thread Robert Cummings
On Thu, 2003-07-24 at 23:24, Beauford.2005 wrote: > It's obvious though that PHP can not handle it. This is why I am forced > to use javascript. I have already spent a week on this and am not going > to waste any further time. I have posted all my code and if someone can > see a problem I'll look a

RE: [PHP] I'm really getting annoyed with PHP

2003-07-23 Thread Mark Charette
> From: Beauford.2005 [mailto:[EMAIL PROTECTED] > It's obvious though that PHP can not handle it. Since thousands of people and websites use the header() function without your problems ... It's obvious at this point you've got a bug and can't figure out how to fix it, even though you've been gi

RE: [PHP] I'm really getting annoyed with PHP

2003-07-23 Thread Beauford.2005
It's obvious though that PHP can not handle it. This is why I am forced to use javascript. I have already spent a week on this and am not going to waste any further time. I have posted all my code and if someone can see a problem I'll look at it, but it just ain't worth the effort at this point. -

Re: [PHP] reading from dir and displaying thumbs

2003-07-23 Thread Jason Wong
On Thursday 24 July 2003 07:41, Ryan A wrote: > I want to convert my old java greetings programs into php scripts but am > stuck on one little thing. > I have a bunch of thumbnails in a 3 directories, the problem is the number > of thumbnails in each directory is differient...how do i first make t

RE: [PHP] do i need to output headers on parsed CSS files?

2003-07-23 Thread Martin Towell
If I remember correctly, it'd be header("Content-Type: text/css"); HTH Martin -Original Message- From: Justin French [mailto:[EMAIL PROTECTED] Sent: Thursday, 24 July 2003 12:42 PM To: php Subject: [PHP] do i need to output headers on parsed CSS files? Hi all, I'm forcing my style she

Re: [PHP] do i need to output headers on parsed CSS files?

2003-07-23 Thread Curt Zirzow
* Thus wrote Justin French ([EMAIL PROTECTED]): > Hi all, > > I'm forcing my style sheets (.css) though the PHP parser, so that they > can take advantage of some color variables and global config settings > via include files, eg: > > body { > background-color: #; > } > > however, I

Re: [PHP] do i need to output headers on parsed CSS files?

2003-07-23 Thread Justin French
On Thursday, July 24, 2003, at 01:05 PM, Mike Brum wrote: Justin, when you echo/print your CSS info, you can add tabs /t and newlines /n to your documents for indentation and organization in the source if that's what you're after. Otherwise, when you output it to the browser it's going to print i

RE: [PHP] do i need to output headers on parsed CSS files?

2003-07-23 Thread Mike Brum
Justin, when you echo/print your CSS info, you can add tabs /t and newlines /n to your documents for indentation and organization in the source if that's what you're after. Otherwise, when you output it to the browser it's going to print it to a few lines with no discernable order. -M -Origi

Re: [PHP] I'm really getting annoyed with PHP

2003-07-23 Thread Justin French
On Thursday, July 24, 2003, at 12:18 PM, Curt Zirzow wrote: And in my case I would never see the next page. I have javascript turned off. Never rely on javascript to do the work, excpecially in small cases like this when php can handle it without any issues, such as javascript being turned of

[PHP] do i need to output headers on parsed CSS files?

2003-07-23 Thread Justin French
Hi all, I'm forcing my style sheets (.css) though the PHP parser, so that they can take advantage of some color variables and global config settings via include files, eg: body { background-color: #; } however, I've noticed that when viewing the CSS file in a browser now, it lo

RE: [PHP] I'm really getting annoyed with PHP

2003-07-23 Thread Lars Torben Wilson
On Wed, 2003-07-23 at 18:21, Daryl Meese wrote: > Well, I know I am not running the latest version of PHP but I don't believe > this is accurate. I believe PHP case sensitivity is based on the os that > processes the file. Can anyone clear this up. > > Daryl OK: you're mistaken. If you're corr

Re[2]: [PHP] classes v. functions

2003-07-23 Thread Tom Rogers
Hi, MM> troll. :) MM> Execution speed is most definitely /not/ all that matters, though it MM> really depends on the situation. It is often cheaper to throw MM> CPU/storage/RAM at a problem than it is to spend more developer time, MM> especially when one of the considerations is future maintenanc

Re: [PHP] I'm really getting annoyed with PHP

2003-07-23 Thread Curt Zirzow
* Thus wrote skate ([EMAIL PROTECTED]): > you could also shove some JavaScript in there if you don't like the way the > PHP header("location:...") function works... > > > location.href="new_page.php"; > And in my case I would never see the next page. I have javascript turned off. Never rel

RE: [PHP] Re: Redirection Question (I spoke to soon)

2003-07-23 Thread Ow Mun Heng
Are you outputting BLANK LINES??? eg.. if you have blank lines after your last ?> (closing PHP tag) in ANY one of the require/include/script files, you're outputting something and this cannot be the case. eg. if in VI echo $someecho function dosomethig() { // whatever } ?> <-

Re: [PHP] I'm really getting annoyed with PHP

2003-07-23 Thread Leif K-Brooks
Daryl Meese wrote: Well, I know I am not running the latest version of PHP but I don't believe this is accurate. I believe PHP case sensitivity is based on the os that processes the file. Can anyone clear this up. Correct for files, but variables aren't files. -- The above message is encrypted

Re: [PHP] classes v. functions

2003-07-23 Thread Mike Migurski
>> Execution speed isn't all that matters. In fact, speed is not the point >> at all. > >Then you must be an PHPNuke or Typo3-programmer, beeing lucky to get at >least 1 request per second ;). Don't take it hard, but If you had ever >been in computer-science [school|college|...] you would know tha

Re: [PHP] I'm really getting annoyed with PHP

2003-07-23 Thread John W. Holmes
Daryl Meese wrote: Well, I know I am not running the latest version of PHP but I don't believe this is accurate. I believe PHP case sensitivity is based on the os that processes the file. Can anyone clear this up. Yes, you're wrong. :) -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/regis

RE: [PHP] Re: Redirection Question (I spoke to soon)

2003-07-23 Thread Ow Mun Heng
Thanks Mike.. You've been a GREAT help.. Cheers, Mun Heng, Ow H/M Engineering Western Digital M'sia DID : 03-7870 5168 -Original Message- From: Ford, Mike [LSS] [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 7:01 PM To: Ow Mun Heng; PHP Subject: RE: [PHP] Re: Redirection Quest

RE: [PHP] I'm really getting annoyed with PHP

2003-07-23 Thread Daryl Meese
Well, I know I am not running the latest version of PHP but I don't believe this is accurate. I believe PHP case sensitivity is based on the os that processes the file. Can anyone clear this up. Daryl -Original Message- From: Leif K-Brooks [mailto:[EMAIL PROTECTED] Sent: Wednesday, July

Re: [PHP] I'm really getting annoyed with PHP

2003-07-23 Thread skate
you could also shove some JavaScript in there if you don't like the way the PHP header("location:...") function works... location.href="new_page.php"; of course corrections for my bad syntax as i'm doing this out of my head. but anyway, just PHP to print that script when you want a redirect

Re: [PHP] I'm really getting annoyed with PHP

2003-07-23 Thread Leif K-Brooks
Daryl Meese wrote: One important difference between most windows and linux setups is is case sensitivity. Windows sees $x and $X as the same variable but Linux does not. so it could be a case issue. The two OSes do that with /files/, but PHP doesn't rely on the OS to check variable names. PHP

RE: [PHP] I'm really getting annoyed with PHP

2003-07-23 Thread Daryl Meese
Ok, if it has worked on one machine then the problem is not "with" PHP. Programming languages always do exactly what they are told (but, unfortunately not what we think we have told them). One important difference between most windows and linux setups is is case sensitivity. Windows sees $x and $

RE: [PHP] Re: Redirection Question (I spoke to soon)

2003-07-23 Thread Beauford.2005
Finally, Thanks to all that tried to help, but I found part of the problem - sort of. In the file that I am trying to redirect to I have a form with the line: It appears this line was corrupt somehow. After I rewrote the line from scratch it solved the problem of my paths being screwed up - why

RE: [PHP] I'm really getting annoyed with PHP

2003-07-23 Thread Gabriel Guzman
On Thu, 2003-07-24 at 15:12, Beauford.2005 wrote: > FYI. I did this login page for another website last month and I used the > code from it to do this one. The other one works perfectly. I checked > that code again today and there is ABSOLUTELY no differnce. I even used > the same variables and ses

[PHP] reading from dir and displaying thumbs

2003-07-23 Thread Ryan A
Hi guys, I want to convert my old java greetings programs into php scripts but am stuck on one little thing. I have a bunch of thumbnails in a 3 directories, the problem is the number of thumbnails in each directory is differient...how do i first make the script look into the directory, display (ma

RE: [PHP] PHP5?

2003-07-23 Thread Chris Kay
I have got PHP5 to work with apache 2.0.47 on both windows and linux -- Chris Kay (CK) Eleet Internet Services P: 0415 451 372 F: 02 4620 5076 E: [EMAIL PROTECTED] -Original Message- From: Jonathan Villa [mailto:[EMAIL PROTECTED] Sent: Thursday, 24 July 2003 4:03 AM To: [EMAIL PROTECTE

RE: [PHP] Problem with MySQL Query

2003-07-23 Thread Chris Kay
Why are you using NOT LIKE for? NOT LIKE is used when you are doing a part search Try this.. $dbqueryshipping1 = "select * from tempuserpurchase where usersessionid = \"$User_Shopping_Id\" && day = \"1\" && type != \"Meal Plans\""; also from your original query you are closing off the line at

Re: [PHP] I'm really getting annoyed with PHP

2003-07-23 Thread Curt Zirzow
* Thus wrote Petre Agenbag ([EMAIL PROTECTED]): > If you want to "use PHP", then you must use the headers() function. BUT, > with the header function, you MUST make sure that there will be absolutely > NO output to the page before the header() function is called, not even a > space... > Otherwise,

Re: [PHP] Problems with large firebird gdb files > 2GB.

2003-07-23 Thread Curt Zirzow
* Thus wrote Honza Hubeny ([EMAIL PROTECTED]): > Hello, > > I have this configuration: > linux rh 7.0, kernel 2.4.20, apache 1.3.27, with php 4.2.3 as apxs module > with firebirdCS-1.0.3-64IO > > I have problems with firebird database files which are > 2GB. > > Till today everithing works good b

RE: [PHP] I'm really getting annoyed with PHP

2003-07-23 Thread Lars Torben Wilson
On Thu, 2003-07-24 at 15:12, Beauford.2005 wrote: > action="post" name="seasons"> Try ACTION="/season_write.php" instead. What happens? -- Torben Wilson <[EMAIL PROTECTED]>+1.604.709.0506 http://www.thebuttlesschaps.com http://www.inflatableeye.com http://www

[PHP] testing - please ignore

2003-07-23 Thread Nicole Lallande
test my subscription -- Nicole Lallande [EMAIL PROTECTED] 760.753.6766 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem with MySQL Query

2003-07-23 Thread Phillip Blancher
Tried NOT LIKE and that didnt exclude it either. I am trying to exclude only 'Meal Plans' Phil - Original Message - From: "David Nicholson" <[EMAIL PROTECTED]> To: "Phillip Blancher" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, July 23, 2003 6:19 PM Subject: Re: [PHP]

Re: [PHP] Problem with MySQL Query

2003-07-23 Thread David Nicholson
Hello, This is a reply to an e-mail that you wrote on Wed, 23 Jul 2003 at 22:54, lines prefixed by '>' were originally written by you. > > $dbqueryshipping1 = "select * from tempuserpurchase where > > (usersessionid="$User_Shopping_Id") and day="1" and > > type<>'Meal Plans' > Tryed both me

RE: [PHP] I'm really getting annoyed with PHP

2003-07-23 Thread Chris Shiflett
--- Petre Agenbag wrote: > If you want to "use PHP", then you must use the headers() function. > BUT, with the header function, you MUST make sure that there will be > absolutely NO output to the page before the header() function is > called, not even a space... > Otherwise, you can simply use a me

RE: [PHP] I'm really getting annoyed with PHP

2003-07-23 Thread Beauford.2005
FYI. I did this login page for another website last month and I used the code from it to do this one. The other one works perfectly. I checked that code again today and there is ABSOLUTELY no differnce. I even used the same variables and session names. The only difference between the two sites is t

Re: [PHP] closing windows

2003-07-23 Thread Jeff Harris
On Jul 23, 2003, "Jon Phipps" claimed that: |I am curious as to how, from within php, you could emulate the javascript |window.close() function. The other thing is how would I blend javascript and |php, it call javascript functions from php. The javascript will be located |in the same page as the

[PHP] Re: closing windows

2003-07-23 Thread Kevin Stone
"Jon Phipps" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I am curious as to how, from within php, you could emulate the javascript > window.close() function. The other thing is how would I blend javascript and > php, it call javascript functions from php. The javascript will be l

[PHP] Has anyone successfully installed PHP 5?

2003-07-23 Thread Jonathan Villa
Has anyone installed PHP 5 on Windows or Linux using Apache 2?

[PHP] Problems with large firebird gdb files > 2GB.

2003-07-23 Thread Honza Hubeny
Hello, I have this configuration: linux rh 7.0, kernel 2.4.20, apache 1.3.27, with php 4.2.3 as apxs module with firebirdCS-1.0.3-64IO I have problems with firebird database files which are > 2GB. Till today everithing works good but, now one database file is > then 2 GB and I have this error me

[PHP] closing windows

2003-07-23 Thread Jon Phipps
I am curious as to how, from within php, you could emulate the javascript window.close() function. The other thing is how would I blend javascript and php, it call javascript functions from php. The javascript will be located in the same page as the php. Jon -- PHP General Mailing List (http:/

Re: [PHP] Problem with MySQL Query

2003-07-23 Thread Liam Gibbs
> > $dbqueryshipping1 = "select * from tempuserpurchase where > > (usersessionid=\"$User_Shopping_Id\") and day=\"1\" and > > type<>'Meal Plans' > > > > Tryed both methods and it is still not excluding anything matching Meal > Plans Been a short while since I used SQL with my PHP, but try pu

Re: [PHP] Problem with MySQL Query

2003-07-23 Thread Phillip Blancher
> > $dbqueryshipping1 = "select * from tempuserpurchase where > (usersessionid=\"$User_Shopping_Id\") and day=\"1\" and > type<>'Meal Plans' > Tryed both methods and it is still not excluding anything matching Meal Plans --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus

[PHP] PHP Warning: InterBase: Error while trying to open file File too large

2003-07-23 Thread Honza Hubeny
Hello, I have this configuration: kernel 2.3.20, apache 1.3.27, with php 4.2.3 as apxs module with firebirdCS-1.0.3-64IO I have problems with firebird database files which are > 2GB. Till today everithing works good but, now one database file is > then 2 GB and I have this error message in my lo

Re: [PHP] Problem with MySQL Query

2003-07-23 Thread David Nicholson
Hello, This is a reply to an e-mail that you wrote on Wed, 23 Jul 2003 at 22:28, lines prefixed by '>' were originally written by you. > As per your suggestion > $dbqueryshipping1 = "select * from tempuserpurchase where > (usersessionid="$User_Shopping_Id") and day="1" and type!='Meal > Plan

Re: [PHP] Software Application Engineer WANTED (PHP/MySQL Guru)

2003-07-23 Thread CPT John W. Holmes
> Subject: [PHP] Software Application Engineer WANTED (PHP/MySQL Guru) I hope there are job postings like this if/when I get out of the Army! :) ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Software Application Engineer WANTED (PHP/MySQL Guru)

2003-07-23 Thread Richard Gabriel
I know this is not related to PHP questions, but we are looking for a savvy PHP/MySQL guru to fill a position at my organization. The job description and requirements are below. Strong English communication skills and relocation to upstate NY are a must for this position. Software Application

RE: [PHP] I'm really getting annoyed with PHP

2003-07-23 Thread Miles Thompson
Yes! And where do we find the tags ? Cheers - Miles At 09:55 PM 7/23/2003 +0200, Petre Agenbag wrote: If you want to "use PHP", then you must use the headers() function. BUT, with the header function, you MUST make sure that there will be absolutely NO output to the page before the header() fu

Re: [PHP] Problem with MySQL Query

2003-07-23 Thread Phillip Blancher
As per your suggestion $dbqueryshipping1 = "select * from tempuserpurchase where (usersessionid=\"$User_Shopping_Id\") and day=\"1\" and type!='Meal Plans' "; $resultshipping1 = mysql_db_query($dbname,$dbqueryshipping1); if(mysql_error()!=""){echo mysql_error();} $result1 = my

Re: [PHP] Problem with MySQL Query

2003-07-23 Thread CPT John W. Holmes
Take out the plus sign... type != 'Meal Plans' And using single quotes in your query might make things easier (no escaping...) $dbqueryshipping1 = "select * from tempuserpurchase where usersessionid='$User_Shopping_Id' and day='1' and type!='Meal Plans'"; You don't need quotes around '1' since i

[PHP] Problem with MySQL Query

2003-07-23 Thread Phillip Blancher
Problem with mySQL Query This is the query I have: $dbqueryshipping1 = "select * from tempuserpurchase where (usersessionid=\"$User_Shopping_Id\") and day=\"1\" and type!=\"Meal+Plans\" "; What I want to do is to select everything from tempuserpurchase that matchs the user session and the da

[PHP] Re: I'm really getting annoyed with PHP

2003-07-23 Thread Kevin Stone
"Beauford.2005" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Yes, I'm still screwing around with this stupid redirection thing, and > either I'm just a total idiot or there are some serious problems with > PHP. I have now tried to do it another way and - yes - you guessed it. > It

Re: [PHP] Global variable question question

2003-07-23 Thread Curt Zirzow
* Thus wrote Jason Giangrande ([EMAIL PROTECTED]): > When registered globals is set to off this does not effect the $PHP_SELF > variable right? In other words I should be able to call $PHP_SELF with > out having to do this $_SERVER['PHP_SELF'], right? > register_globals has nothing to do with $P

Re: [PHP] Search question ..

2003-07-23 Thread Curt Zirzow
* Thus wrote CPT John W. Holmes ([EMAIL PROTECTED]): > From: "Curt Zirzow" <[EMAIL PROTECTED]> > > * Thus wrote James Hatridge ([EMAIL PROTECTED]): > > > > preg_match('#\(.*)\#im', $text, $matches): > > I don't think you have to escape the < and > characters, do you? Also, > what's the 'm' modifie

Re: [PHP] I'm really getting annoyed with PHP

2003-07-23 Thread Chris Shiflett
--- "Beauford.2005" <[EMAIL PROTECTED]> wrote: > Yes, I'm still screwing around with this stupid redirection thing, and > either I'm just a total idiot or there are some serious problems with > PHP. I have now tried to do it another way and - yes - you guessed it. > It does not work. It doesn't wo

Re: [PHP] classes v. functions

2003-07-23 Thread Sam Baum
Hi, am Wednesday 23 July 2003 11:48 schrieb Joel Rees: > (You know that $accesses->count and $accesses->resetCounter() are at > least declared in the same class declaration. $accesses_count and > accesses_resetCounter() could be declared in entirely unrelated include > files for entirely differen

RE: [PHP] arguments against moving site from Linux/Apache/PHP server to Windows/IIS/PHP needed

2003-07-23 Thread Chris Shiflett
> > If you receive pressure to move away from Linux (a server OS) to > > Windows (a desktop OS) for use as a server > > References? AFAIK, this is not true. Common sense for the most part. Windows is the most dominant desktop OS by a wide margin, and I'm sure there are statistics that will back t

Re: [PHP] Global variable question question

2003-07-23 Thread Jason Giangrande
Actually, I am running PHP 4.3.2 on a Gentoo Linux box with registered_globals set to Off and $PHP_SELF does work. The production box running Red Hat and PHP 4.3.0, with register_globals also set to Off, doesn't work using $PHP_SELF (as apparently it should), and this is why I was asking. Jason

[PHP] HELP TO compile PHP in linux

2003-07-23 Thread Nabil
HI all; Please help me to compile php as i m not so expert in Linux, i have one installed php 4.1.2, and i downloaded the 4.3.2 one.. I need to upgrade because i need the new one with iodbc support not unixODBC. and i need it with ofcourse ( mysql - gd - iodbc (odbc) - mssql - apache ) I hav

Re: [PHP] I'm really getting annoyed with PHP

2003-07-23 Thread Step Schwarz
FYI, the date on your computer and/or mail server seems to be fast by one day.. your message is dated tomorrow. 1) is this the ONLY PHP script you're having problems with, or could it be that PHP isn't yet up and running on your web server? 2) when you try to view the page in a web browser are yo

Re: [PHP] arguments against moving site from Linux/Apache/PHP server to Windows/IIS/PHP needed

2003-07-23 Thread Curt Zirzow
* Thus wrote Chris W. Parker ([EMAIL PROTECTED]): > > Win2k server and up (advanced server, datacenter server) are meant for > high availability, especially datacenter server. True, but what I have a problem with window machines is that they waste precious resources for GUI stuff when most of the

Re: [PHP] I'm really getting annoyed with PHP

2003-07-23 Thread Lars Torben Wilson
On Thu, 2003-07-24 at 12:41, Beauford.2005 wrote: > Yes, I'm still screwing around with this stupid redirection thing, and > either I'm just a total idiot or there are some serious problems with > PHP. I have now tried to do it another way and - yes - you guessed it. > It does not work. I doubt ra

Re: [PHP] I'm really getting annoyed with PHP

2003-07-23 Thread CPT John W. Holmes
From: "Beauford.2005" <[EMAIL PROTECTED]> > Yes, I'm still screwing around with this stupid redirection thing, and > either I'm just a total idiot or there are some serious problems with > PHP. I have now tried to do it another way and - yes - you guessed it. > It does not work. > > I mean really,

Re: [PHP] Global variable question question

2003-07-23 Thread Lars Torben Wilson
On Wed, 2003-07-23 at 12:19, Jason Giangrande wrote: > When registered globals is set to off this does not effect the $PHP_SELF > variable right? In other words I should be able to call $PHP_SELF with > out having to do this $_SERVER['PHP_SELF'], right? > > Thanks, > Jason Giangrande Without goi

Re: [PHP] Search question ..

2003-07-23 Thread CPT John W. Holmes
From: "Curt Zirzow" <[EMAIL PROTECTED]> > * Thus wrote James Hatridge ([EMAIL PROTECTED]): > > I've got a search page written for my web site. I can find the html page I > > want by keyword. Now I need to get the title of that page in to a variable. > > In other words I have a file name, for exampl

Re: [PHP] I'm really getting annoyed with PHP

2003-07-23 Thread Andrew Brampton
Just a minor change, the HTTP Specification says that the Location header should use a absoluteURI which includes the full URL not just page.php... so http://yoursite.com/page.php is what you should be using there. Andrew - Original Message - From: "Chris W. Parker" <[EMAIL PROTECTED]> To:

Re: [PHP] Global variable question question

2003-07-23 Thread CPT John W. Holmes
> When registered globals is set to off this does not effect the $PHP_SELF > variable right? In other words I should be able to call $PHP_SELF with > out having to do this $_SERVER['PHP_SELF'], right? No. With register_globals OFF, $PHP_SELF is not set. ---John Holmes... -- PHP General Mailin

Re: [PHP] Some SESSION Vars not Registering

2003-07-23 Thread CPT John W. Holmes
From: "Jeff Stillwall" <[EMAIL PROTECTED]> > > Now I'm (possibly) getting somewhere: > > When I modify the function to be this (notice the key name change by adding > "s"): > > function setupUserEnv ($userArray) { > > $_SESSION['loggedIn'] = 1; > > foreach($userArray as $key=>$value) { >

RE: [PHP] newbY prob

2003-07-23 Thread Carl Furst
$dbquerymeal = "select COUNT(*) from mealtype"; $resultmeal = mysql_db_query($dbname,$dbqueryshipping1); if(mysql_error()!=""){echo mysql_error();} $mealcount = mysql_fetch_row($resultmeal); echo $mealcount; YOUR query is not stored in ,$dbqueryshipping1 but in $dbquerymeal I believe... switch the

RE: [PHP] I'm really getting annoyed with PHP

2003-07-23 Thread Chris W. Parker
Petre Agenbag on Wednesday, July 23, 2003 12:55 PM said: > If you want to "use PHP", then you must use the headers() function. > BUT, with the header function, you MUST make sure that there will be > absolutely NO output to the page before the header() function is >

Re: [PHP] newbY prob

2003-07-23 Thread CPT John W. Holmes
From: "Jennifer Goodie" <[EMAIL PROTECTED]> > > ! am trying to count the number of items in this table. The table > > has one field in it. > > > > The code I am using is: > > > > $dbquerymeal = "select COUNT(*) from mealtype"; > > $resultmeal = mysql_db_query($dbname,$dbqueryshipping1); > > if(mysq

RE: [PHP] I'm really getting annoyed with PHP

2003-07-23 Thread Petre Agenbag
If you want to "use PHP", then you must use the headers() function. BUT, with the header function, you MUST make sure that there will be absolutely NO output to the page before the header() function is called, not even a space... Otherwise, you can simply use a meta refresh... -Original Messa

RE: [PHP] I'm really getting annoyed with PHP

2003-07-23 Thread Jay Blanchard
[snip] Yes, I'm still screwing around with this stupid redirection thing, and either I'm just a total idiot or there are some serious problems with PHP. I have now tried to do it another way and - yes - you guessed it. It does not work. I mean really, it can not be this hard to redirect a user to

[PHP] Re: newbY prob

2003-07-23 Thread Kevin Stone
"Phillip Blancher" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Problem with Count. ! am trying to count the number of items in this table. The table has one field in it. The code I am using is: $dbquerymeal = "select COUNT(*) from mealtype"; $resultmeal = mysql_db_query($dbname,

[PHP] I'm really getting annoyed with PHP

2003-07-23 Thread Beauford.2005
Yes, I'm still screwing around with this stupid redirection thing, and either I'm just a total idiot or there are some serious problems with PHP. I have now tried to do it another way and - yes - you guessed it. It does not work. I mean really, it can not be this hard to redirect a user to another

Re: [PHP] newbY prob

2003-07-23 Thread R'twick Niceorgaw
On 23 Jul 2003 at 15:38, Phillip Blancher wrote: > Problem with Count. > > ! am trying to count the number of items in this table. The table has > ! one field in it. > > The code I am using is: > > $dbquerymeal = "select COUNT(*) from mealtype"; > $resultmeal = mysql_db_query($dbname,$dbquer

Re: [PHP] Re: Redirection Question (I spoke to soon)

2003-07-23 Thread Grant Rutherford
You need the "http://"; ie. "http://www.microsoft.com"; Beauford.2005 wrote: Errors are on and I get nothing, it won't even direct if I hard code header("Location: www.microsoft.com"); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] newbY prob

2003-07-23 Thread Jennifer Goodie
> ! am trying to count the number of items in this table. The table > has one field in it. > > The code I am using is: > > $dbquerymeal = "select COUNT(*) from mealtype"; > $resultmeal = mysql_db_query($dbname,$dbqueryshipping1); > if(mysql_error()!=""){echo mysql_error();} > $mealcount = mysql_fe

[PHP] newbY prob

2003-07-23 Thread Phillip Blancher
Problem with Count. ! am trying to count the number of items in this table. The table has one field in it. The code I am using is: $dbquerymeal = "select COUNT(*) from mealtype"; $resultmeal = mysql_db_query($dbname,$dbqueryshipping1); if(mysql_error()!=""){echo mysql_error();} $mealcount =

Re: [PHP] Some SESSION Vars not Registering

2003-07-23 Thread Jeff Stillwall
"Curt Zirzow" wrote: > I modified this to do 31 variables: > http://zirzow.dyndns.org/php/session.php Thanks again. > The only thing i can think, mabey, is size limit? how long are these > values your assigning? Not long at all. Now I'm (possibly) getting somewhere: When I modify the functio

[PHP] Re: Global variable question question

2003-07-23 Thread Kevin Stone
"Jason Giangrande" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > When registered globals is set to off this does not effect the $PHP_SELF > variable right? In other words I should be able to call $PHP_SELF with > out having to do this $_SERVER['PHP_SELF'], right? > > Thanks, > Jas

[PHP] Re: How to pass connection to next page

2003-07-23 Thread Kevin Stone
"Minghua Yao" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > Hi, > > On one page, I have: > > > ... > > $dbcnx0 = @mysql_connect("localhost", $name, $password); > > ... > > session_start(); > > $_SESSION['my_con'] = $dbcnx0; > > ... > > ?> > > On another page, I hav

[PHP] Global variable question question

2003-07-23 Thread Jason Giangrande
When registered globals is set to off this does not effect the $PHP_SELF variable right? In other words I should be able to call $PHP_SELF with out having to do this $_SERVER['PHP_SELF'], right? Thanks, Jason Giangrande -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: h

RE: [PHP] arguments against moving site from Linux/Apache/PHP server to Windows/IIS/PHP needed

2003-07-23 Thread Chris W. Parker
Chris Shiflett on Wednesday, July 23, 2003 8:27 AM said: > ...the Gartner > Group (suits typically respect their opinion) has recommended that it > not be used in production > (http://www3.gartner.com/DisplayDocument?doc_cd=101034). Interesting. > If you receive pr

RE: [PHP] Re: Redirection Question (I spoke to soon)

2003-07-23 Thread Beauford.2005
Errors are on and I get nothing, it won't even direct if I hard code header("Location: www.microsoft.com"); -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED] Sent: July 23, 2003 12:48 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Re: Redirection Question (I spoke to soon) On

[PHP] How to pass connection to next page

2003-07-23 Thread Yao, Minghua
> Hi, > On one page, I have: > ... > $dbcnx0 = @mysql_connect("localhost", $name, $password); > ... > session_start(); > $_SESSION['my_con'] = $dbcnx0; > ... > ?> > On another page, I have: > .. > session_start(); > $dbcnx1 = $_SESSION['my_con']; > . > ?> >

Re: [PHP] USB Hard Drive

2003-07-23 Thread Curt Zirzow
* Thus wrote Robert Cummings ([EMAIL PROTECTED]): > On Wed, 2003-07-23 at 12:49, Digital Directory USA, Inc wrote: > > I need to get a USB Hard Drive to "Auto Run" a flash movie when plugged > > into a USB port on all platforms of a PC (Win98, 2000, XP, ME). Can >

  1   2   3   >