RE: [PHP] Re: Finding out how a variable was registered

2002-06-05 Thread Scott Hurring
your work. (But then again, if you get anyone that's smart and committed, it's just a matter of time before he will figure out *some* loophole to subvert your forms) --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 >

RE: [PHP] Re: PHP Apache Module AND command Line

2002-06-05 Thread Scott Hurring
Grab the PHP ZIP, unzip it, add it to your PATH. done. :-) --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: John Taylor-Johnston [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, June 05, 200

[PHP] Search Engine Friend Dynamic Pages

2002-06-05 Thread Scott Reismanis
Hey all, Just a quick question regarding developing search engine friendly pages. Basically I am re-writing my site so that say mysite.com? page=support&action=help becomes mysite.com/support/help/ Reason why is it looks nicer and is search engine friendly, as some search engines cannot spider

Re: [PHP] Search Engine Friend Dynamic Pages

2002-06-05 Thread Scott Reismanis
P] Search Engine Friend Dynamic Pages > Scott Reismanis wrote: > > > Just a quick question regarding developing search engine friendly > > pages. Basically I am re-writing my site so that say mysite.com? > > page=support&action=help becomes mysite.com/support/help

RE: [PHP] Arrays: Please help before I go insane?

2002-06-06 Thread Scott Hurring
Try: $ary["this"] = array("that" => 1); --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Chris Boget [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 06, 2002 1:4

RE: [PHP] Re: Anyone?

2002-06-06 Thread Scott Hurring
ert it. Buffer overflows in "C", and flawed Double-byte char support in "IIS", to name a few recent and better-known exploits. --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Ada

RE: [PHP] [PLEASE HELP] Passing variable to new page.

2002-06-06 Thread Scott Hurring
Javascript, being silly, has silly string rules: function pop1($id) { window.open("info.php?prod_id="+ $id); } --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Chris Knip

RE: [PHP] FW: NEED HELP (passing variable to new page)

2002-06-06 Thread Scott Hurring
to answer every question, especially when the questions aren't related to PHP, or are really vauge or common or just plain silly :-) --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: 1LT J

RE: [PHP] Can I get back a deleted row from mysql?

2002-06-06 Thread Scott Hurring
Nope. For future reference, perhaps create two identical tables, one for actual live data and one for trash, and instead of deleting anything, just move it all into the trash table. then, you can purge the trash table every few days/months. --- Scott Hurring Systems Programmer EAC Corporation

RE: [PHP] Arrays: Please help before I go insane?

2002-06-06 Thread Scott Hurring
In that case, split it up into two-steps, to only init the array if you need to i'm not really sure how the rest of your code is -- you could probably do this a nicer way, but this will work: if (!is_array($ary["this"])) $ary["this"] = array(); $ary["

[PHP] Some generic pointers for secure writing (was Re: Anyone?)

2002-06-06 Thread Scott Hurring
into bug hell. --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Jas [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 06, 2002 3:48 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Re: A

RE: [PHP] Trying to list a directory content HELP PLEASE

2002-06-06 Thread Scott Hurring
d* work, but you'll never know why it's not working if you don't check return statuses --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Jason Wong [mailto:[EMAIL PROTECTED]] > S

RE: [PHP] OOP style question

2002-06-06 Thread Scott Hurring
iables $this->cleanup($form); } function cleanup($form) { // Only run once per instance if ($this->cleanup_called) return 1; $this->cleanup_called = 1; // ... do cleanup } --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax

[PHP] RE: Possible bug? (was Re: [PHP] Arrays: Please help before I go insane?)

2002-06-06 Thread Scott Hurring
NOT an Array -- very very important difference) Here's my output of the code below: SET == SET Passing to getParentNodes: currentBranch[one][two] = Array --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message

RE: [PHP] Weird intermittent "No Database Selected" problem

2002-06-06 Thread Scott Hurring
I assume you're not checking the status returned by the database function calls, becuase they'd probably give you valueable information on *why* it's doing that. :) try checking the return val, and (if using mysql) print out mysql_error() if you get a bad return val. --- Scott

RE: [PHP] very simple eregi / loop question

2002-06-07 Thread Scott Hurring
eregs) --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Robert [mailto:[EMAIL PROTECTED]] > Sent: Friday, June 07, 2002 4:46 PM > To: [EMAIL PROTECTED] > Subject: [PHP] very simple e

