Re: Re: [PHP] PHP Sessions Not Saving

2003-02-03 Thread nick
This is a system automated E-Mail reply. If you email is a request for support then please visit the below URL and lodge your support request. If you cannot access the below URL, then please email [EMAIL PROTECTED] for prompt support. http://www.wildcomm.net/support.php If this is not a

[PHP] site error

2003-08-04 Thread Nick
#x27;) in Unknown on line 0 Can anyone explain why im getting this error, i made no changed before i got this error. -- Nick "[EMAIL PROTECTED]" -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re[2]: [PHP] imagecolortransparent()

2002-07-23 Thread Nick
thanks it worked ^^ -Nick "Tom Rogers" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > Tuesday, July 23, 2002, 5:16:43 AM, you wrote: > > N> "Tom Rogers" <[EMAIL PROTECTED]> wrote in message &g

[PHP] imagecolortransparent()

2002-07-22 Thread Nick
i get php to allocate a colour then make it transparent using imagecolortransparent() instead of turning it transparent it becomes black. Is it something i'm doing wrong? can anyone help me? thanx in advance -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www

Re: [PHP] imagecolortransparent()

2002-07-22 Thread Nick
"Tom Rogers" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello Nick, > > Monday, July 22, 2002, 8:47:39 PM, you wrote: > > N> i get php to allocate a colour then make it transparent using > N> imag

[PHP] String delimeters, arg!

2001-05-01 Thread Nick
s = setcookie ("password", $row["pass"], time()+86400, "/", "localhost"); $cookie_step = setcookie ("step", "1", time()+86400, "/", "localhost"); $cookies_set = setcookie ("cookies", "y", time()+86400, "/", "localhost"); } Is there a way to unset the cookie? Perhaps by, $cookie_set = setcookie ("cookies",""); ? Thanks for your time, Nick

[PHP] XSLT variables in PHP

2001-05-17 Thread nick
I'm building an XSLT style sheet for a web site, and part of it revolves around the fact that sometimes a group of will be highlighted and the rest of the time they will be a standard background colour. In the example below, if the XML data that matches "primary", is equal to 1, than i want

[PHP] bitwise comparison

2001-05-18 Thread nick
How can I store a large number, value over 8 billion for bitwise comparison? I have a large set of switchs, getting up to 2 pow 34, and it goes outside the size of an int, can't set a type that will work. Nicholas Burke Strategic Profits Inc. -- PHP General Mailing List (http://www.php.net/

[PHP] ../

2001-12-12 Thread Nick
Does anyone have any problems trying to use / and/or ../ in their paths? Me and a friend are both having problems on our site when we try it. I'm using PHP4 and he's using PHP3. We both get "File not found" errors. Anything we could try? Thanks... -Nick -- PHP Genera

[PHP] PHP & ssi

2001-12-21 Thread Nick
n't know how to do. If anyone can help on that, please do so, and if anyone knows how to get SSI working with PHP, please let me know how. Thanks. -Nick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

Re: [PHP] PHP & ssi

2001-12-21 Thread Nick
Well the include line I needed was this: Shane > > On Friday 21 Dec 2001 5:45 pm, Nick wrote: >> Is it possible to have a .php file parse SSI's? I tried adding .php as a >> SSI file but it overwrote the php type, and wouldn't display PHP. And >> vice-ver

[PHP] Can I detect 128 biit encryption with php

2001-04-09 Thread Nick
Hi Is there a function in PHP that will tell me if the the users browser is using 128 bit encryption or not. Thanks Nick Steele -- 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

[PHP] How to change process permissions?

2001-06-22 Thread Nick
sions set, and I want to be able to overwrite files logged in as myself without su'ing and chown'ing everything first. Is there a way like there is in PERL to change the account the script runs as? Thanks! Nick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMA

[PHP] php's future

2001-09-02 Thread nick
Hi all in the list : I read an news that said jsp/asp.net is better than php.. They made a test that asp/php/jsp/asp.net using "for loops", Jsp from 1 to 2 takes only 4 secs Asp from 1 to 2000 (not 2) takes 72 secs Php from 1 to 2000 (not 2) takes 68 secs Asp.Net from 1 to 2 ta

RE: [PHP] php's future

