[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] 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] 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] 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] 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

[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] 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] 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] 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

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

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

[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 (

[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] 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

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] 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] 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

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

[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] 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] 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

[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] 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] 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

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?

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] 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

[PHP] Matching strings in a flat/text file?

2001-10-22 Thread Nick Richardson
##end ##nissan This is more content... yadda yadda ##end Any ideas on how i can do this??? //Nick Richardson [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 administr

RE: [PHP] Matching strings in a flat/text file?

2001-10-22 Thread Nick Richardson
ess i could write a front end to let them add stuff to the database... but i'm lazy like that ;). To do the 3 things you suggested, can you give me a code snippet to do that? //Nick -Original Message- From: Jack Dempsey [mailto:[EMAIL PROTECTED]] Sent: Monday, October 22, 2001 1

[PHP] mysql_pconnect to remote system

2001-10-22 Thread Nick Richardson
need to connect to the database from my win box - and it's giving connection failed messages. This is what i'm doing: \n"); exit(); } ?> and every time it gives me the error. - do i need to change the script? or do i need to contact the ISP that's hosting the

RE: [PHP] PHP/Apache/Windows 2000 - Does not send mail

2001-10-23 Thread Nick Richardson
d enable relaying go to the delivery tab under outbound security, verify it's set to anonymous access. If all this stuff is setup, you should be able to use mail() - //Nick -Original Message- From: Yuval Zukerman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 23, 2001 8:31 PM To:

RE: [PHP] MSSQL 7.0 and PHP

2001-10-23 Thread Nick Richardson
my understanding (and i could be totally wrong) is varchar only accepts values up to 255 (so does char). To get larger than that you have to use 'text' (i.e. create table ( text not null..); -Original Message- From: Franco Breciano [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 2

RE: [PHP] cron not allowed

2001-11-13 Thread Nick Winfield
rontab, running the script whenever and writing any output to either a log file or /dev/null - a matter of taste, I believe. :) You have to ./configure PHP without Apache support though for it to build a PHP binary. Cheers, Nick Winfield. -- PHP General Mailing List (http://www.php.net/) To unsubscr

[PHP] snmpv3 for php4 and later

2001-12-07 Thread Yan nick
Hi, I need to use snmpv3 function in php4. One day, someone called Harrie Hazewinkel from Twente University has modified ext/snmp to include functions that supported SNMPV3. But that was for PhP3, what about php4 ? I found a package for php4 : http://www.ncinter.net/~bert/php-snmp-v4.tar.gz

[PHP] How to get week number from date

2001-12-11 Thread Nick Ward
help and advice would be greatly appreciated. Regards Nick Ward -- 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] array in sessions

2001-12-17 Thread Nick Winfield
one knows a solution, plz > tell Why not just store the whole array, like this :: Cheers, Nick Winfield - [ http://www.pi0.org/ ] -- 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] 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 the

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 g

[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 disconne

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? > > M

Re: [PHP] LDAP

2001-06-27 Thread Nick Talbott
organization" to the objectclass, then replaces this by assigning "uidObject" to the same variable. I think what you need is $info["objectclass"][0]="organization"; $info["objectclass"][1]="uidObject"; This is the way you assign multi

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 cal

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

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] 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 &g

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 user_input must = ok "; } ?> hope this helps nicko At 05:10 9/

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 r

Re: [PHP] Re: Confirmation Requester

2001-07-13 Thread Nick Winfield
references on actually doing it? > I'm still learning about this sort of stuff and it really helps to see working > examples - or references to relevant code snippets etc. Example code: Delete Cheers, Nick W.. -[ [EMAIL PROTECTED] ]- :: today's word is.. haggis (n): a

[PHP] Empty headers with Pspell

2001-07-20 Thread Nick Foster
rking? I can't think of much else to try? Do I reall need to install aspell 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 Mai

[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]

[PHP] PHP inside code problem

2001-08-07 Thread Nick K.
eregi_replace("<","<","$user_message"); $user_message = eregi_replace(">",">","$user_message"); instead of the original one which is $user_message = htmlspecialchars("$user_message"); however, when I check the saved file, it still have and extra \ before the characters " . god damn it I run this code in windows98SR2, maybe it's micro$oft's problem, is it? plz help me.thx dudes nick

[PHP] weird array behaviour

2001-08-15 Thread Nick Davies
rray[$key] it tells me that it's an Array :/ Thanks. 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] new IDE for PHP

2001-08-17 Thread Nick Davies
Is there a alpha/beta of this available now :) On Fri, 17 Aug 2001, Sandy Meier wrote: > Hi! > > At the moment I am writing the PHP support for KDevelop3.0 > (http://www.kdevelop.org). The IDE ist modular and it is very easy to write > plugins, so it is possible to implement support for all

Re: [PHP] $HTTP_REFERER

2001-08-17 Thread Nick Davies
like if ($HTTP_REFERER == "certain host") { do finalise code } On Fri, 17 Aug 2001, Erich Zigler wrote: > I am working on the last half of an Online Signup page for an ISP. > > There is a local .php page on the webserver that actually finalizes the > addition of the user, but ONLY

Re: [PHP] $HTTP_REFERER

2001-08-17 Thread Nick Davies
Sorry missed a bit you'll just need to ereg out the hostname from HTTP_REFERER - take everything after http:// and before /... Nick. On Fri, 17 Aug 2001, Erich Zigler wrote: > I am working on the last half of an Online Signup page for an ISP. > > There is a local .php page on

Re: [PHP] $HTTP_REFERER

2001-08-17 Thread Nick Davies
Probably best to read stuff first ;) try preg_match preg_match("/^(http:\/\/)?([\/]+)/i", $HTTP_REFERER, $hostname); the hostname will be in $hostname[2] Hope it helps. On Fri, 17 Aug 2001, Nick Davies wrote: > > Sorry missed a bit you'll just need to ereg

[PHP] php executable

2001-08-20 Thread Nick Davies
Is it possible to surpress the X-Powered-By: PHP/4.0.6 Content-type: text/html text when running php from the commandline? Thanks. Nick. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP] RE: Multi-dimensional array issue