[PHP] Re: url string

2002-06-10 Thread Scott Hurring
Did you verify that the variables actually contain data? They're probably empty, which is why they dont seem to be passing correctly. -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Kris Vose" <[EMAIL PROTECTED]> wrote in message [EMAIL PR

[PHP] limit to number of mail function headers?

2002-06-11 Thread SCOTT . NOVINGER
is there a limit to the number of headers you can use in the mail ( ) function? it seems as though the data is not being passed from the form fields to the variables in the headers. for instance $contact does display in the resulting html. see code below. also, just upgraded to apache 1.3.24,

[PHP] Comments / Question about XML?

2002-06-11 Thread Scott Fletcher
). By the way, know of any good documentation about the XML and PHP with XML? I don't want to do the XML on the XHTML side. I want to do it on the PHP side because of security reason and of the browser's incompatibility. Thaks, Scott -- PHP General Mailing List (http://www.php.net

Re: [PHP] Comments / Question about XML?

2002-06-11 Thread Scott Fletcher
Havent' thought about that. That's what so great about UNIX!!! Windows, too picky!!!! Scott "Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hey Scott: > > > I also found out that I w

Re: [PHP] cut text?

2002-06-11 Thread Scott Hurring
Try (this is untested) if (length($string) > 30) { print substr($string, 0, 30) ."..."; } else { print $string; } --OR-- (if you want to over-write $string) $string = ((length($string) >= 30) ? substring($string, 0, 30) ."..." : $string ); -- Scott Hurr

[PHP] Re: Emulating a class destructor

2002-06-11 Thread Scott Hurring
This is completely off the top of my head (i've never done this before) -- but try single-quoting it to prevent interpolation register_shutdown_function('$this->cleanup()'); -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "William_dw -- Sqlco

Re: [PHP] Re: GOTO command. Doest it exist?

2002-06-11 Thread Scott Hurring
Well, IMO, the only languages that really need goto's are low-level ones like assembly and C. goto's are more trouble than they're worth when you get into structured or OO programming. -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Carlos U. Ci

Re: [PHP] Re: Emulating a class destructor

2002-06-11 Thread Scott Hurring
e call close()"; $this->close(); } function close(){ //close open sockets, etc. } } // End of class function cRoute_Destructor($x) { $x->cleanup(); } // end of cRoute.inc $test = new cRoute(); exit; -- Scott Hurring Systems Programmer EAC Corpor

[PHP] Re: is preg_replace the fastest way?

2002-06-11 Thread Scott Hurring
I think this is similar to what you're asking for, but it's probably slower (you have to split(), traverse, then join()) foreach ($noiselist as $noise) foreach ($inputlist as $input) if ($noise == $input) // do something -- Scott Hurring Systems Programmer EAC Corpora

[PHP] XML with PHP?

2002-06-12 Thread Scott Fletcher
Hey! Which PHP option should I use for compiling with the XML support. I'm using the standard XML support on the web and I found there are 4 or 5 different PHP option for XML. Which should I use? The example of the XML is .. -- clip -- http://www."; ...> 11

[PHP] Re: form post

2002-06-12 Thread Scott Hurring
There's no way to for PHP to say "Yo, let's ride... submit that form" Client-side manipulations must be done client-side, with javascript or something similar. -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Kris Vose" <[EMAIL PR

[PHP] Compiling PHP with XML????

2002-06-26 Thread Scott Fletcher
I looked in the "./configure --help" for the xml support. It didn't say but show some options such as disabling xml, using xml with different stuffs. Nothing is being mentioned about enabling xml or something. So, is xml in php supported automatically? Thanks, Scott -- PHP

Re: [PHP] Compiling PHP with XML????

2002-06-26 Thread Scott Fletcher
Cool! Just finished compiling PHP before I read your post. :-) I took the risk and include hte "--enable-xml" option even though it is not included and it compiled successfully. But with a lot of warning though. Thanks! Scott "Erik Price" <[EMAIL PROTECTED]&g

[PHP] PHP does not work??

2002-06-26 Thread Scott Fletcher
thrown off becuase of this. I use PHP version 4.2.1. Is there a bug in this PHP version??? Or some changes in PHP that I'm not aware of? Let me know! Thanks, Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP does not work??

2002-06-26 Thread Scott Fletcher
If anyone know, can anyone tell me what it does? Thanks. Scott "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi! I downloaded the newer version of PHP and compiled it. The php is > working great! But

Re: [PHP] Re: PHP does not work??

2002-06-26 Thread Scott Fletcher
use global variables came from hyperlinks. I have no form method like "post" or "get". I have one website that use session. Like session_start(), session_register(), etc. How would this be affected and what is the work around to this one. Thanks, Scott "Jay Blanchard&qu

Re: [PHP] Re: PHP does not work??

2002-06-26 Thread Scott Fletcher
comments about "_GET['data']". I tried that and it worked. I have one question, what about the hyperlink? People will see the option in the hyperlink. You know. Is there a way around it to hid that in the hyperlink? Just curious. Thanks, Scott "Erik Price" <[EMA

Re: [PHP] Re: PHP does not work??

2002-06-26 Thread Scott Hurring
to "hide" submitted data, rather, build a stronger backend. -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi Erik! > > This is my 2nd

Re: [PHP] Re: PHP does not work??

2002-06-26 Thread Scott Fletcher
derneath it, when clicked will go to a different webpage. Thanks, Scott "Erik Price" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > On Wednesday, June 26, 2002, at 02:56 PM, Scott Fletcher wrote: > > > I tried that a

Re: [PHP] Re: PHP does not work??

2002-06-28 Thread Scott Fletcher
Not a problem, I can make some code modification. Sometime it is better to do it now and not have so much headache later on when more features are being added. Scott "Kondwani Spike Mkandawire" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED

Re: [PHP] Re: PHP does not work??

2002-06-28 Thread Scott Fletcher
Not a problem! I can make some adjustment to the $user_detail[''] (session_id()) to make it work as $_SESSION['']. Scott "Erik Price" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > On Wednesday, June 26,

[PHP] register_global, need some feedback

2002-07-01 Thread Scott Fletcher
Hi! With the register_global turned off. I'm working on making the login to work again. So, I have a few questions. 1) $GLOBALS, Where does this come from and where does this goes to? I noticed there is no variable declaration for this, so I just know that it is part of PHP codes, although I

[PHP] odbc_fetch_into, broken???

2002-07-01 Thread Scott Fletcher
Hi! I seem to have problem with the odbc_fetch_into function and it seem to be broken. It skipped some columns when retrieving data from the two tables. I didn't have that problem with the previous version of PHP. I'll include the sample of the function code for your convience. Does anyone

[PHP] odbc_fetch_into ??

2002-07-02 Thread Scott Fletcher
-- I expect the result to give me the state name, not zip code or address number, etc. Thanks, Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: odbc_fetch_into ??

2002-07-02 Thread Scott Fletcher
[$x].""; } --clip-- "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > odbc_fetch_into didn't give me the result I expect it to. When returning > the data, It skipped some columns. With the register_global turned of

[PHP] Re: DOCUMENT_ROOT disappeared on me!

2002-07-02 Thread Scott Fletcher
Try $_SERVER['DOCUMENT_ROOT']. Global register is turned off by default in PHP version 4.2.x. See http://www.php.net/release_4_1_0.php for more detail. Global register had been turned off as part of more security since many people use the global register. So, $_SERVER, $_ENV, $_SESSION, etc. is

Re: [PHP] Re: odbc_fetch_into ??

2002-07-02 Thread Scott Fletcher
newer version of PHP. Heh, heh. I'm going to have to change the job soon because of the poor work policy and lousy salary. Well, wish I can leave now but I'm not ready for that yet. Thanks! Scott F. "Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message [E

Re: [PHP] Re: odbc_fetch_into ??

2002-07-02 Thread Scott Fletcher
That function, odbc_fetch_array() does not work. PHP spit out the error, undefined function. "Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Scott: > > On Tue, Jul 02, 2002 at 10:05:31AM -0400, S

Re: [PHP] Re: odbc_fetch_into ??

2002-07-02 Thread Scott Fletcher
ws:[EMAIL PROTECTED]... > On Tue, Jul 02, 2002 at 11:59:59AM -0400, Scott Fletcher wrote: > > That function, odbc_fetch_array() does not work. PHP spit out the error, > > undefined function. > > Huh? Which version of PHP are you using? It's available in 4.0.2 or >

[PHP] $_SESSION

2002-07-02 Thread Scott Fletcher
Hi Again! I missed part of the past responses to the past posting over the last few days because I had it cleaned from MS-Outlook folder. So, feel free to provide some feedback on the transformation from the script with register global turned on to off. Need some feedback on hiding the $SID fro

[PHP] Re: upgrading php...

2002-07-02 Thread Scott Fletcher
You will need to upgrade Apache to 1.3.26 due to security hole. As we all know, Windows is very vulerable to virus like worms, so with the Apache's hole, it make it easier for hte virus to get in. So, better upgrade to 1.3.26 as soon as possible, this is where hte hole had been fixed. FletchSOD

[PHP] Re: Have you seen this host?

2002-07-02 Thread Scott Fletcher
This is a newsgroup for PHP discussion. This is not a PHP discussion, so it is a spam mail. Please refrain from using it. "Tony Harrison" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, if you can find a web host that offers ALL these services, i will eat

[PHP] Re: blank

2002-07-02 Thread Scott Fletcher
This is a PHP newsgroup, it is for PHP discussion. This is not a PHP discussion, so it is a spam mail. Please refrain from using it. "Matthew" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > subscribe [EMAIL PROTECTED] > > matthew de Jongh > president > the s

Re: [PHP] Re: blank (OT)

2002-07-03 Thread Scott Fletcher
No problem! Just saw the "www.the-spa.com" link so I thought it was an advertisement. It wasn't until after I submitted did I realize I was in error. FletchSOD "Chris Shiflett" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTE

Re: [PHP] $_POST into a formatted string, help!

2002-07-03 Thread Scott Fletcher
Hey, that is new to me! Thanks! FletchSOD "Kevin Stone" <[EMAIL PROTECTED]> wrote in message 01de01c22216$984c5740$6501a8c0@kevin">news:01de01c22216$984c5740$6501a8c0@kevin... > Oh man I hope you don't shoot yourself when you realize how easy this is.. > > foreach ($_POST as $key => $val) > { >

Re: Re[6]: [PHP] cURL in an exec() . more

2002-07-03 Thread Scott Fletcher
Awww Nut! I post a reply a while ago and probably accidenly delete it instead of sending it. Dang! I hate this MS-Outlook software! Anyway! I"m not going to start over, so I'll be brief! 1) Check the file path, like "/usr/local/bin/curl" instead of "curl" as an example. Sometime environment

Re: [PHP] V basic newbie problem

2002-07-03 Thread Scott Fletcher
Sorry to crash in! One quick question! Does the VB script work on NON-IE browsers? FletchSOD "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message 002601c222a0$8d8e7330$8102a8c0@niigziuo4ohhdt">news:002601c222a0$8d8e7330$8102a8c0@niigziuo4ohhdt... > Put it in a WHILE loop and RTFM > > -Origin

[PHP] $_SESSION (turned off, destory??)

2002-07-03 Thread Scott Fletcher
Say that the end-user closed the browser(s) without logging off. The $_SESSION can not be destroyed because the broswer(s) is closed. So, if hte end-user did log off and close the browser(s). How can I destroy the $_SESSION since the session_register() & session_destroy() can not be used with t

Re: [PHP] cURL in an exec() . more

2002-07-03 Thread Scott Fletcher
Ah! I know what you're feeling about Linux. I had that problem using PHP and text editing software (for programming) with Caldera, like ftp timeout, security, file path, etc. It become too much for me, so I junked it and went back to AIX. I haven't tried it on Red Hat but I can easily turned o

Re: Re[2]: [PHP] cURL in an exec() . more

2002-07-03 Thread Scott Fletcher
Bingo! That will work! This is what I do with the modem script. Since there's no PHP function or script for the modem, so I used the C programming that is already written by someone and just use PHP to execute the file. "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message 002901c222a3$8c2a6f00

[PHP] Need Help with $_SESSION.

2002-07-03 Thread Scott Fletcher
Have not been successful in making this work for 2 days now. I'm focusing on making the $_SESSION to work on each webpages. The 1st page is the login. The 2nd page represent the rest of the webpages on a secure side after logging in. I could use some help in making this work. The $_SESSION do

[PHP] Re: Re [PHP] cURL in an exec() . more. SOLVED

2002-07-03 Thread Scott Fletcher
Ha ha! Just what I mentioned from above. FULL PATH! :-) FletchSOD "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message 003201c222ac$9760ad90$8102a8c0@niigziuo4ohhdt">news:003201c222ac$9760ad90$8102a8c0@niigziuo4ohhdt... > It's always the smallest things that will get you, I should be slap

Re: [PHP] $_SESSION

2002-07-03 Thread Scott Fletcher
through the URL string. Not that there is > anything wrong or insecure by passing the session id through the URL string. > -Kevin > > - Original Message - > From: "Scott Fletcher" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, July 02

[PHP] Re: Re [PHP] cURL in an exec() . more. SOLVED

2002-07-03 Thread Scott Fletcher
:-) I went through the same thing the first time! Never again! I just pray and hope that I don't forget the next time! "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Ha ha! Just what I mentioned from above.

