[PHP] Thank you everyone
Thank you everyone for making my programming get easier, I have been programming for now 9 mnths and the whole time i have been coding the LONG and HARD way, just looking at your problems and resolutions to problems has highly advanced my programming techniques. I made a very long script which was at a comfortable 6800 lines, (My admin script) after reading through techniques talked about in this list i have just re-writen the script and its not MORE powerful and only 1,500 lines :D I Know its off topic, but thank you and have a good weekend all Brenton Dobell IT Technician Lead Intranet Programmer Le Fevre High School 90 Hart St SEMAPHORE STH Phone: (08) 8449 7004 Ext 225 Fax: (08) 8449 1220 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Opening a Window with JavaScript
I also know with the javascript open window, you can force the print window to popup, what do you have to add to this link below?? Thanks -Original Message- From: Aaron Gould [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2003 3:48 AM To: Curt Zirzow; [EMAIL PROTECTED] Subject: Re: [PHP] Opening a Window with JavaScript Try this (note the "return false;" addition at the end): -- Aaron Gould Web Developer Parts Canada - Original Message - From: "Curt Zirzow" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 16, 2003 2:15 PM Subject: Re: [PHP] Opening a Window with JavaScript > Todd Cary <[EMAIL PROTECTED]> wrote: > > [...] > > However, if I use an anchor, the form is submitted. Is there a way to > > prevent this? Here is the code I tried: > > > > > > I believe you can put something like (not tested): > > > > > > Todd > > -- > > Curt > -- > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Using Extensions
Hello all, recently i started haveing a closer look at the heart of the php engine and found a whole heap of unused extensions :S, where can i look to learn more about these and how to use them??/ Thanks in advance Brenton -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Blatant newbie question - killing a session
session_destroy(); session_unset(); -Original Message- From: Bruce Bruen [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 4:18 PM To: [EMAIL PROTECTED] Subject: [PHP] Blatant newbie question - killing a session Hi, this is my first question to the list and ... Yes I'm a newbie, verrry wet behind the ears. I am trying to set up a secured site under IIS. I have done pretty well by my standard to get to where I have. Authoursed users can access the site, unauthorised ones get sent elsewhere. So, I am now up to testing the various security combinations and its driving me mad that the session persists when I'm testing bad logins. How or where does one set up a "session extuinguisher"? After one two or n attempts I want to kill the entire session and start afresh - note this is in testig only, the way it works now is great for live. Tia Bruce -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] MySQL Results - display issue :S
I know im probibly getting irritating to most of you :P but i thought i may ask another thing that is on my mind! I have a sql query bringing back 200 rows for arguments sake, From this i would like an answer to 2 issues i have. 1) I know how to display it row after row going down :P duh of course :P, but i have seen sites where it goes across then down across then down ect ect like X -> X then next row ect. How is this done?? 2) How can i alternate the colours for each row?? row 1 eg light blue and the 2nd row dark blue then back to light blue ect ect. Thanks in advance Brenton Dobell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Using PHP with windows logon
Hello all, I just have a quick question, I am not sure that it is even possible but im gonna take a whack anyways, basically what i want to know is, can you use your windows logon as set it as a variable in php?? eg I log onto a windows machine using brenton can i use a php script to set that as a variable, I have seen a similar type function before but i have no idea how it works, I know windows sets the variable %username% that as a network administrator i use in shortcuts to point to their home drive.. Hopefully i can do this :P Cheers in advance -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Forgotton Command
Hey all, Im new to this list and fairly new to php, anyways I had a command to get a variable of numbers eg. 14.39287376585639584673 I used to know a command to strip the variable back to 4 digits eg 12.3 But for the life of me i cant remember the command, can anyone please help, ive tried looking in the php manual but nothing has jogged my memory Thanks in advance Brenton Dobell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php