[PHP] sorting files in directory

2002-11-27 Thread Nick Wilson
... -- Nick Wilson // www.tioka.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] sorting files in directory

2002-11-27 Thread Nick Wilson
check it > out in the manual... it *may* be needed to get what you want. Great, thanks everyone. Just wondered if it would have problems with asort() and the dates in the filenames like: * 02-11-23-whatever.php * 02-12-03-whatever.php Cheers... -- Nick Wilson // www.tioka.com --

[PHP] max file size on uploading files

2002-11-27 Thread Nick Wilson
Hi all, I must be missunderstanding something here, I have this in an php 'upload form': So why won't it upload a 1.5MB file? Many thanks -- Nick Wilson // www.tioka.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] max file size on uploading files

2002-11-27 Thread Nick Wilson
* and then Jason Wong declared > On Thursday 28 November 2002 02:02, Nick Wilson wrote: > > Hi all, > > > > I must be missunderstanding something here, I have this in an php 'upload > > form': > > > > > > > > So why won't

Re: [PHP] max file size on uploading files

2002-11-27 Thread Nick Wilson
ipt on another machine I guess Thnaks for the help Ernest... -- Nick Wilson // www.tioka.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] max file size on uploading files

2002-11-27 Thread Nick Wilson
* and then Nick Wilson declared > Next step, try the script on another machine I guess Thnaks for the > help Ernest... Could it be an Apache 2.0 thing? -- just upgraded. THis is what I get: Request entity too large! The POST method does not allow the data transmitted, or th

Re: [PHP] max file size on uploading files

2002-11-27 Thread Nick Wilson
* and then Van Andel, Robert declared > One problem may be your browser timing out before the end of the script. Another >may be (although I'm not 100% sure) is that the file excedes the max memory set aside >by PHP. Thanks Robert, that's not it though..

Re: [PHP] max file size on uploading files

2002-11-27 Thread Nick Wilson
est. It works fine on my hosts machine running 1.3 so I'll downgrade my version as well, as rasmus has pointed out Thanks for all your help ;-) -- Nick Wilson // www.tioka.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Pre-built CMS - Anyone recommend one?

2003-01-12 Thread Nick Wilson
for the html/css Anyone make a recommendation? Many thanks... -- Nick Wilson // www.tioka.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] nl2br() Function for Paragraphs?

2003-06-11 Thread Nick Wilson
done it and be willing to share. ;-) Many thanks... -- Nick WIlson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] nl2br() Function for Paragraphs?

2003-06-11 Thread Nick Wilson
ar in the user comments section of: > > http://us2.php.net/manual/en/function.nl2br.php Bad, bad Wilson! I never really think to look there, thanks very much I'll check it out right now! -- Nick WIlson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] extracting variables from files

2002-07-31 Thread Nick Wilson
This is to create a dynamic menu of the directory: The files are php scripts that assign $title (among others) to Smarty templates. I need to get $title from each file I had a look through the docs and didn't see anything obvious, which is why I'm here :-) Many thanks... -

Re: [PHP] I need some help: PHP portal site/creating email accounts through form submission

2002-07-31 Thread Nick Wilson
help would be very greatful. I think you'll need to start from the beggining and post specific problems. That's a bit vague to get a decent answer Also, we don't even know how the system works: Does he have the ability to create unlimited emails? The permissions

Re: [PHP] I need some help: PHP portal site/creating email accounts through form submission

2002-07-31 Thread Nick Wilson
a look at the exec() function but there are better qualified people here to answer that kind of question... anyone? > BTW, I don't declare. I demand. ;) hehe, right! - -- Nick Wilson // www.explodingnet.com -BEGIN PGP SIGNATURE- Version: G

[PHP] stripslahes() | Common pitfalls?

2002-09-17 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I'm using cookies to pre fill a form and, I can't work out why I can't get the stripslashes() function to work? Are there any common pitfalls you can think of, I've tried just about everything... - -- Nick Wilson

Re: [PHP] stripslahes() | Common pitfalls?

2002-09-17 Thread Nick Wilson
27;val']); and all is cool! Thanks very mucn... - -- Nick Wilson // www.tioka.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD4DBQE9h0y8HpvrrTa6L5oRAhd6AJY4UEp63qtfp25j/ZghCNT7ffCPAKCmdyML iGLvRSAh7RSiHSuL60rdTw== =YIVc -END PGP SIGNATURE- -- PHP General M

