[PHP] Re: What does the word 'parse' meant when you do a XML parse...

2003-10-24 Thread Scott Fletcher
re at http://en.wikipedia.org/wiki/Parse . So, now I know it basically is about breaking up the XML tags into something like array or whatever the container is that XML get broken up into. "Dennis Sterzenbach" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > "Scott F

Re: [PHP] What does the word 'parse' meant when you do a XML parse...

2003-10-24 Thread Scott Fletcher
:-) "Burhan Khalid" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Robert Sedlacek wrote: > > On Thu, 23 Oct 2003 18:36:20 -0500, John Nichel wrote: > > > >>Scott Fletcher wrote: > >> > >>>What does the word, 'parse

Re: [PHP] Ways to break up XML into Arrays????

2003-10-24 Thread Scott Fletcher
Will do... <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Try looking through http://pear.php.net for something. > > > check out the xml functions, its an xml parser -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Ways to break up XML into Arrays????

2003-10-24 Thread Scott Fletcher
I'll look into it. Thanks for the head-up! "John Nichel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > >On Thursday 23 October 2003 17:02, Scott Fletcher wrote: > > > >>Hi Fellas! > >> > >>I don't want

Re: [PHP] Ways to break up XML into Arrays????

2003-10-24 Thread Scott Fletcher
Will do... "Ryan Thompson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Try looking through http://pear.php.net for something. On Thursday 23 October 2003 17:02, Scott Fletcher wrote: > Hi Fellas! > > I don't want to use the PHP's XML featu

Re: [PHP] Ways to break up XML into Arrays????

2003-10-24 Thread Scott Fletcher
I wonder about overwritting the same tag twice, like '' and end up with one result when using hte XML parse... Does anyone know that PHP XML Parse can work without overwriting in this case and still get two different result? Scott F. "Raditha Dissanayake" <[EMAIL PROTE

Re: [PHP] XML Parser

2003-10-24 Thread Scott Fletcher
n DOM XML or Expat... Thanks, Scott F. "Ray Hunter" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I would probably make this a new thread since it is a new question. > > Anyways, the answer to your question is no, unless you make that > happen. When

[PHP] Need a nicer way to escape single/double quotes....

2003-11-12 Thread Scott Fletcher
than that... --snip-- "; echo ""; echo " alert(document.Test_Form.htmlTest1.value);"; echo ""; ?> --snip-- Thanks, Scott F. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Need a nicer way to escape single/double quotes....

2003-11-12 Thread Scott Fletcher
Wow! That really help for a not so effective HTML tag... Thanks! Scott F. "Cpt John W. Holmes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message > news:<[EMAIL PROTECTED]>... > >

[PHP] Explanation for php.net front page???

2003-11-12 Thread Scott Fletcher
version, Javascript errors, etc..). --snip-- Thanks, Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Need a nicer way to escape single/double quotes....

2003-11-13 Thread Scott Fletcher
>Wow! That really help for a not so effective HTML tag... "Wow! That does really help to make up for the lousy HTML tags..." Does that help? :-) Scott F. "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Wow! That really help

Re: [PHP] Explanation for php.net front page???

2003-11-13 Thread Scott Fletcher
r is it part of a website somewhere that show us of all of the wonderful features and this is just one of them? Scott F. "Chris W. Parker" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Robert Cummings <mailto:[EMAIL PROTECTED]> on Wednesday, November 12, 2003 2:

Re: [PHP] Explanation for php.net front page???

2003-11-13 Thread Scott Fletcher
ion' quote as a signature to my account, so it would be there everytime I send, reply or forward an email. :-) It would be so nice to have a website that would show all of the wonderful features available to any application to use with the applications on the Internet. Scott F. "

[PHP] Apache and Apache2 and Character Sets

2003-11-13 Thread Scott Carr
Does the version of Apache change the character sets PHP has available to it? I have a Win32 Apache2 running php. I switched to Apache to see if the code ran the same. I have a Template in a database with Copyright '©' in the Template. I replace these in PHP with the information I want. In Apa

