Re: [PHP] date problem

2002-04-28 Thread Nick Wilson
cheers Richard. I didn't know about that mysql function... - -- Nick Wilson // www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8y/S9HpvrrTa6L5oRAs9cAJ4jcd8dukhfdaJIla/irYNvnX2ZRwCgoIhU WjS6nkU1UM44crfOGWlBxRA= =RYIM -END PGP SIGNATURE-

[PHP] date problem

2002-04-28 Thread Nick Wilson
te but I'm afraid I still can't work it out so some advice/help would be greatly appreciated :-) - -- Nick Wilson // www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD4DBQE8y++SHpvrrTa6L5oRAh3xAJ9lfFdB1VW3KUHCWxnnksN+Uw950QCYpfg6 OCdApC0Nh/

Re: [PHP] Session problem

2002-04-15 Thread Nick Winfield
> line 10 contains: session_start(); Put session_start(); at the very top of your script - make sure there is no whitespace at the top as well. Cheers, Nick Winfield. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] "the document contained no data"

2002-04-11 Thread Nick Richardson
apache is reporting that no data was sent but the parser has stopped responding and is what it thinks is "done". Could also be that the user apache runs under doesn't have access to that directory. Or i could be completley wrong too... who knows ;) //Nick -Original Messa

RE: [PHP] Re: Variable wildcards

2002-04-11 Thread Nick Richardson
Following on the same subject (kinda) of Variable Variables... i have actually wondered this before... is there a difference between these 2 blocks?? (both should print "worldhello" if i am not mistaken, but is there a difference in how the nested variable is handled when it's inside curly braces?

[PHP] country ip recognition and php

2002-04-11 Thread Nick Wilson
:-) - -- - --- www.explodingnet.com |Projects, Forums and +Articles for website owners - -- Nick Wilson -- |and designers. -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux

[PHP] help with detective work?

2002-04-10 Thread Nick Wilson
ball them out about it I thought I'd ask your opinions :-) Code.. Many thanks -- --- www.explodingnet.com |Projects, Forums and +Articles for website owners -- Nick Wilson -- |

[PHP] Anyone out there ever tried this?

2002-04-09 Thread Nick Richardson
ase let me know!! Thanks in advance! //Nick Richardson [EMAIL PROTECTED] [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHPSESSID question

2002-04-09 Thread Nick Wilson
ow can I change this? Many thanks... - -- - --- www.explodingnet.com |Projects, Forums and +Articles for website owners - -- Nick Wilson -- |and designers. -BEGIN PGP SIGNATURE- Version: Gnu

Re: [PHP] SELECT + PARSE ERROR

2002-04-08 Thread Nick Winfield
nomdvd = '" . $nom . $i . "'"; $res = mysql_query($req); while ($ligne = mysql_fetch_object($res)) { print ""; print ""; print $ligne->resume . ""; } mysql_free_result($res); //--- Cheers, Nick Winfield. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Changing PHPSESSID= to something else?

2002-04-03 Thread Nick Richardson
in advance! //Nick Richardson [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP FAQ (again)

2002-04-03 Thread Nick Winfield
? Sounds like a good idea. > I'm happy to help in any way I can, but don't consider myself "guru" enough > to develop this from scratch. I'd be willing to chip in my 2p (soon to be 2 euros) worth to get this off the ground, but I couldn't commit to it

Re: [PHP] Sockets and Telnet

2002-03-19 Thread Nick Winfield
On Tue, 19 Mar 2002, Hunter, Ray wrote: > Has anyone created a telnet session in php with sockets and can give me some > help on setting one up? Take a look at PHP Shell to see how it's done. http://www.gimpster.com/php/phpshell/index.php Cheers, Nick Winfield. -- PHP General M

[PHP] Reporting the size of a file/directory on the web server. 820420

2002-03-15 Thread Nick Patsaros
I've scoured the PHP manual and I still can't seem to find it. What I'm trying to do is have PHP grab the size of a file or directory (say of a php file) then when that file is displayed, I want it to display the size of the file in the footer of the page. I would also like to have the viewer of

Re: [PHP] If...Else question

2002-03-14 Thread Nick Winfield
e error on the last line (?>). Replace: $e = "Does not apply." with: $e = "Does not apply."; Cheers, Nick Winfield. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Can no one help with this opendir problem?