Re: [PHP] new PHP chat room (with Flash interface)

2002-09-17 Thread Nick Wilson
bpage is refreshed. > > http://www.tufat.com/chat/ Well I just get some dodgy html code showing up on your demo pages... - -- Nick Wilson // www.tioka.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE9h2VcHpvrrTa6L5oRAlF4AJ0bh2uoBHIXFgYJgnD5BVwjdRrnlwCglXxQ qtS4

[PHP] Yahoo moves to PHP

2002-10-30 Thread Nick Wilson
Forgive me if you guys have seen this. Just read it on www.webmasterworld.com Yahoo moves to PHP http://public.yahoo.com/~radwin/talks/yahoo-phpcon2002.htm -- Nick Wilson // www.tioka.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] class query

2002-11-20 Thread Nick Wilson
ttings'". How can I solve this please? I thought what I was doing was fairly sensible but -- Nick Wilson // www.tioka.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] class query

2002-11-20 Thread Nick Wilson
* and then Nick Wilson declared > Hi all, > > In a php class I'm using I do this: > > require_once('db/settings.inc'); // just hold db properties Ooops, sorry everyone. Just noticed that one of the classes does *not* use require_once() but require() -

[PHP] Stopping multiple votes by IP

2002-06-05 Thread Nick Wilson
herent problems with that? Many thanks! - -- Nick Wilson // www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8/ejLHpvrrTa6L5oRAjf5AJ98ew6rICv4DUAqACXXu1Ru7TxYBQCfbKxn yzTmfMgihXvX65sY/bCMMDA= =zRNV -END PGP SIGNATURE- -- PHP G

Re: [PHP] Stopping multiple votes by IP

2002-06-05 Thread Nick Wilson
an author just switches browser to vote for his own article? I like the idea of cookies regardless, I guess I shouldn't be over paranoid about it. It's unlikely that anyone would really want to go to all the trouble anyway. Cheers - -- Nick Wilson // www.explodingnet.com -BEGIN

Re: [PHP] Stopping multiple votes by IP

2002-06-05 Thread Nick Wilson
ers so I think this an unlikely scenario but it still bugs me a little. Any thoughts guys? - -- Nick Wilson // www.tioka.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8/kAxHpvrrTa6L5oRAtShAJ4ozLMEysSZfCnK8/Vf8QdDaNYVhgCfSz+/ chjIThp9tnI5vSApB6M6yhc= =uYqL -

Re: [PHP] mail() problem

2002-06-05 Thread Nick Wilson
Does anyone happen to know why is it that makes it different??? Yes. I had something similar. Try putting 'Reply-To: [EMAIL PROTECTED]' in the fourth argument for mail. For some reason some systems balk without a reply address, I'm not certain why? - -- Nick Wilson // www.tio

Re: [PHP] Template's, that is the question!

2002-06-05 Thread Nick Wilson
ry simple, fast and effective class. - -- Nick Wilson // www.tioka.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8/kEMHpvrrTa6L5oRAj7IAJ4+C1jjyWCOoyjy9lGppGLhGrtqoACeIUCu /Lly+6/QL8Wz0PRw2bkzHng= =ZBn2 -END PGP SIGNATURE- -- PHP General Mailing L

Re: [PHP] Stopping multiple votes by IP

2002-06-05 Thread Nick Wilson
/ good! Any opinions on this most welcome ;-) - -- Nick Wilson // www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8/mFGHpvrrTa6L5oRAr94AKCGUwvJBNzJw2LCG9B1lyVjH4GcKwCfa3iC rRf86gMz1yv5yIDjEIRaAK0= =bYBY -END PGP SIGNATURE- -- PHP Gen

Re: [PHP] Re: Stopping multiple votes by IP

2002-06-05 Thread Nick Wilson
lack of one vote throws your survey off > that much then you don't have a large enough sample anyway :) Agreed. Thanks everyone ;-) - -- Nick Wilson // www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8/mxzHpvrrTa6L5oRAqIoAJ9bCz+s7HK/DC

Re: [PHP] Sessions question (-enable-trans-sid)