[PHP] Problem with is_array() and empty() for $_SESSION...

2003-11-14 Thread Scott Fletcher
igning the odbc_result data to each one of them (6 addition)... I have no idea what is the problem here... Scott F. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem with is_array() and empty() for $_SESSION...

2003-11-14 Thread Scott Fletcher
e. So, it's my fault. One question though, wouldn't it make more sense to have the result be either as 0 or 1 (or true or false) instead of blank or 1. I first interpret the blank as something is wrong with the script or functions. Thanks, Scott F. "Chris Shiflett" <[EMAIL

Re: [PHP] Problem with is_array() and empty() for $_SESSION...

2003-11-14 Thread Scott Fletcher
is wrong with the script. But hey, wouldn't it make more sense if the output can be either "1 or 0" instead of "1 or blank", it would help to make life be made easier because we forget that a blank can also meant false Thanks, Scott F. "Chris Shiflett" &

Re: [PHP] Problem with is_array() and empty() for $_SESSION...

2003-11-14 Thread Scott Fletcher
Sorry for the duplicate... MS-Outlook Express returned an error message saying it had socket problem with PHP newsgroup. "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Thanks for jogging my memory. I seem to be so focus on this for a couple of

[PHP] String matching for sample code doesn't work....

2003-11-19 Thread Scott Fletcher
Hi Everyone! I'm not really sure why does this simple script not work. When I run the code, the loop kept going until it timed out. I'll enclose the simple code here... --snip-- $res_str = "Whoof"; for ($i=0;$i<100;$i++) { if (substr($res_str, $i, 9) == "

[PHP] Re: About iMail Help

2003-11-19 Thread Scott Fletcher
It look like a email software called, 'imail' "D. Jame" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi, Anyone know about imail.? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: String matching for sample code doesn't work....

2003-11-19 Thread Scott Fletcher
Never mind that! It work now Been working on it for a few hours though "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi Everyone! > > I'm not really sure why does this simple script not work. When I run > the code, t

[PHP] how to create a function and return two parameters????

2003-11-19 Thread Scott Fletcher
, 100); $strResponse_HTML = substr($res_str, 200, 100); return $strResponse_XML,$strResponse_HTML; } --snip-- Thanks, Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Why is the php loop, 'for()', so slow????

2003-11-19 Thread Scott Fletcher
Hi Everyone! Why does the for() loop for PHP so slow when it is digesting a large amount of data? Is there a way to make the loop go faster? Thanks, Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] how to create a function and return two parameters????

2003-11-19 Thread Scott Fletcher
Ummm, look like I'll stick with number two. Didn't know about the "&" value to pass value back and forth in PHP Thanks, Scott F. "Chris W. Parker" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Scott Fletcher <mailto:[EMAIL PROTECT

Re: [PHP] Why is the php loop, 'for()', so slow????

2003-11-19 Thread Scott Fletcher
nd - $XML_Start)); $strResponse_HTML = "Empty!"; } } set_time_limit(160); $res_str = "**< ClientName>The Motor ZoneCBC Companies2003-11-19T15:18:39]]>"; //To rip-out the CDATA from the CBC XML Tags... CBC_XML_BreakUp($CBC_TransUnionXML, $CBC_TransUnionHTML);

Re: [PHP] Why is the php loop, 'for()', so slow????

2003-11-19 Thread Scott Fletcher
rting this code to PHP and place it on the Unix Server (RS/6000) Webserver and it take way too long.... Scott "Ray" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > try > $res_str_len = strlen($res_str); > for ($i=1;$i<$res_str_len;++$i) > > one

Re: [PHP] Why is the php loop, 'for()', so slow????

2003-11-19 Thread Scott Fletcher
Sample code is found in earlier posting... Someone post a reply on a seperate thread... Scott "Eugene Lee" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Wed, Nov 19, 2003 at 03:10:39PM -0500, Scott Fletcher wrote: > : > : Why does the for() loo

