RE: [PHP] re: array question

2001-09-18 Thread Scott
n the wrong area on the page. $temp5 = str_replace("[LEFT NAV]",$new_data[3],$temp4); At 10:29 PM 9/18/2001 -0400, you wrote: >perhaps i'm misunderstanding you, but why not use a for loop? > >for($i=0;$i echo $array[$i]; >} > >jack > >-Original Messag

Re: [PHP] re: array question

2001-09-18 Thread Scott
ay as $value) { > print $value; >} > >if you wanted the key names, as well as the value, you could use this: > >foreach ($array as $key => $value) { > print "$key of \$array = $value"; >} > >- Original Message - >From: "Jack Dempsey" <

Re: [PHP] re: array question

2001-09-18 Thread Scott
Thank YOU! It worked wonderful, I used a blank to separate the content like this: $displn = implode("",$new_data); Thank you again and thank you to everyone for helping me through this! At 01:15 PM 9/19/2001 +0930, David Robley wrote: >On Wed, 19 Sep 2001 12:28, Scott wrote: &

[PHP] One more for the night

2001-09-18 Thread Scott
see 5 sections on the left, clicking one of them will open that page and the SUB pages under it. So, you would see Alex Scott David On the first page, click Alex and you would see: Alex Erin Scott David $bp_section_name"; $new_data[] = $ln; }; $sqlsub = "select bps_

[PHP] developing sub menus

2001-09-19 Thread Scott
Scott David On the first page, click Alex and you would see: Alex --Erin Scott David $bp_section_name"; $new_data[] = $ln; }; $sqlsub = "select bps_section_id,bps_section_name from bp_sub_sections where fk_section_id ='$sectionid'"; $sql2_result = mssql_query($sqlsub); while

[PHP] looking for PHP/MYSQL developer in SW london,UK

2004-05-02 Thread scott
would ideally like someone who is able to spend some time working at our HQ in Wimbledon, SW London. Please reply via email if you are able to help or can point us in the direction of finding someone who can? Best regards Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Remote MySQL connection via PHP file

2006-12-01 Thread Scott
27;ve tried using the return statement in the file which houses the information, but this seems to return a boolean value (1 or 0)... not sure what's up with that. Any help with this would be most appreciated. Thank you. Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Pricing for PHP programming???

2001-01-31 Thread scott
or their actions (very important difference); - Employee doesn't have to worry about all the "other" stuff. - Contract is somewhere between consultant and employee (big grey area here). Regards, - Scott There is no fixed rate or specific formula, it all depends

[PHP] Setting Enviromental variables

2001-02-13 Thread Scott
I know that by using the header you can bring up a standard user authenication dialog box, that sets the EVs: $PHP_AUTH_USER $PHP_AUTH_PW But is it possible to use a custom form to set these variables manually for site wide useage? Thanks Scott -- PHP General Mailing List (http

[PHP] file upload size limits

2001-02-15 Thread Scott
message in the browser. The Warning that I am getting is Warning: Max file size of 2097152 bytes exceeded - file [upfile] not saved in [no active file] on line 0 Thanks, Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: [PHP] Sending POST vars to pop-up window - How?

2002-11-24 Thread Scott Houseman
in the onClick( ) method open a new window with javascript. format size toobars etc. Set the form's TARGET value to the new window's name. form.submit( ); I think this could also work. Regards Scott Monty wrote, On 11/25/2002 9:16 AM: I'm writing a poll app. I want it to work

Re: [PHP] Newbie : How work with parameters?

2002-11-27 Thread Scott Houseman
Use the superglobal array $_GET echo $_GET{'id'}; // should return abc Cheers Scott Stéphane Génin wrote, On 11/27/2002 10:58 AM: Hello, I want to read the parameters in the URL, but I can't find the right way to do that. I've tried several things : my URL is: http://l

[PHP] Re: Generating forms using OOP

2002-12-09 Thread Scott Hurring
Here's an OOP function from an HTML class i wrote to simplify forms myself -- It might come in handy for ya later :-) // Single Select dropdown box /* @params $name String Name of this form element $items Array Array of items to place in this select box $selected String Single item to s

Re: [PHP] Linux and Graphics

2002-12-09 Thread Scott Hurring
With RedHat, AFAIR you have to compile PHP from source *after* first configuring the GD libraries. It's always been a massive PITA when i've had to compile PHP on Redhat with Graphic ext's -- try debian instead ;-) -- Scott Hurring Systems Programmer EAC Corporation scott (*)

Re: [PHP] writing to mysql using php

2002-12-09 Thread Scott Hurring
You're limited to one action per statement, not one record. Using "UPDATE ... WHERE", you can update any number of rows with a single SQL statement. -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Hugh Danaher" <[EMAIL PROTECTED]> wrote i

Re: [PHP] Dynamic vs. Static

2002-12-09 Thread Scott Hurring
ce when i forgot, and ended up having a more recent command line version than apache module and couldn't figure out why cmdline scripts were acting differently than when served up thru apache. -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- <[EMAIL PROTECTED]> wrote

Re: [PHP] Re: Not able to connect to FTP server

2002-12-09 Thread Scott Hurring
p.ini) -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Adam Voigt" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Umm, try this: $ftp = ftp_connect("ftp.direw.net") or die("Couldn't connect.