2002-06-05 Thread Nick Wilson
Hmmm I've had a problem with this: I have --enable-trans-sid but I see url appends on my browser when I *know* cookies are working. Any reason for that? - -- Nick Wilson // www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0

Re: [PHP] Displaying images with php?

2002-06-05 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Ragnar declared > What is the best way to display images in the browser with php? If i for > instance have the pictures in ..\pictures\ print(""); Or did i misunderstand you? - -- Nick Wilson // www.

Re: [PHP] Sessions question (-enable-trans-sid)

2002-06-05 Thread Nick Wilson
tuff. If an SE like google as a good example picks up the PHPSESSID=slkfjdsjfsdlkf and then comes back and gets a different id next time you can lose page rank for duplicate content. Big deal indeed i'd say. - -- Nick Wilson // www.explodingnet.com -BEGIN PGP SIGNATURE

[PHP] disabled cookies and sessions

2002-06-07 Thread Nick Wilson
my php at fault but something is eluding me? Any help much appreciated. Cheers - -- Nick Wilson // www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE9AOBMHpvrrTa6L5oRAlrHAJsFxqiqk2Oz6RL9P93IERwCfgSoYACfdyh2 +U3Pxm88E/WmpGkujjzaAs4= =ywLb --

Re: [PHP] disabled cookies and sessions

2002-06-07 Thread Nick Wilson
s the point, sessions are supposed to be independent of weather the user has disabled cookies. - -- Nick Wilson // www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE9AOX7HpvrrTa6L5oRAoyOAJ9S0ftsfAMrOF8pJjQEs6GHl2yTKACfZMBv NCoMV70tkQJCmeyflEbEzd8= =I

Re: [PHP] Parse Error in my Mailing Code

2002-06-07 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Anti-Blank declared now I am getting a parse error on lines 30. Included are the original Which is line 30? - -- Nick Wilson // www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux

Re: [PHP] disabled cookies and sessions

2002-06-07 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Chris Sechiatano declared > You have to code the PHPSESSID into your URL if your browser has cookies > disabled or else it won't work. No. As I said, i have php compiled with --enable-trans-sid - --

Re: [PHP] Sessions and Forms

2002-06-08 Thread Nick Wilson
OST_VARS as $key => $val) { $myFormData['$key']=$val; } Then you just register the $myFormData and it will be available to you whenever you need it. - -- Nick Wilson // www.explodingnet.com -BEGIN PGP SIGNATURE- Version:

Re: [PHP] Sessions and Forms

2002-06-08 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Nick Wilson declared > How about something like this: > > foreach($HTTP_POST_VARS as $key => $val) { > $myFormData['$key']=$val; > } Actually that may be a little redundent. You may well

Re: [PHP] Warning: Too many connections in xxx on line xx

2002-06-08 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Dan Morris declared > Is there anyway to get rid of this message: > > Warning: Too many connections in xxx on line xx Can you show the code that connects? - -- Nick Wilson // www.explodingnet.com -BEGIN PGP

Re: [PHP] Include + $Variables Help

2002-06-08 Thread Nick Wilson
ated! Can you show an example of name.txt and the error you get? I'm guessing but I reckon name.txt should be re written as name.php and work like this: some nice aritcles text marked up here EOF; ?> and then in articles.php you should just print $text to where you want it. - -- Nic

[PHP] duplicate entries mystery

2002-06-13 Thread Nick Wilson
print("3"); return FALSE; } print("4"); return TRUE; } heres what I do: $new=new news(); $news->set_title($title); $news->set_text($text); $news->update();

[PHP] truncating dilema

2002-06-13 Thread Nick Wilson
ught I'd ask here if anyone had a *better* suggestion? Many thanks - -- Nick Wilson // www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE9CQyyHpvrrTa6L5oRAtJdAKClDX77zJsH5LUSkaRG0KP6DEpJ2wCeK9BC /WpypUV5ygtcBN/hwogsBeg= =s+ae -END PG

Re: [PHP] truncating dilema

2002-06-13 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Julie Meloni declared > You could use the substring() function in MySQL (or a similar function > in your db of choice) to make the db do the work instead of PHP. Nice, I'll look it up. Cheers Julie. - --