2002-03-11 Thread Nick selby
rs not. Can anyone help? Many thanks in advance. NIck -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] scope issue?

2002-03-10 Thread Nick Wilson
uth_id); break; Why? Many thanks - -- - --- www.explodingnet.com |Projects, Forums and +Articles for website owners - -- Nick Wilson -- |and designers. -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD4DBQE8i5SQHpvrrTa6L5

[PHP] MySQL and apostrophes, interesting problem. 42082

2002-03-10 Thread Nick Patsaros
I'm working with a simple form which submits field data to a MySQL database. This is for the purpose of generating a dynamic news page for my site. Interestingly enough I've found that any time I try to submit data that contains an apostrophe "'" it gives me an error and will not send the data (

Re: [PHP] HTML Buffer

2002-03-09 Thread Nick Wilson
w.php.net/manual/en/ref.outcontrol.php Good luck! - -- - --- www.explodingnet.com |Projects, Forums and +Articles for website owners - -- Nick Wilson -- |and designers. -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8ifMRHpv

RE: [PHP] two different MySQL connections without always select_db?

2002-03-08 Thread Nick Richardson
i dont know if this will work, but you can try selecting them in the query... i.e.: select * from database.table I am by no means a guru on sql queries, but it may work. -Original Message- From: PHP freak [mailto:[EMAIL PROTECTED]] Sent: Friday, March 08, 2002 8:39 PM To: [EMAIL PROTECT

[PHP] Finding variable names in strings, and replacing with values?

2002-03-08 Thread Nick Richardson
e line says , i need to replace the text where the %% stuff is and set it to $bgcolor,$textcolor,or $linkcolor respectively. - I'm sure this can be done, but i'm just no good w/ the pattern matching stuff... so if anyone has any ideas on this, please let me know!!! Thanks //Nick Ri

[PHP] finding include path

2002-03-08 Thread Nick Wilson
and +Articles for website owners - -- Nick Wilson -- |and designers. -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8iOFqHpvrrTa6L5oRAo/bAJ94ZrRHCVOos17kimfQpleQUz+K4wCgtJej lrppUPI6EWDZVEG4Pm7Dtk0= =kSca -END PGP SIGNATURE

[PHP] opendir problem on solaris

2002-03-08 Thread Nick selby
ut) Since it kicks back the "1" and not a false, it seems it's getting access but then not being permitted. Here's something else - the problem is intermittent: sometimes the script can grab the images and others not. Can anyone help? Many thanks in advance. NIck -- P

[PHP] mcrypt? - Can't find any good info

2002-03-07 Thread Nick Richardson
I'm getting this error: Warning: mcrypt module initialization failed in /home/www/common.php on line 314 When running this code: And i can't find any documentation on what might be causing this... anyone out there know? //Nick Richardson [EMAIL PROTECTED] [EMAIL

[PHP] Auth against unshadowed /etc/passwd?

2002-03-05 Thread Nick Richardson
Anyone know how i can auth a username and password against the /etc/passwd file? Any help will be much appreciated! //Nick Richardson [EMAIL PROTECTED] [EMAIL PROTECTED] -- -- We must come to see that the end we seek, is a society

Re: [PHP] Sessions Help

2002-03-03 Thread Nick Wilson
|Projects, Forums and +Articles for website owners - -- Nick Wilson -- |and designers. -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8gmzyHpvrrTa6L5oRAskdAJ9zMCCJuMSSe97qfj0RbbUUOdq3hQCePJw9 pb/ZAO3x1aztJa9zyowCd0I= =Ct9D -END PGP SIGNAT

[PHP] Translation help needed...

2002-03-03 Thread Nick Wilson
ish. If you're interested you can check out the project here www.explodingnet.com/tools/php-contact-form/ see ya... - -- - --- www.explodingnet.com |Projects, Forums and +Articles for website owne

Re: [PHP] inspiration needed on problem s

2002-03-03 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Steven Walker declared > Nick, > > If I understand the problem correctly, the form reset button doesn't > work when the form is prefilled with POST data. > > To overcome this, I created reset button of typ

[PHP] inspiration needed on problem s

2002-03-01 Thread Nick Wilson
cts, Forums and +Articles for website owners - -- Nick Wilson -- |and designers. -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8f8mgHpvrrTa6L5oRAqZsAKCdaQkIQOgs1dTRbvHcfoEj9VYhiwCgk8r6 xlWPCeA3HyvhBeEYikNxMLM= =itz4 -END PGP SIGNATURE- -- PHP General Mai

Re: [PHP] include() and paths

2002-03-01 Thread Nick Wilson
is a busy list. - -- - --- www.explodingnet.com |Projects, Forums and +Articles for website owners - -- Nick Wilson -- |and designers. -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux)