[PHP] Re: # of lines in a file

2002-12-09 Thread Scott Hurring
l you find the line you want) TIMTOWTDI :-) -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hey guys, I've been searching the manual for a way to grab the number of &

[PHP] Help please: Unable to get $_POST["variable"]; to work in a form.

2002-12-10 Thread David Scott
I am going through the introductory tutorial on http://www.php.net/ and am stuck on this page: http://www.php.net/manual/en/tutorial.forms.php I have been able to get all of the examples up to this point to work. The form is simple: it asks for a text "name", a text "age" and has a submit button.

[PHP] Re: Help please: Unable to get $_POST["variable"]; to work in a form.

2002-12-10 Thread David Scott
wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Make sure your form is sent through the method="POST" > > "David Scott" <[EMAIL PROTECTED]> a écrit dans le message de news: > [EMAIL PROTECTED] > > I am going through the introd

[PHP] Re: Help please: Unable to get $_POST["variable"]; to work in a form.

2002-12-10 Thread David Scott
Using $_REQUEST["variable"] causes the script to work. Why is this? And, why can I not use $_POST? "David Scott" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am going through the introductory tutorial on http://www

Re: [PHP] Re: Help please: Unable to get $_POST["variable"]; to work in a form.

2002-12-10 Thread David Scott
vars are in the http request, but > $_POST[""] contains nothing as the other poster noted: mehtod="post" > > >>-Original Message- > >>From: David Scott [mailto:[EMAIL PROTECTED]] > >>Sent: Tuesday, December 10, 2002 1:20 PM > >>To: [EMAI

[PHP] Thank you all for your help.

2002-12-10 Thread David Scott
I corrected the typo and and $_POST works correctly now. I don't know why it didn't work the first time I corrected the typo (I think that I had to re-publish my web site or somesuch), nonetheless it is working now. Thank you all. "David Scott" <[EMAIL PROTECTED]&g

[PHP] Re: Displaying output from MySQL

2002-12-11 Thread Scott Hurring
Add 0 -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Beauford.2002" <[EMAIL PROTECTED]> wrote in message 001b01c2a1af$b9995e20$6401a8c0@p1">news:001b01c2a1af$b9995e20$6401a8c0@p1... > Hi, > > Not sure if this is a PHP of a MySQL que

Re: [PHP] Out with the new, In with the old

2002-12-11 Thread Scott Houseman
bal scope. Hope this is useful. Cheers Scott On 2002/12/12 08:14, Jonathan wrote: I began to develop a small session based shopping cart using newer syntax. For example, $_SERVER, $_REQUEST, $_SESSION, etc. Anyway, I'm almost done with the cart and just found out that the hosting company

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

2002-12-13 Thread Scott Hurring
Erm... this seems a bit odd to me. I'm using PHPv4.2.2 on Win32 Is that becuase PHP is not properly comparing the numerical value with the string value? -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- -- PHP General Mailing List (http://www.php.net

[PHP] Re: newbie - decimal places in arthimetic functions

2002-12-13 Thread Scott Hurring
round it http://www.php.net/manual/en/function.round.php -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Max Clark" <[EMAIL PROTECTED]> wrote in message atdba1$2id$[EMAIL PROTECTED]">news:atdba1$2id$[EMAIL PROTECTED]... > Hi- > > How

Re: [PHP] who is connected?

2002-12-18 Thread Scott Alden
I've done the same for my site, but I've found that even when using the MySQL INSERT DELAYED when adding a username to the online users table it can bring my site to a crawl under heavy traffic. -- Scott Jason Reid wrote: How I do it for my sites is borrowing from the concept that

[PHP] PHP 4.3 & Apache 2

2003-01-01 Thread Scott Seidl
Does the new release of PHP 4.3 have official support with Apache 2.x or is it still considered developmental? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Can it be doen with Array????

2003-01-02 Thread Scott Fletcher
Hi! I know that it can be done with certain variables that can overwrite another variable. Like $test = "123"; $other = "xyz"; $test = $other; What about the Array? Can this be done? $array_test[1] = "abc"; $array_test[2] = "jkl";

Re: [PHP] Can it be doen with Array????

2003-01-02 Thread Scott Fletcher
Thanks! I looked it up on the php.net and I wasn't sure if I understood it, so I post it here instead. Thanks for hte response. Scott F. "Gareth Hastings" <[EMAIL PROTECTED]> wrote in message 000201c2b2ab$3bb8be30$[EMAIL PROTECTED]">news:000201c2b2ab$3bb8be30$[EMAIL

[PHP] session_start() in php.ini does not work on Microsoft IIS

2003-01-06 Thread Scott Fletcher
ed the IIS. I then start the IIS then start the website. When accessing this script on the website, I still get the same error. The problem here is that IIS does not actually refreshed or restarted I even rebooted the machine. I can use your help. Thanks! Scott F. -- PHP General M

[PHP] Re: time stamp screwing up

2003-01-06 Thread Scott Fletcher
Instead of the php function, 'time()'. Try 'date()'. Somethine like this --clip-- --clip-- You can customize the way you want the time format to be displayed. You can find it at http://www.php.net/manual/en/function.date.php and you'll see the option for dates and times. "- -" <[EMAIL PROTEC

[PHP] Re: php.ini - changes aren't taking?

2003-01-06 Thread Scott Fletcher
I'm having the same problem with II5 as you do. So, we're in the same boat. I only have one php.ini on Windows and I'm using hte same file path. I even rebooted the machine. I don't see how was I able to make it work before but not now Scott F. "Rad Craig"

Re: [PHP] php.ini - changes aren't taking?

2003-01-06 Thread Scott Fletcher
That is correct, there's no PHP fault. It's is just IIS that aren't doing what it is suppose to be doing. I'm still working on it. "Christoph Grottolo" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Rad Craig wrote: > > Yes, I restart my WebServer (IIS 5) ea

Re: [PHP] php.ini - changes aren't taking?

2003-01-06 Thread Scott Fletcher
The funny thing is that when IIS is freshly installed on a new O/S. It is very simple to make PHP work. Then 6 months later, IIS lose itself and have harder time working with PHP.INI. "Christoph Grottolo" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Rad Cra

[PHP] Re: php.ini - changes aren't taking?

2003-01-06 Thread Scott Fletcher
t updating itself. Thanks, Scott F. "Rad Craig" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have been trying to get my email working. I have made some changes in the > php.ini file in the Windoze directory, but when I run phpinfo()

[PHP] Fw: Session ID changes

2003-01-06 Thread Scott Fletcher
"[-^-!-%-" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>. .. > > Hello all, > > I need some clarification. To my understanding, each visit to php site > creates a UNIQUE Session ID (SID). And, that ID stays constants until the > browser is shutdown, or the session is specificall

[PHP] Far out!!!! More IIS problems.....

2003-01-06 Thread Scott Fletcher
I tried various methods on IIS after configuring hte PHP.INI. Such as shutting down IIS, restarting IIS and rebooting hte machine. Here's one latest addition that I found to be very far out!! What I did was I renamed the php.ini to php1.ini and goes throught the procedures. Guess what the

[PHP] Unable to run any PHP script with WinXP/IIS. Please help.

2003-01-06 Thread David Scott
When attempting to run any PHP script, I get the message: Unknown(): Cannot open 'C:\WINDOWS\system32\inetsrv' for reading And then I get the windows error message: PHP Script Interpreter has encountered a problem and needs to close. We are sorry for the inconvenience. Any ideas here? -- PHP

[PHP] Re: Unable to run any PHP script with WinXP/IIS. Please help.

2003-01-06 Thread David Scott
Eh, nevermind on this one. I uninstalled PHP and then reinstalled it. I am no longer getting this error. I have another problem now that I will mention in a new post. "David Scott" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Whe

[PHP] No input file specified. Please help.

2003-01-06 Thread David Scott
I am running this file from a tutorial: Something Useful Tutorial When this file is run from my webserver (IIS) I get a page that says: No input file specified. What can I do to get this working? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www

[PHP] Re: session_start() in php.ini does not work on Microsoft IIS

2003-01-06 Thread Scott Fletcher
ECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Scott Fletcher wrote: > > > $salt="C4155DDAF13A529594FB7C2541F4D4C7"; > > session_start($salt); > >> > > > > This is the error messages > > > > --cl

Re: [PHP] Far out!!!! More IIS problems.....

2003-01-07 Thread Scott Fletcher
I only have one php.ini on the machine and the filepath point to this one. "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > phpinfo will tell you which php.ini is used > > Scott Fletcher wrote: > >

[PHP] Found a solution to the php.ini problem on IIS.....

2003-01-07 Thread Scott Fletcher
weird thing is that when I use phpinfo(). It didnt show any file path. It just said the filepath is 'php.ini', no 'c:\winnt\php.ini' at all. It just said 'php.ini' before I renamed the file. After renaming the file, it still say 'php.ini' as if not

Re: [PHP] Far out!!!! More IIS problems.....

2003-01-07 Thread Scott Fletcher
weird thing is that when I use phpinfo(). It didnt show any file path. It just said the filepath is 'php.ini', no 'c:\winnt\php.ini' at all. It just said 'php.ini' before I renamed the file. After renaming the file, it still say 'php.ini' as if nothing ha

[PHP] Re: session_start() in php.ini does not work on Microsoft IIS

2003-01-07 Thread Scott Fletcher
weird thing is that when I use phpinfo(). It didnt show any file path. It just said the filepath is 'php.ini', no 'c:\winnt\php.ini' at all. It just said 'php.ini' before I renamed the file. After renaming the file, it still say 'php.ini' as if nothing ha

[PHP] Re: php.ini - changes aren't taking?

2003-01-07 Thread Scott Fletcher
weird thing is that when I use phpinfo(). It didnt show any file path. It just said the filepath is 'php.ini', no 'c:\winnt\php.ini' at all. It just said 'php.ini' before I renamed the file. After renaming the file, it still say 'php.ini' as if nothing

Re: [PHP] money

2003-01-09 Thread Scott Houseman
$fTotalPrice, strpos( $fTotalPrice, ',' ) +1 ); if ( strlen( $iDecimal ) == 1 ) { $fTotalPrice .= '0'; } I haven't tested this, but it should work. Cheers Scott On 2003/01/09 12:44, Wilbert Enserink wrote: Hi all, I'm busy making a swebstore. I have troubles with the fo