2001-08-21 Thread Nick Davies
> -- > From: Ken Hopkins [SMTP:[EMAIL PROTECTED]] > Sent: 20 August 2001 21:02 > To: [EMAIL PROTECTED] > Subject: Multi-dimensional array issue > > Hi from a recent PHP convert, > > Having a heck of a time declaring and accessing 2 dimensio

Re: [PHP] Linux

2001-08-21 Thread Nick Davies
./file.bin :) On Tue, 21 Aug 2001, Roman wrote: > Off topic question: > > How I create install file in red hat linux from bin file. > example: in /home/name i have file file.bin and I want create install from > this file > > roman > > > > -- PHP General Mailing List (http://www.p

Re: [PHP] Shell version of php

2001-08-23 Thread Nick Davies
Just compile it without the apache stuff on configure. Then you should have a working php executable in /usr/bin/. All you need to do then is php script.php or put the #!/usr/bin/php at the head of your scripts. (/usr/bin/php -q removes the http headers) Nick. On Thu, 23 Aug 2001, Tom Carter

Re: [PHP] Timestamps operations

2001-08-24 Thread Nick Davies
Erm.. date1 - date2 = seconds (date1 - date2)/60 = mins (((date1 -date2)/60)/60)/24 = days Nick. On Fri, 24 Aug 2001, Alberto wrote: > I have 2 timestamps like mktime(0,0,0,10,10,2001) and > mktime(0,0,0,9,9,2001), I want to know how many days are from timestamp1 to > timestamp2 or

Re: [PHP] redirect

2001-08-24 Thread Nick Davies
Guys this stuff is all in the manual. :) header ("Location: url"); On Fri, 24 Aug 2001, Wilbert Enserink wrote: > Hi all, > > > I have the simplest question maybe, but I can't seem to find the answer. > It's friday. > > > Anybody knows how I can redirect to another url? > > > greetin

Re: [PHP] \n

2001-08-24 Thread Nick Davies
In html? If it is then you should be using . An \n will just put a newline in your source code. Nick. On Fri, 24 Aug 2001, Jeremy Morano wrote: > > Sorry to bother you with what probably seems like a useless question but why > is this not skipping a line? > > &g

Re: [PHP] Fwd: functions returning arrays

2001-08-24 Thread Nick Davies
On Fri, 24 Aug 2001, Frank Loewenthal wrote: > Hi > > Perhaps I am confused, but is it not possible to return arrays in PHP? > > Example: > > function getArray() { > $ret = array('hallo','you'); > return $ret; > } > > $r = getArray(); > > for( $i=0;$i < count($r); $i++) > e

Re: [PHP] public and private parts in classes ?

2001-09-25 Thread Nick Winfield
be private with a underbar at the start. The same applies to properties: class Test { function Test() { $_this->foo = "bar"; } } $n = new Test; echo "foo: " . $n->foo; // returns 'foo: ' Cheers, Nick W.. -[ [EMAIL PROTECTED] ]- :: today's word i