Re: [PHP] Why is the php loop, 'for()', so slow????

2003-11-20 Thread Scott Fletcher
use both, not just first one. Scott "Chris W. Parker" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Scott Fletcher <mailto:[EMAIL PROTECTED]> on Wednesday, November 19, 2003 1:12 PM said: > function CBC_XML_BreakUp(&$strResponse_XML, &$strResponse

Re: [PHP] Why is the php loop, 'for()', so slow????

2003-11-20 Thread Scott Fletcher
I can give the strpos() a shot but I seem to have problem with getting the strpos() to give me two seperate "" tags instead of just hte first one only... Scott "Curt Zirzow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Scott, > > Pleas

[PHP] Is there a way to use the strpos() for next string...

2003-11-20 Thread Scott Fletcher
Hi Everyone! Is there a way to get the strpos() to find the next needle in the haystack instead of just the 1st one only? (Where the 1st needle is the same string as the next needle)... Thanks, Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] XML Parsing....

2003-11-20 Thread Scott Fletcher
E, 1); xml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, 0); xml_parse_into_struct($parser, $data, $vals, $index); xml_parser_free($parser); --snip-- The problem here is that I have like two different XML encoding format Thanks, Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Is there a way to use the strpos() for next string...

2003-11-20 Thread Scott Fletcher
How exactly does the 3rd parameter option work. I tried this but it doesn't work, so I don't know how exactly does it work... There isn't detail information on the php.net website... --snip-- $XML_Start = (strpos($res_str,"",1); $XML_End = strpos($res_str,"]

Re: [PHP] Is there a way to use the strpos() for next string...

2003-11-20 Thread Scott Fletcher
g. I'll also have to customize the codes to check to see if the HTML's CDATA is returned or not as well as the XML's CDATA is returned or not. Oh boy! Thanks, Scott "Mike Ford" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On 20 November 2003 17:39

Re: [PHP] Is there a way to use the strpos() for next string...

2003-11-20 Thread Scott Fletcher
XML Parser will work. Scott "Kelly Hallman" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Thu, 20 Nov 2003, Scott Fletcher wrote: > > How exactly does the 3rd parameter option work. I tried this but it > > doesn't work, so I don't

Re: [PHP] Is there a way to use the strpos() for next string...

2003-11-21 Thread Scott Fletcher
Yea, plan to file a bug to include an example. As soon as the strpos() script work then I'll go ahead. Right now, mine doesn't work correctly with the 3rd and 4th line of code, so I'm trying to figure out why. :-) Scott "Mike Ford" <[EMAIL PROTECTED]> wrote i

[PHP] strpos() act funny when searching for "]]>"....

2003-11-21 Thread Scott Fletcher
strpos() is acting a little bit funny. When I do this... --snip-- $a = strpos($data,"]]>"); --snip-- Problem is there are "]]>" characters in the $data string and it just doesn't see it. Anyone know why and what is the workaround to it? Scott F. --

Re: [PHP] strpos() act funny when searching for "]]>"....

2003-11-21 Thread Scott Fletcher
I thought about that also, so I took your suggestion and tried it. Still doens't work... I tried those... "\]]>"; "\]\]>"; Scott F. "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] [snip] strpos() is acting a li

Re: [PHP] strpos() act funny when searching for "]]>"....

2003-11-21 Thread Scott Fletcher
; --snip-- The response I got here is... --snip-- 319 ***XML Start 119843 ***XML End 25650 ***HTML Start 119843 ***HTML End 120015 --snip-- As we see, the number for $XML_End and $HTML_End are the same which is not correct because there are two seperate "]]>" near the end of hte

Re: [PHP] strpos() act funny when searching for "]]>"....

2003-11-21 Thread Scott Fletcher
Yea, it's a ">" and not a ">".. It is pure XML tags Found the problem now, so no problem now. See other branch of this posting of a workaround to the problem I did... Thanks, Scott "Sophie Mattoug" <[EMAIL PROTECTED]> wrote in message news:[