Re: [PHP] Can you insert into $_POST manually?

2003-01-09 Thread Scott Houseman
ET{'user'} created for you with the values as given. Cheers Scott On 2003/01/09 02:04, Noel Wade wrote: Hi all, So I have a page that processes information and then "echo"s out a redirect that looks like this: The thing is, there are some variables that I would love

Re: [PHP] Re: fletcher's checksum

2003-01-10 Thread Scott Fletcher
For a moment, I thought you were referring to me when you said "Fletcher" since it's my name also. :-) FletchSOD "Mike Ford" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > -Original Message- > > From: Dave Gervais [mailto:[EMAIL PROTECTED]] > > Sent:

[PHP] Encrypt in Javascript and Decrypt in PHP????

2003-01-10 Thread Scott Fletcher
Here's the challenging project I'm doing. I'm trying to encrypt the user_id and password in javascript and submit it. Then have PHP to decrypt the user_id and password. The only problem I have is I don't know what javascript function or javascript algorithm that can also work the same way as the

[PHP] Re: PHP and DB2

2003-01-10 Thread Scott Fletcher
Yes, it can. Use the odbc_connect. Here's what I use that work... --clip-- $database = "TEST_DB"; $user = "db2inst1"; $pass = "ibmdb2"; $cid = @odbc_connect($database,$user,$pass) or die("Unable to Connect to Database !!!") ; if ($cid == 0){ exit("Unable to Connect to Da