Re: [PHP] Need Help with $_SESSION.

2002-07-03 Thread Scott Fletcher
t; wrote in message 1025712692.3987.0.camel@workstation">news:1025712692.3987.0.camel@workstation... > You must do a session_start() before you can use the session ID or the > session array. > > On Wed, 2002-07-03 at 12:24, Scott Fletcher wrote: > > Have not been successful i

Re: [PHP] Need Help with $_SESSION.

2002-07-03 Thread Scott Fletcher
.3987.0.camel@workstation... > You must do a session_start() before you can use the session ID or the > session array. > > On Wed, 2002-07-03 at 12:24, Scott Fletcher wrote: > > Have not been successful in making this work for 2 days now. I'm focusing > > on making the

Re: [PHP] Need Help with $_SESSION.

2002-07-03 Thread Scott Fletcher
The demostration written by Kirk Johnson worked pretty well. So, it should work with my demo script I posted earlier today. Alright! I'm going to have to debug it to find the problem. I'll post the final script once everything is ironed out. Hope to get it done today. Thanks, FletchSOD "Ki

Re: [PHP] Need Help with $_SESSION.

2002-07-03 Thread Scott Fletcher
"; $array[1] = "One"; //This is either for an array or //substitute array for odbc_fetch_into for($x=0;$x<2;$x++) { $_SESSION[$x] = $array[$x]; } Page 2 echo $_SESSION[0]; echo $_SESSION[1]; "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PRO

