RE: [PHP] Another hosting question....

2003-06-18 Thread Boaz Yahav
Check out : http://weberdev.ref.phenominet.com This is your one stop shop for hosting. WeberDev.com is hosted there and I can tell you that their service is amazing. They are fast, reliable and more than anything, very professional (specially in PHP / MySQL). I have a dedicated server there for y

RE: [PHP] Another hosting question....

2003-06-18 Thread Ben C.
I have tested a lot of the hosting providers and the best I have found is Valueweb. Lots of bandwidth (500gb), unlimited domain hosting, and managed ensim control panel. I have been with them a couple months and everything seems good. -Original Message- From: Mike Morton [mailto:[EMAIL P

Re: [PHP] User's Screen Resolution Size

2003-06-18 Thread Don Read
On 19-Jun-2003 John W. Holmes wrote: > Are you crying? ARE YOU CRYING? There's no crying, there's no crying in > PHP!! Rasmus Lerdorf was my manager, and he called me a talking pile of > pigs***! > ---John Holmes... > > PS: #7 at > http://sportsillustrated.cnn.com/features/2003/movies/n

Re: [PHP] Error in php after uprading

2003-06-18 Thread Javier
[EMAIL PROTECTED] (John W. Holmes) wrote in news:[EMAIL PROTECTED]: > > Your query failed. Add some error reporting around mssql_query() to > find out why. > Thanks I'll check that. -- *** s2r - public key: (http://leeloo.mine.nu/s2r-gmx.sig) -- PHP General Mailing List (http://www.php.net

Re: [PHP] Another hosting question....

2003-06-18 Thread Jason Wong
On Thursday 19 June 2003 07:52, Mike Morton wrote: > I know that this subject has been beaten to death, but I going through old > lists, I see a lot of hosting companies for site hosting, but I am > interested specifically in dedicated server hosting. > > It is tough to find a hosting facility that

Re: [PHP] User's Screen Resolution Size

2003-06-18 Thread Jason Wong
On Thursday 19 June 2003 09:47, Vernon wrote: > Not for nothing, but every time I post to this group I get treated poorly. > It has to do with php and I've already gotten an answer from this group, > off the PHP web site no less! > > http://www.php.net/manual/en/faq.html.php#faq.html.javascript-var

Re: [PHP] User's Screen Resolution Size

2003-06-18 Thread Lars Torben Wilson
On Wed, 2003-06-18 at 21:42, Leif K-Brooks wrote: > Lars Torben Wilson wrote: > > >I have no idea where you folks have gotten the idea that asking how to > >get Javascript to interact with PHP would be particularly off-topic > >here. Were it the vile transgression this thread has made it out to be

Re: [PHP] User's Screen Resolution Size

2003-06-18 Thread Leif K-Brooks
Lars Torben Wilson wrote: I have no idea where you folks have gotten the idea that asking how to get Javascript to interact with PHP would be particularly off-topic here. Were it the vile transgression this thread has made it out to be, we probably wouldn't have included the answer in the FAQ. Tha

Re: [PHP] User's Screen Resolution Size

2003-06-18 Thread Lars Torben Wilson
On Wed, 2003-06-18 at 21:13, Leif K-Brooks wrote: > You're using PHP, but not everything you do has to do with PHP! You may > use PHP, but that doesn't mean you post to the PHP list about home > decorating! I have no idea where you folks have gotten the idea that asking how to get Javascript to

Re: [PHP] User's Screen Resolution Size

2003-06-18 Thread Leif K-Brooks
Vernon wrote: Missing the point all tighter. The point now is merely that courtesy goes a long way. Why some one needs to respond in such a fashion is beyond me. I think it's pretty simple, if I'm posting to a php group, then obviously I'm using php. Also very simple, yet again, is if you don't w

Re: [PHP] ie issue: when I do a forced redirect with the header()function the location bar does not change

2003-06-18 Thread Jake Johnson
Have you tried... https://www.google.com";) ; ?> Regards, Jake Johnson [EMAIL PROTECTED] -- Plutoid - http://www.plutoid.com Shop Plutoid for the best prices on Rims and Car Audio Products On Tue, 17 Jun 2003, Jeff Means wrote: >

Re: [PHP] MySQL Connection

2003-06-18 Thread moses . johnson
Hello, Thanks it works now Regards Moses > Hello, This seems not to be working, I am using win2000 and a newbie. please > simplify this process. > > ERROR 1045: Access denied for user: '@127.0.0.1' (Using password: NO) > mysql> GRANT ALL PRIVILEGES ON *.* TO [EMAIL PROTECTED] > -> IDENTIF

Re: [PHP] User's Screen Resolution Size

2003-06-18 Thread Vernon
Missing the point all tighter. The point now is merely that courtesy goes a long way. Why some one needs to respond in such a fashion is beyond me. I think it's pretty simple, if I'm posting to a php group, then obviously I'm using php. Also very simple, yet again, is if you don't want to waste y

Re: [PHP] User's Screen Resolution Size

2003-06-18 Thread John Nichel
Justin French wrote: Vernon, If you ONLY wanted to know how to deal with JavaScript variables in PHP, then perhaps you should have limited your question to just that. Your question asked about screen resolutions, which is totally a discussion based around JavaScript. If you wanted to know about J

Re: [PHP] User's Screen Resolution Size

2003-06-18 Thread John Nichel
John W. Holmes wrote: Vernon wrote: Not for nothing, but every time I post to this group I get treated poorly. It has to do with php and I've already gotten an answer from this group, off the PHP web site no less! http://www.php.net/manual/en/faq.html.php#faq.html.javascript-variable Doesn't t

Re: [PHP] User's Screen Resolution Size

2003-06-18 Thread Justin French
Vernon, If you ONLY wanted to know how to deal with JavaScript variables in PHP, then perhaps you should have limited your question to just that. Your question asked about screen resolutions, which is totally a discussion based around JavaScript. If you wanted to know about JavaScript and PHP, y

Re: [PHP] User's Screen Resolution Size

2003-06-18 Thread John W. Holmes
Vernon wrote: Not for nothing, but every time I post to this group I get treated poorly. It has to do with php and I've already gotten an answer from this group, off the PHP web site no less! http://www.php.net/manual/en/faq.html.php#faq.html.javascript-variable Doesn't take much to spread a littl

[PHP] ie issue: when I do a forced redirect with the header() functionthe location bar does not change

2003-06-18 Thread Jeff Means
How do I force IE to update the location bar when I do a forced redirect?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Zend encoding and security

2003-06-18 Thread Manuel Lemos
Hello, On 06/16/2003 07:20 AM, Zeev Suraski wrote: I guess they can't compare with what they can't afford to buy. It's therefore nice that it's available for free 21-day evaluation on zend.com, isn't it? :) I suppose that was not available when they started making those benchmarks. It was,

Re: [PHP] User's Screen Resolution Size

2003-06-18 Thread Vernon
Not for nothing, but every time I post to this group I get treated poorly. It has to do with php and I've already gotten an answer from this group, off the PHP web site no less! http://www.php.net/manual/en/faq.html.php#faq.html.javascript-variable Doesn't take much to spread a little kindness. I

Re: [PHP] User's Screen Resolution Size

2003-06-18 Thread Justin French
on 19/06/03 6:54 AM, Vernon ([EMAIL PROTECTED]) wrote: > The point is I don't know how to do that. That's why I was asking. :) This is not a JavaScript list -- find out the value in JS (do some googling, join a JS newsgroup, etc etc), THEN ask us how to work it within your PHP app. Justin --

Re: [PHP] My non-windows friends please help

2003-06-18 Thread Justin French
This is soo OT, but you've got a JS error under IE5.1 Mac OS 8.6: Line 384 Char 2 'undefined' is undefined Now, what exactly are we supposed to be testing??? Shouldn't your browser/platform detection be echoing something to the screen, so we can tell you if it worked/was acurate or not? Jus

Re: [PHP] Another hosting question....

2003-06-18 Thread Michael Seely
I highly recommend http://www.tierranet.com They can deliver what you need. I've used them for several years and have found their response and service quality to be excellent. They have custom configured dedicated hosting. Mike At 7:52 PM -0400 6/18/03, Mike Morton wrote: I know that this

Re: [PHP] Another hosting question....

2003-06-18 Thread Newton
I only heard good things about rackshack. It should be worth a look, plus the price are more than decent. http://www.rackshack.net/english/index.asp Mike Morton wrote: I know that this subject has been beaten to death, but I going through old lists, I see a lot of hosting companies for site host

[PHP] Another hosting question....

2003-06-18 Thread Mike Morton
I know that this subject has been beaten to death, but I going through old lists, I see a lot of hosting companies for site hosting, but I am interested specifically in dedicated server hosting. It is tough to find a hosting facility that is state of the art, with big pipes and redundancy, but is

Re: [PHP] .htaccess files

2003-06-18 Thread Lars Torben Wilson
On Wed, 2003-06-18 at 15:34, Steve Marquez wrote: > Hello everyone, > > Could someone point me in the direction of some info on .htaccess files? > Could someone send me one, tell me where to put it in my > server? I hope this is not a stupid question. I am running Apache on a Mac > with Jaguar OSX

Re: [PHP] .htaccess files

2003-06-18 Thread Mike Morton
Nothing to do with php but: http://search.apache.org/index.cgi?query=.htaccess&submit=Search%21&metaname =swishdefault&sort=swishrank&sbm=httpd On 6/18/03 6:34 PM, "Steve Marquez" <[EMAIL PROTECTED]> wrote: > Hello everyone, > > Could someone point me in the direction of some info on .htaccess

[PHP] Empty session directory

2003-06-18 Thread Iván Díaz
Hi everyone! I would like to know if I need to empty from time to time the directory where the session files are stored. I'm running windows nt4.0 and Apache. Thanks in advance. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] .htaccess files

2003-06-18 Thread Brian V Bonini
On Wed, 2003-06-18 at 18:34, Steve Marquez wrote: > Hello everyone, > > Could someone point me in the direction of some info on .htaccess files? > Could someone send me one, tell me where to put it in my > server? I hope this is not a stupid question. I am running Apache on a Mac > with Jaguar OSX

Re: [PHP] .htaccess files

2003-06-18 Thread Leif K-Brooks
Steve Marquez wrote: Hello everyone, Could someone point me in the direction of some info on .htaccess files? Could someone send me one, tell me where to put it in my server? I hope this is not a stupid question. I am running Apache on a Mac with Jaguar OSX. This has nothing to do with PHP. -- T

[PHP] PHP 4.3.3RC1 released.

2003-06-18 Thread Jani Taskinen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This is the first release candidate of the upcoming maintenance release of PHP 4.3.3. Please download and test it as much as possible on real-life applications to uncover any remaining issues. Sources: http://d

Re: [PHP] Agh! Driving me crazy!

2003-06-18 Thread Robert Cummings
Mike At Spy wrote: > > Anyone see anything wrong with this line of code? > > $fine = mysql_query("INSERT INTO > tblPOItems(poID,poItemUPC,poItemNumber,poItemDescription,poItemInnerCasePkg, > poInnerQuantity,poItemEstQuantity,poItemCostEach,poItemSuggestedSellPrice) > values('$poID', '$place[0]',

[PHP] .htaccess files

2003-06-18 Thread Steve Marquez
Hello everyone, Could someone point me in the direction of some info on .htaccess files? Could someone send me one, tell me where to put it in my server? I hope this is not a stupid question. I am running Apache on a Mac with Jaguar OSX. Thanks for your help, -Steve Marquez [EMAIL PROTECTED] -

Re: [PHP] Strange roblems with sessions

2003-06-18 Thread Jeff Harris
|- Original Message - |From: "Logan McKinley" <[EMAIL PROTECTED]> |To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> |Sent: Wednesday, June 18, 2003 12:51 PM |Subject: [PHP] Strange roblems with sessions | | |> what it is meant to do: |> take a querystring set it to a session variable (outputs e

[PHP] one corrupted image and imagecreatefromjpeg

2003-06-18 Thread Hatem Ben
Hey all, I have one corrupted image in a list of thoughsand of images, and the program stop with this message Corrupt JPEG data: bad huffman code Any idea to ignore this image and continue ? i cannot detect which image is corrupted and imagecreatefromjpeg return true thank you, Hatem

Re: [PHP] direct access to file uploads

2003-06-18 Thread CPT John W. Holmes
> I am new to PHP and am trying to get access to files that are uploaded. > I have RTFM ;-) and have noticed that PHP writes the file to disk in a > temporary location and provides a method/class with all of the > information needed to access it. I am loading (PDF's) into a binary > field in mySQL

[PHP] direct access to file uploads

2003-06-18 Thread Thomas Bolioli
I am new to PHP and am trying to get access to files that are uploaded. I have RTFM ;-) and have noticed that PHP writes the file to disk in a temporary location and provides a method/class with all of the information needed to access it. I am loading (PDF's) into a binary field in mySQL and fi

Re: [PHP] User's Screen Resolution Size

2003-06-18 Thread Leif K-Brooks
Vernon wrote: The point is I don't know how to do that. That's why I was asking. :) But it's a javascript question, not a PHP question. -- 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. -- PH

Re: [PHP] picture help

2003-06-18 Thread Jason Wong
On Thursday 19 June 2003 05:05, Edward Peloke wrote: > thanks, I tried and it doesn't help. For some reason some of the pictures > I upload look fine and some look bad no matter if I use imagecopyresampled > or resized > > $newimg=imagecreate($nw,$nh); Use imagecreatetruecolor() instead. --

Re: [PHP] Validating a "money" input

2003-06-18 Thread CPT John W. Holmes
> What is the best way to validate a "money" input? For example, 3452.67 > versus 3452..67. if($value == (string)round((float)$value,2)) or if(preg_match('/^[0-9]*\.?[0-9]+$/',$value)) appear to work. :) Assuming your value is a string to start with. ---John Holmes... -- PHP General Maili

[PHP] Validating a "money" input

2003-06-18 Thread Todd Cary
What is the best way to validate a "money" input?  For example, 3452.67 versus 3452..67. Todd --

Re: [PHP] User's Screen Resolution Size

2003-06-18 Thread Vernon
Thats' great! Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] User's Screen Resolution Size

2003-06-18 Thread Philip Olson
> > I what to be able to set a variable based on user's screen resolution. > > > > Can anyone tell me who to do that? > > Use javascript to get the screen resolution and pass it back to your php script thru > a > hidden form field or some other means. And awhile back someone used this as an ex

RE: [PHP] picture help

2003-06-18 Thread Edward Peloke
thanks, I tried and it doesn't help. For some reason some of the pictures I upload look fine and some look bad no matter if I use imagecopyresampled or resized -Original Message- From: Lars Torben Wilson [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 4:49 PM To: Edward Peloke Cc

Re: [PHP] User's Screen Resolution Size

2003-06-18 Thread Vernon
The point is I don't know how to do that. That's why I was asking. :) Vern -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mySQL: Rows and columns

