[PHP] Copy Array.

2001-07-24 Thread Nick Davies
Anyone know how to copy an array to another name? I'm assumming that $array1 = $array2; doesn't work (at least it doesn't seem too :( ). Thanks. Nick. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] Empty headers with Pspell

2001-07-20 Thread Nick Foster
and pspell with the prefix=/usr/local Can't I code the location of the libraries etc in to PHP? Thanks Nick -- Nick Foster mailto:[EMAIL PROTECTED] http://www.weblocust.co.uk/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: [PHP] Re: Confirmation Requester

2001-07-13 Thread Nick Winfield
about this sort of stuff and it really helps to see working examples - or references to relevant code snippets etc. Example code: a href=blah.php?task=deleteid=33 onclick=return confirm('Are you sure?');Delete/a Cheers, Nick W.. -[ [EMAIL PROTECTED] ]- :: today's word is.. haggis (n): a small

Re: [PHP] Using PHP Variables with a Header

2001-07-09 Thread Nick O'Reilly
the way i would do this is to have the form validation on the same page as the form and when user input has been validated the require another script (keeps global variables) you could try something like this ?php if($submit){ $error_addr = ; //form validation if

Re: [PHP] Using PHP Variables with a Header

2001-07-09 Thread Nick O'Reilly
i have attached the below script to stop the html being parsed is there another way around this? At 11:01 10/07/01 +1000, Nick O'Reilly wrote: the way i would do this is to have the form validation on the same page as the form and when user input has been validated the require another script

RE: [PHP] Re: poor HTML syntax crashing (!) netscape

2001-07-08 Thread Nick O'Reilly
you could also try http://css.nu/pointers/bugs.html if you are using style sheets Nick At 09:08 8/07/01 -0400, you wrote: Even better, to save Dave some time, go to www.w3c.org They have an html validator there...it's strict, but that's the point... jack -Original Message

Re: [PHP] get a screen resolution

2001-07-06 Thread Nick Davies
I think you have to do it with javascript (being client side). But thats all i know. ;) On Fri, 6 Jul 2001, Marc van Duivenvoorde wrote: I'm trying to make a small browser and screen resolution script for my site, the browser part isn't a problem, but I can't find a function for screen

RE: [PHP] optimal code

2001-07-05 Thread Nick Davies
surely the include function only pastes the contents of the included file into the point where the include statement occours. Php still has to parse it all. On Thu, 5 Jul 2001, Richard Heyes wrote: If you are talking about speed, opening a file is expensive because it is a kernel call, a

Re: [PHP] PHP Books

2001-07-05 Thread Nick Davies
On Thu, 5 Jul 2001, Roger Ramirez wrote: On Thu, 5 Jul 2001, Bernie Kruger wrote: Hi, I know this may be a previously discussed topic, but I want to be sure I get the right books. I need a good book on intermediate PHP programming. I am looking to buy PHP 4 Bible, but is that the

Re: [PHP] LDAP

2001-06-27 Thread Nick Talbott
to an attribute. I suspect that from the error message you were getting your LDAP server was doing schema checking and probably the rules were not allowing an entry that was missing the objectclass organization. Regards Nick Talbott IT Policy and Strategy Manager, Powys County Council, UK email

[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

[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 TD 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] Pushing to Multidimensional Arrays.

2001-05-15 Thread Nick Davies
will increment and it will write to the next element. I suppose i could use prev() (could I?) but surely there has to be a better way ;) Thanks. Nick. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

[PHP] Slightly OT - Backing up mySQL...

2001-05-06 Thread Nick Terzich
zipped and put onto my server where I can FTP it. thanks in advance.. Nick __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

[PHP] String delimeters, arg!

2001-05-01 Thread Nick
for your time, Nick

[PHP] session_destroy()

2001-05-01 Thread Nick Adams
Just curious if anyone knows how to properly destroy a session. I tried doing this, session_start(); session_unregister(logged_in); session_unregister(username); session_unregister(password); session_unregister(accesslevel); session_unregister(emailaddress); session_unregister(last_login);

[PHP] Split Weirdness.

2001-04-30 Thread Nick Davies
getting Maximum execution time of 30 seconds exceeded errors. Thanks in advance. Nick. -- 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 administrators, e-mail: [EMAIL PROTECTED]

[PHP] SVG PHP

2001-04-25 Thread Nick Winfield
it bulky and a bit cumbersome in places - however, if I have to, I guess I have to. :) TIA, Nick Winfield -[ [EMAIL PROTECTED] ]- -- 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