Re: [PHP] public and private parts in classes ?

2001-09-25 Thread Nick Winfield
On Tue, 25 Sep 2001, Andrey Hristov wrote: > Hmmm, > Original: $_this->foo = "bar"; > I think that it must be: > $this->_foo = "bar"; Nope, I tested my code before I posted. :) Definitely $_this->foo Cheers, Nick W.. -[ [EMAIL PROTECTED] ]-

[PHP] Form Spoofing - How?

2004-08-31 Thread Nick Wilson
s for your help ;-) -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Form Spoofing - How?

2004-08-31 Thread Nick Wilson
* and then Marek Kilimajer declared > >So, my question is: What functions/theories/etc should I start looking > >at in order to get started on this? > Check out the various HTTP classes, they have features for submiting forms. Great, where do I find them? thanks! --

Re: [PHP] Form Spoofing - How?

2004-08-31 Thread Nick Wilson
uot; class. Comes with a nice example script for posting forms too, luvverly! ;) Thanks very much m8 -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Help with Strings Please

2004-08-31 Thread Nick Wilson
ere an function that would help me? (couldnt see one...) thx... -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help with Strings Please

2004-08-31 Thread Nick Wilson
rek, you're a star ;-) I *hate* having to ask someone to do my work, "mastering regular expressions' in going on my christmas wish list! hehe... thanks again... PS: Justin, got it covered. Thanks.. -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Authors and Instructors Needed

2004-08-31 Thread Nick Wilson
* and then Keystone Learning Systems declared > Have you always wanted to be a published author but haven't had the time or > opportunity to pursue your goal? > No, but i've always wanted to be a teapot. Does that count? -- Nick W -- PHP General Mailing List (http

Re: [PHP] $_SERVER['HTTP_HOST'] without the 'www.'

2004-08-31 Thread Nick Wilson
* and then Shaun declared > Hi, > > How can I get the URL of the page I am on without the 'www.' i.e. just > mydomain.com? I need to enurse this is correct in case the user types in the > domain without using the 'www.'. parse_url() ;-) -- Nick W

[PHP] Filling Form Values Remotely

2004-09-01 Thread Nick Wilson
out form ready for submission? I've given it some thought and drawn a blank, your insights would be most appreciated... ;-) -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Filling Form Values Remotely

2004-09-01 Thread Nick Wilson
ote form? See > http://us4.php.net/curl cURL ROCKS! ;) thanks m8.. -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Regex for Validating URL

2004-09-02 Thread Nick Wilson
Hi all, yeah, i know, i did do quite a bit of searching but I just cant find it... Does anyone have the regex to make sure an http address is full and without error? like http://www.example.com Much thanks ;-) -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Checkbox Question

2004-09-02 Thread Nick Wilson
Hi all, Im using php's cURL module to submit a form on a remote site. All is *good* so far but i dont know what parameter to pass to ensure that this checkbox is 'checked': so, what is it? a= Thanks very much! -- Nick W -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Regex for Validating URL

2004-09-02 Thread Nick Wilson
page. As I said, I have searched *a lot* for this. That is a bit overkill for me, i just want to validate the syntax of a regular http address. I tried reading the code to extract the needed portion but couldnt work it out ;( Anyone help me out? Thanks.. -- Nick W -- PHP General Mailing List

Re: [PHP] Regex for Validating URL

2004-09-02 Thread Nick Wilson
your silliness. -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Regex for Validating URL

2004-09-02 Thread Nick Wilson
* and then John Holmes declared > From: "Nick Wilson" <[EMAIL PROTECTED]> > > >Does anyone have the regex to make sure an http address is full and > >without error? like http://www.example.com > > (?:http://(?:(?:(?:(?:(?:[a-zA-Z\d](?:(?:[a-zA-Z\

Re: [PHP] Regex for Validating URL

2004-09-02 Thread Nick Wilson
* and then John Nichel declared > John Holmes wrote: > >From: "Nick Wilson" <[EMAIL PROTECTED]> > > > >>Does anyone have the regex to make sure an http address is full and > >>without error? like http://www.example.com > > > > >

Re: [PHP] Regex for Validating URL

2004-09-02 Thread Nick Wilson
* and then Jay Blanchard declared > Easy gentlemen...easy Fair play Jay. This is not my first encounter with mr.social.skills though ;-) -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Regex for Validating URL