[PHP] Re: PHP and DB2

2003-01-10 Thread Scott Fletcher
Be care of the PHP bug on one of hte php function, odbc_fetch_row(). This function does not very well start at 0 when the odbc_fetch_row() start automatically, so you'll have to at the counter inside the function. Why is that, I do not know. Here's the example of the workaround I did. --clip--

[PHP] Re: PHP and DB2

2003-01-10 Thread Scott Fletcher
G... I meant to say "Be careful of the PHP bug". "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Be care of the PHP bug on one of hte php function, odbc_fetch_row(). This > function does not very

Re: [PHP] session_destroy problem

2003-01-10 Thread Scott Fletcher
Session Destroy will work if you provide the user a way to log out of the website. But if the user closed the browser then that's it. Session Destory can't be used because the browser is a client side and Session Destroy is a server side. So, once the browser close, it doesn't contact the server

[PHP] Re: session problem

2003-01-10 Thread Scott Fletcher
I don't normally have problem with using session functions on the Win2000 Server using IIS 5. It work pretty well. You may will want to narrow down the problem and find out if it is a session problem only or if it is something else. I don't use some of the IIS patches like the IIS Lockdown as an

Re: [PHP] Encrypt in Javascript and Decrypt in PHP????

2003-01-10 Thread Scott Fletcher
;$_POST[hiddenfield]'=MD5(CONCAT(password,$_SESSION[random]))"); > > } else { > $res=mysql_query("SELECT * FROM users WHERE user='$_POST[user]' > AND password=MD5($_POST[password]"); > } > > this example assumes passwords are stored

