[PHP] include from another URL

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

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 anothe

[PHP] Include from another URL?

2004-05-06 Thread Nik
/myotherurl.com:8080'; from 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] 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()); > &g

Re: [PHP] Re: Member function as error_handler

2003-03-09 Thread Nik Makepeace
ve overlooked something. Nik -- 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
t; echo pg_fetch_object($this->getLastResult()); 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

[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

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

2003-03-08 Thread Nik Makepeace
whether to enclose the abbreviation in the 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

Re: [PHP] Memory errors?

2003-03-06 Thread Nik Makepeace
possibly require much > memory. 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/ --

Re: [PHP] File upload and permissions

2003-03-06 Thread Nik Makepeace
that other users 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] include or function

2003-03-06 Thread Nik Makepeace
ing out the option elements. 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

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

2003-03-05 Thread Nik Makepeace
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

Re: [PHP] dynamic link converter

2003-03-05 Thread Nik Makepeace
sier 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/unsub.php

Re: [PHP] dynamic link converter

2003-03-05 Thread Nik Makepeace
sier 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

[PHP] preg_split

2002-12-28 Thread Mr Nik Frengle
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://mailplus.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] closing a browser-window with php

2002-06-26 Thread nik crosina
ze 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 Gener

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] PHP Book?

2001-04-27 Thread Hamed Nik
I am sure 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-ma

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

2001-04-27 Thread nik
nent, without sending name-value pairs, this data is exposed in $HTTP_RAW_POST_DATA. 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
which parameter?. You could try tweaking the filesystem 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 unsu

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

2001-04-27 Thread nik
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 PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

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

2001-04-26 Thread nik
to be on the same computer, but it's location does have to be configured right in php.ini or whatever. Check phpinfo() for PHP core configurations 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.

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

2001-04-26 Thread nik
. PHP itself must be able to extract the POSTed 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:

Re: [PHP] XML Newbie.!

2001-03-16 Thread Nik Gare
questions here, 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 admi

Re: [PHP] XML Newbie.!

2001-03-16 Thread Nik Gare
list/newsgroup. This question does not belong here. 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] FAQ

2001-03-16 Thread Nik Gare
cause all the lists I am on are filled with > lazy people who whine and want someone else to do all their work for > them. 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 b

Re: [PHP] how do you erase quotes from variable?

2001-01-24 Thread Nik Gare
In article <a05001900b69508a9435a@[38.241.81.150]>, Michael Zornek <[EMAIL PROTECTED]> wrote: > I have a variable(s) that hold the string: > "name" > and I'd like to kill the quotes so it contains: > name $name = ereg_replace("\"",&quo

Re: [PHP] Spell checker?

2001-01-20 Thread Nik Gare
where I could find a text list 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]

Re: [PHP] Profanity Filter

2001-01-20 Thread Nik Gare
words > } > else { > do this if it doesn't > } > } 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 wouldnÄt be able to say this. Nik -- PHP General Mailing List (http

[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