2003-06-18 Thread Philip Olson
On Wed, 18 Jun 2003, zavaboy wrote: > I know this is more of a mySQL question but, how do I delete and add rows > and columns? Before you touch MySQL or attempt to access it through PHP, you really should learn basic SQL: http://www.sqlcourse.com/ http://www.w3schools.com/sql/ http://linux

Re: [PHP] picture help

2003-06-18 Thread Lars Torben Wilson
On Wed, 2003-06-18 at 13:39, Edward Peloke wrote: > Hello all, I have this code that takes an image sent from a form and resizes > it for a thumbnail and for display, the problem is the pictures look nice > until this does the resizing, then the quality is horrible...can I fix it? > > Thanks, > Ed

Re: [PHP] picture help

2003-06-18 Thread Jason Wong
On Thursday 19 June 2003 04:39, Edward Peloke wrote: > Hello all, I have this code that takes an image sent from a form and > resizes it for a thumbnail and for display, the problem is the pictures > look nice until this does the resizing, then the quality is horrible...can > I fix it? > image

Re: [PHP] User's Screen Resolution Size

2003-06-18 Thread R'twick Niceorgaw
Use javascript to get the screen resolution and pass it back to your php script thru a hidden form field or some other means. On 18 Jun 2003 at 16:21, Vernon wrote: > I what to be able to set a variable based on user's screen resolution. > > Can anyone tell me who to do that? > > Thanks > >