[PHP] Re: IIS unexpected error

2002-07-05 Thread Scott Fletcher
It would be a good idea to switch to Apache. I had the php script and IIS. The problem with IIS is the virus, so MS provide some patches, include the IIS lockdown. When I activated the IIS Lockdown, it prevent some PHP code from working. It became too much for me so I had to switch to Apache.

Re: [PHP] $_COOKIE

2002-07-05 Thread Scott Fletcher
uot;>news:[EMAIL PROTECTED]... > Scott Fletcher wrote: > > I have a question! Since the $_COOKIE is on the server side, not on the > > client side. So, will the use of hte $_COOKIE be affected when the user's > > browser disabled the cookie? I do not know how the $_COOKIE

[PHP] function for size of array

2002-07-05 Thread Scott Fletcher
Is there PHP function that would get the total array count. ie --snip-- $array[0] = "zero"; $array[1] = "one"; $array[2] = "two"; $array_count = --snip-- And I would get 3 as an answer. Thanks, FletchSOD -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.

Re: [PHP] function for size of array

2002-07-05 Thread Scott Fletcher
Ah! Thanks! By the way, it's "count()" with a "n". :-) "Terence Kearns" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > cout($array) > > Scott Fletcher wrote: > > >Is there PHP function that

[PHP] ./configure with register_globals turned on?

