Re: [PHP] if else if statement failed...

2003-06-26 Thread Scott Fletcher
I am seeing the problem now. It seem that it had to do with the 'OR' statement inside the elseif statement... I'm going to try a workaround to it... As for you mentioning about the code... It's too bad this message window doesn't properly display the tabs --clip-- if ($firstname == \"\") {

Re: [PHP] if else if statement failed...

2003-06-26 Thread Scott Fletcher
Just found the problem, the if, else-if, else statement work okay when it is too many. The reason it doesn't work is because there's a loophole in the script due to someone's flaw logic or haven't thought about it when brainstorming... Thanks, Scott "Scott Fletcher&q

[PHP] XML vs. PHP manual???

2002-07-23 Thread Scott Fletcher
I read the useful document about XML in PHP on http://www.analysisandsolutions.com/code/phpxml.html. I still haven't made much progress on XML. I'm still confuse about XML. I had to write XML stuffs on the client-side with the build-in XML request and it doesn't make sense that the client browe

Re: [PHP] Re: PHP Security Advisory: Vulnerability in PHP versions 4.2.0

2002-07-23 Thread Scott Fletcher
I don't know how to appy patches to the PHP software. I just finish upgrading the website to work with PHP 4.2.1 from PHP 4.0.6. And now this So, just patched it then configure openssl, mycrypt, curl, modssl then do the usual stuff for PHP then apache, right?? "Adam Alkins" <[EMAIL PROTECT

[PHP] Re: [ANNOUNCE] PHP Security Advisory: Vulnerability in PHP versions 4.2.0 and4.2.1

2002-07-23 Thread Scott Fletcher
Very cute! "Upgrade Now!" It will work well with PHP newbies. Not! "Richard Lynch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > >Not being an expert in php..i couldnt understand the vulnerability. > >Can someone shed some light here. > > Very short explanation: > > Upgrade

[PHP] How to patch PHP 4.2.2 to PHP 4.2.1?

2002-07-23 Thread Scott Fletcher
Sorry about the old posting, didn't realize it was a yesterday posting. Anyway, how do I apply the patch, php 4.2.2 to php 4.2.1?? I never done it before and yes, lots, lots of webpages use POST method. Isn't stress great? Thanks FletchSOD -- PHP General Mailing List (http://www.php.n

Re: [PHP] Re: PHP Security Advisory: Vulnerability in PHP versions 4.2.0

2002-07-23 Thread Scott Fletcher
Amended to this recent posting. Already started a new posting from scratch. "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I don't know how to appy patches to the PHP software. I just finish > upgrading

Re: [PHP] XML vs. PHP manual???

2002-07-23 Thread Scott Fletcher
PROTECTED]">news:[EMAIL PROTECTED]... > On Tue, Jul 23, 2002 at 12:33:19PM -0400, Scott Fletcher wrote: > > I read the useful document about XML in PHP on > > http://www.analysisandsolutions.com/code/phpxml.html. > > Thanks. But, you mean: > > http://www.analysi

[PHP] Certificate information using php?

2002-07-23 Thread Scott Fletcher
Hi! I have a challenging part to this project. Let's say the PHP webserver establish a connection to a different website and received the ssl connection from there. How do I get the certificate information from that website and display it? I can use print_r($GLOBALS) but it only display the ce

[PHP] Re: Certificate information using php?

2002-07-24 Thread Scott Fletcher
I will find out about the "phpinfo()". I have looked at the options in cURL and I haven't seen one that would enable it to get the certificate from the credit bureau. I will keep checking. Um, I have used cURL with the credit bureau #2 and they send the encryption packages over and all I had to

[PHP] Re: XML vs. PHP manual???

2002-07-24 Thread Scott Fletcher
I alway knew there is an easier way to do that. Problem is just don't know it. I like your example and it is an wonderful example. I can use it. One quick question. The function, "posttofunction()", is that a make-believe function? I check PHP.net and it doesn't have this function, so I assu

Re: [PHP] Re: PHP Security Advisory: Vulnerability in PHP versions 4.2.0