Re: [PHP] Re: Difference between $_POST[foo] and $_POST['foo']?

2003-06-18 Thread Philip Olson
> print "$_POST['foo']"; // generates a warning The above is only true in PHP 4.3.0-1 as there was a bug that caused the E_NOTICE there. In all other PHP versions, the above will cause a parse error. Regards, Philip -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

RE: [PHP] mySQL: Rows and columns

2003-06-18 Thread Boaz Yahav
how about : Start Using MySQL http://articles.weberdev.com/ViewArticle.php3?ArticleID=247 Beginners guide to PHP/MySQL - Creating a simple guest book http://articles.weberdev.com/ViewArticle.php3?ArticleID=26 Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take

[PHP] Session Vars

2003-06-18 Thread Jason Paschal
setting up some pages to allow users to log in, and store their userID in a session var. for development purposes, i've installed AMP on my windows box. -everything parses fine -register globals is on. problem: session vars do not seem to be carrying over pages, even when i set the session_id to

[PHP] SNMP v2

2003-06-18 Thread Russell Handorf
i'm having a heck of a time getting snmpv2 to work with php. does anyone else have it working yet? i'm on rh 7.3 with apache v 1.3.23-14 and php v 4.1.2-7.3.6 on a test system not on the internet. what i'm trying to accomplish is a mib walk with php on a device that only supports snmpv2. here