[PHP] get_object_vars()

2002-06-14 Thread Nick Wilson
gt; $val) { unset($key); } return TRUE; } else return FALSE; } problem is, when I print($obj->property); I still get the value? What am I missing here? Many thanks... - -- Nick Wilson // www.explodingnet.com -BEGIN PGP SIGNATURE--

Re: [PHP] session variables in OOP....

2002-06-14 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Wilbert Enserink declared > I hope you understand my problem and have some tips for me. Below is some code >snippets I'm using: Actually it's a little tricky to understand ;-) Have you considered output buffering? -

Re: [PHP] session variables in OOP....

2002-06-14 Thread Nick Wilson
; like this: (i tried it but it doesn't seem to work)?? Sorry, not sure, I've never actually had cause to use output buffering. You might want to ask the question specifically in a new thread. In fact: Please do, I'd be very interested to hear what the others think ;-) - -- Nick Wilso

[PHP] getting anchor tags

2002-06-21 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi In theory I can work out how to get http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] header("Location with & in URL

2002-06-21 Thread Nick Wilson
s I get the url minus everything after the first ampersand. > I tried using htmlentities with no joy like so... Hmmm... I use this all the time on a site I'm working on (part time personal site) and I have no trouble. header("Location: $PHP_SELF?id=$id&auth=34"); - -- Nick

Re: [PHP] addslashes

2002-06-21 Thread Nick Wilson
oing something wrong ;-) I'll bet that what's happening is that you are not using stripslashes() when you re-use the var and that is causing the multiple slashes. If you don't get what what I just said, post your code.... and i'll have a bash at it.. - -- Nick Wilson //

[PHP] setlocale() and local date

2002-06-27 Thread Nick Wilson
must be missing something but I've read the Manual and just can't see what's wrong? Many thanks - -- Nick Wilson // www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE9GtniHpvrrTa6L5oRAnryAKCtsYLCy1mfuXh6bp+UMnxK+4u+pgCggoOd zd4

Re: [PHP] Re: setlocale() and local date

2002-06-27 Thread Nick Wilson
rks fine for me... Great! Thanks very much, > btw: if you speak Danish then the > dk.edb.internet.webdesign.serverside.php might be worthwile diving into > :-) Right, my wife is danish and I speak a little so I'll give it a shot. Cheers... - -- Nick Wilson // www.explodingnet.c

Re: [PHP] help pls!

2002-06-27 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then adi declared > how to make a changerate.php file for: I think a specific problem and a helpful subject line might get a better response for you. - -- Nick Wilson // www.explodingnet.com -BEGIN PGP SIGNATURE- Vers

[PHP] securing an 'includes' dir

2002-06-28 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all I'm setting up a site for a client and his host refuses to create (or allow me to) a directory outside of the http root. How might I make an 'includes' dir inside the http root and stop users being able to browse it? Many th

Re: [PHP] securing an 'includes' dir

2002-06-28 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Jason Wong declared > If using Apache, you would set a directive to deny all access to that > directory. Gotcha. Can you domonstrate? Cheers... - -- Nick Wilson // www.explodingnet.com -BEGIN PGP SIGNATURE- V

[PHP] Memory Size Help Please

2003-11-19 Thread Nick Wilson
Hi all, Can anyone spot the problem here and point me in the right direction? I have a script that goes and fetches the xml at weblogs.com (http://www.weblogs.com/changes.xml). It then extracts the urls of the updated blogs and goes and uses file() to read each of them and extract some more stu

Re: [PHP] Memory Size Help Please

2003-11-19 Thread Nick Wilson
* and then Jay Blanchard declared > Nope, not enough info to spot the problem. I could point you in a Spare me the sarcasm. Here's the code if anyone can help, thanks. http://www.weblogs.com/changes.xml'); $xml=implode("\n", $xml); // Pattern match string $urlpattern = '/((http|https|ftp):

Re: [PHP] Memory Size Help Please

2003-11-19 Thread Nick Wilson
* and then Raditha Dissanayake declared > Hi, > > Jay's comment was a fair one. It's not always possible to help without > full info. I beg to differ, the point was valid but the manner unfriendly at best. > You could try writing your data directly to disk instead of keeping them > in me

[PHP] Help with fread()