Re: [PHP] session_destroy problem

2003-01-10 Thread Scott Fletcher
mension Networks, Inc. > (727) 723-8388 > > -Original Message- > From: Scott Fletcher [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 10, 2003 10:58 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] session_destroy problem > > Session Destroy will work if you pro

Re: [PHP] session_destroy problem

2003-01-10 Thread Scott Fletcher
wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Friday 10 January 2003 17:39, Scott Fletcher wrote: > > Javascript has a function for performing actions on window close > That would work only if the webserver IP address is '127.0.0.1' (local > machi

Re: [PHP] session_destroy problem

2003-01-10 Thread Scott Fletcher
is run by > one central process I would think maybe it could do this onwindowclose > behaviour? Maybe a good question for the Javascript list but since it > sounds like you guys have seen this tried before maybe you already know. > > Larry S. Brown > Dimension Networks, Inc. > (72

Re: [PHP] Encrypt in Javascript and Decrypt in PHP????

2003-01-10 Thread Scott Fletcher
workaround to it. You have to manually create a MD5 algorithm in Javascript. I did the google search and got this, it is at http://www-adele.imag.fr/~donsez/cours/exemplescourstechnoweb/js_securehash/ . Pretty cool, isn't it! Take care, Scott "Scott Fletcher" <[EMAIL PROTECT

Re: [PHP] Encrypt in Javascript and Decrypt in PHP????

2003-01-10 Thread Scott Fletcher
ed the process a bit. > > > On Friday, January 10, 2003, at 11:12 AM, Scott Fletcher wrote: > > > I'll look into this and try it out. The only thing that is important > > to me > > is that the password get encrypted before transmitting across the > > internet. &

Re: [PHP] Encrypt in Javascript and Decrypt in PHP????

2003-01-10 Thread Scott Fletcher
OTECTED]">news:[EMAIL PROTECTED]... > Really, pretty cool. I don't know why I was so sure there was a md5 > function in javascript (propably because I thought is was everywhere - > untill now). Thanks for the link. > > Scott Fletcher wrote: > > >Hey! There'

Re: [PHP] Encrypt in Javascript and Decrypt in PHP????

2003-01-10 Thread Scott Fletcher
?> The Login Attempt had Failed!!"; } ?> --clip-- Enjoy! FletchSOD "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTE

[PHP] Here's the sample code for encrypting the login password....

2003-01-10 Thread Scott Fletcher
Here's the sample script that will let the user login then have Javascript encrypt the password and carry it over to PHP and have PHP encrypt the password and match the Javascript encrypted password. This script is pretty effective without the SSL. I got the script working so, I'm posting a scrip

Re: [PHP] Text editors

2003-01-07 Thread Scott Houseman
Hi there. I find that the Maguma Studio works very nicely. http://www.maguma.com/ I've only used the 'light' version, as it's free. Cheers Scott On 2003/01/07 11:59, Karl James wrote: Hello guys, Right now im using dreamweaver mx I was wondering if anyone knew o

Re: [PHP] session_destroy problem

2003-01-13 Thread Scott Fletcher
Let us know how it goes... The unload event had been tried also. The javascript have been running for a while but the network communication is a bit tricky, it haven't worked well. "Víã Ãðã " <[EMAIL PROTECTED]> wrote in message 004701c2b90d$5de0c440$0700a8c0@sp">news:004701c2b90d$5de0c440$0

Re: [PHP] Encrypt in Javascript and Decrypt in PHP????

2003-01-13 Thread Scott Fletcher
andom > string > > Gerald Timothy Quimpo wrote: > > >On Saturday 11 January 2003 12:12 am, Scott Fletcher wrote: > > > > > >>The only thing that is important to me is that the password get > >>encrypted before transmitting across the internet. > >

Re: [PHP] session_destroy problem

2003-01-13 Thread Scott Fletcher
"Tamas Arpad" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Monday 13 January 2003 15:14, Scott Fletcher wrote: > Let us know how it goes... The unload event had been tried also. The > javascript have been running for a while but th

[PHP] Serial device /dev/ttyS0

2003-01-14 Thread Scott Houseman
something together. Thanks Scott -- Scott Houseman Senior Software Developer Junk Mail Publishing (Pty) Ltd T + 27 12 342 3840 ext 2806 F +27 12 342 3876 E [EMAIL PROTECTED] | www.junkmail.co.za A 1312 Pretorius Street, Hatfield, Pretoria P O Box 6574, Pretoria, 0001, South Africa +27 82 491 8021

Re: [PHP] session_destroy problem

2003-01-14 Thread Scott Fletcher
problem to be fixed. "Tamas Arpad" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Monday 13 January 2003 18:09, Scott Fletcher wrote: > It's no problem. We're all very interesting in finding out what can work. > >

[PHP] emptying hte array??

2003-01-14 Thread Scott Fletcher
How to do the proper way of emptying hte array?? Example... $a[0] = "test1"; $a[1] = "test2"; $a[2] = "test3"; $a[3] = "test4"; $a = "";<-- Is this hte proper way to do it I would like the array to be cleared before being it get to be use over and over Thanks... -- PHP General

[PHP] Re: emptying hte array??

2003-01-14 Thread Scott Fletcher
Got an email... The answer to this question is ... --clip-- $a = array(); --clip-- "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > How to do the proper way of emptying hte array?? > > Example... > > $

Re: [PHP] emptying hte array??

2003-01-15 Thread Scott Fletcher
;s going to undefine it. > Just overwrite the array with a new empty array like: > > $a = array(); > > That keeps the variable an array variable type and is of course empty. > > HTH, > Jason k Larson > > Justin French wrote: > > > on 15/01/03 7:52 AM,

[PHP] Re: Windows vs Linux

2003-01-15 Thread Scott Fletcher
The default setting for hte error message is different in Windows and Linux. I had that problem but reduced it when I configure the error setting in php.ini. Window just display more error over things that aren't really an error, like an undefined variable that haven't been yet used. In Unix and

[PHP] Is there a way to substitute HTTP_REFERER for PHPSESSID ???

2003-01-15 Thread Scott Fletcher
t the direct access attempt without logging in. This is pretty important for the credit bureau. I'm open to your ideas and what you use... Thanks, Scott F. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP/Flash Dynamic Graphs?

2003-01-15 Thread Scott Fletcher
I did once read the article on the website about using PHP and Flash. As we know, that HTML & Javascript is client side and the PHP is the server side. The Flash help to bridge that gap by acting as a glue that hold them together. So, it is indeed possible for the Flash to contact the PHP server

[PHP] Re: Windows PHP vs Linux PHP

2003-01-15 Thread Scott Fletcher
global register had nothing to do with it. It's the configuration in the PHP.INI. Look for error_report & display_error in php.ini. Once you reduced the error messages on the webpages, then put hte @ in front of the php variable or function Windows is not equal to Linux or Unix. Windows is

[PHP] Re: Windows PHP vs Linux PHP

2003-01-15 Thread Scott Fletcher
Well, beaten to it.. "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > global register had nothing to do with it. It's the configuration in the > PHP.INI. > > Look for error_report & display_er

[PHP] HTTP_REFERER work without a problem....

2003-01-15 Thread Scott Fletcher
Here's what I found so interesting This code, $_SERVER['HTTP_REFERER'] have worked without a problem when I use the latest Mozilla build. It even work with the HierMenus, location.replace('http://whatever.com'), and location.href = http://whatever.com... This is a good news for PHP everywher

Re: [PHP] HTTP_REFERER work without a problem....

2003-01-15 Thread Scott Fletcher
or a few years. Those three are 1) HierMenus, 2) location.replace('') and 3) location.href=''. When either one of these are in use, some browsers return with a blank in HTTP_REFERER. Cheers "Chris Shiflett" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTE

