Re: [PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread Scott Fletcher
D9FFBE5D@chef... > > > -Original Message- > > From: Scott Fletcher [mailto:[EMAIL PROTECTED]] > > > > Found a PHP bug, I'm using PHP version 4.2.3. I have been > > struggling with > > why PHP code failed to work with the month is August or > > Sep

Re: [PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread Scott Fletcher
I'm referring to '08' and '09' that don't work "Chris Shiflett" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > --- Scott Fletcher <[EMAIL PROTECTED]> wrote: > > Found a PHP bug &g

Re: [PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread Scott Fletcher
tval() for integer Um, what about double??? Thanks, Scott F. "Chris Hayes" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > >Re: [PHP] Found a PHP bug! > uh oh... > > > >I don't see why a string wou

Re: [PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread Scott Fletcher
Whoop! FOund it, it is doubleval()... What does settype() do exactly "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I do know that integer, string, double, float, etc are different.. I > have bee

Re: [PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread Scott Fletcher
I would need to use intval() to solve this problem "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm referring to '08' and '09' that don't work > > "Chris Shiflett&qu

Re: [PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread Scott Fletcher
m was happening, because the numbers > > were being converted to invalid octal numbers and being set to zero. > > I understand the problem at hand. (and did when I posted) However, if Scott > had been doing the conversions manually, he would never have run across this > problem. It i

Re: [PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread Scott Fletcher
from hwen floats > were called doubles... > > Scott Fletcher wrote: > > >Whoop! FOund it, it is doubleval()... > > > > > >What does settype() do exactly > > > > > >"Scott Fletcher" <[EMAIL PROTECTED]> wrote in message > >[E

Re: [PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread Scott Fletcher
Aw nut!!! The intval() doesn't work.. I had enough, I'm going to do what Kirk Johnson recommend. That one work better..... "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Yea, it's too bad th

Re: [PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread Scott Fletcher
Another workaround to this problem is as an addition to Kirk Johnson's suggestion --clip-- $month = "08"; if (trim($month) == 8) { echo "You got it!!!"; } --clip-- "Scott Fletcher" <[EMAIL PROTECTED]> wrote

Re: [PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread Scott Fletcher
message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > "Scott Fletcher" wrote: > > Double and Float are not exactly the same thing. > > > > Double is ---> 11.123 > > Float is --> .00238823993 > > I am absolutely new to PHP but what is ab

[PHP] A way to break up the string????

2003-01-29 Thread Scott Fletcher
Just curious, is there a PHP function that will break up the string for us? Here's the example --clip-- //Original $name = "Jennifer B Cuff"; //Whatever is to be end result of the original $first_name = "Jennifer"; $middle_name = "B"; $last_name = "Cuff"; --clip-- It is a mind challenging game

Re: [PHP] A way to break up the string????

2003-01-29 Thread Scott Fletcher
in message 67DF9B67CEFAD4119E4200D0B720FA3F0241EC3B@BOOTROS">news:67DF9B67CEFAD4119E4200D0B720FA3F0241EC3B@BOOTROS... > Hi Scott, > > > Just curious, is there a PHP function that will break up the > > string for us? > > http://php.net/explode > > > Cheers > Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] A way to break up the string????

2003-01-29 Thread Scott Fletcher
> * if there is something inbetween it's probably all middle names (allow for > several middle names for catholic dutch people that tend to have names such > as Wilhemus Antonius Johannes Maria den Braber) > Curse those people with double back names, like 'den Braber' here. Or > spaced first names.

Re: [PHP] Question about "if" statement evaluating (0=="string")as TRUE

2003-02-03 Thread Scott Hurring
I figured it was along those lines... i know that perl also caught me a few times becuase perl differentiates between "==" and "eq" for numerical or string comparisions. I'll probaly end up using the "===", becuase i've got a severe aversion to using fu

[PHP] mail() and php.ini (Any Luck???)

2003-02-11 Thread Scott Fletcher
l out and click the send button. Have anyone try this and does it work? Anyone struggle with it?? I'm going to go ahead and do it. Thanks, Scott F. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mail() and php.ini (Any Luck???)

2003-02-11 Thread Scott Fletcher
doesn't have this problem. Thanks for the link to www.phpclasses.org . Will look into it. Scott F. "Jason Wong" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Wednesday 12 February 2003 02:12, Scott Fletcher wrote: > >

Re: [PHP] mail() and php.ini (Any Luck???)

2003-02-11 Thread Scott Fletcher
email service to use, so I can't use it. By the way, Found a nice open-source script at www.phpclasses.org that would allow me to connect to MS-Exchange. Very nice, I'm going to use this. Thanks!!! Thanks, Scott F. "Reuben D. Budiardja" <[EMAIL PROTECTED]> wrote in message

Re: [PHP] mail() and php.ini (Any Luck???)

2003-02-11 Thread Scott Fletcher
I can see what you meant about the MIME-encoding and stuffs. This is pretty cool also. "Reuben D. Budiardja" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Tuesday 11 February 2003 02:19 pm, Scott Fletcher wrote: > Someone

[PHP] sending e-mail with 'Bcc:' and 'Cc:' not working....

2003-02-13 Thread Scott Fletcher
I'm a little puzzled on why does either of these two, 'Bcc' and 'Cc' not work when I had successfully send the e-mail. My best guess is that I need additional header, if so then what are the required header needed to make this 'Bcc' and 'Cc' work? Here's the Internet Header from the " To: " e-ma

[PHP] multiple checkbox problem... double count??

2003-02-15 Thread Scott Seong
anges). It may have to do with "image" type I'm using to submit the form. Can anyone help? Thanks, Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php.ini for UNIX sendmail????

2003-02-18 Thread Scott Fletcher
Hi! What is the appropriate filepath with the flag command for the sendmail on the UNIX machine?? I send an email to yahoo and got the error message which I'm going to paste it here... --clip-- - The following addresses had permanent fatal errors - [EMAIL PROTECTED] --- The transcri

Re: [PHP] php.ini for UNIX sendmail????

2003-02-18 Thread Scott Fletcher
ystem by typing "where sendmail". On Tue, 2003-02-18 at 10:25, Scott Fletcher wrote: Hi! What is the appropriate filepath with the flag command for the sendmail on the UNIX machine?? I send an email to yahoo and got the error message which I'm going to paste

Re: [PHP] php.ini for UNIX sendmail????

2003-02-18 Thread Scott Fletcher
ip-- The bad thing is that when I send the mail. I never get an email back when something is not working right by using the return-path. "Adam Voigt" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Oh, ok, well how about your PHP

Re: [PHP] php.ini for UNIX sendmail????

2003-02-18 Thread Scott Fletcher
wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Well your missing your \r\n at the end of your return path. On Tue, 2003-02-18 at 10:57, Scott Fletcher wrote: Here's the command... --clip-- mail("[EMAIL PROTECTED]", "the subject", $mess

Re: [PHP] php.ini for UNIX sendmail????

2003-02-18 Thread Scott Fletcher
end of your return path. On Tue, 2003-02-18 at 10:57, Scott Fletcher wrote: Here's the command... --clip-- mail("[EMAIL PROTECTED]", "the subject", $message, "From: webmaster@$SERVER_NAME\r\n" ."Return-Path: [EMAIL PROTECTED]&qu

[PHP] Using mail() function in php.ini (Unix/Linux)

2003-02-18 Thread Scott Fletcher
For those of you who don't know it or are struggling with the problem with the slow sending of hte e-mail behind the firewall. This problem doesn't alway lie with the DNS itself. The workaround to the problem is the hostname resolution or the alias to the hostname. Just open up the /etc/hosts fi

Re: [PHP] php.ini for UNIX sendmail????

2003-02-19 Thread Scott Fletcher
> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Is there any way to specify to use a remote smtp server in the php.ini > > On Tue, 18 Feb 2003, Scott Fletcher wrote: > > > Well, okay, even with the '\r\n' path, I still have problem. Here

[PHP] Finally!!! A workaround to mail() in PHP...

2003-02-19 Thread Scott Fletcher
Finally a workaround to the problem in mail() in PHP I did the posting somewhere, so I'll cut to the chase by posting it here My recent posting does not work too well --clip-- This is for any Unix or Linux machine using the Sendmail. However, no guarentee that it would work in Windo

[PHP] mail() using "Return-Path:" and "Error-To:"....

2003-02-19 Thread Scott Fletcher
Hiya fellas I'm doing the test on sending emails and what I found is that I haven't got these two to to work which is "Return-Path:" and "Error-To:" Does anyone know why does it not work??? Here's my sample codes --clip-- $Header = "From: [EMAIL PROTECTED]\r\n"; $Hea

Re: [PHP] Finally!!! A workaround to mail() in PHP...

2003-02-19 Thread Scott Fletcher
ot;>news:023901c2d836$773f83c0$6400a8c0@DANNYS... > I'd say an even simpler workaround would be to add '[EMAIL PROTECTED]' as > the fifth parameter to the mail function - just as in example 3 of the docs. > > Danny. > > - Original Message - > From: "Sc

Re: [PHP] Finally!!! A workaround to mail() in PHP...

2003-02-19 Thread Scott Fletcher
can safely use the 5th parameter... "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > That doesn't work either because this machine's SMTP doesn't know it's user > in it's own domain, s

[PHP] Re: mail() using "Return-Path:" and "Error-To:"....

2003-02-19 Thread Scott Fletcher
'm glad to see it coming to an end. "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hiya fellas > > I'm doing the test on sending emails and what I found is that I haven't > got the

[PHP] php.ini - PHP version 4.3.1 - CGI Error....

2003-03-10 Thread Scott Fletcher
ot figured out why is that. By the way, I'm using IIS 5.0 The error message I got are --clip-- CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: --clip-- Can anyone help me out? Thanks Scott Flet

[PHP] Cannot execute... Cron jobs

2003-03-12 Thread Scott Holmes
/localhost/WFCC/mail_ltrs.php -- - Scott Holmes http://sholmes.ws http://pages.sbcglobal.net/scottholmes [EMAIL PROTECTED] Independent Programm

[PHP] Please Help.. cgi.force_redirect does not work

2003-07-03 Thread Scott Fletcher
workaround to the CGI error?? Thanks, Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Please Help.. cgi.force_redirect does not work

2003-07-03 Thread Scott Fletcher
Oddly, the CGI Error message is intermitted. It come on some of the time and some of the other time doesn't. What is the problem here.? "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi! > > To make the long story short, we

[PHP] odbc_result...

2003-07-08 Thread Scott Fletcher
Hi! Is there a way to verify that odbc_resut($result,1) is successfull or not. I'm not talking about --snip-- $result = odbc_exec($connect,$ask); if ($result) { echo "Successfull!"; } else { echo "Failed!!"; } --snip-- --snip-- $result = odbc_exec($connect,$ask); $db_result =

Re: [PHP] PHP4 and PHP5 at one machine

2003-07-09 Thread Scott Fletcher
Well, it is not possible to run two seperate php4ts.dll file in the same file path with the same file name even though they have different version. One workaround to it would be to compile the older version into a different file name while making sure the script point to that different file name bu

Re: [PHP] Refresh PHP

2003-07-09 Thread Scott Fletcher
PHP session functions and $_SESSION work kind of funny with Internet Explorer while this problem rarely happen in 3rd party browser due to the bad design of Internet Explorer... It's a microsoft problem. I have this similiar problem with Internet Explorer. The workaround to the problem I have is

[PHP] $_SESSION act funny...

2003-07-09 Thread Scott Fletcher
Noticed that if I assign data to a $_SESSION array and go to the next webpage then you'll have that new data. If you go to the next webpage by using the same file (webpage) or a $_SERVER['PHP_SELF'], the data in the $_SESSION array remain the same, it does not change as it should. But if you do t

Re: [PHP] $_SESSION act funny...

2003-07-09 Thread Scott Fletcher
I'm kind of expecting them to change because using the hyperlink to go to the next webpage should be treated as such for the same file (webpage file). The reason I'm using the same file is because of the navigation menu with all of the menu options that go to the include file... "Mike Migurski" <

Re: [PHP] $_SESSION act funny...

2003-07-09 Thread Scott Fletcher
Oh Ha ha... I see what you meant.. The $_SESSION['test'] had already been changed from one to two, then three, then four, then back to one. I didn't see that coming.. I thought it just start at one and haven't changed at all. Thanks!!! "Scott Fletcher" <[E

[PHP] SQL Query slow with 'Select' ....

2003-07-09 Thread Scott Fletcher
I noticed that database are very quick with the SQL Query string such as Insert, Delete and Update. But with Select, it become very slow. I noticed that I can do the INT() or DOUBLE() for one of the field when using Select and it become very quick. But I am unable to make it work for CHAR() or v

[PHP] File download by php header...

2003-07-21 Thread Scott Fletcher
So, how does the php header("content-disposition:attachment; filename='***'") cause the php timeout in the first place, what seem to be the problem? Thanks, Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] File download by php header...

2003-07-21 Thread Scott Fletcher
Um, problem is I don't have any scripts before this sample header function. So, something is up. Does the file size 49 MB have something to do with it? Okay, saw both of the replies, so will check them out. Thanks, Scott "Curt Zirzow" <[EMAIL PROTECTED]> wrote in message

Re: [PHP] File download by php header...

2003-07-21 Thread Scott Fletcher
it is renamed when it is download anyway. "Curt Zirzow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > * Thus wrote Scott Fletcher ([EMAIL PROTECTED]): > > Hi! > > > > I'm using PHP 4.3.2 and IIS 5.0. I'm using the PHP header to >

Re: [PHP] File download by php header...

2003-07-22 Thread Scott Fletcher
re of it. "Curt Zirzow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > * Thus wrote Scott Fletcher ([EMAIL PROTECTED]): > > Hi! > > > > I'm using PHP 4.3.2 and IIS 5.0. I'm using the PHP header to > > cause the webser

[PHP] Simple Math Calculation Problem....

2003-08-01 Thread Scott Fletcher
Hi! I'm a little stuck with this simple math problem. I'm trying to get a number of days in integer, not float. --snip-- $input_date = "12/16/2002"; $UserInput = explode("/", $input_date); $UserInputMonth = $UserInput[0]; $UserInputDay = $UserInput[1]; $UserInputYear = $UserI

Re: [PHP] Simple Math Calculation Problem....

2003-08-01 Thread Scott Fletcher
The int() function is for C/C++ programming only. This Int() function is not supported in PHP. In PHP it would be Intval(). For float, Floatval(). For double, DoubleVal(). Etc. But beware of the Octual numbers. "Skate" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > >$Day

Re: [PHP] Simple Math Calculation Problem....

2003-08-01 Thread Scott Fletcher
t; wrote in message news:[EMAIL PROTECTED] I used your snip you just posted and changed the $Days = round(Days) to $Days = round($Days) and got 228. -----Original Message- From: Scott Fletcher [mailto:[EMAIL PROTECTED] Sent: Friday, August 01, 2003 9:18 AM To: [EMAIL PROTECTED] Subject: [PHP]

Re: [PHP] How to get exec() to display output from UNIX Shell Environemnt?

2003-08-05 Thread Scott Fletcher
RL, $result_array, $res_code); --snip-- But with this one, it doesn't work. As you can see, this is not really much different from the 1st example. --snip-- exec("curl -u \"$BASIC_AUTH\" -d \"$XML_REQ_STR\" 2>&1 ".TARGET_URL, $result_array, $res_code); --snip--

Re: [PHP] Formatting an ascii characters in php?

2003-08-08 Thread Scott Fletcher
oblem is I don't have EDBCDIC based operating system. But thanks... Scott "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] [snip] I use the cURL to send and receive data regardless of what data format is the data in. There are certian ascii c

Re: [PHP] Is PHP cable of handling ASCII characters???

2003-08-09 Thread Scott Fletcher
I don't see how. The data when recevied is already in pieces through the exec() to PHP which convert the PHP variable into an array. Can not store the data into a file on the machine because it is illegal to do so. >"Jay Blanchard" <[EMAIL PROTECTED]> wrote in message >news:[EMAIL PROTECTED] >[s

Re: [PHP] Is PHP cable of handling ASCII characters???

2003-08-09 Thread Scott Fletcher
Yea, receiving the data in a serial stream through cURL from someplace into an array() by using exec() function. "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] [snip] Is PHP cable of handling the ASCII characters? Back then, I had no problem with it when there are

[PHP] Formatting an ascii characters in php?

2003-08-09 Thread Scott Fletcher
HP to get tripped up. So, is there any PHP function or script that can translate the ascii character into a text format where I can read each of those character to see which one is causing the problem so I can be able to fix the problem. Any know of any of such PHP feature that can do those convers

Re: [PHP] Re: fsockopen/ssl

2003-08-14 Thread Scott Fletcher
some missing directives to the conf file & it started right up & is working great! Thank you for the point in the right direction! Wendy "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Try "https://"; instead of "ssl://&qu

[PHP] Is PHP cable of handling ASCII characters???

2003-08-14 Thread Scott Fletcher
Hi! Is PHP cable of handling the ASCII characters? Back then, I had no problem with it when there are 'a', 'b', 'c' characters as well as 'LF', 'CR', etc. But when there is a 'NUL' character, it tripped up PHP so I am wonde

[PHP] Validate The Last Day of Month with server's clock????

2003-08-14 Thread Scott Fletcher
Hi! Here's a trick script. We know that some months have the last day which is 30 while other is 31. As for February, it can be either 28 or 29. So, what's the trick in using the php to find out what is the last day of the month if you want to checked it against the server's clock to find o

Re: [PHP] Validate The Last Day of Month with server's clock????

2003-08-14 Thread Scott Fletcher
Alright, interesting thought, never thought it would be possible. So, what would the PHP script be when matching it against the clock or something? Perhap mktime(). Anyone know? Scott F. "Nicholas Robinson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] The 'u

Re: [PHP] Validate The Last Day of Month with server's clock????

2003-08-14 Thread Scott Fletcher
Ah! that seem nicer when just using the script ($month+1)... "Cpt John W. Holmes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > From: "Nicholas Robinson" <[EMAIL PROTECTED]> > > > The 'usual' trick is to set the date to the first day of the month after > the > > one you want and t

Re: [PHP] Is PHP cable of handling ASCII characters???

2003-08-14 Thread Scott Fletcher
C o n n e c t R e 0001640 s p o n s e > 0001647 --snip-- --snip-- Array ( [0] => [2] => [3] => [4] => [5] => [6] => [7] => [8] => PAGE 1 DATE 8-08-2003 TIME 16:32:35 V001 [22] => END -- EXPERIAN CODE ) --snip-- "Curt Zirzow" <[EMAIL PROTECTED

[PHP] How to get exec() to display output from UNIX Shell Environemnt?

2003-08-14 Thread Scott Fletcher
script. I can do that with cURL. So, for the PHP, I would need to use exec() but it only executed the script without a problem but no shell output from the unix shell onto the webpage. How can I do that? It is very helpful for troubleshooting purpose. Thanks, Scott F. -- PHP General Mailing

[PHP] Re: PHP and quickcommerce.com

2003-08-14 Thread Scott Fletcher
Well, if you have the manual or documentation from quickcommerce.com on what to give to them that they need to work for you then you should have no problem writing up a script on what to send to quckcommerece.come "James Johnson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello

Re: [PHP] Re: shell script not working with shell_exec

2003-08-14 Thread Scott Fletcher
t;[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > * Thus wrote Scott Fletcher ([EMAIL PROTECTED]): > > What you will need to do is to login using the Apache account from the > > terminal login and execute the command line code. If it doesn't work then > &

[PHP] Re: Reading mail with PHP?

2003-08-14 Thread Scott Fletcher
Well, I use the php function mail(). This is the one that is compiled with php by default. You may also have to check the php.ini for proper information depending on the O/S you're using. I frankly don't have problem with mail() and it work great. Sometime, it take some tweaking to your prefere

[PHP] Re: shell script not working with shell_exec

2003-08-14 Thread Scott Fletcher
If it doesn't work then you know the problem had nothing to do with Apache and PHP. Also, some php exec() function sometime require the prefix before it. Like putting in environment variables or something to make it work, such as putenv() for example. This depend on the situation. Scott

[PHP] Precision value in PHP??

2003-08-14 Thread Scott Fletcher
When I do this calculation, 77 * 2.00 = 154.00 but with PHP, it return only "154". So, how do I set the precision value. I looked up on PHP.net and it once mentioned about BC Math but I'm not looking forward to recompiling PHP and Apache with the prefix option to enable the BC Math. There have t

Re: [PHP] Validate The Last Day of Month with server's clock????

2003-08-14 Thread Scott Fletcher
True but I just only want the day date, don't want the number of seconds. "Mike Ford" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On 13 August 2003 20:05, Nicholas Robinson wrote: > > > On Wednesday 13 Aug 2003 8:00 pm, Scott Fletcher wrote: &

[PHP] Re: fsockopen/ssl

2003-08-14 Thread Scott Fletcher
Try "https://"; instead of "ssl://", this is what is normally done. As for your problem. It look like the private key when generated was too short, this can be overcomed by entering more characters at the time of the generation of hte key. But from your comments, you mentioned that from the arti

Re: [PHP] Validate The Last Day of Month with server's clock????

2003-08-14 Thread Scott Fletcher
nt to see the last day of Febraury (Then insert the next month to find out). echo strftime("%d", mktime(0,0,0,3,0,2004)); --snip-- "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Alright, interesting thought, never thoug

[PHP] Re: Restricted access

2003-08-14 Thread Scott Fletcher
There is a easier way, I use this all the time and I don't have a problem with it. Sometime the header() need some tweaking to make it work right. You must include an exit() function after the header() due to bugs and bugs in IE. This script below is what I use for file download. Instead of file

Re: [PHP] back button and forms

2003-08-20 Thread Scott Piccotti
d on every page. -scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Date Validation, Kinda'

2003-08-21 Thread Scott Fletcher
and mktime(). --snip-- //To find out the last day of the month echo date ("M-d-Y", mktime (0,0,0,12,32,1997)); --snip-- Scott F. "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Howdy, Has anyone written any date validation function or

[PHP] Any similiar function to number_format????

2003-08-21 Thread Scott Fletcher
Hi! Wondering if there is any similiar function to a php number_format(). This time, without a period. For example, if I get a '1', I would like to format it to be '01' in two digit. Thanks, Scott F. -- PHP General Mailing List (http://www.php.net/) To unsu

Re: [PHP] Quotes in regular expressions

2003-08-21 Thread Scott Fletcher
Try parsing it as a string where the double quote would become a string. See if that help. (Parse the whole characters into strings then find the double quote.) "Thaddeus J. Quintin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > -- SNIP -- > > If single-quoting (better, if you do

Re: [PHP] is the list getting virus spammed?

2003-08-21 Thread Scott Fletcher
Oh, it is normal for college campus to get virus spreading around because it's one of the few places where many different people interact into from home or business, so it get easy for it to go around. Filtering the virus is a bit difficult because some aren't by emails. "Richard Baskett" <[EMAIL

Re: [PHP] Any similiar function to number_format????

2003-08-21 Thread Scott Fletcher
way). Scott F. "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] [snip] Wondering if there is any similiar function to a php number_format(). This time, without a period. For example, if I get a '1', I would like to format it to be '01&#

Re: [PHP] Quotes in regular expressions

2003-08-21 Thread Scott Fletcher
ill turning into a hassle, so I just > made two checks, one for single quotes, and, failing that, one for > double quotes. > > not the prettiest answer, but I put good comments around it! > > Thaddeus > > Scott Fletcher wrote: > > > Try parsing it as a string wher

[PHP] Encrypt data to base for authentication...

2003-03-18 Thread Scott Fletcher
? Thanks, Scott Fletcher -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Encrypt data to base for authentication...

2003-03-18 Thread Scott Fletcher
Groan, I meant 'Basic' not 'Base'.. "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi Fellas, > > I am trying to figure out how to encrypt the data using the base only. > The webserver use the base authent

[PHP] persistent of LDAP connections across invocations?

2003-03-19 Thread Scott McDermott
How persistent are LDAP connections which are not closed with ldap_close() or ldap_unbind()? I am trying to re-use an LDAP link identifier by doing an open, binding as something, saving the LID in a $_SESSION variable, *not* closing the LDAP link, and then using the LID in another script invocatio

[PHP] Microsoft SQL Server varchar(500) field text concatenated at 255characters.

2003-03-28 Thread Scott Houseman
returned. Unfortunately, an ASP application is also using that database, and when I change the field type to TEXT, it pukes completely. I would rather try to resolve the issue in PHP than waste my time looking at ASP code. Has anyone got an idea why this might be hapenning? Many thanks. Scott

[PHP] Adding a URL

2003-03-29 Thread Scott Thompson
-+ | name | email| subject | ++--+--+ | Scott Thompson | [EMAIL PROTECTED] | Volunteer| | | | Computer Science | | Some Teacher | [EMAIL PROTECTED] | some subject | ++--+--

Re: [PHP] Adding a URL

2003-03-31 Thread Scott Thompson
Thank you, your suggestions worked perfectly! ~Scott Don Read wrote: On 30-Mar-2003 Scott Thompson wrote: Hi, I am using the following code to query a database and build an HTML table. /* Printing results in HTML */ print "\n"; while ($line = mysql_fetch_arr

[PHP] mailing forms and input into MySQL

2003-04-02 Thread Scott Miller
ripts that e-mail info, and ones that just enter info into a database, but have not attempted combining them. Anyone have any ideas, or is anyone doing this? If so, could you give me a quick how-to or point me in the direction of some online documentation? Thanks, Scott Miller

[PHP] One form - two db's?

2003-04-02 Thread Scott Miller
Is it feasible to have a php form update two different MySQL DB's at the same time, with all info going to one DB, and just certain info going to the second? Just dreaming of ways to make my life easier. Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] PHP and Cookies

2003-04-03 Thread Scott Teglasi
Hi all, I have a problem with php and cookies. I use the following line of code to set a cookie to expire in one year: setcookie('gsp_email',$_POST['requiredsubEmail'],time()*60*60*24*365,'/','',0); The idea is that the cookie will sit on the client for a year, so that a visitor only ha

Re: [PHP] PHP 4.3.2 released

2003-05-31 Thread Andrew Scott
Hi, This _still_ doesn't seem to work with Linux/Apache2. I have no problems with Apache 1.3.27. Have been running Apache/php for years, but I have been unable to get php to work with apache2 except as a cgi. I have now tried both --with-apxs2 and --with-apxs2filter. Neither appear to work. Us

[PHP] Problem with DB2 on Linux?

2003-05-31 Thread Scott Fletcher
problem before please tell me what the problem is and what the workaround to it. Can't use the IBM support and did many searching on the Internet with no luck. Thanks, Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP using Linter...

2003-06-09 Thread Scott Fletcher
ecome familiar with Linter first. It's like playing with database software to understand how to use it and manage it. Thanks, Scott F. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP using Linter...

2003-06-10 Thread Scott Fletcher
have better license flexibility in some way. You can find out more about this product at www.relexus.com but Linter is kind of confusing to use at first because it's a very different software. Scott "Ralph" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > What

Re: [PHP] PHP using Linter...

2003-06-10 Thread Scott Fletcher
f customers who need access to the database. Linter is more suitable for business with a lot of customers because it handle the workload better and the website use frequent database access. When it come to stock marketing, Linter would be a better choices. Scott "Ralph" <[EMAIL PROTECT

[PHP] Need someone with a fresh mind on tacking this array problem...

2003-06-18 Thread Scott Fletcher
Count['$ODBC_RESULT'] = $ArrayCheck; } if ($ArrayCheck == 0) { echo " jsTimeRange['".trim(odbc_result($result,2))."'] = new Array(new Array(),new Array());\n"; } --clip-- Thanks! Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: print all variables

2003-06-18 Thread Scott Fletcher
If you want to see any data beside the form, then you can do this... print_r($GLOBALS); Only if you want to see data beside the submitted form. "Matt Palermo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Could anyone tell me how to print all the variables and values from a submitt

Re: [PHP] Need someone with a fresh mind on tacking this arrayproblem...

2003-06-18 Thread Scott Fletcher
On Wed, 2003-06-18 at 10:32, Scott Fletcher wrote: > > [snip] > > > if ($ArrayCheck == 0) { > > $ArrayDataCount['$ODBC_RESULT'] = "0"; > > What happens when you remove the single-quotes? You're currently > defining only on

Re: [PHP] Need someone with a fresh mind on tacking thisarrayproblem...

2003-06-18 Thread Scott Fletcher
Well, I don't remember exactly where was it mentioned. It involve the array, $_SESSION, $_REQUEST, etc. where there is a double bracket is being mentioned. :-) Thanks, Scott P.S. still working on php script. sigh! "Lars Torben Wilson" <[EMAIL PROTECTED]> wrote i

Re: [PHP] Need someone with a fresh mind on tacking thisarrayproblem...

2003-06-18 Thread Scott Fletcher
s not... Thanks, Scott P.S. Here's the clipping... --clip-- $ODBC_RESULT = trim(odbc_result($result,2)); $ArrayCheck = $ArrayDataCount[$ODBC_RESULT]; $ArrayCheck += 0; if ($ArrayCheck == 0) { echo " jsTimeRange[".$ODBC_RESULT.&quo

[PHP] PHP header and odbc struggle with MS-SQL 2003...

2003-06-19 Thread Scott Fletcher
ve most of the website working on the test machine with the newer php version except a few more websites that have yet to be upgraded to work with newer version. Thanks, Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Need Instruction on how to compile PHP in Win32...

2003-06-20 Thread Scott Fletcher
Hi! I have been looking around on the website and haven't found what I'm looking for. What I am looking for is instruction on what software do I need on the machine, environment variables, etc. and the instruction on the compiling of the php as cgi executable for win32. Than

[PHP] if else if statement failed...

2003-06-26 Thread Scott Fletcher
Hi! Noticed something interesting. I was helping to debug someone's programming problem and found that if there is to many 'else if' in the if and else statement then it doesn't work. Have anyone encoutered this problem and know of a workaround to it? Thanks, Scot

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