2002-07-05 Thread Scott Fletcher
What is the configure option that will turn on the register_globals? This is for ./configure option in UNIX / LINUX. Thanks, FletchSOD -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Using fsockopen

2002-07-05 Thread Scott Fletcher
Here's the simple script that will do the trick! This is what I use with Equifax before I start using cURL. You can substitute the "HOSTNAME", "HOSTPORT" for something else. --clip-- "; return 0; } $senddata = $headerstr; $senddata .= $sendstr; $senddatalen = strlen($senddata

[PHP] Re: PHP for AIX.5.1

2002-07-05 Thread Scott Fletcher
Go to PHP website, http://www.php.net and at the top, you'll see the download hyperlink. Click on that. Then use the tar.gz file under the title, "Complete Source Code". This is what I use with AIX. If you use the RPM to install other softwares, then you'll have to make sure the ./configure op

[PHP] Re: PHP for AIX.5.1

2002-07-05 Thread Scott Fletcher
d libraries which have to be compiled and installed as well... which > implies that you need the development stuff like gcc/gmake (I thought gmake > was used, from the top of my head) > > > "Scott Fletcher" <[EMAIL PROTECTED]> schreef in bericht > [EMAIL PROTECTED]">

Re: [PHP] function for size of array

2002-07-05 Thread Scott Fletcher
What is RTFM?? "Jason Wong" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Friday 05 July 2002 22:20, Scott Fletcher wrote: > > Ah! Thanks! By the way, it's "count()" with a "n". :-) > >