RE: [PHP] working with forms

2003-06-18 Thread Boaz Yahav
You already have the information you need, call the previous page again with this info + a message about what was wrong. Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -Original Message- From: Matt Palermo [mailto:[EMAIL PROTECTED]

RE: [PHP] picture help

2003-06-18 Thread Boaz Yahav
This might help : array img_resize(string 'path to source image', string 'path to destination image', string mode, int size); modes: "h" - Height "w" - Width "a" - auto (resizes by the largest dimension) http://examples.weberdev.com/get_example.php3?count=157 Sincerely berber Visit http://

[PHP] picture help

2003-06-18 Thread Edward Peloke
Hello all, I have this code that takes an image sent from a form and resizes it for a thumbnail and for display, the problem is the pictures look nice until this does the resizing, then the quality is horrible...can I fix it? Thanks, Eddie -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Re: Difference between $_POST[foo] and $_POST['foo']?

2003-06-18 Thread Lars Torben Wilson
On Tue, 2003-06-17 at 07:47, Chris Hayes wrote: > At 16:37 17-6-03, you wrote: > >On Tue, 2003-06-17 at 09:09, nabil wrote: > > > A side question along with this ,,, how can I include > > $_POST['foo'] in the > > > : > > > $sql ="select * from db where apple = '$_POST['foo']' "; > > > > > > wit

Re: [PHP] Strange roblems with sessions

2003-06-18 Thread Logan McKinley
The problem is happening when the header("Location: http://localhost/PHP/registration_form.php";); line is executed to redirect to the registration_form.php page. It occurs before you ever get to the point where the form would be submitted. Its all in the php code at the beginning of the page. "S

[PHP] User's Screen Resolution Size

2003-06-18 Thread Vernon
I what to be able to set a variable based on user's screen resolution. Can anyone tell me who to do that? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Agh! Driving me crazy!

2003-06-18 Thread Mike At Spy
Gah!!! :) Thanks! Thanks to all! :) -Mike > -Original Message- > From: Jennifer Goodie [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 18, 2003 3:05 PM > To: Mike At Spy; [EMAIL PROTECTED] > Subject: RE: [PHP] Agh! Driving me crazy! > > > You are missing the closing ) around the v