Re: [PHP] strpos() act funny when searching for "]]>"....

2003-11-21 Thread Scott Fletcher
Start = (strpos($res_str,"",$HTML_Start); $HTML_End += 1; $XML_End = strpos($res_str,"]]>",$HTML_End); --snip-- Thanks all for the quick feedback! I appreciate it! Scott F. "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > U

Re: [PHP] strpos() act funny when searching for "]]>"....

2003-11-21 Thread Scott Fletcher
TA...[HTML]]].] Thanks, Scott F. "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] [snip] I thought about that also, so I took your suggestion and tried it. Still doens't work... I tried those... "\]]>"; "\]\]>"; [/snip] I t

Re: [PHP] strpos() act funny when searching for "]]>"....

2003-11-21 Thread Scott Fletcher
' to the strpos() function because it is a bad choice of word but that is understandable when I use this function the first time and not understand it. Thanks for the clarification... Scott "Kelly Hallman" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On

Re: [PHP] strpos() act funny when searching for "]]>"....

2003-11-21 Thread Scott Fletcher
Yea! :-) Don't we all hate it? :-) "Mark Charette" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Fri, 21 Nov 2003, Scott Fletcher wrote: > > > Well, I seem to have problem understanding the word, 'offset' to the > > str

[PHP] date() function doesn't seem to work right...

2003-12-01 Thread Scott Fletcher
d okay. --snip-- date("Y-m-d H:i:s."); --snip-- Thanks, Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] date() function doesn't seem to work right...

2003-12-01 Thread Scott Fletcher
Okay thanks... I'll do a workaround for now until PHP get upgraded in the near future. "Thijs Lensselink" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Scott Fletcher wrote on maandag 1 december 2003 16:41: > > When I do this script, I didn

[PHP] Re: Friendly dates

2003-12-01 Thread Scott Fletcher
word 'Yesterday'. For 'Last Week', I don't know because it is a little tricky. :-) Someone else may know of something better than I do. Scott "Richard Davey" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > I'm just wondering i

[PHP] Re: Friendly dates