Re: [PHP] $_COOKIE

2002-07-05 Thread Scott Fletcher
Not a problem! I noticed the "PHPSESSID" only showed up on $_COOKIE and nothing else. I dont' want to use the $_COOKIE, so I may either assign it to $_SESSION or $GLOBALS. FletchSOD "Alberto Serra" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]&quo

Re: [PHP] $_COOKIE

2002-07-05 Thread Scott Fletcher
use session_id() http://www.php.net/session_id Regards, Philip Olson On Fri, 5 Jul 2002, Scott Fletcher wrote: > Not a problem! I noticed the "PHPSESSID" only showed up on $_COOKIE and > nothing else. I dont' want to use the $_COOKIE, so I may either assign it > to $_SES

Re: [PHP] ./configure with register_globals turned on?

2002-07-05 Thread Scott Fletcher
;Larry Rosenman" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Fri, 2002-07-05 at 10:04, Scott Fletcher wrote: > > What is the configure option that will turn on the register_globals? This > > is for ./configure option in UNIX

Re: [PHP] ./configure with register_globals turned on?

2002-07-05 Thread Scott Fletcher
ED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi Scott, > > I've come to this post a little late, but I had exactly the same problem. No > matter what I set php.ini, phpinfo() would not show changes. > > If I recall correctly, the probl

Re: [PHP] How Do Y'all Secure your Sites... (Cookies vs. IP Number)...