2004-09-02 Thread Nick Wilson
* and then John Holmes declared > Seriously, I hope you were being sarcastic or something, Nick. Otherwise > the smart people on the list know how to use filters to tune out idiots. I think it's a clear question. I dread coming to this list in case Jason decides to '

Re: [PHP] Regex for Validating URL

2004-09-02 Thread Nick Wilson
* and then John Holmes declared > From: "Nick Wilson" <[EMAIL PROTECTED]> > >* and then Jason Wong declared besides, i will not be treated that way by anyone without saying somthing. IMO some on this list need to get out a bit more, meet some people, aquire some

Re: [PHP] Regex for Validating URL

2004-09-02 Thread Nick Wilson
* and then Justin French declared > On 02/09/2004, at 11:27 PM, Nick Wilson wrote: > > >* and then Jason Wong declared > >>It would be nice when asking a question to summarise what research > >>you have > >>done. Instead of just saying I'v

Re: [PHP] Regex for Validating URL

2004-09-02 Thread Nick Wilson
* and then Jason Wong declared > - now re-read what I said. I rest my case. Classic. Thankyou Jason, you're a star. I really didnt apreciate just how inept at interaction with peers you truly were. Beautiful, very kind of you to share your wit and comprehension with us all. --

Re: [PHP] Regex for Validating URL

2004-09-02 Thread Nick Wilson
an egotistical half wit. (names have been changed to protect the innocent). The open source community is an awesome thing, but it can breed elitism just as quick as any other 'society'. So chill the fuck out and be nice okay` -- Nick W -- PHP General Mailing List (http://www.php.

Re: [PHP] Regex for Validating URL

2004-09-02 Thread Nick Wilson
7;ll have a look at it now, thanks -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Regex for Validating URL

2004-09-02 Thread Nick Wilson
ally was rather simple. Thanks Manuel, I have it working already but that looks remarkably similar to the one I have, im sure it's the same ;-) thanks again... -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Regex for Validating URL

2004-09-02 Thread Nick Wilson
* and then Justin Palmer declared > Is PHP not open source. > > What a joke. agreed, that was ridiculous. -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Regex for Validating URL

2004-09-02 Thread Nick Wilson
, Dan. I'm with you. :-) PHP is pleasant. I can abide by that ;-) -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: File Transfer

2004-09-03 Thread Nick Wilson
* and then Nadim Attari declared > This gonna help: http://www.php.net/ftp I think you could also use the cURL functions. But ftp seems the way to go... -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Rsync

2004-09-03 Thread Nick Wilson
* and then Syed Ghouse declared > Hi all > > will anybody tell me how to use rsync command to transfer files in php This looks like what you need: http://www.php.net/manual/en/ref.exec.php -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vi

Re: [PHP] Regex for Validating URL

2004-09-03 Thread Nick Wilson
* and then raditha dissanayake declared > Just shows your IQ levels. > Just because PHP is open source does not make this an open source. I think he was talking about the 'spirit' of open source, not the mechanics and legalities of the list. I know i was, so dont assume pleas

Re: [PHP] Using & before a variable

2004-09-03 Thread Nick Wilson
im to fully understand it myself, so im goint to read it 2 ;-) -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] !!Urgent .. Session Problem

2004-09-04 Thread Nick Wilson
ave_path = "C:/WINDOWS/Temp" > ** Damn! should have read the whole thing b4 replying! hehe you might have several php.ini's find the right one! on my gentoo box it's in /etc/apache2/conf/php.ini but there's also one in /etc/php.ini -- Nick W

Re: [PHP] !!Urgent .. Session Problem

2004-09-04 Thread Nick Wilson
* and then Dre declared > first of all thanks for ur reply you're most welcome > there are no white spaces before the and I do have ONLY one php.ini file in the whole system drive (I'm sure of > this) See the other reply, that sounds like it.. i was unaware of this... > is there a special

Re: [PHP] !!Urgent .. Session Problem

2004-09-04 Thread Nick Wilson
;s most probably it! -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] !!Urgent .. Session Problem

2004-09-04 Thread Nick Wilson
* and then Dre declared > I'm sorry about the capital letters > and nop I'm not prepending any files at all Can I get a look at the file? -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Parsing HTML files

2004-09-10 Thread Nick Wilson
Hi all, I was wondering if any classes/functions could help me with this little challenge, (im hopeless at regex ;-) I want to extract the value of 'id' from a webpage. Any simple way to do this or am I down to sweating of the regex functions? Much thanks.... -- Nick W -- P

<    1   2   3   4   5   6   7   8   >