[PHP] Re: Pear Package...

2004-03-15 Thread Scott Fletcher
Aw! Never knew what the php's include_path is for when I saw it in the php.ini some times ago... So, that fixed the problem by just setting it to the website directory. Thanks, FletchSOD Greg Beaver [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi Scott, What you need is to set

[PHP] Adding php to the include_path in the php.ini???

2004-03-12 Thread Scott Fletcher
Hi! After doing many testing for hte fsockopen() bugs with PHP developers which is now fixed. I just happen to noticed that in the middle of those testing when I do the PHP installation after doing the usual configure and make. What I noticed is that it asked me to .. --snip-- You may want

[PHP] odd acrobat reaction to streaming files

2004-03-10 Thread Scott Taylor
it not work before I added this header line? Is it a flaw in Adobe Acrobat? Best Regards, Scott Taylor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] time delay function?

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

[PHP] What is CLI? Something about PHP 5 that have it...

2004-03-08 Thread Scott Fletcher
Hi! What is CLI? It is something that PHP 5 that have it. Thanks, FletchSOD -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] What is CLI?

2004-03-08 Thread Scott Fletcher
What is CLI that PHP 5 mentioned about? Thanks, FletchSOD -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] What is CLI?

2004-03-08 Thread Scott Fletcher
Oh I see what you're talking about now... Thanks, FletchSOD -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: extra breaks in sent out emails

2004-03-07 Thread Scott Taylor
is that the server converts all \r's into \n's, and for this reason when a piece of mail goes out it has two breaks instead of one. Best Regards, and thank you for the help, Scott Taylor Ben Ramsey wrote: Scott Taylor wrote: What I really don't understand is why there are any line breaks at all, because

[PHP] extra breaks in sent out emails

2004-03-06 Thread Scott Taylor
through POST) and do a character count it only shows 3 - the a, the \n, the b. Yet in the email address it comes out as: a b Why is this? BTW: I am on a windows computer but the server is a unix server. Best Regards, Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Re: extra breaks in sent out emails

2004-03-06 Thread Scott Taylor
); What I really don't understand is why there are any line breaks at all, because the trim is supposed to take out all \r \n 's. Is there another type of line break? Best Regards, Scott Taylor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Database insert/update from Browser Refresh or Back/Forward Button

2004-02-20 Thread Scott Fletcher
Hi! Went Google surfing on Browser Refresh Back/Forward Button and it turned out that PHP can do the dirty work. Problem is no sample script, all I see are comments about suggesting on using the $_SESSION or the database to check the $_POST stuffs and do something about it. So does anyone

Re: [PHP] Database insert/update from Browser Refresh or Back/Forward Button

2004-02-20 Thread Scott Fletcher
Why is Browser Refresh Back/Forward Button capitalized? Is that the name of a band or something??? Well, forgot to enclose the double quote. Old Habit with capitalization on commonly used term... Are you trying to process a form a something and you want to prevent the browser from processing

[PHP] Re: fsockopen failed with permission denied error...

2004-02-20 Thread Scott Fletcher
PROTECTED] Scott Fletcher wrote: Hi Everyone! Sample code below... --snip-- $fp = fsockopen(www.cnn.com, 80, $errno, $errstr, 30); --snip-- I get the error message, permission denied along with 13. When I read the bugs.php.net and found out that I need to add the @ to it so I did

Re: [PHP] Database insert/update from Browser Refresh or Back/Forward Button