2002-07-05 Thread Scott Fletcher
Well! The credit bureau website I maintain. We don't use cookie because it doesn't help when the user had it turned off. We do compile OpenSSL and Libmcrypt with PHP, so we can check to see if the web browser is 128 bits and not below that. The PHP code for that is "$_SERVER['SSL_CIPHER_USEKEY

Re: [PHP] How Do Y'all Secure your Sites... (Cookies vs. IP Number)...

2002-07-05 Thread Scott Fletcher
to be used. "Miguel Cruz" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Fri, 5 Jul 2002, Scott Fletcher wrote: > > We also use the "$_SERVER['REMOTE_ADDR'] to allow only the credit bureau > >

[PHP] Final notice about $_SESSION.

2002-07-05 Thread Scott Fletcher
Ah! Go figure!! The PHP.net documentation failed to mentioned that the numeric value are not supported and never will be. Somebody better go and update that STUPID php.net documentation I have been looking around and never saw it. Also, look at bug #17122, this is where I got the mess

[PHP] $GLOBALS ???

2002-07-05 Thread Scott Fletcher
Let's say . --clip-- Page 1 - $data = "Yes!"; header("Location: test1.php"); Page 2 - $data = $GLOBALS['data']; echo $data; --clip-- This one does not work! Does this ever work at all or do I need to do the "header("Location: test1.php?data=Yes!");" into the script? -- PHP

Re: [PHP] HTTPS vs. HTTP ?

2002-07-05 Thread Scott Fletcher
You can do this in OpenSSL on Linux. But the web browser will give a warning message stating that the certificate is not issued by the certificate authority. For Miguel Cruz posting back there. If I understand correctly, the private key are inside the public key. Is this correct? "Ed Lazor" <

Re: [PHP] $GLOBALS ???

2002-07-05 Thread Scott Fletcher
Oh boy! Alright! URL it is "Ed Lazor" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Correct you can add the data as a URL parameter. Or, you could set a > cookie and use sessions. > > -Original Message- > > Let's say . > > --clip-- > Pa

Re: [PHP] $GLOBALS ???

2002-07-05 Thread Scott Fletcher
What about PHPSESSID??? Can't use the $_COOKIE. Thanks, FletchSOD "Ed Lazor" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Correct you can add the data as a URL parameter. Or, you could set a > cookie and use sessions. > > -Original Message- >

Re: [PHP] HTTPS vs. HTTP ?

2002-07-05 Thread Scott Fletcher
:-) Don't tell me if you're gonna use it for production!!! "Ed Lazor" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I can always click passed the warning instead of paying $119 for the cert > *grin* > > -Original Message- > You can do this in OpenSSL

Re: [PHP] Survey: MySQL vs PostgreSQL for PHP

2002-07-05 Thread Scott Fletcher
I dunno! Never tried it! I wonder which one is easier to work with? "B I G D O G" <[EMAIL PROTECTED]> wrote in message 00d201c22467$8c2e4830$[EMAIL PROTECTED]">news:00d201c22467$8c2e4830$[EMAIL PROTECTED]... > I am there with you on PostgreSQL. > > B i g D o g > > > > > - Original Message -

[PHP] Re: suppressing errors with "@"

2002-07-05 Thread Scott Fletcher
No, it's not a PHP bug. The "@" can not be used before a PHP variables, or PHP pre-defined variables like $GLOBALS, $_SESSION, $_GET, $HTTP_POST_VARS, etc. The "@" is used only before the PHP function as far as I know of. FletchSOD "Uri Even-Chen" <[EMAIL PROTECTED]> wrote in message [EMAIL PRO

Re: [PHP] Survey: MySQL vs PostgreSQL for PHP

2002-07-05 Thread Scott Fletcher
it out and see what you think... > > B i g D o g > > > - Original Message - > From: "Lazor, Ed" <[EMAIL PROTECTED]> > To: "'Scott Fletcher'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Friday, July 05, 2002 3:07

[PHP] $_REQUEST???