Re: [PHP] php powered forums

2001-04-23 Thread Nick Terzich
http://www.vbulletin.com/ Can anyone recommend a good php powered forum that I could use on my site. = -- Nick Terzich Creative Director - PopSmack, LLC Insane Advertising Posse http://www.popsmack.com/studio __ Do You Yahoo!? Yahoo

Re: [PHP] php site down?

2001-04-10 Thread Nick Davies
There seems to be some routing problem at ALTER.NET (from the uk anyway). Nick. On Tue, 10 Apr 2001, Michael Hall wrote: I've been trying to get to the annotated manual all afternoon but can't get through to www.php.net. Anyone else have the same problem? Mick -- PHP General

[PHP-CVS] cvs: php4 / NEWS /ext/odbc php_odbc.c

2001-04-02 Thread Nick Gorham
lurcher Mon Apr 2 08:18:47 2001 EDT Modified files: /php4 NEWS /php4/ext/odbc php_odbc.c Log: Added small change to php_odbc module, to check for failed SQLDisconnects and to close any outstanding transactions if the call fails, then

Re: [PHP] RE: [PHP-DB] Best way to check if a query succeeded

2001-03-29 Thread Nick Davies
Doesn't the command return 1 or 0 in success or failure? You may not have a result Probably wrong but something like if (mysql_query($query)) { } else { } or you could die out mysql_query($query) or die On Thu, 29 Mar 2001, Boget, Chris wrote: i was just wondering what you

[PHP] Opening Remote Files

2001-03-27 Thread Nick Norton
Does anyone know of a method to read a remote password protected file without actually downloading it locally and then reading? - Nick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

[PHP] POST Method.

2001-03-15 Thread Nick Davies
How do i forward POST data from a php script. Obviously GET is simple (just script.php?$QUERY_STRING) but how does it work with post? Thanks. Nick. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re: [PHP] POST Method.

2001-03-15 Thread Nick Davies
as a form and the action was set to a script called action.php and then you wanted to pass that data to yet another script, you could pass the values in the url or a session variable or hidden fields in another form. Keith On Thu, 15 Mar 2001, Nick Davies wrote: How do i forward POST data

[PHP] POST conversion.

2001-03-15 Thread Nick Davies
Hi (again). Is there a simple was to take post data from a form and create a query string out of it? Thanks. Nick. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re: [PHP] Good Free PHP Editor?

2001-03-12 Thread Nick Davies
How about linux ones? I just tend to use vim or emacs but i'm sure there are some out there. On Sun, 11 Mar 2001, Aviv Revach wrote: Hey! PHPEd is free: * Runs under Windows. * Has syntax highlighting. Supports: Html, Perl, Php, SQL, and regular text files. * Can edit

Re: [PHP] Mailing List

2001-03-12 Thread Nick Davies
On Mon, 12 Mar 2001, Harshdeep S Jawanda wrote: Hi, Harshdeep S Jawanda wrote: I suppose you must already have tried sending mail to [EMAIL PROTECTED] by now. I tried this address and it worked for me. Obviously ;) -- Regards, Harshdeep Singh Jawanda. -- PHP

Re: [PHP] content-type problem with file uploads

2001-03-12 Thread Nick Davies
Content-type = not Content-Type = ... On Mon, 12 Mar 2001, James Tremain wrote: I've been successfully uploading graphic files to a directory on my php server for more than a year. Suddenly, it no longer works, and after a lot of probing, I'm at a loss to determine why. I run

[PHP] header

2001-03-11 Thread Nick Kostirya
Hello! Why header under Windows do not work? Nick -- 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 administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] Qmail problem

2001-03-09 Thread Nick Davies
Technically you shouldn't need to change anything if the sendmail symlink is in the same place as the original sendmail. It looks like you have a problem with your qmail configuration. Can you telnet to port 25 of your box and get the qmail blurf? Nick. On Thu, 8 Mar 2001, pete collins