2003-11-26 Thread Nick Wilson
Hi all, I'm using the code below to open webpages and read them into a variable. I got the example from the manual but am confused as to how to limit how much of the page to read. Ideally, I just want to read the first 30k of each webpage. Could somebody please show me how? [EMAIL PROTECTED]($

Re: [PHP] Help with fread()

2003-11-27 Thread Nick Wilson
* and then Rasmus Lerdorf declared > Why not just fread($pagehandle,32768) ? Sure. I just got confused as to why '8912' was on the example and thought it significant. I see it's not now, thanks ;-) -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://w

[PHP] XML & XSLT

2003-12-05 Thread Nick Wilson
Hi all, under 4.3 is there any way to work with XSLT and XML that *does not* require additional modules etc to be installed? Perhaps a set of classes or somesuch? Many thanks... -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] XML & XSLT

2003-12-05 Thread Nick Wilson
* and then Burhan Khalid declared > >under 4.3 is there any way to work with XSLT and XML that *does not* > >require additional modules etc to be installed? Perhaps a set of classes > >or somesuch? > > > >Many thanks... > > http://pear.php.net > http://www.phpclasses.org Thanks, hard to bele

Re: [PHP] Changing User Agent for fopen

2003-12-05 Thread Nick Wilson
* and then Stuart declared > 2) If you want to query google you're better off using the google SOAP > API - it's legal for a start. See the following for more info... > > http://www.google.com/apis/ > http://www.devshed.com/Server_Side/PHP/GoogleAPI/page1.html and http://dietrich.ganx4.co

[PHP] PHP or Apache Problem?

2004-01-16 Thread Nick Wilson
Hi all, I'm getting this error on a well tested and used CMS script: ** CODE warning: main(): URL file-access is disabled in the server configuration in /var/www/localhost/htdocs/ellasattic.co.uk/error.php on line 19. warning: main(http://ellasattic.co.uk/index.php): failed to open stream: no s

Re: [PHP] PHP or Apache Problem?

2004-01-16 Thread Nick Wilson
* and then Richard Davey declared > Hello Nick, > > Friday, January 16, 2004, 12:39:16 PM, you wrote: > > NW> Line 19 is a simple include() but uses 'http://' rather than a local > NW> path (i cannot change this)... > > allow_url_fopen is almost certainly disabled in your php.ini file. Ye

Re: [PHP] How to compare between two values?

2004-01-16 Thread Nick Wilson
* and then SASSINC Internet Solutions - Arabic Department declared > Hi again.. > > How to compare between two values, One imported from a mySQL DB and the other > grabbed by GET (http://www.sitename.com/test.php?value2=3342g345) if($myMySQLValue==$_GET['myGetVar']) { do stuff } -

[PHP] Syntax Error -> This is WEIRD!

2004-01-16 Thread Nick Wilson
if a script calls antohter like 'include('http://site.com/index.php'); Why would I get a syntax error on line 1 of index.php when it looks like this: http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP or Apache Problem?

2004-01-16 Thread Nick Wilson
* and then Richard Davey declared > Why do you have code comments OUTSIDE of the php tags? I can't say for > sure, but it wouldn't surprise me if it caused it. I dont. That's just in my email to tell where the code begins ;-) line 1 is just http://www.php.net/) To unsubscribe, visit: http://w

Re: [PHP] Syntax Error -> This is WEIRD!

2004-01-16 Thread Nick Wilson
* and then Richard Davey declared > Hello Nick, > > Friday, January 16, 2004, 2:16:43 PM, you wrote: > > NW> if a script calls antohter like > NW> 'include('http://site.com/index.php'); > > NW> Why would I get a syntax error on line 1 of index.php when it looks like > NW> this: > > NW> NW

Re: [PHP] Syntax Error -> This is WEIRD!

2004-01-20 Thread Nick Wilson
* and then Dagfinn Reiersøl declared > >Yes your right, that?s exactly the problem. I didn?t even realize he was > >doing that. > > > >By including the PHP file via HTTP, you are including the OUTPUT of the PHP > >file, not the actual PHP file itself. > > > >e.g. > > > >by including a file wit

Re: [PHP] Using a HTML button

2002-01-11 Thread Nick Wilson
call my > function when I press my button. What value is it returning 5, or 10? Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org i

Re: [PHP] Re: Using a HTML button

2002-01-11 Thread Nick Wilson
to the user. Therefore, you can't call a PHP > function directly from a web page after the user has received it, since all > of the processing has already been done. Of course, I think in my case the expresion is 'barking up the wrong tree'. - -- Nick Wilson Tel:+45 33

Re: [PHP] using mysql_query() twice?

2002-01-11 Thread Nick Wilson
s leads me to believe that I can't run two instances of mysql_query() > or perhaps mysql_fetch_array(). No, of course you can. HTH - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linu

Re: [PHP] using mysql_query() twice?

2002-01-11 Thread Nick Wilson
it. Your first $result is a resource indicator (container for results) so if you re-assign it (put another value into it) it becomes useless as your while statement depends on it. Happy to help :) - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com