Re: [PHP] HTTP_REFERER work without a problem....

2003-01-15 Thread Scott Fletcher
works for me Best Wishes & Happy New Year Paul Roberts [EMAIL PROTECTED] ++++ - Original Message - From: "Scott Fletcher" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 15, 2003 9:07 PM Subject: Re: [PHP] HTTP_REFERER wor

Re: [PHP] HTTP_REFERER work without a problem....

2003-01-15 Thread Scott Fletcher
nd be brought to the login page, it's part of the fail-safe code. I haven't come up with an alternative to HTTP_REFERER that work even better than this. So, better safe than sorry. :-) "Chris Shiflett" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[E

Re: [PHP] HTTP_REFERER work without a problem....

2003-01-15 Thread Scott Fletcher
ust closed the browser without logging out. It is unfortunate that there is no better solution to this. "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > That wouldn't work if there is already a Session ID, so

Re: [PHP] HTTP_REFERER work without a problem....

2003-01-15 Thread Scott Fletcher
That sound wonderful!!! I'm looking forward to hearing about this in the near future... Thanks, Scott F. "Chris Shiflett" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > --- Scott Fletcher <[EMAIL PROTECTED]> wro

Re: [PHP] HTTP_REFERER work without a problem....

2003-01-15 Thread Scott Fletcher
scene. "Christoph Grottolo" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > [EMAIL PROTECTED] (Chris Shiflett) wrote: > > >--- Scott Fletcher <[EMAIL PROTECTED]> wrote: > >> Many PHP programmer tried

Re: [PHP] HTTP_REFERER work without a problem....

2003-01-15 Thread Scott Fletcher
.. > [EMAIL PROTECTED] (Chris Shiflett) wrote: > > >--- Scott Fletcher <[EMAIL PROTECTED]> wrote: > >> Many PHP programmer tried to their best to use > >> HTTP_REFERER so they can keep track of which > >> webpages on the current website did the user > &g

[PHP] session_destroy have strange effect....

2003-01-16 Thread Scott Fletcher
session_destroy() do work when I logged out of the website. But if I'm logged in and open a 2nd browser and try to log in. This where the script I use to detect exisitng session and destroy it before generating a new one. Problem is that session_destroy does not work on the 2nd browser... So, my

Re: [PHP] HTTP_REFERER work without a problem....

2003-01-16 Thread Scott Fletcher
you need > to know that a client has 'returned' to your website set a cookie on their > computer. I'm sure you'll find ways to elaborate from there. You can do > all of this without requiring the user to "login". > -Kevin > > - Original Message ---

[PHP] Re: session_destroy have strange effect....

2003-01-16 Thread Scott Fletcher
Oh never mind. I found a work around to it. I can use the passthru command. Like this... --clip-- passthru("rm -f /tmp/sess_*") --clip-- "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > session_destr

[PHP] REQUEST_URI, which part of $_ is it from??

2003-01-16 Thread Scott Fletcher
quot;]??? Thanks for your input Scott F. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Simple E-mail Question