2001-09-02 Thread nick
6 secs taken if u can read Chinese u can go http://www.webappcabaret.com/jsptw/doc/test-report.htm for more infomation. It's a website which teach jsp at all -Original Message- From: Faisal Nasim [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 02, 2001 7:54 PM To: nick Subject: Re: [PHP] php'

RE: [PHP] php's future

2001-09-02 Thread nick
Haha I tried its code and it only takes 1~2 secs to run it . Wellgod damn lies -Original Message- From: nick [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 02, 2001 8:38 PM To: 'Faisal Nasim'; [EMAIL PROTECTED] Subject: RE: [PHP] php's future It

[PHP] Mail System Error - Returned Mail

2004-07-27 Thread nick
The original message was included as attachment -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] making links out of records? newbie

2005-03-15 Thread Nick
echo "\n"; while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) { echo "\t\n"; foreach ($row as $col_value) { echo "\t\t$col_value\n"; } echo "\t\n"; } echo "\n"; ?> Any help much appreciated, nick. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] making links out of records? newbie

2005-03-15 Thread Nick
l_error()); // Printing results in HTML echo "\n"; while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) { echo "\t\n"; $id = $row['id']; foreach ($row as $col_value) { echo "\t\t$col_value\n"; } echo "\t\n"; } echo &qu

[PHP] how to write IF statement for login script

2005-03-23 Thread Nick
dnum)) { // 99 is the id number of the site administrator header("Location: admin.php"); } else { header("Location: login.php"); } Thanks, Nick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] how to write IF statement for login script

2005-03-23 Thread Nick
Thanks, that seems to have worked. M. Sokolewicz wrote: Nick wrote: Hi, I have a login script which has worked fine in the past, however i need to change the IF statement. Basically all i want it to do is verify that $squadnum variable is inbetween 1-98 or is 99. I'm not even entirely su

[PHP] trying to unsubscribe

2005-05-12 Thread nick
i followed the instructions to unsubscribe because i am out of the country. did not work apparently. can a mod help me please. nick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] function args declared by-reference, with default value?

