[PHP] HTTP_REFERER vs. session_whatever() vs. header()

2001-01-24 Thread Scott Fletcher
Hi Everyone! I did post the note in the past about the problem with HTTP_REFERER which doesn't work in Netscape 6.0. It turned out that I was looking at the wrong thing the whole time. What I found is that it isn't really Netscape problem. It turned out that Netscape 6.0 can't use 2 times

[PHP] How do I see the data in list()?

2001-01-25 Thread Scott Fletcher
Hi! When I use the echo to see what is inside the list(). Instead I got the message on screen saying "ArrayArray". The array are being assigned first then then list come second. ie. $test = array(); $test1 = array() list($test,$test1); ---

[PHP] dll windows libraries for php.

2001-02-01 Thread Scott Fletcher
Hi! I installed the IIS and PHP4 on WinNT 4 for testing purpose only. (Tsk!Tsk! I like Unix better!) And they are working great so far. One after another, things that don't work are starting to work and it is taking a while. Right now, I have an script error saying undefined function,

Re: [PHP] dll windows libraries for php.

2001-02-01 Thread Scott Fletcher
Aww! That's suck! Look like a conversion from Apache to IIS is a bad idea. Thanks, Scott ""Scott Fletcher"" [EMAIL PROTECTED] wrote in message 95cn8n$tms$[EMAIL PROTECTED]">news:95cn8n$tms$[EMAIL PROTECTED]... Hi! I installed the IIS and PHP4 on WinN

[PHP] include() from one server to another server

2001-03-13 Thread Scott Fletcher
Hi! I tried to use the php code, "include()" to have the ghost server to point to the file in the origial server. And I got the error message instead. Warning: Failed opening 'https://www.whatever.com/DBconn.ini' for inclusion (include_path='.:/usr/local/lib/php.ini') in

[PHP] $PHP_SELF vs. functions, arrays and variable

2001-03-16 Thread Scott Fletcher
Hi! I noticed when using $PHP_SELF in the script, you can use only the variables. So, I tried it with the arrays or functions and found that it does not work. So, is $PHP_SELF limited to variables only? Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

[PHP] How do I get one data only from the array() script?

2001-03-23 Thread Scott Fletcher
Hi! I write the script for the array stuffs using hte array function -- $menu=array(0,0,1,0); I'm trying to get this array to carry over using the $PHP_SELF to the same page over and over. However, I'm not getting the right result. So, is there a better way? What about

[PHP] environment variable, why does it not work?

2001-03-29 Thread Scott Fletcher
Hi! I'm using PHP4, iODBC OpenLink for the database connection and communication. After installing the iODBC (driver manager) OpenLink (driver), fix up the odbc.ini (part of iODBC or OpenLink) and did the odbctest. The test passed and it connect the linux to the MS-SQL Server and I was

[PHP] version????

2001-03-29 Thread Scott Fletcher
Hi! Can anyone tell me what the difference with those PHP version? I see the version, "PHP 4.0.4pl1" with a "pl1" and some other version, "PHP 4.0.4" without a "pl1". Does either of these version had to do with php.ini file? Thanks, Scott -- PHP General Mailing List

[PHP] php error code.

2001-03-29 Thread Scott Fletcher
Hi! When the website have a script error, it display the error message (sort of a debugging error). What I don't like about that error message is that it display the include_path comments. Warning: Failed opening '../dp_banner_menu_final1_support.php' for inclusion

Re: [PHP] php error code.

2001-03-30 Thread Scott Fletcher
/php.ini'". So, something definitely is going on that I don't know about. So, I wanted to know how to turn off the display "include_path'.:/usr/local/lib/php.ini' when there is a error message. That's all. Scott ""Scott Fletcher"" [EMAIL PROTECTED] wrote in message

Re: [PHP] version????

2001-03-30 Thread Scott Fletcher
One more question! Why does some PHP 4.0 up does not have the php.ini file? I noticed for the UNIX, there isn't one. For Caldera, there is one. For Windows, there is one. So, what's up with that Scott ""Scott Fletcher"" [EMAIL PROTECTED] wrote in message 9a04gk$