2002-07-24 Thread Scott Fletcher
Doing that right now! Just like a basic upgrade. Thanks, FletchSOD "Matt Schroebel" <[EMAIL PROTECTED]> wrote in message 4B08FD7DB3CBD4119F560002A508C453015B38DA@hsus3">news:4B08FD7DB3CBD4119F560002A508C453015B38DA@hsus3... > > From: Scott Fletcher [mailto:[EMAIL

Re: [PHP] Re: PHP Security Advisory: Vulnerability in PHP versions 4.2.0

2002-07-24 Thread Scott Fletcher
38DA@hsus3">news:4B08FD7DB3CBD4119F560002A508C453015B38DA@hsus3... > > From: Scott Fletcher [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, July 23, 2002 12:43 PM > > To: [EMAIL PROTECTED] > > Subject: Re: [PHP] Re: PHP Security Advisory: Vulnerability > > in PHP versions 4.2.0 > > > >

[PHP] Oh man!!!

2002-07-24 Thread Scott Fletcher
I now understand why I'm having trouble communicating with the credit bureau. I did sucessfully get through to them the first time, unfortunately, I was able to get through, through security breach at the credit bureau. The credit bureau there was not design to work with cURL, so the encryption

Re: [PHP] Running ./configure multiple times

2002-07-24 Thread Scott Fletcher
Yes, it is pretty safe to run ./configure more than once. The 1st time, it create the config.cache and so on. The 2nd time, it use the config.cache and other stuffs instead of starting from scratch. To redo everything from scratch. I believe one of those config.* files need to be removed so yo

[PHP] Help! mysql problem

2002-07-25 Thread Scott Aikin
somebody please offer me some suggestions? Thank you!!! - Scott

[PHP] two php.ini on windows????

2002-07-25 Thread Scott Fletcher
Hi! There are a couple of websites I had to move from one machine to this window machine and it introduced two new problems. There are two different version of PHP, however IIS can work with two different version of PHP without a problem. The 2nd problem is to have two different php.ini file fr

[PHP] Re: Parse error - new set of eyes?

2002-07-25 Thread Scott Fletcher
I had experienced similar problem like that in the past. Part of it had to do with the header() function. Your script checked out fine, just like mine did. Try remarking the line of code where hte header is and see if you don't have hte parse error, if this is the case then it's the header(). "

[PHP] Re: Sessions : overriding variable values