2002-11-25 Thread Nick Eby
true or false: when declaring a function, a given argument can be declared to pass by reference, or can be declared to have a default value, but never both. i.e., you can only write one of: function foo(&$param) function foo($param = "bar") but never the equivalent of: function foo(&$param = "ba

[PHP] Re: mail() question!

2002-11-25 Thread Nick Eby
you can use the (optional) headers argument to mail() and add the From header: mail ($to, $subject, $body, "From: $from"); "Beauford.2002" <[EMAIL PROTECTED]> wrote in message 000f01c294e0$6ce1fcd0$6401a8c0@p1">news:000f01c294e0$6ce1fcd0$6401a8c0@p1... > Hi, > > I have a form where a user enters

[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] PHP Course - San Francisco, CA 12/16-12/18

2002-12-02 Thread Nick Cawthon
PHP Programming Bootcamp DESCRIPTION: This hands-on PHP Programming course provides the knowledge necessary to design and develop dynamic, database-driven web pages using PHP version 4. PHP is a language written for the web, quick to learn, easy to deploy and provides many advantages over other se

[PHP] Re: Show Folder Contents in Form

2002-12-02 Thread Nick Eby
you could first read the files and their modified-dates into an array; sort the array; and finally build a select widget from the array... function sortByTime($a, $b) { if ($a["time"] == $b["time"]) return 0; return ($a["time"] < $b["time"]) ? -1 : 1; } while (false !== ($file = readdir("

[PHP] Re: invalid range

2002-12-02 Thread Nick Eby
looks like because you have a dash inside your character class; when inside a character class the dash is a special character and you'd have to escape it eregi("^([a-zåäö_\.\- ]+)$", $value); "Peter A" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... when I do thi

[PHP] Medium to Large PHP Application Design

2003-01-09 Thread Nick Oostveen
cific benefits do they bring to the table? These are just some of the questions that I'd like to see expanded upon, I'm sure there are others out there who can add more to the list. Nick Oostveen -- 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

RE: [PHP] Alternate row colours - what is wrong with this code?

2003-01-17 Thread Clarkson, Nick
I think it's because you're setting the bgcolor="#bf" for the TD tag, so it's overriding using the TR tag bgcolor. The maths is OK, so if you remove the td bgcolor bit it *should* (standard disclaimer) work. Nick -Original Message- From: Denis L. Menezes

RE: [PHP] Alternate row colours - what is wrong with this code?

2003-01-17 Thread Clarkson, Nick
I've just tested this stripped down (some colours changed) version of your code and I get alternating rows no problem. On another point, without the tags it won't work properly. I think your PHP works fine, it's your HTML ;o) Nick "; for ($i = 0; $i<10;) { print &

[PHP] Database abstraction class

2003-01-20 Thread Clarkson, Nick
ll down queries Are there any other properties/methods that would be useful ? Links/advice welcome (read "needed") Cheers, Nick This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Pr

RE: [PHP] Measuring Query Times

2003-01-22 Thread Clarkson, Nick
There's exactly the code you're looking for I think over on Evilwalrus - http://www.evilwalrus.com/viewcode/632.php Hope it helps, Nick -Original Message- From: Peter Janett [mailto:[EMAIL PROTECTED]] Sent: 22 January 2003 06:46 To: [EMAIL PROTECTED] Subject: [PHP] Measu

RE: [PHP] HELP please quickly

2003-01-22 Thread Clarkson, Nick
hat way tho...I'll keep looking. As an exercise to myself I'll try and recreate it using the 2 example files belowdunno how long it'll take me tho ;o) Good luck Nick -Original Message- From: Rick Emery [mailto:[EMAIL PROTECTED]] Sent: 22 January 2003 13:57 To: Did

RE: [PHP] HELP please quickly

2003-01-22 Thread Clarkson, Nick
e preg_match bit (it just needs to compare/match 2 strings) then could you add to this ? I looked at the preg_match function on the php site, but I couldn't make head nor tail of it :o/ Good luck with it Nick $line) { //if (preg_match ("/$line/",

RE: [PHP] A simple question please.

2003-01-22 Thread Clarkson, Nick
you like as long as the HTML makes sense. Nick Another example, from http://www.php.net/manual/en/function.include.php ...etc. -Original Message- From: Denis L. Menezes [mailto:[EMAIL PROTECTED]] Sent: 22 January 2003 15:21 To: PHP general list Subject: [PHP] A sim

RE: [PHP] Re: query caching & caching in general

2003-01-23 Thread Clarkson, Nick
I found this on Zend - SQL Query Caching - http://www.zend.com/zend/tut/tutorial-staub2.php; "The basics to caching is using the serialize() and unserialize() PHP functions..." I don't know if this will help. Nick -Original Message- From: Peter Janett [mailto:[

RE: [PHP] Disable pic copy/save?

2003-01-23 Thread Clarkson, Nick
user want to save an advert anyway ? I don't believe I've ever saved an advert graphic - in fact I quite often resort to banner blocking, because some sites in particular go OTT on their use. Nick -Original Message- From: Anthony Rodriguez [mailto:[EMAIL PROTECTED]] Sent: 23

[PHP] Sessions & Security

2003-01-23 Thread Clarkson, Nick
Hi, I am trying to find the best method for implementing sessions in PHP to track/limit users. However, the more I read, the more I am concerned about security. Can anyone give me a definitive answer as to the best method of tracking users with security in mind ? Thanks, Nick This private

RE: [PHP] Sessions & Security

2003-01-23 Thread Clarkson, Nick
Thanks - I've only just joined the list so must have missed your previous msgs. I'll give them a read later. Thanks again. Nick -Original Message- From: Chris Shiflett [mailto:[EMAIL PROTECTED]] Sent: 23 January 2003 15:28 To: Clarkson, Nick; [EMAIL PROTECTED] Subject

[PHP] PHP error page not redirecting

2003-02-10 Thread Nick Holden
net for more details" - which, naturally, I have done, without enlightenment. But the script works nicely on another server, suggesting that it might be something to do with the Apache configuration. I'm rapidly getting out of my depth now, and would appreciate some guidance on where to

Re: [PHP] PHP error page not redirecting

2003-02-10 Thread Nick Holden
On Mon, 2003-02-10 at 11:22, Chris Hewitt wrote: > Nick Holden wrote: > > >I'm having a dispute with an ISP (surprise) about the non-functioning of > >a PHP error script. > > > >Currently, the error script is at > >http://www.touristguides.org.uk/error.

[PHP] Help with authentication 'design'

2003-02-18 Thread Clarkson, Nick
able on each following page enough ? Hopefully this is relevant here. Thanks, Nick This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg

RE: [PHP] Help with authentication 'design'

2003-02-18 Thread Clarkson, Nick
it be better to do this; $result=mysql_query("SELECT * FROM users WHERE md5(username=)'".md5($_SERVER['PHP_AUTH_USER'])."' AND password='".md5($_SERVER['PHP_AUTH_PW'])."'", $dbconn) or die ('Unable to execute query.');

RE: [PHP] Help with authentication 'design'

2003-02-18 Thread Clarkson, Nick
ld be appreciated. Thanks, Nick -Original Message- From: Peter Hicks [mailto:[EMAIL PROTECTED]] Sent: 18 February 2003 14:43 To: Clarkson, Nick Cc: '[EMAIL PROTECTED]' Subject: RE: [PHP] Help with authentication 'design' Nick, md5 is a hashing function, not an encry

[PHP] Automatic .htaccess Authentication?

2003-02-27 Thread Nick Oostveen
I'm looking for a way to have php automatically log a user into an htaccess protected directory. My problem is as follows. I currently have a large number of php scripts which use a database authentication system. Unfortunately, there are also a number of old CGI scripts which need to be prot

[PHP] PHP/HTML Question

2003-07-17 Thread Nick Couchman
r (which makes sense, since it is mainly client-side), and I don't know about CGI. Thanks, Nick -- You can't make a difference until you are willing to be different! -- Nick Couchman SEAKR Engineering, Inc. 6221 South Racine Circle Centennial, CO 80111 Direct: (303) 784-7724 Main: (303

Re: [PHP] PHP/HTML Question

2003-07-17 Thread Nick Couchman
It sounds like from what Jay Blanchard said you need a reload with sockets, anyway, and yes, that would probably be overkill. Thanks, Nick -- You can't make a difference until you are willing to be different! -- Nick Couchman SEAKR Engineering, Inc. 6221 South Racine Circle Centennial, CO 80111 Dir

Re: [PHP] open source content management systems?

2003-07-29 Thread Nick Talbott
off-list if you wish. Regards - Nick -- Nick Talbott, Powys County Council (UK) IT Policy and Strategy Manager/Rheolwr Polisi a Chynllunio TGCh -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Best PHP CMS

2003-08-05 Thread Nick Talbott
ackage and may be too sophisticated (and hence maybe not worth the learning curve) for your requirements. If you either need a large setup with many content authors, or are likely to use it for a number of sites it's well worth the effort. Ask me off-list if you have any specific questions.

[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

Re: [PHP] Parse error - new set of eyes?

2002-07-25 Thread Nick Oostveen
Ok, I noticed a couple things. One: There's no } ending your elseif statement. Two (and the big one): Why all the opening brackets before your isset() functions? I'm not sure if you're trying to do some nested logic in there, but if so it will be much more readable if you use nested if stateme

Re: [PHP] calling user-defined php functions from tag

2002-07-26 Thread Nick Oostveen
Check out http://www.faqts.com/knowledge_base/view.phtml/aid/277/fid/40 Essentially you'll want to use this this combined with get variables hard coded into your url. For example: function 1 function 2 At 11:13 PM 7/26/2002 -0400, Bob Lockie wrote: >--Original Message Text--- >From: Michael >

Re: [PHP] Oracle 8i SQL Problem..

2002-07-28 Thread Nick Oostveen
I could be wrong on this but I believe that Oracle 8i uses a proprietary join syntax. This support has been added in the latest version of Oracle, but with 8i I believe you're out of luck using the left join keywords. Check out http://certcities.com/certs/oracle/columns/story.asp?EditorialsID

[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

Re: [PHP] Why Protect PHP coding?

2002-08-02 Thread Nick Oostveen
Check out the Zend Encoder at http://www.zend.com to generate encoded php files. It is, however, a bit pricey. At 12:47 AM 8/2/2002 -0400, php @ banana wrote: >Just out of curiosity when and why? > > >Is there any method to encrypt PHP files. > > > >Nyon > > > > > >-- > >PHP General Mailing Lis

Re: [PHP] re:Using PHP to reboot the linux server

2002-08-02 Thread Nick Oostveen
Does the user apache is running as have access to reboot the server? At 07:18 PM 8/2/2002 +, you wrote: >I am using the below command in the php page to reboot the linux server. >But nothing happens . Where am i wrong or do i have to give a path or >nething . Please help. > > >$output = she

[PHP] Install

2002-08-03 Thread Nick Niehoff
te.lo): In function `safe_free_zval_ptr': /root/php-4.2.2/Zend/zend_execute.h:59: undefined reference to `ts_resource_ex' collect2: ld returned 1 exit status make[1]: *** [php] Error 1 make[1]: Leaving directory `/root/php-4.2.2' make: *** [install-recursive] Error 1 Can

[PHP] starting Apache

2002-08-03 Thread Nick Niehoff
: ts_resource_ex Can Anyone Help? Nick __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP warning with 4.2

2002-08-08 Thread Nick Oostveen
You should be able to fix this by changing the function DECLARATION for the argument in question to take the variable by reference instead of by value (which is the default). So it should be something like: OCIFetchInto ( $var1, &$rvar2, $var3 ) What you are currently doing is specifying at

Re: [PHP] Persistant Connections

2002-08-14 Thread Nick Oostveen
Persistent connections are typically a good thing to use on high traffic sites as they offer better performance than opening and closing connections for each database request. The reason for this is the overhead used in opening a database connection is actually quite high. While keeping them o

Re: [PHP] PHP - class question

2002-08-14 Thread Nick Oostveen
If you are just trying to access a classes functions without creating an instance of it you're probably looking to use the scope resolution operator ::. For this to work all you have to do is ensure that the definition for the class you wish to use is included into the file containing the clas

[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] Calling class functions using string variables?

2002-09-22 Thread Nick Richardson
else I can think of… and they all give parse errors when the class name is a string var. (i.e. myClass::$fuName() works fine (as expected) but $clName::myFunc() does not). Everytime it doesn't work, it just gives a simple parse error. Any suggested are much appreciated! Thanks in advance

RE: [PHP] Calling class functions using string variables?

2002-09-22 Thread Nick Richardson
t;myClass"; $fu = "myFunc"; eval("$cl::$fu();"); -Original Message- From: Nick Richardson [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 22, 2002 12:50 PM To: 'PHP General' Subject: [PHP] Calling class functions using string variables? Hi, Anyone kno

[PHP] mysql_num_rows error

2002-09-22 Thread Nick Varner
I am new to php and that the folowing error: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/tbonestu/public_html/smallimages.php i dont know what i am doing wrong here is the code: @ $db = mysql_pconnect(connect info); mysql_select_db("images"); $q

[PHP] Inheritance and a class function: on what class was it called?

2002-10-02 Thread Nick Eby
Assume you've got some class that has one or more classes inherited from it. The parent class has a function that is normally called using the :: operator (a class function). Assume also that the class function is never called from an object function. Is it possible to find if the class function

Re: [PHP] Inheritance and a class function: on what class was it called?

2002-10-02 Thread Nick Eby
) when the function is called using :: thanks /nick "Debbie Dyer" <[EMAIL PROTECTED]> wrote in message 054c01c26a3f$34f6d230$de093c3e@homepc">news:054c01c26a3f$34f6d230$de093c3e@homepc... > I think I know what you mean. You could get it to return the name of the > class.

Re: [PHP] Inheritance and a class function: on what class was it called?

2002-10-02 Thread Nick Eby
esult. sorry this is so confusing, I probably should've used the term "static" from the beginning. /nick - Original Message - From: "Debbie Dyer" <[EMAIL PROTECTED]> To: "Nick Eby" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wedn

Re: [PHP] Inheritance and a class function: on what class was it called?

2002-10-02 Thread Nick Eby
icFunc() { echo get_class($this); } } Class B extends A {} B::staticFunc(); thanks again /nick - Original Message - From: "Rasmus Lerdorf" <[EMAIL PROTECTED]> To: "Debbie Dyer" <[EMAIL PROTECTED]> Cc: "Nick Eby" <[EMAIL PROTECTED]>; <[EMAIL

Re: [PHP] Inheritance and a class function: on what class was it called?

2002-10-02 Thread Nick Eby
have to know on what class they were called. anyway thanks again /nick - Original Message - From: "Rasmus Lerdorf" <[EMAIL PROTECTED]> To: "Nick Eby" <[EMAIL PROTECTED]> Cc: "Debbie Dyer" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent:

[PHP] Re: elseifs and ereg

2002-10-04 Thread Nick Eby
check the manual page for ereg... you'll find that it takes 2 parameters minimum, and the return value is not what your code expects it to be. http://www.php.net/ereg "Bryan Koschmann - Gkt" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Okay, I think I'm just

[PHP] Re: ASP Option Explicit equivalent in PHP

2002-10-09 Thread Nick Eby
There's 2 ways to get that: use the php.ini setting ERROR_REPORTING, or the function error_reporting(). to see undeclared variable use, call error_reporting(E_NOTICE) at the top of your script. http://www.php.net/manual/en/function.error-reporting.php /nick "R . Z ." <[EMAIL

[PHP] Re: ASP Option Explicit equivalent in PHP

2002-10-09 Thread Nick Eby
wait, I take that back... I meant "to see uninitialized variable use", since there's really no such thing as "declaring" a variable in PHP unless it's a class member. "Nick Eby" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:

Re: [PHP] Re: two submit buttons redirecting to two scripts

2002-10-14 Thread Nick Eby
nt output). either get rid of all output before line 13, or use a different method to perform the redirect. otherwise it looks ok. good luck /nick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: upload directory

2002-10-14 Thread Nick Eby
"Jennifer Swofford" <[EMAIL PROTECTED]> wrote: >Is there an easy way to upload an entire directory? Rather than selecting the 19 files in a directory, to just select the directory, and have all its contents go with it? (Or even a not-such-an easy way?) Since uploading a file to your webserver

[PHP] PHP Shopping Carts

2002-10-15 Thread Nick Oostveen
$200) products out there and would appreciate hearing your experiences and recommendations so that I can filter out the good from the bad. Thanks, Nick Oostveen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Understanding the =& operator...

2002-10-25 Thread Nick Eby
"Chris Boget" <[EMAIL PROTECTED]> wrote in message news:023501c27c62$23b74dd0$8c01a8c0@;ENTROPY... > Ok, let me see if I have this right: > > When you do: > > $var = new myClass(); > > $var instantiates and holds a copy of myClass. No. The "new" operator makes a new object which is an instance o

[PHP] oracle: updating clob causes error 600

2002-10-27 Thread Nick Eby
shed some light? thanks /nick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] oracle: updating clob causes error 600

2002-10-28 Thread Nick Eby
"Maxim Maletsky" <[EMAIL PROTECTED]> wrote in message news:20021028122405.4F05.MAXIM@;php.net... > What's the Oracle version? 8.1.7 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: POST-ing or GET-ing an array

2002-10-29 Thread Nick Eby
t you probably would never approach the limit.) /nick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[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] Re: CSS pulls me back in

2002-10-30 Thread Nick Eby
is Constants.inc in the same directory as Stylesheet.php? "Liam Gibbs" <[EMAIL PROTECTED]> wrote in message news:D64360C926B9F34F8B35F78D07B8E7A2716E23@;postman.dfait-maeci.gc.ca... > Still having trouble with CSSs. Now it's a different error. Below is my CSS > code. For some reason, I can't get

[PHP] Re: Secure PHP Form

2002-10-30 Thread Nick Eby
be wary of IE on a macintosh, i seem to remember that IE5 on a mac has the same nuts and bolts as IE4 on windows. can anyone back me up on that? "Pushpinder Singh Garcha" <[EMAIL PROTECTED]> wrote in message news:9787EE5E-EC3E-11D6-A12B-003065DBDE68@;masterstream.com... > hi all > > I am using a

Re: [PHP] Getting Newest

2002-11-06 Thread Nick Eby
you could make a union of all the records, and order by newest date first: (select id, date, name, text from table1) union (select id, date, name, text from table2) union (select id, date, name, text from table3) order by date desc then select the first record /nick -- PHP General Mailing

[PHP] POP3 Email

2002-11-07 Thread Nick Hird
I have seen a few things where PHP can get IMAP email, but can PHP get POP3 email as well? I want to write a PHP application to get my POP3 email from my server. Can I do it with PHP? Or no? Thanks for your time.

[PHP] wanted: array_diff for more than values

2002-11-08 Thread Nick Eby
five minutes to write such a function, i'm wondering, does one already exist and i just can't find it in the manual? thanks /nick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   3   4   5   6   7   8   >