Re: [PHP] include() and paths

2002-03-01 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Nick Winfield declared > I didn't catch the first part of this thread (rampant deletion ahoy) so > please excuse if I am talking nadgers. The way I see it, if you are > calling includes/requires from within other incl

Re: [PHP] include() and paths

2002-03-01 Thread Nick Winfield
On Fri, 1 Mar 2002, Nick Wilson wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > * and then DL Neil declared > > > masterfile.inc lives in /var/www/includes/ and contains this line: > > > include("/var/www/includes/anotherfile.inc

Re: [PHP] include() and paths

2002-03-01 Thread Nick Wilson
annotations! Please don't RTFM me, that's the first place I went. I didn't find what I'm looking for so I came here. - -- - --- www.explodingnet.com |Projects, Forums and +Articles for website owners

[PHP] include() and paths

2002-03-01 Thread Nick Wilson
www.explodingnet.com |Projects, Forums and +Articles for website owners - -- Nick Wilson -- |and designers. -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8f1VMHpvrrTa6L5oRAogTAJ46IwBbwFVLnVhNEG2qIj9ZqzXX1QCeMinj

Re: [PHP] class effeciency

2002-02-28 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Simon Willison declared > Nick Wilson wrote: > > >Is there a better way? It just seems like overkill to include 6-700 > >lines of methods /twice/ > > > Use inheritance. Define a "base" class w

Re: [PHP] class effeciency

2002-02-28 Thread Nick Wilson
ious, thanks once again for your help S. - -- - --- www.explodingnet.com |Projects, Forums and + Articles for website owners - -- Nick Wilson -- |and designers. -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8fg/oHpvrrTa6L5oRAkxnAJ9KJW8jGUaXAQ9TI2NNI

[PHP] d: Security problem with PHP

2002-02-28 Thread Nick Wilson (E-mail)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi everyone, a potential client just sent me this. Is it an old problem? or a new one? - --begin forwarded worrier--- Hi Nick Did you mention that you use PHP? I subscribe to a photo gallery site and they stopped uploads due to

[PHP] class effeciency

2002-02-28 Thread Nick Wilson
--- www.explodingnet.com |Projects, Forums and +Articles for website owners - -- Nick Wilson -- |and designers. -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8fe0UHpvrrTa6L5oRAgh5AJ9oXAQ4kMwj/neprZOQx1KZmpOWXACdFTiP WAFmmGoE60Y079p39i

[PHP] Searching 'Help' Text

2002-02-26 Thread Nick Richardson
So i have a 'help' secion for an app i have done... and i'm lazy, so just wanted to check if anyone knows where i can get this: I want users to be able to search through the help section for specific text... anyone know of a script out there that will do this...? //Nick Ri

[PHP] Encrypt/Decrypt

2002-02-26 Thread Nick Richardson
, and move on. Later, i want to be able to retrive the encrypted string w/ the salt in it, grab the salt and use it to decrypt the password. - Is this possible and how would it be done? Thanks in advance for any suggestions. //Nick Richardson [EMAIL PROTECTED] [EMAIL PROT

[PHP] Prepending string to TOP of files?

2002-02-26 Thread Nick Richardson
Is there any way to prepend a string into the top of a file? - only docs on fopen show how to append to the end? //Nick Richardson [EMAIL PROTECTED] [EMAIL PROTECTED] -- -- We must come to see that the end we seek, is a society

Re: [PHP] extending a class?

2002-02-26 Thread Nick Wilson
gt; Is it Ok...? Yes, I think I see what you mean, I'ts similar to the first example of Simons. I think I'll try the 'Pear like' one and hope it doesn't go 'Pear shaped'! Thanks for the help - -- - ------

Re: [PHP] extending a class?

2002-02-26 Thread Nick Wilson
ave seen the :: jobbie before but thought it unique to Pear and not available to mear mortals. Thanks very much... - -- - --- www.explodingnet.com |Projects, Forums and +Articles for website owners - -- Nick Wilson -- |and d

[PHP] extending a class?

2002-02-26 Thread Nick Wilson
you see what I mean? Many thanks. - -- - --- www.explodingnet.com |Projects, Forums and + Articles for website owners - -- Nick Wilson -- |and designers. -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8e252HpvrrTa6L5oRAnKFAJ9+bWkCFst5Y1YB/y0E8bbgq

[PHP] What's wrong w/ this line?

2002-02-25 Thread Nick Richardson
PHP seems to be completly ignoring this line... Funny part is that i use this same line in another place in my code and it works fine there... i have no clue - Need coffee. } elseif(!(preg_match("/^[A-Za-z0-9-]+$/",$uname))) { //Nick Richardson [EMAIL PROTECTED] [EMAIL

RE: [PHP] Variables containing HTML?

2002-02-25 Thread Nick Richardson
Right on!!! - This works great!! Can you explain what it does ;) - i'm completly lost in it ;) //Nick -Original Message- From: Demitrious S. Kelly [mailto:[EMAIL PROTECTED]] Sent: Monday, February 25, 2002 8:02 PM To: 'Nick Richardson'; 'PHP General' Sub