Re: [PHP] Re: Difference between $_POST[foo] and $_POST['foo']?

2003-06-18 Thread chris
On 17 Jun 2003 09:37:12 -0500, Tom Woody <[EMAIL PROTECTED]> wrote: On Tue, 2003-06-17 at 09:09, nabil wrote: A side question along with this ,,, how can I include $_POST['foo'] in the : $sql ="select * from db where apple = '$_POST['foo']' "; without getting an error ?? should I append it as

RE: [PHP] Agh! Driving me crazy!

2003-06-18 Thread Lars Torben Wilson
On Wed, 2003-06-18 at 12:56, Michael Sweeney wrote: > Also, you might have problems with the array reference $place[1] not > expanding from within the string - you might need to concatenate the > string around it: > > ...'$cases', '". $place[1] ."', '$iice'... > > ..michael.. No, his syntax with

RE: [PHP] Agh! Driving me crazy!

2003-06-18 Thread Michael Sweeney
Also, you might have problems with the array reference $place[1] not expanding from within the string - you might need to concatenate the string around it: ...'$cases', '". $place[1] ."', '$iice'... ..michael.. On Wed, 2003-06-18 at 12:05, Jennifer Goodie wrote: > You are missing the closing ) a

Re: [PHP] Strange roblems with sessions