[PHP] header() vs HTTP_REFERER (Netscape 6)

2001-03-30 Thread Scott Fletcher
I had now found the problem. The website that have been in use for a while work pretty well with IE and Netscape Navigator. Until NS6 came, that's when the website start having some problem. The website use the login page and any web pages after logging are controlled by the security check.

[PHP] header() vs. no cache, it doesn't work.

2001-03-30 Thread Scott Fletcher
When I use this script header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); header("Cache-Control: no-cache, must-revalidate"); header("Pragma: no-cache"); Next, I browse around and go back one page, the cache does

Re: [PHP] header() vs. no cache, it doesn't work.

2001-04-02 Thread Scott Fletcher
That one doesn't work either. Scott ""Scott Fletcher"" [EMAIL PROTECTED] wrote in message 9a2sdc$6t0$[EMAIL PROTECTED]">news:9a2sdc$6t0$[EMAIL PROTECTED]... When I use this script header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header(&quo

Re: [PHP] known problems with session_register()?

2001-04-02 Thread Scott Fletcher
You're not alone in this problem. I have the same problem some of the time. I don't know why is that, so someone wrote the script to provide a way around it. If it is for the login, it can be done by terminating hte session_register and all stale session then create a new one once the person

[PHP] PHP command for issuing UNIX command???

2001-12-14 Thread Scott Fletcher
Hi! I wanted to know if there is a PHP code or function that would allow the PHP to issue the UNIX command. What I'm doing here is I'm trying to tell PHP to create a file by issuing hte UNIX command then I can use the PHP to open the file to enter the data. Once I'm done with the file,

[PHP] Re: PHP command for issuing UNIX command???