2004-02-20 Thread Scott Fletcher
. Decided to go ahead and break up the rest of the webpages on the development website to make this possible. It is going to set me back by a month. My boss is not going to like it. :-( Better less problem down the road... FletchSOD Scott Fletcher [EMAIL PROTECTED] wrote in message news:[EMAIL

Re: [PHP] PHP Header to stimulate a POST method or POST string????

2004-02-19 Thread Scott Fletcher
in /home/website/emarket/www/zz_test_dir/Net/Socket.php on line 108 --snip-- The script I put down are --snip-- ? include('Request.php'); $a = new HTTP_Request('http://www.yahoo.com/'); $a-sendRequest(); echo $a-getResponseBody(); ? --snip-- Scott F. [EMAIL PROTECTED] wrote in message

Re: [PHP] PHP Header to stimulate a POST method or POST string????

2004-02-19 Thread Scott Fletcher
% cellpadding=0 cellspacing=0trtd bgcolor=#3366ccimg alt= width=1 height=4/td/tr/table/body/htmlConnection closed. --snip-- John Nichel [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Scott Fletcher wrote: This is what I get... --snip-- 1 Warning: fsockopen() [function.fsockopen

[PHP] fsockopen failed with permission denied error...

2004-02-19 Thread Scott Fletcher
Hi Everyone! Sample code below... --snip-- $fp = fsockopen(www.cnn.com, 80, $errno, $errstr, 30); --snip-- I get the error message, permission denied along with 13. When I read the bugs.php.net and found out that I need to add the @ to it so I did this.. --snip-- $fp = @fsockopen(www.cnn.com,

[PHP] PHP Header to stimulate a POST method or POST string????

2004-02-18 Thread Scott Fletcher
=.$salt) for example, so to treat it as a POST like would be ... header(Location: https://www.blah.net;); header( ??? ); //for PHPSESSID and other post strings... Thanks, Scott F. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] PHP Header to stimulate a POST method or POST string????

2004-02-18 Thread Scott Fletcher
no Location: feature, now your comments surely would be of a help. Thanks a million! Now I'll have to decide which one to use.. Scott F. Chris Shiflett [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] --- Scott Fletcher [EMAIL PROTECTED] wrote: I am wonder if it is possible to use

Re: [PHP] PHP Header to stimulate a POST method or POST string????

2004-02-18 Thread Scott Fletcher
to be the problem because the directory folder is already at dr-xr-xr-x, so not sure what the problem is exactly... Scott F. Chris Shiflett [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] --- Scott Fletcher [EMAIL PROTECTED] wrote: I am wonder if it is possible to use the header(Location

Re: [PHP] PHP Header to stimulate a POST method or POST string????

2004-02-18 Thread Scott Fletcher
It said it is set to 1 from ini_get(), it also said on from php.ini... Scott F. Chris Shiflett [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] --- Scott Fletcher [EMAIL PROTECTED] wrote: Groan!!! I get permission denied error for fsockopen(). Do you know what allow_url_fopen

Re: [PHP] PHP Header to stimulate a POST method or POST string????

2004-02-18 Thread Scott Fletcher
if this is the problem. Scott F Chris Shiflett [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] --- Scott Fletcher [EMAIL PROTECTED] wrote: It said it is set to 1 from ini_get(), it also said on from php.ini. In that case, you should be able to do this. Can you restate exactly what

Re: [PHP] PHP Header to stimulate a POST method or POST string????

2004-02-18 Thread Scott Fletcher
That's not the one, I tried it with port 80 and still get the error message, so ssl have nothing to do with it. Scott F. Scott Fletcher [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Sample code is $fp = fsockopen(www.whatever.com, 443, $errno, $errmsg); Error message is $errno

Re: [PHP] PHP Header to stimulate a POST method or POST string????

2004-02-18 Thread Scott Fletcher
] [Permission denied] --snip-- Chris Shiflett [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] --- Scott Fletcher [EMAIL PROTECTED] wrote: Sample code is $fp = fsockopen(www.whatever.com, 443, $errno, $errmsg); Error message is $errno -- 13 and $errmsg -- Permission denied I'd

Re: [PHP] PHP Header to stimulate a POST method or POST string????

2004-02-18 Thread Scott Fletcher
P.S. The telnet part, it said... --snip-- Trying Connected to www.google.akadns.net --snip-- When I exited, I get HTML codes dumped on screen along with bad request... Scott F. Chris Shiflett [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] --- Scott Fletcher [EMAIL PROTECTED

Re: [PHP] Re: Apache+modssl+php problem??? possible IE bug?

2004-02-16 Thread Scott Fletcher
I don't think it is a PHP issue because I don't have this problem with Mozilla browser. It more had to do with IE and worse, it is only a random occurance. Scott F. Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Saturday 14 February 2004 05:44, Scott Fletcher wrote

Re: [PHP] Re: phps and iis

2004-02-16 Thread Scott Fletcher
://s92192454.onlinehome.us/PHP_on_windows_under_IIS.html This one fix the problem for me. I had already started to move slowly away from using IIS 6 to the Apache because of this lack of documentation everywhere over the time. Scott F. Zerof [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED

[PHP] An HTML alternative to submit button to look like anchor??

2004-02-16 Thread Scott Fletcher
Hi! I'm wondering if there is such a thing as an alternative to the HTML submit button that would instead look like an anchor and yet act like a submit with POST action. Just wondering... Scott F. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] An HTML alternative to submit button to look like anchor??

2004-02-16 Thread Scott Fletcher
() where formName is the name of the form you wish to submit. As with a lot of client-side scripting languages, I cannot guarantee that this solution is cross-browser compatible. Shaunak -Original Message- From: Scott Fletcher [mailto:[EMAIL PROTECTED] Sent: Monday, February 16

Re: [PHP] An HTML alternative to submit button to look like anchor??

2004-02-16 Thread Scott Fletcher
Not a problem!! :-) I had a morning brain freeze until lunch. Thanks... Jay Blanchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip] You can do it with an image. [/snip] Dang! I was thinking picture of an anchor. Monday afternoon brain freeze! -- PHP General Mailing List

[PHP] Re: [PHP-INSTALL] Re: Apache+modssl+php problem??? possible IE bug?

2004-02-16 Thread Scott Fletcher
, it might will never get worked on. So, less headache, I use $_REQUEST and yet not to have customers be breathing down my neck. Give it a try if you want, if not then that's okay. It would be the same thing a year from now and so on. Scott F. Chris Wilson [EMAIL PROTECTED] wrote in message news

[PHP] What PHP function can detect session being expired??

2004-02-13 Thread Scott Fletcher
Hi! When I set the session.cache_expire to 60 minutes then on the webpage, how do I get PHP to tell me that session had expired via PHP function or something? Thanks, Scott F. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: compile problem

2004-02-13 Thread Scott Fletcher
Try specifying the file path where cURL reside on.. Like this -- --with-curl=/usr//*** for example. Scott F. Donpro [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, trying to compile PHP 4.3.4. on RedHat Linux 7.3 and getting the following error: checking for CURL support

[PHP] Re: Apache+modssl+php problem??? possible IE bug?

2004-02-13 Thread Scott Fletcher
Try the $_REQUEST variable, this is where both the $_GET and $_POST come from and let us know how it goes... Scott F. Chris Wilson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] When in IE, submitting any form on our https page, the post variables intermittantly don't come through

[PHP] Re: Apache+modssl+php problem??? possible IE bug?

2004-02-13 Thread Scott Fletcher
I mean, I sometime found a few POST data had incorrectly went over to the GET data. I don't know it's a PHP problem but more of a web browser problem. Scott F. Scott Fletcher [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Try the $_REQUEST variable, this is where both the $_GET

[PHP] Using date() with the function fileatime() doesn't return accurate timestamp...

2004-02-12 Thread Scott Fletcher
($current_filename; --snip-- What did I do wrong?? Scott F. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Using date() with the function fileatime() doesn't return accurate timestamp...

2004-02-12 Thread Scott Fletcher
Oh I understand now. There is a different between fileatime(), filectime() and filemtime(), with a letter 'a', 'c' or 'm'... The one with the m is what work with Unix/Linux.. Scott F. Scott Fletcher [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I saw the article at http://us2

Re: [PHP] Whoa!!! e-Mail virus from bugs.php.net!

2004-02-09 Thread Scott Fletcher
Thanks Stuart [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Scott Fletcher wrote: How on earth can bugs.php.net get infected??? I'm not even familiar with PHP bug #12494 'cause I never filed it or comment on it. I think somebody should look into bugs.php.net webserver/e

[PHP] Whoa!!! e-Mail virus from bugs.php.net!

2004-02-06 Thread Scott Fletcher
Whoa!! Just got an email today right from bugs.php.net and it was intercepted by the Spam Firewall because it contain the Worm.SCO.A virus and was removed before being send to me. The email goes like this here --snip-- Title: VIRUS (Worm.SCO.A) IN MAIL TO YOU (from [EMAIL PROTECTED]) Body:

[PHP] Re: Whoa!!! e-Mail virus from bugs.php.net!

2004-02-06 Thread Scott Fletcher
-recipients: ; Message-Id: [EMAIL PROTECTED] --snip-- Scott Fletcher [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Whoa!! Just got an email today right from bugs.php.net and it was intercepted by the Spam Firewall because it contain the Worm.SCO.A virus and was removed before being

Re: [PHP] Re: Whoa!!! e-Mail virus from bugs.php.net!

2004-02-06 Thread Scott Fletcher
On Friday 06 February 2004 22:10, Scott Fletcher wrote: Internet Header is shown below... (Actual DNS and IP are replaced by xxx for security reason and keeping out spammers) The DNS and IP that is replaced by xxx are the actual DNS IP from my company, so why should I give it away

Re: [PHP] Whoa!!! e-Mail virus from bugs.php.net!

2004-02-06 Thread Scott Fletcher
Thanks Duncan Hill [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Friday 06 February 2004 14:06, Scott Fletcher wrote: Whoa!! Just got an email today right from bugs.php.net and it was intercepted by the Spam Firewall because it contain the Worm.SCO.A virus

[PHP] POST required header info

2004-02-02 Thread Scott Birksted
I'm attempting to have some java code send a post request to a php script, but the variables are not being assigned correctly. The request comes through fine, but the vars keep coming up empty. The java code works fine with a perl script that grabs the post vars, as well as from a simple html

Re: [PHP] path problems

2004-01-28 Thread Scott Taylor
of the file itself being corrupt, etc. Thanks for the help, Scott Taylor - Edwin - wrote: On Tue, 27 Jan 2004 20:22:46 -0500 Scott Taylor [EMAIL PROTECTED] wrote: I understand all of the file size ones. What I really don't understand is why neither of the following examples work: /* example 1

Re: [PHP] path problems

2004-01-28 Thread Scott Taylor
Stuart wrote: Scott Taylor wrote: $file_two = 'archive/newsletters/Dec03PostPress.pdf'; Try replacing this line with... $file_two = $_SERVER['DOCUMENT_ROOT'].'/archive/newsletters/Dec03PostPress.pdf'; As my first posts states, I've tried that. And no, that doesn't work either

[PHP] path problems

2004-01-27 Thread Scott Taylor
reason this works: readfile('http://domain.com/archive/newsletters/Dec03.pdf'); but this does not: readfile('/archive/newsletters/Dec03.pdf'); nor does this: readfile('archive/newsletters/Dec03.pdf'); Can someone explain this to me? Thanks for all the help, Scott Taylor -- PHP General Mailing

Re: [PHP] path problems

2004-01-27 Thread Scott Taylor
'; readfile($file); /* example 2 */ $file = 'archive/newsletters/Dec03.pdf'; readfile($file); Thanks for the help so far, Best Regards, Scott -Original Message- From: Scott Taylor [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 27, 2004 12:34 PM To: [EMAIL PROTECTED] Subject: [PHP

[PHP] Free Web Site Link Exchange Software

2004-01-26 Thread Scott Dudley
of multiple categories flexibility ... I'm not looking to create a link farm but rather to add content to my wife's web site. She often receives requests from others related to her field to add reciprocal links. Many thanks. -- Regards, Scott Dudley -- PHP General Mailing List (http://www.php.net

[PHP] processing arrays from forms

2004-01-25 Thread Scott
Hello, In page_1.php I have this form: ? $num_rows = count ($s_goal); for ($i = 0; $i $num_rows; $i++) { echo table width='98%' tr td form action=page_2.php method=POST input type=checkbox name=meth[] value=TMT input type=checkbox name=meth[] value=TO input type=checkbox name=meth[]

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 mentioned the same thing

[PHP] authentication problems!

2004-01-20 Thread Scott Taylor
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
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 encoded string, so i'm not certain about your: if using HTML, the username password is easily

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 or access files

[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 do so

[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

[PHP] alternative to protecting files through http auth.

2004-01-14 Thread Scott Taylor
is 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/) To unsubscribe, visit

[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 do so

[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: | bFatal error/b: Call to undefined function: headers_list() in /usr/local/psa/home/vhosts/a.com/httpdocs/my/page.php/b on

[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] $_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

[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

[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] wrote in message news:[EMAIL

[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 for the

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

Re: [PHP] session issues for unauthorized access?

2004-01-06 Thread Scott Fletcher
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 really good way to use PHP Session to tell whenether the user is authorized

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 pop-up window by Apache was submitted? I tried

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

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

2003-12-30 Thread Scott Fletcher
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:[EMAIL PROTECTED] It does work now. Going the other way around does the trick. Surprisely, PHP doesn't

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

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

[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

[PHP] newbie question about header()

2003-12-21 Thread Scott Taylor
the workaround with the meta tag (meta http-equiv=REFRESH content=0; URL=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

[PHP] Round() behaviour issue

2003-12-16 Thread Scott McDaid
. :( 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: +44 131 514 4009 -- This email and any files

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 have here is this... --snip-- a href=http

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 it work differently... Thanks, Scott

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 PROTECTED] wrote in message news:[EMAIL

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

2003-12-11 Thread Scott Fletcher
is how do I pass the post string to the Iframe, like color=red in this example, this example doesn't work... The iframe is the target method --snip-- a href=http://www.yourserver.com/yourpage.htm#RowNum3color=red target=docJump/a --snip-- Thanks, Scott -- PHP General Mailing List (http

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

2003-12-08 Thread Scott Fletcher
. 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
, 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 for PHP, nice but it wouldn't work if the ownership file permission is set, so

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() funciton,

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 Roger B.A. Klorese [EMAIL PROTECTED

[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, visit: http

[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 bold/bold, and

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

2003-12-01 Thread Scott Fletcher
, 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't get a : and numbers in second. : --snip

[PHP] Re: Friendly dates

2003-12-01 Thread Scott Fletcher
'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 if anyone knows of a class/function (or easy way) to do the following

[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] PHP to get mail headers

2003-11-23 Thread Scott St. John
and extract the Received, From and Subject headers. 2)Drop those into a database that I can manage from the browser. Sounds simple enough and I am sure I am making it harder than it really is, but if you know of a project please let me know. Thanks! -Scott -- PHP General Mailing List (http

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 in message news:[EMAIL PROTECTED

[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. -- PHP General Mailing List (http://www.php.net

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 little bit funny. When I do this... --snip-- $a = strpos($data

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

2003-11-21 Thread Scott Fletcher
of hte string. So, I still don't know what hte problem is... Scott F. Curt Zirzow [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] * Thus wrote Scott Fletcher ([EMAIL PROTECTED]): strpos() is acting a little bit funny. When I do this... --snip-- $a = strpos($data,]]); --snip

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

2003-11-21 Thread Scott Fletcher
Yea, it's a and not a gt;.. 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:[EMAIL PROTECTED] Just a stupid idea : are you sure

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

2003-11-21 Thread Scott Fletcher
= (strpos($res_str,![CDATA[)+9); $HTML_Start = (strpos($res_str,![CDATA[,$XML_Start)+9); $HTML_End = 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

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

2003-11-21 Thread Scott Fletcher
]]].] 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 tried Curt's solution...no problem. What are you expecting

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

2003-11-21 Thread Scott Fletcher
() 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 Fri, 21 Nov 2003, Scott Fletcher wrote: Ah

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 strpos() function because it is a bad choice of word strpos

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

2003-11-20 Thread Scott Fletcher
, 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_HTML) { [snip] Wow I didn't think you were going

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 !CDATA[[]] tags instead of just hte first one only... Scott Curt Zirzow [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Scott, Please dont post 500+ lines of stuff

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