2002-07-08 Thread Scott Fletcher
Can the $_REQUEST be trusted?? The documentation said it is the combination of $_GET, $_POST, $_COOKIE & $_FILE. If the PHPSESSID is found in $_REQUEST, I can tell it is from $_COOKIE. I wonder if the PHPSESSID can be stored into $_REQUEST if hte $_COOKIE is unavailable or turned off? FletchSO

[PHP] Linux Newsgroup???

2002-07-08 Thread Scott Fletcher
Hey! Is there a Linux newsgroup? A place where people can send emails or posting about Linux, like tech support, programming, installation, feedback, advices, work around, etc. Just like hte same concept as the PHP newsgroup here. Thanks, FletchSOD -- PHP General Mailing List (http://www.

Re: [PHP] Linux Newsgroup???

2002-07-08 Thread Scott Fletcher
Wow! That's a lot!!! I guess, it can't be made into 1 newsgroup! :-) Thanks, FletchSOD "Miguel Cruz" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Mon, 8 Jul 2002, Scott Fletcher wrote: > > Is there a Linu

[PHP] Re: Please Remove this Moron

2002-07-10 Thread Scott Fletcher
Grin Actually, it is not too hard to unsubscribe if you're using MS-Outlook Express. "Ashley M. Kirchner" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Kevin Diffily wrote: > > > on 7/9/02 3:29 PM, Erik Hegreberg at [EMAIL PROTECTED] wrote: > > >

[PHP] fopen() ??

2002-07-10 Thread Scott Fletcher
Didn't I read the article somewhere on PHP.net that said that? Using fopen() to open a file, does it attempt to create a file if the file does not exist? I use the fopen() and I get the error message. What is the workaround to it? Thanks, FletchSOD -- PHP General Mailing List (http://www.

Re: [PHP] fopen() ??

2002-07-10 Thread Scott Fletcher
Thanks a million!!! "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message 002401c22824$2b1e87b0$8102a8c0@niigziuo4ohhdt">news:002401c22824$2b1e87b0$8102a8c0@niigziuo4ohhdt... > [snip] > Didn't I read the article somewhere on PHP.net that said that? Using > fopen() to open a file, does it attempt

[PHP] Re: (OT) Our Spam Friend

2002-07-10 Thread Scott Fletcher
Ha ha! Now, what did that spammer do? I don't have the copy of the posting of the last few days. I just flushed it into the garbage bin "Joshua E Minnie" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Serves our spam "friend" right... now we can get on with

Re: [PHP] fopen() ??

2002-07-10 Thread Scott Fletcher
That doesnt' work! Never mind! I'll manually create a blank file and put it there! "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Thanks a million!!! > > "Jay Blanchard" <[EMAIL PROTE

Re: [PHP] fopen() ??

2002-07-10 Thread Scott Fletcher
ul 2002 11:33:52 -0400, you wrote: > > > >"Scott Fletcher" <[EMAIL PROTECTED]> wrote in message > >[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > >> Thanks a million!!! > > >> > Didn't I read the article somewhere on PHP.net that sai

Re: [PHP] fopen() ??

2002-07-10 Thread Scott Fletcher
So, manually create a file took care of that. "David Otton" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Wed, 10 Jul 2002 11:33:52 -0400, you wrote: > > > >"Scott Fletcher" <[EMAIL PROTECTED]> wrote

Re: [PHP] (OT) No Punishment for Erik Hegreberg, Yet...

2002-07-11 Thread Scott Fletcher
Well, you better pray that he won't return!! "I'll Be Back!!" "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > No such logs are kept on our end. > > On Thu, 11 Jul 2002, Jason Soza wrote: > > > Well, my attempts at getting discipline for Erik

[PHP] Linux Newsgroup... ('continue');

2002-07-11 Thread Scott Fletcher
Are you sure these newsgroup work? I tried subscribing to it and got a response saying newsgroup server could not be found. I didn't have that problem with PHP Newsgroup or mozilla.org Newsgroup. --clip-- comp.os.linux.admin comp.os.linux.misc comp.os.linux.advocacy comp.os.linux.network co

<    1   2   3   4   5   6   7   8   9   10   >