[PHP] Variables containing HTML?

2002-02-25 Thread Nick Richardson
he user decides they dont like the way it turned out and try to discard and change it, even after re-registering the variables in the session, they do not change to the new input. I hope someone out there can make sence of what i have said... because i think i confused even myself ;) Thanks f

Re: [PHP] get emum values

2002-02-24 Thread Nick Wilson
x27; sql that does the trick. Cheers! - -- - --- www.explodingnet.com |Projects, Forums and +Articles for website owners - -- Nick Wilson -- |and designers. -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.

[PHP] get emum values

2002-02-24 Thread Nick Wilson
any thanks - -- - --- www.explodingnet.com |Projects, Forums and +Articles for website owners - -- Nick Wilson -- |and designers. -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8eTgCHpvrrTa6L5oRAl0uAKCzvaf13t5bmwLDv

Re: [PHP] adding 'vote' mechanism

2002-02-24 Thread Nick Wilson
ghts on this. Regards - -- - --- www.explodingnet.com |Projects, Forums and +Articles for website owners - -- Nick Wilson -- |and designers. -BEGIN PGP SIGNATURE- Version: G

[PHP] adding 'vote' mechanism

2002-02-23 Thread Nick Wilson
in the db. Is there a better way? - -- - --- www.explodingnet.com |Projects, Forums and + Articles for website owners - -- Nick Wilson -- |and designers. -BEGIN PGP SIGNATURE- Version:

Re: [PHP] pulling text to insert in table

2002-02-22 Thread Nick Wilson
ming they're basically text I'm sure it can. - -- - --- www.explodingnet.com |Projects, Forums and +Articles for website owners - -- Nick Wilson -- |and designers. -BEGIN PGP SIGNATU

Re: [PHP] pulling text to insert in table

2002-02-21 Thread Nick Wilson
ed on certern criterion. - -- - --- www.explodingnet.com |Projects, Forums and +Articles for website owners - -- Nick Wilson -- |and designers. -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8dfaYHpvrrTa6L5oRApV2AJ9j19dxxZDCt

RE: [PHP] Re: Hyperlinks vs Buttons