Re: [PHP] name and value tags in a form

2002-01-12 Thread Nick Wilson
gs and there values dynamically... > Regards, > Kunal Jhunjhunwala - -- Can you give an example of what you want, your message is a little hard to visualize :) Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com -BEGIN PGP SIGNATURE- Version:

Re: [PHP] name and value tags in a form

2002-01-12 Thread Nick Wilson
7;s it) array. See the manual under variables. HTH - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8QAk1HpvrrTa6L5oRAqfdAJ95ZALl/nmXRfN

Re: [PHP] Fatal error: Cannot instantiate non-existent class

2002-01-12 Thread Nick Wilson
non-existent class Let's see the line in question? - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8QBKrHpvrrTa6L5oRAtd2AJ9y4GurINpqh

Re: [PHP] multiple replaces...

2002-01-12 Thread Nick Wilson
e. A loop? Something even more easier and >better? > > Thanks, > Lauri If the 'markers' are in some kind of sequence (like marker1, marker2 etc) you could use a loop. - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explod

Re: [PHP] multiple replaces...

2002-01-12 Thread 'Nick Wilson'
e $markers=array("m1", "m2", "m_whatever"); and all your replacements likewise $replace=array("r1", "r2", "r_whatever"); and then loop through like that? If not, explain a little more about the context of the problem and let's see

Re: [PHP] Development environment

2002-01-12 Thread Nick Wilson
com/articles/latest/7/ HTH Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8QF74HpvrrTa6L5oRAo7AAJ4wMMUiPYN5tt8fY1BCecIHP2b9bwCgsqWY BT

Re: [PHP] Authentication Question

2002-01-14 Thread Nick Wilson
www.phpbuilder.com www.devshed.com for articles relating to this topick. (I seem to remember there being a couple on one or both of those sites) - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Com

Re: [PHP] Passing variables with include()

2002-01-14 Thread Nick Wilson
t; Are there any known exceptions (f.i. specific server settings) that > might explain why the variable is not known on the remote server? > > Thanks in advance! > -- > Imar de Vries - [EMAIL PROTECTED] - ICQ 6972439 Are you absolutely certain that the var is being set properly? T

Re: [PHP] Persistent Database Resources?

2002-01-14 Thread Nick Wilson
there's a good article on caching there that you'd find usefull. (if not there is *definately* one on www.zend.com) - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Commen

Re: [PHP] Search Engine

2002-01-15 Thread Nick Wilson
ome alternative suggestions but I'm certain that PHP won't be the best tool for the job. - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org

Re: [PHP] PHP & image rollovers question...

2002-01-15 Thread Nick Wilson
have a > stab at helping you. > Hehe, yeah, lets see the code! - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8RHhUHpvrrTa6L5oRArGC

Re: [PHP] Beginner: Open URL

2002-01-16 Thread Nick Wilson
'm not sure what you mean can you be a little more detailed? I can tell however that PHP is *not* a substitute for HTML. If you want something like the tag then *use* the tag. HTH - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com -BEGIN P

Re: [PHP] Beginner: Open URL

2002-01-16 Thread Nick Wilson
like the tag then *use* the tag. > > in fact i want something like the tag, but the new url should be opened > within a php if-statement, not by user-clicking. Is that more detailed for > you? Some page"); } else print ("Another page"); ?> Try that. - -- N

Re: [PHP] Is there Any way to call Non-Existent function in PHP

