[PHP] include from another URL

2004-05-06 Thread Nik
'; from above code. It then shows a message from 'http://myotherurl.com:8080' Thanks!!! Nik

[PHP] Include from another URL?

2004-05-06 Thread Nik
above code. It then shows a message from 'http://myotherurl.com:8080' Thanks!!! Nik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Include from another URL?

2004-05-06 Thread Nik
Great! Worked as expected. Thanks. Now it is time to ask how do I handle form (HTTP POST request) data into the URL. Can the same fopen() work as well? Thanks, Nik Chris Boget [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Include a content from another URL into the current output

[PHP] Member function as error_handler

2003-03-09 Thread Nik Makepeace
to a method, it defaults to PHP's usual methods. Is it me or PHP? MTIA, Nik -- http://travelog.uberblog.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Syntax query

2003-03-09 Thread Nik Makepeace
()); PHP ME echo pg_fetch_object($this-mr_lastResult); PHP Any ideas? Nik -- http://travelog.uberblog.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Member function as error_handler

2003-03-09 Thread Nik Makepeace
something. Nik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Syntax query

2003-03-09 Thread Nik Makepeace
On Mon, 2003-03-10 at 03:01, Ernest E Vogelsinger wrote: At 13:38 09.03.2003, Nik Makepeace said: [snip] Can anyone tell me why this doesn't work: $db_object = pg_fetch_object($this-getLastResult()); pg_fetch_object() returns an object

Re: [PHP] Displaying few words from record in mySQL

2003-03-08 Thread Nik Makepeace
the abbreviation in the abbr element (title includes the whole string for mouseover) I hope you or anyone else likes it. Maybe some day I'll actually do some proper work instead of writing silly utilities. Nik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] include or function

2003-03-06 Thread Nik Makepeace
. By comparing each key with a parameter you passed in to the function, it would know which option element to give the selected attribute to. Give it a try, and if you have any difficulty, look at: http://nikmakepeace.com/goodies/help/selectbuilder.php (.phps available) Nik -- PHP General Mailing

Re: [PHP] File upload and permissions

2003-03-06 Thread Nik Makepeace
of the machine can't even see what's in the directories in which my users store images. They might be private after all, who am I to say? Nik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Memory errors?

2003-03-06 Thread Nik Makepeace
. Is there some kind of bug, or am I missing something? Are you sure you don't have an infinite loop anywhere? This sort of thing can happen if you have an array or a string being built by a loop that never quits. Nik -- http://travelog.uberblog.com/ -- PHP General Mailing List (http

Re: [PHP] dynamic link converter

2003-03-05 Thread Nik Makepeace
it be easier just to do use a pattern like this /\[([^|]+)\|([^\]]+)/ which gets everything between [ and | (the URI) and | and ] (the link name)? Nik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] dynamic link converter

2003-03-05 Thread Nik Makepeace
it be easier just to do use a pattern like this /\[(.+)\|(.+)\]/ which gets everything between [ and | (the URI) and | and ] (the link name), and also looks pretty? Nik p.s. apologies for bodging the In-Reply-To -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] I'm lost: text file upload

2003-03-05 Thread Nik Makepeace
name=userfile type=file/div divinput type=submit value=Read File/div /form You can view this in action at http://nikmakepeace.com/goodies/upload-string.php Nik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] preg_split

2002-12-28 Thread Mr Nik Frengle
/body/html This was done as a test to figure out what was going on. I am probably making some stupid newbie mistake, but I have no idea what it is. Any ideas? Best, Nik __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http

[PHP] closing a browser-window with php

2002-06-26 Thread nik crosina
or location). can i use php to call a webpage that calls a php script and immediately (without user interaction such as confirming a dialoguebox) opens the 'actual' browser window at the correct location and the right size? thanks in advanced for your help!! nik crosina -- PHP General Mailing List

[PHP] Extracting the body of the http request entity?

2001-04-27 Thread nik
for any wisdom! nik -- 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] What's wrong with Apache + php + mysql on Windows?

2001-04-27 Thread nik
optimisiation in Control Panel System Performance. If your system is optimised for desktop use, it'll make an even more lousy server than Win9x usually does. :-) nik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] Extracting the body of the http request entity? found it!

2001-04-27 Thread nik
... is it? Sorry to answer my own question! If you POST an html form with input elements, these are parsed by PHP into variables, and the data is discarded. BUT if you POST raw data from a generic http component, without sending name-value pairs, this data is exposed in $HTTP_RAW_POST_DATA. nik

[PHP] PHP Book?

2001-04-27 Thread Hamed Nik
most of you in this group have got some sort of a PHP book... can you please tell me out of your experience which ones are good for me to buy? Regards Hamed Nik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] Extracting the body of the http request entity? found it!

2001-04-27 Thread nik
I would like to add a note to this, that this works in general, but the thing which actually triggers the setting of $HTTP_POST_RAW_DATA is a not recognized mime-type. Aha! Blinding light of understanding - THANKYOU! nik -- PHP General Mailing List (http://www.php.net

Re: [PHP] File Transfer from non-browser client using POST??

2001-04-26 Thread nik
data - it does so when saving a POSTed file to its temporary location - but this function don't seem to be exposed in the API... is it? Thanks for any wisdom! Nik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] Problem in sending mail with mail() function

2001-04-26 Thread nik
urations setting sendmail_path (Unix/Linux) or SMTP (Windows) - the SMTP value is the IP of an SMTP server. nik -- 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

Re: [PHP] FAQ

2001-03-16 Thread Nik Gare
on are filled with lazy people who whine and want someone else to do all their work for them. big snip I get frustrated by people sending huge quotes, and leaving 4 of those auto generated list tags behind. If they didn't, the traffic on the list, size wise, would be halved. Nik -- PHP

Re: [PHP] XML Newbie.!

2001-03-16 Thread Nik Gare
, or just the PHP related question? Nik btw, the references, ie who you are replying to, in your mail is incorrect. -- 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

Re: [PHP] Profanity Filter

2001-01-20 Thread Nik Gare
} } But wouldn't this approach have its drawbacks, too? For example, I live in Kiel, Germany, about 20km from a town called Wankendorf. Presumably I wouldnt be able to say this. Nik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] Spell checker?

2001-01-20 Thread Nik Gare
of every word in the English language ;-) Thanks, Nik -- 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] Spell checker?

2001-01-18 Thread Nik Gare
Hi, I have a site which will be updated periodically by someone else, so have made some forms with textareas for them to upload the text into the MySQL database. I was wondering if there is a PHP function/class which could spell check these forms? TTFN Nik -- PHP General Mailing List (http