2002-02-20 Thread Nick Richardson
Actually, i have seen problems with this under Oprah and Netscape (dont ask me why... it just seems kinda flaky. So instead, use this: a href="javascript:document..submit()">Login //Nick -Original Message- From: Gary [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February

Re: [PHP] What is the different between Apache and IIS?

2002-02-19 Thread Nick Wilson
es for website owners - -- Nick Wilson -- |and designers. -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8c0+hHpvrrTa6L5oRAumoAJsHaXpZxDG96jggEmDpUfeBuLZ4yACfcZ9Y z0RZghLTGBwdOC/DQ4apK6I= =e+Vt -END PGP SIGNATURE- -- PHP General Mailing List (http://ww

Re: [PHP] Looking for good tutorial on Sessions

2002-02-19 Thread Nick Wilson
-- www.explodingnet.com |Projects, Forums and +Articles for website owners - -- Nick Wilson -- |and designers. -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8crIiHpvrrTa6L5oRAibjAJ41syisweg3ZXUsPObKeyPH03GqNQCeITYc lqLJIjZkfNt

Re: [PHP] Parse Error Line Numbers

2002-02-19 Thread Nick Wilson
it is that php reports the line it was on when it encountered the error with isn't the same as where you've made your mistake. - -- - --- www.explodingnet.com |Projects, Forums and + Articles

Re: [PHP] Re: Moto

2002-02-19 Thread Nick Winfield
On Tue, 19 Feb 2002, Ben Curtis wrote: > Not PHP itself, heh, but PHP scripts that you write. Moto scripts can > be interpreted by moto, just like PHP, but the scripts can also be > compiled as DSOs. Don't suppose you have a URL where one could read more about Moto? =) Cheers,

Re: [PHP] function not returning TRUE

2002-02-12 Thread Nick Wilson
I've caught the problem BTW, I switched from testing with if/else to a switch statement. Which says I was testing incorrectly (not that I ever worked out why) Cheers... - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com -BEGIN PGP

[PHP] function not returning TRUE

2002-02-12 Thread Nick Wilson
'm testing the condition is like: $test=myfunction(); if($test) { do x } else do y Many thanks... - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com -BEGIN PGP SIGNATURE-

Re: [PHP] Sitenavigation

2002-02-10 Thread Nick Wilson
w to? There is a very good article on this exact topic at phpbuiler.com Have fun. - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8ZkszHpvrrTa6L5oRAjYnAJ9Vox0Ora6hTtD1owtKBgP3PqSJ

Re: [PHP] mysql_select_db() problem

2002-02-09 Thread Nick Wilson
hat seems to be it, I'm getting 'Access deneid to user '@localhost'. I'm talking to a guy on the mysql list, apparently it is a phenomememememememmemonmmm that when you GRANT ALL using wildcards it tends to grant all on * except localhost! - -- Nick Wilson Tel:+

Re: [PHP] mysql_select_db() problem

2002-02-09 Thread Nick Wilson
you don't specify a link id then it assumes the last connection or trys to establish one. (I've tried it anyway :-) Come on guys, someone must be able to spot the 'gotcha'! - -- Nick Wilson Tel:+45 3325 0688 F

Re: [PHP] Re: Table exists?

2002-02-09 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then CC Zona declared > In article <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] (Nick Wilson) wrote: > > > What would be the easiest way to see if a MySQL table exists with PHP? > > I can do it by checking agai

[PHP] mysql_select_db() problem

2002-02-09 Thread Nick Wilson
command line so what's the problem? (returns the die statement) Much thanks.. - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8ZYWRHpvrrTa6L5oRArthAJ9Vew5DIKSR7qzc4M2abhxJfp

Re: [PHP] Re: Table exists?

2002-02-09 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Martin C. Petersen declared > Do a select on the table - if the query returns true the table exists > otherwise the test is inconclusive.. Yep, that'l do it. cheers. - -- Nick Wilson Tel:+45 3325 0688 Fax:+4

[PHP] Table exists?

2002-02-09 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, What would be the easiest way to see if a MySQL table exists with PHP? I can do it by checking against mysql_list_tables() but that seems a little clumsy. Is there a better way? - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web

Re: [PHP] ok still want to join a project...

2002-02-09 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Arik Ashepa declared > nice... anyone else has an idea? How about a Haiku db? The php list a place for conversation with other nutters Hehe,. - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677

Re: [PHP] templates

2002-02-08 Thread Nick Wilson
e on PHPLib vs Fastemplate on either devshed or phpbuilder but from what I've read PHPLib is the way forward. - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuP

Re: [PHP] Php Projects

2002-02-08 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Rick Emery declared > Do I detect a bit of Friday-afternoon sarcasm??? > > Actually, a beer sounds good about now Friday evening in .dk and php is always best served with a cold one! - -- Nick Wilson Tel:+45

Re: [PHP] Php Projects