2001-12-14 Thread Scott Fletcher
due to permission error). What am I missing here? Thanks, Scott Scott Fletcher [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi! I wanted to know if there is a PHP code or function that would allow the PHP to issue the UNIX command. What I

[PHP] Re: PHP command for issuing UNIX command???

2001-12-14 Thread Scott Fletcher
ASH, etc. But still does not work. Check file Permission and so on. (Can't use fopen() to create a file due to permission error). What am I missing here? Thanks, Scott Scott Fletcher [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi!

[PHP] Re: PHP command for issuing UNIX command???

2001-12-14 Thread Scott Fletcher
]: -rwxrwxrwx: not found. -- clip -- Anyone know what it meant and what should I do? Thanks, Scott Scott Fletcher [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Wait a minute! I checked the Apache Error Log and it said file access permission do n

[PHP] Re: PHP command for issuing UNIX command???

2001-12-14 Thread Scott Fletcher
Found the problem! It's not hte file permission for those files you try to work with. You have to go up one directory and set the file permission of hte folder where those files are in and Viola! Weird? Isn't it? Scott Scott Fletcher [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED

[PHP] Function to parse the data from Integer to String

2001-12-14 Thread Scott Fletcher
HI! What's the PHP function that will parse the integer data to a string? The problem I'm having is that I use the date() and microtime() and assigned it to a variable. Later on, when I use this same variable but it have different time, meaning hte clock is still ticking inside the

[PHP] PHP module for modem???

2001-12-18 Thread Scott Fletcher
Hi! Is there any module or software that I can use and compile it with PHP for working with hte modem??? For example, I have cURL but it is a seperate software and can be compile with PHP for certain things like FTP, Internet socket, etc. So, is there ever one for the modem? Thanks,

Re: [PHP] PHP module for modem???

2001-12-18 Thread Scott Fletcher
; echo fgets($fp, 128) fclose($fp); ? -Original Message- From: Scott Fletcher [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 18, 2001 8:11 AM To: [EMAIL PROTECTED] Subject: [PHP] PHP module for modem??? Hi! Is there any module or software that I can use and compile it w

[PHP] /19, the / doesn't work??

2002-01-18 Thread Scott Fletcher
Hi! When I put the data, /19; into a PHP variable, I found that it produce only 9 in the variable. PHP probably think that /1 is like /r, /n, etc. So, what substitute do I need to use to make it /19 instead of 9. I don't know of any PHP code or shortcut to cancel out that effect.

Re: [PHP] /19, the / doesn't work??

2002-01-18 Thread Scott Fletcher
I tried your suggest and it doesn't work. Sorry! Thanks, Scott Richard Crawford [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... That's weird. But try '\/19; use the back-slash to escape the control character. Scott Fletcher wrote: Hi! Wh

Re: [PHP] /19, the / doesn't work??

2002-01-18 Thread Scott Fletcher
is essential is invisible to the eye. --Antoine de Saint Exupery Push the button, Max! - clip Scott Scott Fletcher [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I tried your suggest and it doesn't work. Sorry! Thanks, Scott Richard Crawfor

Re: [PHP] Anyone know of way to convert the characters like linefeed, carrier return, etc.

2002-01-23 Thread Scott Fletcher
This one work pretty well, so I'm using this one in addition to the recent posting! nl2br(htmlentities($ch)); Thanks, Scott Nick Wilson [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Scott

[PHP] How to make a line feed in HTML from LF?

2002-01-23 Thread Scott Fletcher
Hi! How do I make a line feed in HTML from LF?? The data I got on each line is not evenly spread out. Thnaks, Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

[PHP] What do you mean?

2002-01-23 Thread Scott Fletcher
What do you mean? There is a php function that can clean up the carriage return and line feed. There's a php function somewhere that will fix up the amount of spaces for each lines to make the end of each line to be all aligned. So, what would it be? Thank, Scott -- PHP General Mailing

[PHP] How to echo the /n, /r, etc... to the HTML display?

2002-01-25 Thread Scott Fletcher
Hi! I have been working on this part for a few days now! It had become appareant that HTML is not able to do this, so I'm trying to get it to work in PHP but no luck! The string I see like this is when I run the UNIX command od -av filename |more. --clip here-- del cr lf cr lf cr lf

[PHP] Apache/PHP get stuck when using form POST.

2002-02-04 Thread Scott Fletcher
Hi! I have an interesting problem. I am wondering if it is related to PHP or Apache. So, I need your feedback on this one. What happen is when I use the HTML Form POST and submitted it. It worked fine and getting to the 2nd page. The 2nd page include some PHP script and a modem script..

[PHP] Can anyone jog my memory on HTTP_REFERER Javascript location:replace?

2002-02-04 Thread Scott Fletcher
Hi! I had found a way around the problem and it work, but when I enabled the web security features, it messed up. So, with some debugging and I found the problem and I'm not sure how to find a way around it. You see I use page1.php to do certain features but the problem is that

[PHP] odbc_fetch_into(), is there a way to display each data while using this function?

2002-02-06 Thread Scott Fletcher
Hi! I want to know is is there a way to see the data per loop when using hte odbc_fetch_into() function? I want to see all of hte data. Thanks, Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] odbc_connect vs. DB2 (Connection speed varies)

2002-02-07 Thread Scott Fletcher
Hi! Have anyone ever have problem with the connection speed using PHP and DB2? I'm a little puzzled by the odbc_connect reaction. There were very many people using the DB2 on the website. The most I can have is from 5 to 10 people. For some people, they get quick result from the database

[PHP] How to use PHP to find hte presence or absent of the file???

2002-03-04 Thread Scott Fletcher
Hi ya all! I'm trying to figure out how to use the PHP script to detect the presence or absent of the file I'm using UNIX machine, so it is not a problem I do not want to use the fopen() to open the file since it is not a readable file, but a executable file I'm thinking of using the

[PHP] Re: How to use PHP to find hte presence or absent of the file???

2002-03-04 Thread Scott Fletcher
Here's the reply I got from someone out posting it to this outlook! The case is now closed! --clip begin-- How about: http://www.php.net/manual/en/function.file-exists.php ? -- clip end-- Thanks, Scott Scott Fletcher [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]; Hi ya all

[PHP] What's wrong with the Array? Im baffled!

2002-04-03 Thread Scott Fletcher
Hi! I'm a little baffled on why the array is not working the way I expect it to. It showed there is something about the array I do not know about. Well, it's never too late to learn something new. So, here's the code and see if you can help me out. -- clip -- $name = TU4R;

Re: [PHP] What's wrong with the Array? Im baffled!

2002-04-03 Thread Scott Fletcher
$3fc8ff40$0201a8c0@devstation">news:02cc01c1db23$3fc8ff40$0201a8c0@devstation... Why not try using if(empty($sumItUp[$name])) { // rest of code - Original Message - From: Scott Fletcher [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, April 03, 2002 10:14 AM Subject: [PHP

[PHP] Any ideas on combining arrays????

2002-04-03 Thread Scott Fletcher
Hi! Need some ideas on combining some arrays into one! I have array for data and other array for counter. How do I make an array that would show different data for each counter number? -- clip -- $FFR = array ( TU4R = array( data = , count = ), PH01 = array( data

[PHP] Re: Any ideas on combining arrays????

2002-04-03 Thread Scott Fletcher
. Hope it is of any help to you. Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) www.PHPBeginner.com [EMAIL PROTECTED] Scott Fletcher writes: Hi! Need some ideas on combining some arrays into one! I have array for data and other array for counter.

Re: [PHP] Re: Any ideas on combining arrays????

2002-04-03 Thread Scott Fletcher
{ echo ' PH10: '.$value.chr(10); } echo '/pre'; echo 'pre'; foreach ( $array[tu4r] as $value ) { echo ' TU4R: '.$value.chr(10); } echo '/pre'; ? cheers -Original Message- From: Scott Fletcher [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 10:15 AM To: [EMAIL P

[PHP] Comments / Question about XML?

2002-06-11 Thread Scott Fletcher
Hi! I'm going to start programming for XML but I have never done it before. I also found out that I would need to recompile PHP with the --xml option. That's suck! Will have to do it while the server is on live site. Hopefully nothing will go wrong. (Cross my finger!). By the way, know of

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 would need to recompile PHP with the --xml option. That's

[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 -- ?xml version=1.0 encoding=UTF-8? NetConnectRequest

[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 General Mailing

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

2002-06-26 Thread Scott Fletcher
]">news:[EMAIL PROTECTED]... On Wednesday, June 26, 2002, at 11:57 AM, Scott Fletcher wrote: 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 enab

[PHP] PHP does not work??

2002-06-26 Thread Scott Fletcher
Hi! I downloaded the newer version of PHP and compiled it. The php is working great! But there is one problem. When I use the hyperlink, test.php?data=yes and I go to this page, test.php but there is no data in this variable, $data. So, the web page I have, most of them are all thrown off

[PHP] Re: PHP does not work??

2002-06-26 Thread Scott Fletcher
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 there is one problem. When I use the hyperlink, test.php?

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

2002-06-26 Thread Scott Fletcher
I didn't know that. Thanks for the info. I think it would be best that I not use php.ini. I can write the script to register the variable. What would be a demo script that would work? I'm having a little trouble understanding that on the php.net website. Most of the script that use global

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

2002-06-26 Thread Scott Fletcher
]">news:[EMAIL PROTECTED]... On Wednesday, June 26, 2002, at 02:13 PM, Scott Fletcher wrote: I'm using UNIX, not windows, so there is no php.ini in UNIX. Sorry, don't take offense if I ask if you've been living under a rock -- I only use Linux, and there is definitely a php.ini file that

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

2002-06-26 Thread Scott Fletcher
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 and it worked. I have one question, what about the hyperlink?

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

2002-06-28 Thread Scott Fletcher
you only manage to send the first word this can be overcome by using the htmlspecialchars('value') method to evaluate value... turning on globals is to make the coding easier but has a good deal of disadvantages... Spike... Scott Fletcher [EMAIL PROTECTED] wrote in message [EMAIL PROTECTE

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, 2002, at 02:37 PM, Scott Fletcher wrote: I did

[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

[PHP] odbc_fetch_into ??

2002-07-02 Thread Scott Fletcher
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 off. How do I transform the defined data into an array to be use for odbc_fetch_into? I never got it to work right. I will appreciate any of the help

[PHP] Re: odbc_fetch_into ??

2002-07-02 Thread Scott Fletcher
-- 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 off. How do I transform the defined data into

[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.

Re: [PHP] Re: odbc_fetch_into ??

2002-07-02 Thread Scott Fletcher
On Tue, Jul 02, 2002 at 10:05:31AM -0400, Scott Fletcher wrote: I tried this script and it showed all of the data correctly, so how do I make the define variable to work correctly? define(CUSTOMER_ID,0); define(CUSTOMER_NAME,1); define(STATE,6); // blah b

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, Scott Fletcher wrote: I tried thi

Re: [PHP] Re: odbc_fetch_into ??

2002-07-02 Thread Scott Fletcher
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 greater. Did you misspell the function name?

[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

[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.

[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 my

[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 spa!

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 PROTECTED]... Scott Fletcher wrote: This

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) { $str

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! Im 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 -Original

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

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

[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

[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 slapped

Re: [PHP] $_SESSION

2002-07-03 Thread Scott Fletcher
ng 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, 2002 1:05 PM Subject: [PHP] $_SESSION Hi Again! I missed part of the past responses to the past

[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. FULL PATH! :-) F

Re: [PHP] Need Help with $_SESSION.

2002-07-03 Thread Scott Fletcher
>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 in making this work for 2 days now. I'm focusing on making the $_SESSION to work on each

Re: [PHP] Need Help with $_SESSION.

2002-07-03 Thread Scott Fletcher
); --clip-- Thanks, FletchSOD Al Baker [EMAIL PROTECTED] 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 Fletch

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

Re: [PHP] Need Help with $_SESSION.

2002-07-03 Thread Scott Fletcher
for an array or //substitute array for odbc_fetch_into for($x=0;$x2;$x++) { $_SESSION[$x] = $array[$x]; } Page 2 echo $_SESSION[0]; echo $_SESSION[1]; Scott Fletcher [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... The demostration written by Kirk

[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
ROTECTED]... 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 on the server side work or get the information from.

[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 = function to get the array count --snip-- And I would get 3 as an answer. Thanks, FletchSOD -- PHP General Mailing List (http://www.php.net/) To

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 would get the total array count. ie --snip-- $array[0] = zero;

[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-- ? $errno = 0; $errstr= ; $socket = fsockopen(HOSTNAME,HOSTPORT,$errno,$errstr,30); if(!$socket || $errno)

[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

[PHP] Re: PHP for AIX.5.1

2002-07-05 Thread Scott Fletcher
nstalled 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]">news:[EMAIL PROTECTED]... Go to PHP website, http://www.php.net and at the

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. :-) That was to trick you into RTFM! Hey you were lucky that the 'o' was

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]">news:[EMAIL PROTECTED]... Scott

Re: [PHP] $_COOKIE

2002-07-05 Thread Scott Fletcher
.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 $_SESSION or $GLOBALS. FletchSOD Alberto Serra [EMAIL P

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

2002-07-05 Thread Scott Fletcher
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 / LINUX. It's in php.ini. Look at the phpinfo(

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

2002-07-05 Thread Scott Fletcher
2-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 / LINUX. It's in php.ini. Look at the phpinfo() output, and modify to include the register_globals=ON, then restart Apach

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

2002-07-05 Thread Scott Fletcher
. 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 employee to log in to the administration website that is if the employee's

[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

[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 General

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-- Page 1 -

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- Let's

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 on

  1   2   3   4   5   6   7   >