2002-01-16 Thread Nick Wilson
AUTOLOAD method in a package. > You'll have to check the manual but I'm pretty sure there's a func_exist() function that should do the trick. I checked the manual myself but they must have changed the way it works as I couldn't find a damn thing! - -- Nick Wilson Tel:

Re: [PHP] variable problem - help!

2002-01-16 Thread Nick Wilson
> > I'm just wondering if I could do this trick using other ways of writing > it. > I'm not sure of the syntax but you need to be looking ar variable variables, there's a whole section on it in the manual. HTH - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3

Re: [PHP] CONTINUE - variable problem - help!

2002-01-16 Thread Nick Wilson
: > > > echo "...some html code..."; > $row["somename_$var"]; > echo "...the continuation of the html code"; > Shouldn't that be print($row["somename_$var"]); Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.

Re: [PHP] Job Needed !!!

2002-01-16 Thread Nick Wilson
a new bicycle, a house with a swimming pool and several million $'s but I'm not likely to get that here either. And the 'small plastic trumpet' award for ridiculous postings goes to... Prachait Saxena! - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web

Re: [PHP] Job Needed !!!

2002-01-16 Thread Nick Wilson
s maybe offering to help in a free > software project? Hadn't even occured to me, but I suspect this is not the case. Have a good evening. Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GN

Re: [PHP] Package Ready to Install !!!

2002-01-16 Thread Nick Wilson
inks on this subject. You can check it out at: www.explodingnet.com/articles/latest/7/ HTH - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnu

Re: [PHP] PHP & HTML: newbie question

2002-01-16 Thread Nick Wilson
can¹t parse > line 1 > > Line 1 is simply the tag!! > > On one of their user forums someone suggested getting rid of the HTML tags > so I did and just left the PHP code on its own and this works fine ­ so how > can I use PHP with HTML? RTFM The Manual is your friend")

Re: [PHP] Changing form look without reloading

2002-01-17 Thread Nick Wilson
; you selected > 3) Without reloading the page... > > Show/hide layers I can figure out myself... I dont want to have X hidden > layers with X times 10 checkboxes within each of them. > Well, you won't do that with PHP - -- Nick Wilson Tel:+45 3325 0688 Fax:+45

Re: [PHP] string to array??

2002-01-17 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * On 17-01-02 at 11:46 * Sandeep Murphy said > hi, > > can i convert a string to an array?? if so how shud the syntax read?? > > Thnx, > > sands > Check out explode() www.php.net/manual/en/function.explode.php

Re: [PHP] string to array??

2002-01-17 Thread Nick Wilson
guage.types.string.php > > Hmmm. I didn't know that! > Actually, using the [] syntax is deprecated - using {} is the new way > - but I'm a creature of habit... > Or that! - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet

Re: [PHP] PHP and mySQL

2002-01-17 Thread Nick Wilson
mysql nothing > happens. > > Please help > > Thanks, > Morten > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administra

Re: [PHP] strange problem

2002-01-18 Thread Nick Wilson
ot take %coding, nor '%coding', nor "%coding". > Can someone help me out ? > Marc No idea, but a fella on this list told me [] had been deprecated in favour of {} Maybe that has something to do with it? - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0

Re: [PHP] $this objects and vars

2002-01-18 Thread Nick Wilson
script you'll get an sql query > $this = mysql_fetch_array(indentifier); Looks to me like $this is just an ordinary var as it not being used with the pointer thingy (->) Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.e

[PHP] RTFM

2002-01-18 Thread Nick Wilson
f stopped giving detailed answers to Q's like 'my html page shows the php code' and were just a little less tolerant. Feel free to fry me. - -- Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com -BE

Re: [PHP] RTFM

2002-01-18 Thread Nick Wilson
document is not one of them. Occasionally I just 'dont get it' and that's what a *valuable* list is about. Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux)

Re: [PHP] RTFM

2002-01-18 Thread Nick Wilson
er myself in my inclusion) that know a *little* about php refer the *I've discoverd php and it's not easy* comments to good sources such as the FM! we might all benifit a little? Nick Wilson Tel:+45 3325 0688 Fax:+45 3325 0677 Web:www.explodingnet.com -BEGIN PGP S

  1   2   3   4   5   >