2003-12-01 Thread Scott Fletcher
Something like this, but this is not perfect.. The mktime seem to work only for Unix/Linux and not work for Windows. --snip-- function dateDiff($input_date) { //MSG #1 - Parameter1 must be in this date format --> "mm/dd/" //MSG #2 - This script does not include fix for the leap year...

[PHP] search/replace functions

2003-12-03 Thread Scott Ware
I'm new to the list, and I don't want this to sound like a stupid ?, but I am having an issue with a function that I created. I have some code stored in a database, similar to XML-style tags, but I just created them myself to be more "user-friendly" to people. Like for instance , and (would make

[PHP] What is PHP equivalent to JavaScript's charAt()....

2003-12-04 Thread Scott Fletcher
Hi Everyone! The function in JavaScript which is charAt(), I am wondering what would be this same function in PHP? I couldn't find it so it is in a different function name I don't know about. Thanks, Scott F. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

[PHP] How to use PHP to view the file permision???

2003-12-08 Thread Scott Fletcher
eding. That way, I can halt the script if there is no write permission or something. Thanks, Scott F. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to use PHP to view the file permision???

2003-12-08 Thread Scott Fletcher
33188 stand for, so will stick to easier functions, is_writeable() and is_readable(). Thank for the response! Scott F. "Marcos Thiago Merschamnn Fabis" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > Looked up on the manual about the chmod() function

Re: [PHP] How to use PHP to view the file permision???

2003-12-08 Thread Scott Fletcher
What's the function for converting it to base 8 ??? Thanks "Roger B.A. Klorese" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Um, not sure what this meant with the fileperms() function. > > I have file > > permission as "-rw-r--r--" or "644" and when using hte > > fileperms(

Re: [PHP] How to use PHP to view the file permision???

2003-12-08 Thread Scott Fletcher
Alright found it. it is base_convert, just use ... --snip-- echo base_convert($filename,8,10); --snip-- Cheer! "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > What's the function for converting it to base 8 ??? > > Thanks &g

[PHP] How to use anchor with php post string to jump to a page???

2003-12-11 Thread Scott Fletcher
ring to the Iframe, like "&color=red" in this example, this example doesn't work... The iframe is the target method --snip-- http://www.yourserver.com/yourpage.htm#RowNum3&color=red target="doc">Jump --snip-- Thanks, Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to use anchor with php post string to jump to a page???

2003-12-12 Thread Scott Fletcher
That would have been nice but it doesn't seem to work. Alright, I guess I'll redo the script to make it work differently... Thanks, Scott "Stuart" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Scott Fletcher wrote: > > Sample script I

Re: [PHP] How to use anchor with php post string to jump to a page???

2003-12-12 Thread Scott Fletcher
Whoop! I think I found the problem, let me fix it and see if that work.. "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > That would have been nice but it doesn't seem to work. Alright, I guess > I'll redo the script to make i

Re: [PHP] How to use anchor with php post string to jump to a page???

2003-12-12 Thread Scott Fletcher
It does work now. Going the other way around does the trick. Surprisely, PHP doesn't treat it as if two seperate thing are combined into one post data, like color for example that would be displayed as 'redRowNum3'. Thanks, Scott "Scott Fletcher" <[EMAIL PROTE

[PHP] Round() behaviour issue

2003-12-16 Thread Scott McDaid
g and the bug lists and found nothing. :( I know I can work around this by adding a fuzz factor, but I'd rather not. I'm just confused as to why something so fundamental to math would change across PHP versions. Kind Regards Scott -- Scott McDaid lightershade t: +44 131 514 4000 d:

[PHP] newbie question about header()

2003-12-21 Thread Scott Taylor
ag (http://www.slashdot.org/";>, but I just don't understand what I am doing wrong here. I'm sure someone here knows.... Thank you in advance, Scott Taylor [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Unlinking files.

2003-12-23 Thread Scott Holden
How can I unlink files in a directory that are, for example older than 1 hour? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to use anchor with php post string to jump to a page???

2003-12-30 Thread Scott Fletcher
now that '#RowNum3' is not part of the post string to the variable, color. So we get this --snip-- color --> red --snip-- And not this... --snip-- Color --> red#RowNum3 --snip-- Cheer, Scott "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message news:[EM

[PHP] Flag Options before Compiling PHP...

2003-12-30 Thread Scott Fletcher
Hi! I'm encountering an interesting situation. I can do with one file path in a flag for the compiler without a problem, but with 2 file paths in one flag. What is needed to combine those two paths into one flags? --snip-- LDFLAGS='-L/usr/local/ssl/lib' LDFLAGS="CUSTOMER_ODBC_LIBS='-L/usr/

[PHP] What is the Basic function to encode the password upon the authentication..

2003-12-30 Thread Scott Fletcher
Hi! What is the function exactly for encoding the user's typed password in PHP after the HTTP Authentication pop-up window by Apache was submitted? I tried the base64_encode() but it is not the right function. The authentication header here is .. --snip-- header('WWW-Authenticate: Basi

Re: [PHP] What is the Basic function to encode the password upon the authentication..

2003-12-31 Thread Scott Fletcher
Thanks, that does help!!! FletchSOD "John W. Holmes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Scott Fletcher wrote: > > > What is the function exactly for encoding the user's typed password in > > PHP after the HTTP Authentication p

[PHP] How to compile unixiODBC with PHP and Apache???

2003-12-31 Thread Scott Fletcher
Hi! I saw the example on how to configure and compile PHP with unixiODBC and Apache but it only refer to PHP version 3. So, can someone give me a better example with the latest PHP version somewhere? Thanks, FletchSOD -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] PHP function for length of the array???

2004-01-06 Thread Scott Fletcher
Hi! Anyone know what is the php function for finding the length of the array? I haven't found the answer at http://us3.php.net/manual/en/ref.array.php . Thanks, FletchSOD -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP function for length of the array???

2004-01-06 Thread Scott Fletcher
Ah! Thanks!!! "Chris Hayes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > At 15:44 6-1-04, you wrote: > >Hi! > > > >Anyone know what is the php function for finding the length of the array? > >I haven't found the answer at http://us3.php.net/manual/en/ref.array.php . > looking

[PHP] session issues for unauthorized access?

2004-01-06 Thread Scott Fletcher
Is there a really good way to use PHP Session to tell whenether the user is authorized user or not? I see one problem here, let's say the user tried to access certain webpages that are unauthorized then I get to kick the user out. But when the user logged in, we assigned a session token to it, th

Re: [PHP] session issues for unauthorized access?

2004-01-06 Thread Scott Fletcher
would never use the website in the first place. My bank doesn't use PHP, it use JAVA and surprisely, it work very well. "Chris Shiflett" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > --- Scott Fletcher <[EMAIL PROTECTED]> wrote: > > Is there a r

[PHP] Is there a way to protect PHP's $_POST, $_GET when user tamper with post string in URL toolbox???

2004-01-07 Thread Scott Fletcher
Hi! I wanted to know is is there a way to configure PHP to make it not be affected when the web user tamper with the values in the post string after a webpage is submitted or something. (Further explanation below) I noticed when I use the hidden html input tag with hidden data in it then w

[PHP] Re: Is there a way to protect PHP's $_POST, $_GET when user tamper with post string in URL toolbox???

2004-01-07 Thread Scott Fletcher
Will check into whether did I use the post method correctly. Speaking of session, I don't see how can it be done to put the data into the session after the user click the submit button before going over to the next webpage. FletchSOD "Scott Fletcher" <[EMAIL PROTECTED]>

[PHP] $_SERVER['PHP_AUTH_USER'] doesn't work with location header for Mozilla.

2004-01-09 Thread Scott Fletcher
Hi! The login page where the HTTP Authentication would pop-up asking the web user to enter the user id and password to log in. I'm using the PHP's $_SERVER['PHP_AUTH_USER'] and it work okay in both Internet Explorer and Gecko browsers, like Mozilla for example. What I had discovered is that w

[PHP] http authentication through PHP

2004-01-10 Thread Scott Taylor
regards, Scott Taylor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] view outputed headers?

2004-01-11 Thread Scott Taylor
What is the easiest way to view the headers that a PHP page has put out? I've seen the |var_dump(headers_list()); on php.net but this always gives me an error (such as: | Fatal error: Call to undefined function: headers_list() in /usr/local/psa/home/vhosts/a.com/httpdocs/my/page.php on line 7

[PHP] alternative to protecting files through http auth.

2004-01-14 Thread Scott Taylor
there an alternative to using http basic authentication to protect files? Or is there a simple way to authenticate the pages themselves without using something like Manuel Lemos' "PHP HTTP class"? Best Regards, Scott Taylor -- PHP General Mailing List (http://www.php.net/) T

[PHP] Re: alternative to protecting files through http auth.

2004-01-14 Thread Scott Taylor
Paul Chvostek wrote: On Wed, Jan 14, 2004 at 04:17:06PM -0500, Scott Taylor wrote: Is there no other way to protect your (non PHP) files than through authentication? I've been trying to set up a system that will protect files. Those trying to access the files would only be able to

[PHP] Re: alternative to protecting files through http auth.

2004-01-16 Thread Scott Taylor
Paul Chvostek wrote: On Wed, Jan 14, 2004 at 04:17:06PM -0500, Scott Taylor wrote: Is there no other way to protect your (non PHP) files than through authentication? I've been trying to set up a system that will protect files. Those trying to access the files would only be able to

[PHP] simple mod_rewrite question

2004-01-16 Thread Scott Taylor
What is the simplist way to do change http://username:[EMAIL PROTECTED]/protected/archive/$file to http://miningstocks.com/protected/archive/$file where $file is a variable (indicating any file in that directory or any subdirectory)? Best Regards and thank you for all the help, Scott

Re: [PHP] Re: alternative to protecting files through http auth.

2004-01-17 Thread Scott Taylor
Subject: Re: [PHP] Re: alternative to protecting files through http auth. From: Jason Wong <[EMAIL PROTECTED]> Date: Sat, 17 Jan 2004 05:08:29 +0800 To: [EMAIL PROTECTED] On Saturday 17 January 2004 04:03, Scott Taylor wrote: >Alternately, if you aren't able to create directories o

[PHP] authentication problems!

2004-01-20 Thread Scott Taylor
d be VERY simple, and it means that I will have to go through the documentation to use this. If anyone has any ideas it will be much appreciated. Scott Taylor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] authentication problems!

2004-01-20 Thread Scott Taylor
d (making it pointless to even protect the files in the first place). Best Regards, Scott Taylor [EMAIL PROTECTED] wrote: there are a couple of different ways to do this. the "http basic" approach will work just fine. with http basic the id/pw are passed in the headers in an encod

Re: [PHP] authentication problems!

2004-01-21 Thread Scott Taylor
Do you mean using $file = '/protected/file.pdf'; or using an absolute path on the server? Best Regards, Scott Subject: Re: [PHP] authentication problems! From: "Luke" <[EMAIL PROTECTED]> Date: Wed, 21 Jan 2004 14:24:11 +1100 To: [EMAIL PROTECTED] Yeah, i think i m

[PHP] Mixing PHP3 & SSI

2001-01-13 Thread Scott Brown
Ok - I thought I saw that it could be done, so I tried it... and I almost got it working. But rather than one simple layer, I've got SHTML that calls other SHTML and so on it made changes really simple until now ;-) So anyways, rather than use I've replaced my with and

RE: [PHP] Mixing PHP3 & SSI

2001-01-13 Thread Scott Brown
I tried virtual first - but it didnt work. it grabbed the first call, processed it, and then forgot about the rest of the page. > -Original Message- > From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] > Sent: Saturday, January 13, 2001 11:56 PM > To: Scott Brown > Cc: [

RE: [PHP] Mixing PHP3 & SSI

2001-01-13 Thread Scott Brown
all the site menus and headers.(well, it's worth asking...) > -Original Message- > From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] > Sent: Sunday, January 14, 2001 12:02 AM > To: Scott Brown > Cc: [EMAIL PROTECTED] > Subject: RE: [PHP] Mixing PHP3 & SSI

RE: [PHP] Mixing PHP3 & SSI

2001-01-13 Thread Scott Brown
> > If readfile is indeed that "broken", maybe we can talk the > > powers that be into dumping full HTTP headers through the > > readfile call in a future version I mean, the main > > script has it already from when it was called... so it > > should be able to sub-call pages in that same cont

Re: [PHP] Version Difference

2001-01-16 Thread Glen Scott
At 10:37 16/01/01, Gareth Davies wrote: >All is well in both the above until the user enters an apostrophe, upon >which the development environment nicely adds a backslash prior to it, >allowing it to be saved in Mysql with no additional effort. The live >environment, however, does not. Do yo

Re: [PHP] Reading specific data from a .txt file into PHP

2001-01-16 Thread Glen Scott
James, The trouble is, that there are about 3000 cities in the text file. I'm >assuming that I fill use fopen(); and fread(); to open and read the files, >but does anyone know of a way of singling out one line (say: > >CYGL 161346Z 34004KT 15SM -SN BKN011 BKN030 RMK SF6SC1 > >) from the whole te

RE: [PHP] I love/hate FrontPage - need another HTML editor.

2001-01-17 Thread Scott Gerhardt
It is NOT ported to Linux is it? I couldn't find any information on the website indicating weather it was compiled for *NIX or not. - Scott > Have any of you tried using EditPlus? (www.editplus.com) This is a great > little editor for HTML, JavaScript, and PHP. You c

RE: [PHP] Ethics question...

2001-01-17 Thread Scott Gerhardt
, as a professional, must be conducted in the best interests of the public and my clients. I must put these issues at the top of my list: - Safety and well being of the public is #1. - Diligent and responsible. - Fair and honest Hope this clears things up a bit __

RE: [PHP] RE: Ethics question...

2001-01-18 Thread Scott Gerhardt
a reasonable OS. That's my two cents worth. ___ Scott A. Gerhardt P.Geo. Gerhardt Information Technologies [EMAIL PROTECTED] ___ > Before Microsoft bought it, Hotmail had a FreeBSD/Apache frontend and a > Sun/Solaris backend.

RE: [PHP] RE: Ethics question...

2001-01-18 Thread Scott Gerhardt
Forgot to add this: http://www.linuxrx.com/WS_Linux/OS_comparison.html > Before Microsoft bought it, Hotmail had a FreeBSD/Apache frontend and a > Sun/Solaris backend. Supposedly, corporate wanted MS to move > Hotmail to NT, > but supposedly it failed so miserably at serving up 10 million user

RE: [PHP] Ultimate Editor

2001-01-18 Thread Scott Gerhardt
Has anyone tried Bluefish for Linux? > -Original Message- > From: Michael A. Peters [mailto:[EMAIL PROTECTED]] > Sent: January 18, 2001 7:02 PM > To: Chris Aitken > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] Ultimate Editor > > > look into nedit. > > It does very well on linux, and I he

RE: [PHP] Ultimate Editor

2001-01-18 Thread Scott Gerhardt
1 7:12 PM > To: Scott Gerhardt > Cc: [EMAIL PROTECTED]; Chris Aitken; [EMAIL PROTECTED] > Subject: RE: [PHP] Ultimate Editor > > > On Thu, 18 Jan 2001, Scott Gerhardt wrote: > > > Has anyone tried Bluefish for Linux? > > > > Tried it, didn't like it. > >

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

2001-01-24 Thread Scott Fletcher
ormation - headers already sent by (output started at test.php) in test.php on line ** -- When I put in the remark, the 2nd file, test.php couldn't use $GLOBAL["HTTP_REFERER"] because it couldn't find the last file. I was thinking that

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

2001-01-25 Thread Scott Fletcher
est,$test1); --- When I do "echo list($test,$test1);", it doesn't work. What are the better way to see the data in the array? Thanks, Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

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