2003-01-22 Thread Scott Saraniero
Hi, I'm using this line to send an e-mail with info: mail("[EMAIL PROTECTED]", "$Event Ticket Form", $msg, $mailheaders); If I want to add mail recipients, or cc, or bcc, how would I do this? Thanks, Scott -- PHP General Mailing List (http://www.php.net/) To

[PHP] Is there a way to undo the md5() encryption??

2003-01-22 Thread Scott Fletcher
Hi! Is there a way to do the decryption of the encrypted data with the use of md5()?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Is there a way to undo the md5() encryption??

2003-01-22 Thread Scott Fletcher
Darn!! There's no way to undo it. So, I can't use this method of encryption for my other project. In that case, I'll live. "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi! Is there a way

Re: [PHP] Is there a way to undo the md5() encryption??

2003-01-22 Thread Scott Fletcher
m the data and put it into the sessions. This will take care of the problem with my other project Cheers! Thanks, Scott F. "Brad Pauly" <[EMAIL PROTECTED]> wrote in message 1043271786.1236.34.camel@earth">news:1043271786.1236.34.camel@earth... > > Hi! Is

[PHP] A way to detach the existing session data while making a new one???

2003-01-23 Thread Scott Fletcher
Hi! I'm wondering is, is there a way to lose the existing session and existing session data while making a new session id??? I can't use session_destroy() function because it affected IE users, it doesn't affect the non-IE user at all. I got so tired of problems with IE and having it to wor

Re: [PHP] A way to detach the existing session data while making a new one???

2003-01-23 Thread Scott Fletcher
Can't do the unset either.. For some reason, the session file aren't doing what it is suppose to do. When one IE browser closed, it lose it's link to this session file in /tmp. If I remove this unused file or something, it affected other session files where other IE browsers had already esta

Re: [PHP] A way to detach the existing session data while making anew one???

2003-01-23 Thread Scott Fletcher
ay cross link themselves with old ones, I promise you, you can have 1000 concurrent sessions and no one's data will overlap unless bad programming is involved, and even then setting a value to $_SESSION only sets it for the person who view's the particular page that session code

[PHP] Found a PHP bug!!!!!!!!!

2003-01-27 Thread Scott Fletcher
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 September, so I have been playing around it and found the problem. I recently wrote a demo script for you all to play around with. Let me know which PHP version does

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