Re: [PHP] displaying information

2001-03-09 Thread Nick Davies
On Fri, 9 Mar 2001, Jason Stechschulte wrote: On Thu, Mar 08, 2001 at 09:32:25PM -, george wrote: I am building a site which pulls FAQ's out of the database onto a page,but having just finished reading the FAQ's I realise that they will have to be spread over a few pages, how to I

Re: [PHP] Functional Programming Style?

2001-03-09 Thread Nick Davies
Argh Haskell - All the bad memories come flooding back. On Fri, 9 Mar 2001, Ted Goranson wrote: Hello-- Is PHP suitable for programming in a Haskell-like fashion? Is there existing information on how to do this? Best, Ted _ Ted Goranson Fusecap and Sirius-Beta,

Re: [PHP] ldap_search()

2001-03-08 Thread Nick Talbott
tion, you might set the basedn for the search to be ou=Whatever Section,o=Your Organisation,c=US HTH Nick Talbott IT Policy and Strategy Manager, Powys County Council, UK email [EMAIL PROTECTED] FAX +44 (0) 1597 824781 web http://www.powys.gov.uk and http://www.powysweb.co.uk -Original Message

Re: [PHP] time and date function

2001-03-06 Thread Nick Davies
Just convert the time to unixtime and - 5*60 (5 mins). On Tue, 6 Mar 2001, Augusto Cesar Castoldi wrote: Can I do any "subtraction" with times and/or dates on php or mysql? I have two times (HH:MM:SS). And I want to know if there is a diference of 5 min between the times. Is there

RE: [PHP] Redirect using PHP to a new browser window.

2001-03-06 Thread Nick Norton
If the only thing you plan on doing after incrementing your counter is going to the new page, why not put the target="_blank" in the a tag that points to your script. Then you'll do your counter script and redirect when you're already in a new window. -- PHP General Mailing List

RE: [PHP] Please Help!!!! - Really BASIC stuff!

2001-03-06 Thread Nick Norton
Just put the following instead of a long switch and keep your file naming conventions consistent include("side_$page.txt"); -- 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

RE: [PHP] session_start

2001-03-06 Thread Nick Norton
To assign session variables you need to reference them by name: $username = "new_user"; -- 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 administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] file upload size limits

2001-02-15 Thread Nick Winfield
On Thu, 15 Feb 2001, Scott wrote: I am uploading files and want to limit the size of the file. I can do this as long as the file that I am uploading doesn't exceed the Server limit. We don't own the server so I can't change any configuration on the server. Is there a way to Catch the

[PHP] HTTP Authentication

2001-02-07 Thread Nick Kostirya
Hi, all. HTTP Authentication in PHP 4 - Apache don't work!!! Help me. Best. __ ?php if(!isset($PHP_AUTH_USER)) { Header("WWW-Authenticate: Basic realm=\"My Realm\""); Header("HTTP/1.0 401 Unauthorized"); echo "Text to send if user hits

Re: [PHP] HTTP Authentication - Message 2

2001-02-07 Thread Nick Kostirya
les/php/php.exe". Do you know what is the matter? Thanks in advance. Nick. - Original Message - From: Shane McBride [EMAIL PROTECTED] To: Nick Kostirya [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, February 07, 2001 7:06 PM Subject: Re: [PHP] HTTP Authentication Nick, I

Re: [PHP] solution

2001-02-06 Thread Nick Talbott
If you want any more information, please contact me off the list. Kind regards Nick Talbott IT Policy and Strategy Manager, Powys County Council, UK email [EMAIL PROTECTED] FAX +44 (0) 1597 824781 web http://www.powys.gov.uk and http://www.powysweb.co.uk -Original Message- From: andreas (@wo

Re: [PHP] functions????

2001-01-27 Thread Nick Winfield
On Sun, 28 Jan 2001, Kumanan wrote: Hi, i got problem with functions when i call the files with url//filename.php?action=pal all the time it says Fatal error: Call to unsupported or undefined function pal_edit() in /cfiles/memberlink.php on line 7 Declare your functions

<    3   4   5   6   7   8