2002-02-08 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Arik Ashepa declared > Hi. > I was wondring... > maybe you want to develop a project? > have any ideas? Yes! How about a database backed set of scripts to create world peace and send a steady supply of beer to my house?

Re: [PHP] session register!!

2002-02-08 Thread Nick Wilson
t(); session_register('the_var'); $the_var="is this the problem?"; - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8ZCj4HpvrrTa6L5oRAoQJAJ91jzJYx0KV9Su+8/aJuoI

[PHP] Method writing quesion

2002-02-08 Thread Nick Wilson
ls it? It makes more sense to me to have all the error checking and validation done /before/ passing it to the method as one of the concepts of classes is that their methods are very simple and specific. However, I wondered what you all thought on this? - -- Nick Wilson Tel:+45 3325 0688 Fax:

Re: [PHP] Re: Page Not Found - on IE

2002-01-30 Thread Nick Wilson
I can't promise to help but I'm intrigued for sure. - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8WPMdHpvrrTa6L5oRAh13AKCyIehQf7Ab6V3fkai9IYMfEfC6WwCeNGuf ZpQO

Re: [PHP] mysql_pconnect & mysql_connect

2002-01-30 Thread Nick Wilson
nk I sent you: Yes, and just to add to that I don't think I've /ever/ got worthwile results trying to use pconnect. It just causes problems as far as I've seen myself. - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com -BEGIN PGP SI

Re: [PHP] Re: Page Not Found - on IE

2002-01-30 Thread Nick Wilson
ng you trouble? - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8WGgGHpvrrTa6L5oRAsmeAJ9G/qipZy2xNny6SafxkCHXn5TULACeO8Ui yjiV6QhOFA6tXtQPu/vdBxE= =POqY -END PGP SIGNATURE- -

Re: [PHP] Re: Page Not Found - on IE

2002-01-30 Thread Nick Wilson
ompile-time error. Does the URL have vars in it? like ../index.php?var=hi&var2=there Just curious. - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com -BEGIN PGP SIGNATURE- Vers

Re: [PHP] Array() Limit

2002-01-29 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Zach Curtis blurted > Is there a limit to the number of key=value pairs that can be stored in an > array? Or is this more a function of RAM limits? AFAIK it would just be a resources issue. Are you just curious, or.? - --

Re: [PHP] if command

2002-01-28 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Eduardo Melo blurted > Someone knows how to use the IF command ? Have you Read The Fine Manual Eduardo? Try www.php.net I'm not sure if there is a translation for your language though. - -- Nick Wilson Tel:+45 3325

Re: [PHP] php vs asp

2002-01-28 Thread Nick Wilson
Micheal said that you'll notice the difference. - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8VWxxHpvrrTa6L5oRAkCUAJ9aeWdNyTOXPBCi09C2tznk7Fw02QCgnCoC RhQrSJDs4mw8W

Re: [PHP] php vs asp

2002-01-28 Thread Nick Wilson
;re serious you might want to post your question on the MySQL list or something similar. - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8VWVPHpvrrTa6L5oRAoIHAJ4q43y5nSlmvMlfz

Re: [PHP] Back button to Query Pages

2002-01-28 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Edward van Bilderbeek - Bean IT blurted > Hi, > > a possible solution is also to provide the backbutton href with the original > variable values... I'm pretty sure he means the /browser/ back button though. - --

Re: [PHP] Back button to Query Pages

2002-01-28 Thread Nick Wilson
session var on page 1 *after* a successfull query. At the beginning of page 1 test to see if the var is set, If so just print the peoples names as if the query were run, if not run the query. I have no idea if that will help but I hope it provides a little inspiration anyhow :-) - -- Nick Wi

Re: [PHP] phplib

2002-01-27 Thread Nick Wilson
want to know wether one was replaced by 1.. or wether the term "one" > exists at all in the template.. any ideas on how to find this out? No. Not AFAIK What are the circumstances Kunal? - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com --

Re: [PHP] a quick question..

2002-01-27 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Paul A. Procacci blurted > He meant push Hehe, I didn't think of that. Actually I didn't mean push /or/ pop in the array sense of the word, I meant *put* as in create! I'll take more care in future :-) - -- Nick W

Re: [PHP] a quick question..