2003-06-18 Thread Kevin Stone
- Original Message - From: "Logan McKinley" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, June 18, 2003 12:51 PM Subject: [PHP] Strange roblems with sessions > what it is meant to do: > take a querystring set it to a session variable (outputs error if

Re: [PHP] Strange roblems with sessions

2003-06-18 Thread Steve Keller
At 6/18/2003 03:22 PM, Logan McKinley wrote: > the error checking include file just handles php errors, the javascript > handles form validation. I believe the problem i am having is with the > session not the error handling, because i removed all validation and it did > the same thing. Yes, that

Re: [PHP] Strange roblems with sessions

2003-06-18 Thread Logan McKinley
the error checking include file just handles php errors, the javascript handles form validation. I believe the problem i am having is with the session not the error handling, because i removed all validation and it did the same thing. ~Logan "Steve Keller" <[EMAIL PROTECTED]> wrote in message ne

Re: [PHP] Strange roblems with sessions

2003-06-18 Thread Steve Keller
At 6/18/2003 02:51 PM, Logan McKinley wrote: > <-- the code in question > > I have attached the actual files if that would be of more help, > Thanks in advance for any help, The first thing that I noticed is that you're doing error checking in "registration_form.php", but your form i

Re: [PHP] Need someone with a fresh mind on tacking thisarrayproblem...

2003-06-18 Thread Lars Torben Wilson
On Wed, 2003-06-18 at 11:45, Scott Fletcher wrote: > Bingo!! I did some PHP re-arrangement and I also do what you were saying > about taking out the quote. It doesn't work with the quote inside and it > work without the quote. What so interesting is that the year is actually a > string so I figu

RE: [PHP] Agh! Driving me crazy!

2003-06-18 Thread Jennifer Goodie
You are missing the closing ) around the values you are inserting. > Anyone see anything wrong with this line of code? > > $fine = mysql_query("INSERT INTO > tblPOItems(poID,poItemUPC,poItemNumber,poItemDescription,poItemInn > erCasePkg, > poInnerQuantity,poItemEstQuantity,poItemCostEach,poItemSug

[PHP] Agh! Driving me crazy!

2003-06-18 Thread Mike At Spy
Anyone see anything wrong with this line of code? $fine = mysql_query("INSERT INTO tblPOItems(poID,poItemUPC,poItemNumber,poItemDescription,poItemInnerCasePkg, poInnerQuantity,poItemEstQuantity,poItemCostEach,poItemSuggestedSellPrice) values('$poID', '$place[0]', '$inmb', '$ides', '$iicp', '$case

[PHP] Strange roblems with sessions

2003-06-18 Thread Logan McKinley
what it is meant to do: take a querystring set it to a session variable (outputs error if neither querystring nor sesison exist) then reloads the page (to remove the querystring) what it (appears) to do: it sets the querysting to the session, reloads the page and outputs an error saying it doesn't

Re: [PHP] Need someone with a fresh mind on tacking thisarrayproblem...

2003-06-18 Thread Scott Fletcher
Bingo!! I did some PHP re-arrangement and I also do what you were saying about taking out the quote. It doesn't work with the quote inside and it work without the quote. What so interesting is that the year is actually a string so I figured that putting it in a sting will work, but I guess not..

Re: [PHP] Need someone with a fresh mind on tacking thisarrayproblem...

2003-06-18 Thread Scott Fletcher
Well, I don't remember exactly where was it mentioned. It involve the array, $_SESSION, $_REQUEST, etc. where there is a double bracket is being mentioned. :-) Thanks, Scott P.S. still working on php script. sigh! "Lars Torben Wilson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTE

Re: [PHP] Need someone with a fresh mind on tacking thisarrayproblem...

2003-06-18 Thread Lars Torben Wilson
On Wed, 2003-06-18 at 11:11, Scott Fletcher wrote: > Well, the PHP Manual said we should be using the quote (single or double) > inside the array no matter what, it also reduce the side-effect problem. > It's what I read at php.net in the past. That's referring to string literals, but that might n

Re: [PHP] Sessions?

2003-06-18 Thread Lars Torben Wilson
On Wed, 2003-06-18 at 11:06, Lee Elenbaas wrote: > Hi, > > I have failed to find the information I am looking for on session management > by PHP do they use cookies? Is there a way to use URL rewriting? How do I > find the timeout time? is there a way to close a session manually? > It seem to me

Re: [PHP] Sessions?

2003-06-18 Thread Tyler Longren
Did you try taking a look at the manual? Tyler - Original Message - From: "Lee Elenbaas" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 18, 2003 1:06 PM Subject: [PHP] Sessions? > Hi, > > I have failed to find the information I am looking for on session management > b

Re: [PHP] Need someone with a fresh mind on tacking this arrayproblem...

2003-06-18 Thread Scott Fletcher
Well, the PHP Manual said we should be using the quote (single or double) inside the array no matter what, it also reduce the side-effect problem. It's what I read at php.net in the past. "Lars Torben Wilson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Wed, 2003-06-18 at 10:32

[PHP] Sessions?

2003-06-18 Thread Lee Elenbaas
Hi, I have failed to find the information I am looking for on session management by PHP – do they use cookies? Is there a way to use URL rewriting? How do I find the timeout time? is there a way to close a session manually? It seem to me like all those questions got to have answers for them somewh

RE: [PHP] My non-windows friends please help

2003-06-18 Thread Cesar Cordovez
Mike: If it is possible, I would like to see the code you have to detect the diferent browsers and platforms. I'm doing the same here! Maybe we can share some code? Cesar -Original Message- From: Mike Mannakee [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 1:56 PM To: [EMAIL

[PHP] My non-windows friends please help

2003-06-18 Thread Mike Mannakee
Hi, I'm testing an implementation of a browser / platform detection on my site. I need a few page views from my non-windows friends, to see some of the varieties of the user_agent_string I get. Please take a moment and surf a page or two on www.basementideas.com/index.php Thanks. Mike -- P

[PHP] DB package

2003-06-18 Thread Jerrad Anderson
Can someone please tell me what I'm doing wrong with this DB.php code? I can't seem to use it to connect to a database. I can connect to the database using the conventional mysql_connect methods but when the following code executes it blanks out all output and I have no way of telling if it's b

[PHP] Using DL to add DLL Files

2003-06-18 Thread Suhas Pharkute
Hello, I am trying to include a dll module in the file. In php.ini safe_mode is off I am getting following warning/error Warning: MyMod: Unable to initialize module Module compiled with debug=0, thread-safety=1 module API=20020429 PHP compiled with debug=0, thread-safety=1 module API=20010901

Re: [PHP] working with forms

2003-06-18 Thread Ian Mantripp
on Wed, Jun 18, 2003, Matt Palermo wrote: >I have a forms page that a user will fill out. When it is submitted, it >checks to see if any of the field entries entries are empty, and if so, >it has a die() statement that has a link (javascript:history.back()) >which sends the user back to the form

Re: [PHP] Error in php after uprading

2003-06-18 Thread John W. Holmes
Javier wrote: Hi, I've upgraded to the latest version of php last week. Suddenly parts of code that was working now displays error. The errors I've found until now are related to Sybase (I use MSSQL 2k as DB server) Here is an example: Warning: mssql_num_rows(): supplied argument is not a valid

[PHP] Error in php after uprading

2003-06-18 Thread Javier
Hi, I've upgraded to the latest version of php last week. Suddenly parts of code that was working now displays error. The errors I've found until now are related to Sybase (I use MSSQL 2k as DB server) Here is an example: Warning: mssql_num_rows(): supplied argument is not a valid Sybase result

Re: [PHP] Need someone with a fresh mind on tacking this arrayproblem...

2003-06-18 Thread Lars Torben Wilson
On Wed, 2003-06-18 at 10:32, Scott Fletcher wrote: [snip] > if ($ArrayCheck == 0) { > $ArrayDataCount['$ODBC_RESULT'] = "0"; What happens when you remove the single-quotes? You're currently defining only one array value, with the key being the literal string '$ODBC_RESULT'--

[PHP] Re: print all variables

2003-06-18 Thread Scott Fletcher
If you want to see any data beside the form, then you can do this... print_r($GLOBALS); Only if you want to see data beside the submitted form. "Matt Palermo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Could anyone tell me how to print all the variables and values from a submitt

[PHP] Need someone with a fresh mind on tacking this array problem...

2003-06-18 Thread Scott Fletcher
Hi, need someone with a fresh mind on tacking this problem. I haven't gotten this to work right for 1 1/2 days now. In the sample script, you will noticed that the php variable, '$ODBC_RESULT' represent a year in 4 digit, like 2003, 2002, 2001, 2000, etc... When I grab the data from the database

[PHP] working with forms

2003-06-18 Thread Matt Palermo
I have a forms page that a user will fill out. When it is submitted, it checks to see if any of the field entries entries are empty, and if so, it has a die() statement that has a link (javascript:history.back()) which sends the user back to the form page. However, when they go back to the for

Re: [PHP] mySQL: Rows and columns

2003-06-18 Thread Lars Torben Wilson
On Wed, 2003-06-18 at 10:03, zavaboy wrote: > I know this is more of a mySQL question but, how do I delete and add rows > and columns? > > -- > > - Zavaboy > [EMAIL PROTECTED] > www.zavaboy.com Using the mysql_*() function and the SQL language. The mysql_*() functions are documented here: h

Re: [PHP] mySQL: Rows and columns

2003-06-18 Thread bbonkosk
http://www.mysql.com/doc/en/ALTER_TABLE.html > I know this is more of a mySQL question but, how do I delete and add rows > and columns? > > -- > > - Zavaboy > [EMAIL PROTECTED] > www.zavaboy.com > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www

RE: [PHP] mySQL: Rows and columns

2003-06-18 Thread Aaron Gould
A search on mysql.com reveals. http://www.mysql.com/search/index.php?q=DELETE&from=%2Fdocumentation%2Findex .html -- Aaron Gould Web Developer Parts Canada -Original Message- From: zavaboy [mailto:[EMAIL PROTECTED] Sent: June 18, 2003 1:03 PM To: [EMAIL PROTECTED] Subject: [PHP]

[PHP] mySQL: Rows and columns

2003-06-18 Thread zavaboy
I know this is more of a mySQL question but, how do I delete and add rows and columns? -- - Zavaboy [EMAIL PROTECTED] www.zavaboy.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Random CGI Errors

2003-06-18 Thread Adam Voigt
Affirmative. On Wed, 2003-06-18 at 12:53, Jay Blanchard wrote: > [snip] > We have a server running Windows 2000 with IIS, and > PHP 4.2.3 and we are having a fairly continuous stream > of the standard "CGI Application Misbehaved" errors > (like every 5 pages). There doesn't seem to be any pattern

RE: [PHP] Random CGI Errors

2003-06-18 Thread Jay Blanchard
[snip] We have a server running Windows 2000 with IIS, and PHP 4.2.3 and we are having a fairly continuous stream of the standard "CGI Application Misbehaved" errors (like every 5 pages). There doesn't seem to be any pattern in relation to code or particular page. Upgrading versions of PHP would b

[PHP] Random CGI Errors

2003-06-18 Thread Adam Voigt
We have a server running Windows 2000 with IIS, and PHP 4.2.3 and we are having a fairly continuous stream of the standard "CGI Application Misbehaved" errors (like every 5 pages). There doesn't seem to be any pattern in relation to code or particular page. Upgrading versions of PHP would be my fi

Re: [PHP] print all variables

2003-06-18 Thread Lars Torben Wilson
On Wed, 2003-06-18 at 08:51, Matt Palermo wrote: > Could anyone tell me how to print all the variables and values from a submitted > form, so that I can check them? > > Thanks, > > Matt print_r($_REQUEST); ...or, depending on the method your form is using, one of: print_r($_POST); //

Re: [PHP] Re: Help with my code

2003-06-18 Thread Terje Torkelsen
hehe.. know, i seem to write it a little fast.. it a _long_ time since ive use this notation.. :) im gonna check it to be sure next time.. On Wed, 18 Jun 2003 17:45:26 +0200, Lars Torben Wilson wrote (in message <[EMAIL PROTECTED]>): > Organization: > MIME-version: 1.0 > X-Mailer: Ximian Evolut

[PHP] Re: array_shift

2003-06-18 Thread Diana Castillo
never mind I found the answer, use key(arrayname) to get the key and next(arrayname) to move to next element without reseting the keys. "Diana Castillo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > how can I do an array shift without reseting the keys? > how can I get the key of t

[PHP] Re: print all variables

2003-06-18 Thread Skex
Depending on Form Method (example uses POST METHOD) echo ""; print_r($HTTP_POST_VARS); echo ""; "Matt Palermo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Could anyone tell me how to print all the variables and values from a submitted form, so that I can check them? Thanks, Ma

  1   2   >