2001-01-26 Thread Scott Fletcher
new to me. So, it was a great help when I was debugging the missing data in the huge array (containing several more arrays). Thanks, Scott ""Scott Fletcher"" <[EMAIL PROTECTED]> wrote in message 94pkll$516$[EMAIL PROTECTED]">news:94pkll$516$[EMAIL PROTECTED]...

[PHP] Looking for Code Example: Telneting to server to verify password

2001-01-26 Thread Scott Brown
I dont know if this is reasonable to do or not, but what I'm thinking of validating a user based on his/her current username/password. Does anyone know if this is possible to do? Or better yet - does someone have some code sitting around I can scavange from? PHPBuilder didnt help much --

[PHP] Arrays -- How do I insert a pair of data into an array

2001-02-22 Thread Scott Walter
I am attempting to insert a set of data (actually a pair) into an array, without much success. I would like to insert the data set ("course number", "course title") into a numerically indexed array so that when I want to output the array I can reference it like so: echo("$array[$i]["c

[PHP] RE: [PHP-DB] Re: [PHP] No same username

2001-02-25 Thread Scott Bernard
There is something called constraints in the database (generally). You have to set that field in the database, to unique, or make a "unique" index on that field. regards. idsarts. -Mensaje original- De: Web Admin [mailto:[EMAIL PROTECTED]] Enviado el: Domingo, 25 de Febrero de 2001 10:2

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