2002-07-25 Thread Scott Fletcher
1) session_start() is not really required on any other pages beside the index.php because session_register take care of that for you. 2) It should work when you try session_register() on the index.php, use a makeup name, like session_register("user") then assign the data to it, like $user[usernam

[PHP] Re: two php.ini on windows????

2002-07-25 Thread Scott Fletcher
Yea, I recently put them into 2 different directories. I'm doing the research on cgi vs. isapi right now. Anyway, I create a test site and it showed up okay, got the error message about the security-alert, something about the cgi that can not be accessed directly. My impression is that they are

[PHP] Re: two php.ini on windows????

2002-07-25 Thread Scott Fletcher
Yep, it's CGI! It's compiled in binary with the force-cgi-redirect enabled. Need to turn this off in PHP since I'm using IIS, not apache. It's not working very well but at least, running websites with different php versions work well. THanks "Scott Fletcher"

[PHP] Hide the undefined offset error for the array?

2002-07-30 Thread Scott Fletcher
I have one of the website on windows and I get the undefined offset error, I don't have that problem on UNIX / Linux. Anyone know what method would work?? Here's the script! In this case, the $raw_data array is empty, so window complain of the empty data by displaying hte error message, "Undefi

[PHP] Re: php 4.2.2 and 4.0.6

2002-07-30 Thread Scott Fletcher
Actually, PHP 4.2.2 just have more features than PHP 4.0.6. Example of those are more security and more functions as well as many of the other things. One disadvantage to it is some programming script will break because some PHP features is decommissioned, like functions or someting. <[EMAIL PR

Re: [PHP] apache and php

2002-07-30 Thread Scott Fletcher
I wouldn't jump on Apache 2.0.39 for the production website and some PHP features does not work for that version. That apache is in beta testing stage, so it will be a while. "Danny Shepherd" <[EMAIL PROTECTED]> wrote in message 024501c237b5$f95d8860$0200a8c0@DANNYS">news:024501c237b5$f95d8860$0

[PHP] Re: A somewhat unusual session question...

2002-07-30 Thread Scott Fletcher
The session.save_path have nothing to do with it. I have that same problem with the default path, "/tmp" when the session became a garbage collection when the user quit the browser without logging off. When the user quit the browser then there's no way for the server to know that, so the session

Re: [PHP] Re: php 4.2.2 and 4.0.6

2002-07-30 Thread Scott Fletcher
problem with it. It would be rare that anyone would have that problem. <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > So, do you know apache 1.3.22 and php 4.2.2 are good for work with IMP 3.x ( > http://www.horde.org/imp ) under

[PHP] Re: Auto Increment Problems....

2002-07-30 Thread Scott Hurring
ite... please check there in the future for MySQL questions -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Georgie Casey" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > rite, > > my primary key col

[PHP] Problem with "" inside the PHP code, due to "?"

2002-08-01 Thread Scott Fletcher
Anyone know the workaround with the situation here? Here is the sample script. The problem is I include the XML tag into the PHP variable and it messed up everything. It all had to do with "?" here since PHP use it also. --clip-- Apple"; echo $XML; ?> Thanks, FletchSOD -- PHP General Mai

Re: [PHP] Problem with "" inside the PHP code, due to "?"

2002-08-01 Thread Scott Fletcher
ml version='1.0' > encoding='UTF-8'\?>Apple"; > echo $XML; > ?> > > Try this? > > Matt Babineau > MCWD / CCFD > - > e: [EMAIL PROTECTED] > p: 603.943.4237 > w: http://www.criticalcode.com >

[PHP] Re: Using PHP to reboot the linux server

2002-08-02 Thread Scott Fletcher
First thing first! Open up the terminal and log in. Then type the command, if the machine doesn't reboot or if you got an error message, it meant the command is not correct. Once you get the correct command then use it in PHP. It's much simplier that way. If PHP can't reboot the machine then

[PHP] Parsing XML into PHP array.

2002-08-02 Thread Scott Fletcher
I'm having trouble getting the XML string to be broken up into the PHP array. Here's how it work. I send the XML request in a string to the credit bureau through cURL and vice versa. Most of the PHP scripting I found everywhere spoke about breaking up the xml tag into the array only when they c

[PHP] Re: ODBC

2002-08-02 Thread Scott Fletcher
Yes! Unfortunately, you'll have to install the special driver on the Linux/Unix becuase of the communication difference between UNIX & Windows as well as the language difference between these two. I tried using iODBC and openLINK. After 1 1/2 years, I decided that open source code for this is n

[PHP] Email failure????

2002-08-02 Thread Scott Fletcher
What give?? I post the command and replied to some other posting. It made it through and was posted without a problem! I kept getting the email from PHP server saying " Sorry. Your message could not be delivered to: brian-phplist,emc (The name was not found at the remote site. Check that the

Re: [PHP] Drop down reload

2002-08-16 Thread Scott Houseman
just been selected, you can then use php to retrieve the appropriate records for the second select field when the page is reloaded. Cheers Scott - Original Message - From: "Christian Ista" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 16, 2002 1:53

Re: [PHP] OO code and private functions

2002-08-16 Thread Scott Houseman
Hi there. Not at the moment, but I think this is a feature of the new Zend engine 2, currently in development. Cheers Scott - Original Message - From: "Richard Black" <[EMAIL PROTECTED]> To: "Php-General" <[EMAIL PROTECTED]> Sent: Friday, August 16, 200

Re: [PHP] Passing a PHP variable to javascript

2002-08-19 Thread Scott Houseman
Hi Michael. Use: alert( '<?= $text?>' ); If this page is parsed by php i.e. its a .php file rather than .html or .js file, then the variable will be output as a string constant in the javascript code. Cheers! Scott - Original Message - From: "Michael&qu

RE: [PHP]

2002-08-20 Thread Scott Houseman
Hi Peter. I think fopen( "http://site/PATH_TO_PERLSCRIPT.CGI"; ) should do the trick. It will basically return the output of that script. Hope this helps. -Scott -Original Message- From: Peter Janett [mailto:[EMAIL PROTECTED]] Sent: 20 August 2002 09:47 To: [EMAIL PROTECTE

RE: [PHP] Freetds + Sybase-ct + mssql problems

2002-08-20 Thread Scott Houseman
Hi. I cant tell you off-hand what the problem might be, but this article is very helpful, and might answer your question: http://www.phpbuilder.com/columns/alberto2919.php3?print_mode=1 -Scott > -Original Message- > From: Benji Spencer [mailto:[EMAIL PROTECTED]] > Sent:

[PHP] Image library

2002-08-21 Thread Scott Houseman
are 1 images in the libary? Thanks in advance Regards -Scott -- Scott Houseman Jam Warehouse http://www.jamwarehouse.com/ Smart Business Innovation +27 21 4477440 / +27 82 4918021 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Image library

2002-08-21 Thread Scott Houseman
file(?) Is there a better way of doing this? Cheers -Scott > -Original Message- > From: Justin French [mailto:[EMAIL PROTECTED]] > Sent: 21 August 2002 03:25 > To: [EMAIL PROTECTED]; PHP General > Subject: Re: [PHP] Image library > > > on 21/08/02 9:45 PM, Scott

RE: [PHP] Image library

2002-08-21 Thread Scott Houseman
mages in the filesystem, or not so? Thanks for your input. Regards -Scott > -Original Message- > From: DL Neil [mailto:[EMAIL PROTECTED]] > Sent: 21 August 2002 04:31 > To: [EMAIL PROTECTED]; Bogdan Stancescu > Subject: Re: [PHP] Image library > > > Scott (confirm

RE: [PHP] Virtual includes

2002-08-26 Thread Scott Houseman
Hi there. This should work I think. include( '../forum/include/test.php' ); This uses the path in relation to the current directory the script resides in. Regards -Scott > -Original Message- > From: Gregory Barker [mailto:[EMAIL PROTECTED]] > Sent: 26 August 2002

RE: [PHP] working with ssl

2002-08-29 Thread Scott Houseman
Hi Andy. I would recommend running PHP as an Apache module as well as mod_ssl - which will require openssl as well. Have a look at http://www.modssl.org Regards -Scott > -Original Message- > From: Andy [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 29, 2002 3:36 PM >

RE: [PHP] Mail()....

2002-08-30 Thread Scott Houseman
Hi there. Not on a plaintext mail, this will be decided by the mail client. If your format the mail using html, then you will be able to format the font. Regards -Scott > -Original Message- > From: Brian McGarvie [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 30, 2002 10:4

RE: [PHP] Class operator :: Problem

2002-09-03 Thread Scott Houseman
Hi There Try doing it this way: Regards -|Scott > -Original Message- > From: Unger, Christian [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 03, 2002 2:51 PM > To: '[EMAIL PROTECTED]' > Subject: [PHP] Class operator :: Problem > > > I ha

RE: [PHP] how get a image?

2002-09-04 Thread Scott Houseman
Hi there Have a look at http://www.php.net/manual/en/features.file-upload.php It should explain all. Regards -Scott > -Original Message- > From: skitum [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 04, 2002 10:35 AM > To: [EMAIL PROTECTED] > Subject: [PHP]

RE: [PHP] Sorting a text string

2002-09-05 Thread Scott Houseman
se the array: $aDate = array_reverse( $aDate ); join back into a string, using periods: $sDate = join( '.', $aDate ); $sDate => '2002.09.04' HTH Regards -|Scott > -Original Message- > From: Bård Tommy Nilsen [mailto:[EMAIL PROTECTED]] > Sent: Thursday, S

RE: [PHP] dropdown Newbie question

2002-09-05 Thread Scott Houseman
Hi there. The value from that dropdown will be returned to you in the variable $_POST OR $_GET, depending on which method you used to submit the form. Assuming you use POST, you can access the selected value like this: $var_from_dropdown = $_POST['theme']; Regards -|Scott >

RE: [PHP] Array Javascript

2002-09-05 Thread Scott Houseman
bscript < sizeof( $Array ); $iSubscript++ ) { // Add each member of the php array to the JS array echo 'JSArray['.$iSubscript.'] = "'.$Array[$iSubscript].'";'; } ?> Regards -|Scott > -Original Message- > From: kale [mailto:[EMAIL PROTE

RE: [PHP] combine 2 integer

2002-09-09 Thread Scott Houseman
Hi there. You could join the two using a period(.) this will concatenate the two strings. $a = 1; $b = 2; $together = $a.$b; // $together == '12' regards -|Scott > -Original Message- > From: Meltem Demirkus [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 09,

[PHP] PHP as a tool for developing enterprise systems.

2002-09-11 Thread Scott Houseman
correct? If so, what features does PHP lack which make this so? 3.If this is not true, what arguments can I use to refute this? Regards -|Scott //// // Scott Houseman // // Jam Warehouse http://www.jamwarehouse.com/ // // Smart

RE: [PHP] Cry for help

2002-09-12 Thread Scott Houseman
Hi Chad. Some really excellent places to start: http://www.onlamp.com/php/ http://www.phpbuilder.com/ http://www.devshed.com/Server_Side/PHP http://www.zend.com/zend/tut/ Good luck! Regards -|Scott > -Original Message- > From: Chad Winger [mailto:[EMAIL PROTECTED]] > Sent:

Re: [PHP] class Problem

2002-09-17 Thread Scott Houseman
n Write() { > echo "Parent_ID: " . $this->Parent_ID . "";// Not $MI > //(no output at all!) > } > > Regards -Scott David Eggler wrote: > I create a Instance fo the Class MenueItem in Menue. I change

Re: [PHP] Auto-increment value

2002-09-18 Thread Scott Houseman
Hi there. You can use the function mysql_insert_id( [link id] ). regards Scott Faisal Abdullah wrote: > Hi people, > > I have a table with a column called ID (auto-increment). > Is it possible to know the value of ID, right after inserting > a row? > > I'm usi

[PHP] odbc_fetch_row()

2002-09-20 Thread Scott Fletcher
Hi Fellas! I'm a little bit confused as to why does this not work right! It had to do with the odbc_fetch_row() function. When there is two or more rows, the odbc_fetch_row() return a True. When there's no row, the odbc_fetch_row() return a False. What so odd about it is when there is one row

[PHP] Re: odbc_fetch_row()

2002-09-20 Thread Scott Fletcher
etch_row($R7)) while (odbc_fetch_row($R7,++$bug_workaround)) { odbc_fetch_into($R7,$inquiry,$inq_c); echo $inquiry[0], $inquiry[1]; } --clip--"Scott Fletcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi Fellas! > > I'm a

[PHP] Encrypt data...

2002-09-25 Thread Scott Fletcher
How do I encrypt the data and decrypt it back using PHP? I do know that hte random number can not be used becuase it will make it impossible to decrypt it. Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Encrypt data...

2002-09-25 Thread Scott Fletcher
Well, I meant a script. I do have mcrypt but I don't feel comfortable with that becuase if I upgrade PHP or Mcrypt, then it could affected the encrypt data. "Mike Dunlop" <[EMAIL PROTECTED]> wrote in message news:a05100304b9b7b58c8d3b@[65.106.126.146]... > http://php.net/mcrypt > > >How do I en

Re: [PHP] Encrypt data...

2002-09-26 Thread Scott Fletcher
Aww! Neat! That look better than the one I came up with. Thanks for your time on this one. Thanks, FletchSOD "Tom Rogers" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > Thursday, September 26, 2002, 4:45:04 AM, you wrote: > SF> How do I encrypt t

[PHP] Web Caching

2002-09-27 Thread Scott Fletcher
Hi! Any web browsers that establish a SSL connection with Apache. What I understand is that any webpages through SSL would not be cache after the web browser received it. But I noticed that only any webpage that use html "" tag follow by the method like "Get" or "Post" would effectively not

Re: [PHP] 4.0.2 => 4.2.3, form vars are empty?

2002-09-27 Thread Scott Houseman
php manual for more info. To solve this issue with your older app: edit php.ini find 'register_globals', this will probably be set to 'off' change it to 'register_globals = on' Cheers Scott Qmail List wrote: > Hello List, > > I'm putting a php app t

Re: [PHP] PHPDoc?

2002-10-01 Thread Scott Houseman
www.phpdoc.de is one I know of. I'm not surewhat the current development activity is, but I think it's still in beta. The front page states 'Last update: 2000/12/03' - so I don't know what's happening there. Regards Scott On 10/1/2002 4:18 PM, Francis wrote:

Re: [PHP] get access to define() constants with dynamic names

2002-10-02 Thread Scott Houseman
Hi Heiko Try this: $aName = "TEAM"; eval( '$myString = G_T_'.$aName.';' ); // evaluates to: $myString = G_T_TEAM echo $myString; // Should print out SAFETOUR_team I haven't tested this, but it should work. Regards Scott On 10/2/2002 10:47 AM, Heiko Mun

[PHP] Some mcrypt function don't seem to work.

2002-10-02 Thread Scott Fletcher
Hi! I had PHP compiled with the "--with-mcrypt" option. So, when I use this script, PHP spit out the error " Warning: could not open encryption module" but it work fine if I use other script like "$SSL_CIPHER_USEKEYSIZE". --clip-- mcrypt_module_open(MCRYPT_TripleDES, "", MCRYPT_MODE_ECB, ""

Re: [PHP] newbie question

2002-10-03 Thread Scott Houseman
_POST{'var'}. Cheers! Scott On 10/2/2002 1:24 PM, Remon Redika wrote: > I am newbie in php > I have var $query_string in my address page. > I want get value of query string. > For example I give string on my query string like > www.mypages.com?var=numberx > I just wa

[PHP] mcrypt vs. libmcrypt

2002-10-03 Thread Scott Fletcher
I saw on Google search result about PHP and mcrypt. I read the manual on http://php.net/mcrypt and it spoke about downloading libmcrypt and use the php configure option, "--with-mcrypt=" for libmcrypt-2.x.x. So, on the Google search result, one of hte posting talk about using both the libmcrypt

[PHP] Glaring problem with libmcrypt!!!

2002-10-03 Thread Scott Fletcher
Hi! I ran through the phpinfo and here's the result. That's explain why I'm unable to get most of the mcrypt functions to work. Features like "mcrypt_module_open", "mcrypt_list_algorithms", "mcrypt_get_block_size", etc. So, what's the problem here? PHP bugs? Please spill your gut out on this

Re: [PHP] Complete development software

2002-10-03 Thread Scott Houseman
http://www.nusphere.com/ On 10/3/2002 4:51 PM, Ray, James A wrote: > Other then Abriasoft, is there another complete software package that > contains PHP, MYSQL, APACHE and PERL for Windows? > > Thank you > > Jim > -- //---

Re: [PHP] recent encrpyt decrypt code... (problems)

2002-10-07 Thread Scott Fletcher
You got to be kidding me I use similar code and a sample of yours and I got just about the same error message as what Jeff Bluemel got. I checked the PHP Info and it showed that I had the libmcrypt accepted but no supported ciphers. Then I posted two seperate unanswered posting until I stum

Re: [PHP] recent encrpyt decrypt code... (problems)

2002-10-07 Thread Scott Fletcher
o, it fit with what Tom Rogers said. "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > You got to be kidding me I use similar code and a sample of yours and I > got just about the same error message as what Jef

Re: [PHP] Re: session & cookies

2002-10-07 Thread Scott Fletcher
Hi Jeff, I manage the website for the credit report reseller. We don't normally use cookie but we use session only. You were expressing some concern about someone knowing the session id. What we normally use is we used the encrypted session id and use use long aphanumeric number. This mak

[PHP] fsockopen timeout not working

2002-10-07 Thread Scott Dowd
I have a PHP application that goes out an checks all our servers via SNMP when requested. Trouble is, if the server is not available, the fsockopen never times out and therefore never moves onto the next server. I am running 4.2.3 on IIS (NT4). I read there was a bug with previous versions, but I

[PHP] encryption question - mcrypt

2002-10-08 Thread Scott Fletcher
7;, MCRYPT_MODE_ECB, '/usr/lib/mcrypt-modes'); Is this a bug Thanks, Scott F. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php.ini???

2002-10-08 Thread Scott Fletcher
Anyone here know how to use the php.ini for libmcrypt??? I tried this one but it does nothing. --clip-- mcrypt.algorithms_dir = /usr/local/lib/libmcrypt mcrypt.modes_dir = /usr/local/lib/libmcrypt --cilp-- Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Found the problem with the libmcrypt.....

2002-10-09 Thread Scott Fletcher
Found the problem with libmcrypt-2.5.3. When I configured PHP using the --with-mcrypt option and the PHP configuration found libmcrypt without a problem. After compiling and installing it. Once I fired up Apache. I checked the PHP Info using phpinfo() function. The mcrypt showed up but there i

Re: [PHP] Encrypting passwords in a flat file before import

2002-10-09 Thread Scott Fletcher
Can it be de-encrypt??? I don't see how since you just use the function md5(). "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > If you don't need the file to be changed to contain md5 encrypted > passwords use *fgetcsv() *to read the contenta,

Re: [PHP] Encrypting passwords in a flat file before import

2002-10-09 Thread Scott Fletcher
urn the same > encrypted string. > > On Wed, 2002-10-09 at 16:06, Scott Fletcher wrote: > > Can it be de-encrypt??? I don't see how since you just use the function > > md5(). > > > > "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message > >

RE: [PHP] Encrypting passwords in a flat file before import

2002-10-09 Thread Scott Fletcher
y, October 09, 2002 4:35 PM To: 'Scott Fletcher'; [EMAIL PROTECTED] Subject: RE: [PHP] Encrypting passwords in a flat file before import Storing passwords in MD5 or another hash is an excellent idea because it is generally not possible to decrypt them (if the user uses a bad password they

Re: [PHP] Found the problem with the libmcrypt.....

2002-10-10 Thread Scott Fletcher
Hello Tom! Oh yea, I tried the '--with-mcrypt=../mcrypt-2.6.3' option and the PHP's './configure' stopped accepting the mcrypt stuffs. After compiling and installing it. PHP got messed up and didn't work too well. It took me many times to find the workaround to it but they don't work. So, I h

[PHP] Re: Found the problem with the libmcrypt.....

2002-10-10 Thread Scott Fletcher
/local/lib/libmcrypt-2.5.3/modules/algorithms mcrypt.modes_dir = /usr/local/lib/libmcrypt-2.5.3/modules/modes --clip-- It work like a charm!! "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Found the problem with li

[PHP] odbc_exec() act funny.....

2002-10-15 Thread Scott Fletcher
With odbc_exec() function, it is able to execute and retrieve the data pretty well. Unfortunately, when the number of fields grow and grow then the odbc_exec() return false and a blank data. I don't get it! When I run the SQL command through the database interface, it work like a charm. So, it

Re: [PHP] odbc_exec() act funny.....

2002-10-15 Thread Scott Fletcher
clip $database = "ECBI_DB"; $user = "db2inst1"; $pass = "ibmdb2"; $cid = @odbc_connect($database,$user,$pass) or die("Unable to connect to Database !!!") ; $ask = "SELECT * FROM CUSTOMERS, USERS "; $ask .= "WHERE CUSTOMERS.CUSTOMER_ID = '".$_POST['Customer_Id']."

Re: [PHP] odbc_exec() act funny.....

2002-10-15 Thread Scott Fletcher
When I try to do the two seperate SQL command with the 2nd odbc execution right after the 1st odbc execution. It work fine. Weird!! --clip-- //SQL Command #1 $ask = "SELECT * FROM CUSTOMERS "; $ask .= "WHERE CUSTOMERS.CUSTOMER_ID = '".$_POST['Customer_Id']."'"; //SQL Command #2

[PHP] Browscap.ini

2002-10-28 Thread Scott Fletcher
Any anyone tell me about this? I know it is about browser detection software or something. What I want to know is is it good for general use? Can it be used on UNIX server for PHP to interface with? Does it require a lot of update or something? I saw on that website that describe about BrowseH

[PHP] Re: Just curious about Mod_SSL and Apache.

2002-10-29 Thread Scott Fletcher
Found a perfect solution to this problem. Check it out at this website, http://bsdvault.net/sections.php?op=viewarticle&artid=85. Enjoy!! "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message news:20021023135230.58238.qmail@;pb1.pair.com... > I know the topic is off th

[PHP] Getting Apache (SSL) to start without typing in passphrase

2002-10-29 Thread Scott Fletcher
Hey Fellas From the previous posting in the past when I posted a comment about ways to make Apache start up automatically without manually typing in the passphrase for SSL. Something that is a must have for the server reboot. Be of good cheers! I found the reference on the Apache/Mod_SSL

[PHP] Browser upload timeout

2002-11-11 Thread Scott Teresi
ax_execution_limit in the php.ini file, and I use "ftp_set_option($connection, FTP_TIMEOUT_SEC, 1);". Thanks for any help! Scott Teresi [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How can database be exported to Microsoft Access?

2002-11-19 Thread Scott Teresi
flag on their PHP installation. Also, I've heard that string fields longer than 255 characters can't be exported into a dBase file. Besides ODBC, is my only option to write a quick tab-delimited export routine for my data? Thanks for any helpful advice! Scott Teresi [EMAIL PROTECTED] --

[PHP] ImageCreateFromJpeg error

2002-11-21 Thread Scott Nagel
, just to be safe; - The images in the read folder have read permissions set. Is there some sort of a temporary directory as well, where permissions have to be set? A few sites have mentioned a --with-jpeg-dir configuration setting. Do the permissions for that need to be checked? Any help woul

Re: [PHP] ImageCreateFromJpeg error

2002-11-21 Thread Scott Nagel
Thanks for the help. Didn't know about the ini_set() function. The error was 'No JPEG support in this PHP build'. "Jason Wong" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > On Friday 22 November 2002 03:21, Scott Nagel wrote: >

RE: [PHP] setup php apache

2002-06-05 Thread Scott Hurring
using CGI version of PHP, using PHP as a module is a bit more involved, but still very simple) --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Mac Ne [mailto:[EMAIL PROTECTED]] > Sent: Wednesd

RE: [PHP] Passing variable to new page and pulling the rest of info from database

2002-06-05 Thread Scott Hurring
Ahhh! quote that ID number before using it in a query! :) // for mysql mysql_quote($_GET['ID']); --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: 1LT John W. Holmes [mailto:

RE: [PHP] Retrieving data from a URL in PHP

2002-06-05 Thread Scott Hurring
lt;\/b>)/",$contents, $quote)) { echo "$symbol was sold at: "; echo $quote[1]; } else { echo "No quote available."; } echo ""."This information retrieved from"."$theurl"."on ".(date("l jS F Y g:i a T")); --- Sc

RE: [PHP] Passing variable to new page and pulling the rest of info from database

2002-06-05 Thread Scott Hurring
ing vars to all hell and back to verify contents, i still quote. i'm paranoid. :) --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED]] > Se

RE: [PHP] OOP Question in PHP

2002-06-05 Thread Scott Hurring
; But that's just my view... there are as many different views on OO as there are programmers :) --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Henry Blackman [mailto:[EMAIL PROTECTED]] > Sen

RE: [PHP] Is this possible

2002-06-05 Thread Scott Hurring
Since you didnt include the code for InsideClass, i can only assume that you're probably getting errors becuase "$bob" is not initialized anywhere. --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original M

RE: [PHP] htaccess

2002-06-05 Thread Scott Hurring
Try creating an .htaccess protected script, and do a var_dump($GLOBALS) to see what vars are set, and if any of them contain the name you logged in with. --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Mess

RE: [PHP] php and javascript question

2002-06-05 Thread Scott Hurring
As someone else suggested a few days ago: try using an IFRAME, and refreshing it from javascript with the values you need. The whole browser will not refresh, just the IFRAME, which will give the illusion of jscript and php talking to each other in realtime. --- Scott Hurring Systems Programmer

RE: [PHP] Need some suggestions about "community" :)

2002-06-05 Thread Scott Hurring
n Database Normalization for some good design pointers: http://home.earthlink.net/~billkent/Doc/simple5.htm --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Hawk [mailto:[EMAIL PROTECTED]] > Sent: Wednesd

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

2002-06-05 Thread Scott Hurring
Yes, but you really must realize how utterly easy it is to POST bogus variables to a form (Save the page as HTML, edit, load in browser, submit -- bingo).If you're using the assumption "these vars were POSTed, so they're safe", you're begging for trouble.

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