2002-01-27 Thread Nick Wilson
lays >$nr1... next time it displays $nr 5.. etc) > how can I achieve it ? Pop them all into an array and use array_rand() See manual for details. HTH - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com -BEG

Re: [PHP] PHP and XHTML

2002-01-26 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Jeff Sheltren blurted > Hi. Have you tried something like: > > \n"); ?> *Good* idea, tell us if it works! - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com -BE

Re: [PHP] Re: Hints & Feedback

2002-01-26 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Michael Kimsal blurted > What are you asking for? Yeah, a little detail please :) I don't even wana click it unless I know why, but then I'm just paranoid! - -- Nick Wilson Tel:+45 3325 0688 Fax:+45

Re: [PHP] PHP and XHTML

2002-01-26 Thread Nick Wilson
better solution than Short_open_tag Hmm... I had that problem too, the only I solved it was by using templates. I know that may not help, sorry, just wanted to let you know that it can be done. I'll follow this thread closely as *proper* XHTML is a subject close to my heart :) - -- Nick Wils

Re: [PHP] Variables Limit

2002-01-26 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Philip J. Newman blurted > I have to exchage over 304 different names, codes, and dates ... 305? :-) Doesn't sound like it would be a problem. - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325

Re: [PHP] Variables Limit

2002-01-26 Thread Nick Wilson
t you're involved in? - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8UvbrHpvrrTa6L5oRAtrWAJwLocc8/xRHK5kTN2S1HY3BXmQ2NQCdELrK FfZO6YoOZUEXonb6fNz3Z10= =wuoa -END PGP SIGNATURE-

Re: [PHP] phplib

2002-01-26 Thread Nick Wilson
nd then in your template code. $t->set_var("htmlOutput", $htmlOutput); Hope that's what you mean - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8UtA5HpvrrT

Re: [PHP] break statement usage

2002-01-26 Thread Nick Wilson
y interested to hear if anybody is getting this from me. As far as I know There is *nothing* wrong with my messages. Perhaps there is somthing wrong with 'Outhouse' on your machine :-) > but whose contributions are often much appreciated! er Thanks, I think? - -- Nick Wil

Re: [PHP] break statement usage

2002-01-25 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Erik Price blurted > On Friday, January 25, 2002, at 04:24 PM, Nick Wilson wrote: > > > >Try to keep your posts a little shorter > >if only for the sake of the dial-up users ;) > > > >

Re: [PHP] break statement usage

2002-01-25 Thread Nick Wilson
it was designed to be used in a switch statement to 'break' from the statement. It replaces the need for complex and untidy 'if else' monsters. Try to keep your posts a little shorter if only for the sake of the dialup users ;) Cheers - -- Nick Wil

Re: [PHP] strings and \n

2002-01-25 Thread Nick Wilson
essage = "line1\n"; > $message .= "line2\n\n"; > $message .= "line3\n"; > > but when the email is received not all the new lines r taken. Can anyone > help me. Also where can I get a list of all the special chars like \n > and what they meain. I thi

Re: [PHP] Check browser-type?

2002-01-25 Thread Nick Wilson
now exactly what I am > looking for.. =) Check out $HTTP_USER_AGENT It contains all you need. There is a good tutorial on this at www.sitepoint,com (you'll have to search) and all the other good sites have covered it. eg, www.phpbuilder.com www.devshed.com Have fun. -- Nick Wilson Tel:

Re: [PHP] Building my site... again

2002-01-25 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Andrew Hill blurted > Nick, > > Dunno, but in my experience (and that of a few people who also opened bugs > on it) any path info that is not "real" causes the CGI to bomb out with an > "Internal Server

Re: [PHP] Building my site... again

2002-01-25 Thread Nick Wilson
se a problem though won't it (i think I wrote my example URL this way also!) as the index.php gets in the way. Hence the use of a .htaccess to force php to treat a file called 'index' as a php file. Like: URL= http://you.com/index/cars/ferrari - -- Nick Wilson Tel:+45 3325 068

Re: [PHP] Building my site... again

2002-01-25 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Andrew Hill blurted > Note, > > This will not work with PHP as a CGI. How come? - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com -BEGIN PGP SIGNATURE- Version: Gnu

<    1   2   3   4   5   6   7   8   >