Re: [PHP] regex for emoticon codes

2002-07-08 Thread Roger Thomas
e("/\[emoticon(\d\d)\]/", "/image/emot/\\1.gif", > $str); > > print $new_str; > > Seems to work? > > Rgds > > John > > - Original Message - > From: "Roger Thomas" <[EMAIL PROTECTED]> > To: <[EMAIL PROT

[PHP] caching dynamic thumbnail

2002-07-10 Thread Roger Thomas
just would like to confirm here whether thumbnail images that i generated dynamically with gd is cached by browsers. a) i have a html frontend to call the php script that does that thumbnail. this html file, say, view.htm contains these lines: b) the thumbnailing works perfectly. but is thi

[PHP] Pipe an email to PHP

2003-08-26 Thread Thomas Tremain
tant message to my cell phone. (this part I've already solved) Thomas Tremain www.LiveHost.net <http://www.LiveHost.net> www.GotoNames.com <http://www.GotoNames.com> www.TrafficExaminer.com <http://www.TrafficExaminer.com>

RE: [PHP] Pipe an email to PHP

2003-08-27 Thread Thomas Tremain
I have attempted to create a .procmailrc that looks like: :0 * [EMAIL PROTECTED] | $HOME/emailtest.php I have also removed the forwarder from my /etc/valiases file. Now I get: The following address(es) failed: [EMAIL PROTECTED] Can I be sure Procmail is even handling my email? I thought Exim

RE: [PHP] Pipe an email to PHP

2003-08-27 Thread Thomas Tremain
I am actually real close now... Thanks to your help. The email pipes to the PHP, and I get an email response from PHP so I can look at output. However, I still get a non-delivery message at the same time: == This message was created automatically by mail delivery sof

[PHP] PHP5 - self referencing classes

2003-08-28 Thread Thomas Hebinck
way to "destruct" a class on another way manually? Does anyone know about any deeper documentation about objects in PHP5? Thanks! Bye, Thomas. - '; } function __destruct() { echo __CLASS__ . '::' . __FUNCTION__ . ''; } function get_b() { if

RE: [PHP] Pipe an email to PHP

2003-08-30 Thread Thomas Tremain
I resolved my problem several days later, and I thought I might post it for those that come up behind me. I had several blank lines in my .php file after the closing ?> This caused an output of the script (even though I could not see it) which generated the failure notice within Exim. Tho

[PHP] Re: String formatting function - First char Upper, rest lower

2003-09-06 Thread Thomas Hebinck
Hi, >Does anyone know of a function or script that will capitalize the first char >and lowercase the remaining chars of each word in a string? from the documentation: $bar = ucwords(strtolower($bar)); http://de.php.net/manual/en/function.ucwords.php Bye, Thomas. -- PHP General Mailin

[PHP] Simple (?) var_dump question

2003-09-12 Thread Thomas Panzarella
Hi. I'm new to the list so sorry if this has already been asked before ... I want to find a way to capture the var_dump output as a string so I can write it to a log file ... (for example): $logger->debug(var_dump($foo)); So, the above line would get a "var_dump stringified" version of $foo an

[PHP] Mozilla and german 'Umlaute'

2003-09-13 Thread Thomas Weber
n the page with the form don't make any changes. Does anyone know this problem? Does someone have a solution for this? Thanks, Thomas 'Neo' Weber --- [EMAIL PROTECTED] [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] socket_write eats data

2003-09-13 Thread Thomas Weber
n the same machine. Is there any possibility to make fast writes without waiting after each write? The wait limits the server to max. 10 writes per second, wich isn't really enaugh for a good chatserver. Thanks for your help! Thomas 'Neo' Weber --- [EMAIL PROTECTED] [EMAIL PROTECTED]

Re: [PHP] socket_write eats data - solved

2003-09-13 Thread Thomas Weber
e next bunch-of-data. My receive-script hasn't diplayed the raw output, but an unserialized array, fetched out of the received string. Maybe this will will help someone in future. Thomas 'Neo' Weber --- [EMAIL PROTECTED] [EMAIL PROTECTED] - Original Message - From: "T

Re: [PHP] socket_write eats data - solved

2003-09-13 Thread Thomas Weber
No, it's TCP and a very uncomplicated protocol, everything is sent in clear text. Major problem is the socket-multicasting to keep track of all clients simultanly. - Original Message - From: "Raditha Dissanayake" <[EMAIL PROTECTED]> To: "Thomas Weber"

Re: [PHP] socket_write eats data - solved

2003-09-14 Thread Thomas Weber
times have thousands of connected clients, i can only imagine that it is PHP which has some not so efficent array- or resource-handling. Thomas 'Neo' Weber --- [EMAIL PROTECTED] [EMAIL PROTECTED] - Original Message - From: "Raditha Dissanayake" <[EMAIL PROTECTED]> C

[PHP] fork and childs

2003-09-30 Thread Thomas Weber
Hi, I'm writing a network-server in PHP, using pcntl_fork() to fork childs (errr... jep). My problem is, than when i shutdown the parent-process, all childs are killed automatically. Does anyone know a way to avoid this behaviour? Thanks, Thomas 'Neo' Weber --- [EMAIL PROTECTED] [

[PHP] (native) linux-php-editor with some advanced features?

2003-10-07 Thread Thomas Seifert
he available editors which provides these features? Thanks, Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: (ANNOUNCE) codeSECURE 1.0 released - - Protecting PHP code

2003-10-22 Thread Thomas Seifert
I think he just answered the other guy's question with your answer to another one ;-). btw. http://www.securecents.com/secureCode_features.php only returns a 404. thomas On Wed, 22 Oct 2003 23:20:13 +0200 [EMAIL PROTECTED] (John Black) wrote: > Hi Jason, > > Did I say someth

[PHP] Re: Generating Numbers from Strings

2003-10-31 Thread Thomas Seifert
mehow generate a > 'constant' random number from this string that is constant to each file??? > > TIA md5(__FILE__) ? Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php echo in php-only file

2003-11-13 Thread Thomas Lanphier
First, the situation: After executing php commands in an html file that provides room in the html for nice echo outputs to screen, I pass control to another php-only (no html) file. The question: Can I use echo statements in the php-only file, and have the results display in the html file tha

[PHP] socket_select() hangs sometimes; Bug?

2003-11-24 Thread Thomas Weber
;; for ($j = 0; $j <= $maxi; $j++) { if ($client[$j] != null) socket_write($client[$j], "From client[$i]: $n\r\n"); } } } if (--$nready <= 0)

RE: [PHP] User/Pwd Management Package?

2003-11-25 Thread Thomas Svenson
of stuff myself too. patUser seems to have what I want, except from one important thing - it only seems to be able to protect content, not directories or single pages. So, if anyone know about a package that also do dir/file protection, please let me know. /Thomas -- PHP General Mailing List

[PHP] Add Reply-To to this list(s)

2003-11-25 Thread Thomas Svenson
Hi, It would be nice if the moderator of this, and the other PHP-lists could fix so the listserver automatically add a Reply-To header to all the mails. When I hit Reply my message would then automatically reply to the list and not the author. Less hassle for me when replying and less risk of for

RE: [PHP] Add Reply-To to this list(s)

2003-11-25 Thread Thomas Svenson
> "It Adds Nothing" is absolutely false. Being able to automatically > respond to the list adds more naturally expected behaviour. > I remain steadfast in my opinion that automatically replying to the > list is a much more natural option. My opinion is that this is a multi person discussion fo

RE: [PHP] Add Reply-To to this list(s)

2003-11-25 Thread Thomas Svenson
> If you would stop using M$ Outlook and switch to a better mail client > that supports mailing lists, your problem would be solved. I wouldn't mind that at all. What clients do you recommend for WindwosXP? I want a small client (note: I have to use Outlook for business purposes, but have the list

RE: [PHP] Add Reply-To to this list(s)

2003-11-25 Thread Thomas Svenson
- Edwin - wrote: > What's the problem with the "Reply All" button? One problem is that people, like you did now, forget to delete the non list address. That makes me get two mail with the exact same content - one from the list and another directly to me. That is very irritating. /T -- PHP Gene

[PHP] Security Question

2003-12-18 Thread Thomas Andersen
logging in first, and I also want people to be able to log out. Thanks, Thomas Andersen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Best way to store data.

2003-12-18 Thread Thomas Andersen
Which ever way is better for you. That is, what ever is easier when it comes to retrieving and displaying it again. Both items will be treated as text, so mysql won't care. Thomas "Philip J. Newman" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, is th

RE: [PHP] Countries, cities, states database

2003-12-18 Thread Thomas Svenson
.ansi.org and other international standard organisations. Would be nice though if there is any site with more ready to use data. /Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Verifying a url

2004-01-06 Thread Thomas Andersen
Hi, My web site has two different ways to be accessed. One is through a SSL connection and the other not. Does anyone know how to check either the URL that is being used (https would give away the SSL) or if you can check if SSL is being used? Thanks, Thomas -- PHP General Mailing List (http

[PHP] Re: Max GET size?

2004-01-07 Thread Thomas Andersen
I believe there is a limit on the length of URLs and since GET actually sends the info through the URL that limit may apply. Hope it helps, Thomas "James E Hicks III" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I've seen the post_max_size in

[PHP] Calling cgi post form from within php

2004-01-10 Thread Thomas Andersen
Hi, does anyone know how to call a cgi script and pass along a post-form from within php? Thanks, Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Calling cgi post form from within php

2004-01-10 Thread Thomas Andersen
a little extra info. This is a remote script located on another server. I will then get a return value for error checking purposes. Thomas "Thomas Andersen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > does anyone know how to call a cgi scr

[PHP] Re: Calling cgi post form from within php

2004-01-11 Thread Thomas Andersen
Thanks for your help guys, I got it working. Thomas "Thomas Andersen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > does anyone know how to call a cgi script and pass along a post-form from > within php? > > Thanks, > Thoma

RE: [PHP] Re: Ver 5.0 Questions ...

2004-01-12 Thread Thomas Svenson
ecommendation not to use Apache2 with PHP4 still seems to apply for PHP5 as well. It's a bit confusing since Apache2 been stable for a long time. I am expecting that the issues not recommending it for PHP4 will be solved for PHP5. /Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] libphp4.so for Roxen

2004-01-13 Thread Thomas Svenson
to Apache because that server has > been nothing but one head ache after another. That's why I switched > in the first place. Hi Dan, It is not recommended to run PHP as a module with Roxen. Due to some incompatibility PHP can kill Roxen for you. Running it as CGI works fine though. /Thoma

[PHP] PHP and Apache 2 (Was: Ver 5.0 Questions ...)

2004-01-22 Thread Thomas Svenson
fix the modules not working properly. Is it possible to fix for all modules? Even though PHP is very popular, and gaining more and more popularity at all levels, this is a potential show stopper. This comes with a performance loss (can't imagine anything else since it is a major new featu

RE: [PHP] PHP 5 Book

2004-01-22 Thread Thomas Svenson
i "also Zend" Gutmans. It covers PHP5 and, in my view, is very good and real easy to read. /Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] libphp4.so for Roxen

2004-01-22 Thread Thomas Svenson
Apache/PHP and Roxen. We did that at Roxen for RT2 for example, works just fine. If the reports about memory use by IMHO is true, the option to run a separate Apache could even mean a smaller memory footprint. Regards, /Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP and Apache 2 (Was: Ver 5.0 Questions ...)

2004-01-22 Thread Thomas Svenson
. -8<. You find it here: http://www.php.net/manual/en/install.apache2.php /Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Design Patterns & PHP5

2004-01-22 Thread Thomas Svenson
ernet, that helps me understand this. Thanks, /Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Design Patterns & PHP5

2004-01-22 Thread Thomas Svenson
Ray Hunter wrote: > On Thu, 2004-01-22 at 14:31, Thomas Svenson wrote: >> Got the book Core PHP Programming 3rd Edition, which covers PHP5. >> >> One thing that it talks about is that with, specially, the new oop >> model it will now be much easier to develop in PHP u

[PHP] Perl regular expression bug

2001-01-15 Thread Shaun Thomas
a bug, since this worked back in 4.0.2 which I stopped using due to segfaults under certain circumstances. Ideas? -- +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+ | Shaun M. ThomasINN Database Programmer | | Phone: (309) 743-0812 F

Re: [PHP] Zend Optimizer

2001-01-15 Thread Thomas Deliduka
t; > Somewhere near the top. Then I restarted the server using apachectl restart. I > also tried stopping and starting as well. It still isn't running? Any ideas. > Is there anything else that needs to be done? -- Thomas Deliduka IT Manager - New

[PHP] REGEX for tag attributes?

2001-01-17 Thread Thomas Angst
Howdy, I need to divide several attributes of a tag. how can I do this without too many time lost? Is it possible to do this with a regular expression? Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP]

2001-01-17 Thread Thomas Deliduka
gt; You should use >> dropped or your administrator can disable the open short tag. >> >> Are there in fact plans to drop the short tags? > > Short open tags won't work with xml. Therefore they won't work with > xhtml. They conflict with where the Web is goi

Re: [PHP] preg_replace pain!

2001-01-18 Thread Shaun Thomas
; => > > $pattern = "/\[b\](.*)\[\/b\]/Uis"; That, and: $pattern = "|\[b\](.*?)\[/b\]|is" Shorter regex by one character, and you can use it in perl, too. Remember, U is a tacked on feature, but ? has always been there, it's your friend. I used pipes to remove

Re: [PHP] Not quite relevant question about coding and query

2001-01-19 Thread Shaun Thomas
I found this by reading the mysql section of the documentation. Good luck, -- +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+ | Shaun M. ThomasINN Database Programmer | | Phone: (309) 743-0812 Fax : (309) 743-0830|

[PHP] php4 auto download problem

2001-01-19 Thread Thomas Anderson
I installed php4 and supposidly configured it with apache and mysql. When I go to a page with php in it it doesn't load it. Instead it automatically prompts me to download it. I know this has to be an error on my part and a common overlooked error on installation. I did edit httpd.conf with the:

[PHP] Possible Sybase Bug

2001-01-23 Thread Shaun Thomas
ured when I tried to die after making the sybase connection. This brings me to believe there is a bug somewhere in the sybase_connect code. Fixed in the recent cvb? Ideas? -- +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+ | Shaun M. ThomasINN Database Pro

[PHP] Sybase Mysql 3.23 issues.

2001-01-23 Thread Shaun Thomas
n mysql 3.23 is simply not supported in php 4.04PL1? -- +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+ | Shaun M. ThomasINN Database Programmer | | Phone: (309) 743-0812 Fax : (309) 743-0830| | Email: [EMAIL PR

[PHP] Shared Memory with Yast-installed mod_php4 from SuSE.

2001-01-23 Thread Thomas Weber
Sincerly, --- Thomas Weber CYNOBIA Community Online Service AG Kühbachstraße 11 81543 München fon 089-78 06 0(280) fax 089-78 06 01 99 email [EMAIL PROTECTED] net http://www.CYNOBIA.de

WG: [PHP] Shared Memory with Yast-installed mod_php4 from SuSE.

2001-01-24 Thread Thomas Weber
-Ursprungliche Nachricht- Von: Thomas Weber [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 24. Januar 2001 09:50 An: [EMAIL PROTECTED] Betreff: AW: [PHP] Shared Memory with Yast-installed mod_php4 from SuSE. Thanks Stathis i tried it twice to compile it, ./configure , make

[PHP] Extending PHP

2001-01-24 Thread Thomas Wentzel
day with the same stupid problem I am borderline crazy and beginning to get REALLY fed up with PHP ;-) Could it be a bug in the ext_skel "and friends" utilities??? Any suggestions will be greatly appreciated... Thanks Thomas -- PHP General Mailing List (http://www.php.net/) To un

AW: WG: [PHP] Shared Memory with Yast-installed mod_php4 from SuSE.

2001-01-24 Thread Thomas Weber
Yea, thank you It worked! Formerly i used the --with-apache command (wich hasn't worked) and now with the --with-apxs it works. Great, thank you very much! :)) -- Thomas -Ursprüngliche Nachricht- Von: Christian Reiniger [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 24. J

AW: [PHP] eval() to string???

2001-01-24 Thread Thomas Weber
try eval("\$php_code;"); -Ursprüngliche Nachricht- Von: [ rswfire ] [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 24. Januar 2001 15:36 An: [EMAIL PROTECTED] Betreff: [PHP] eval() to string??? I want to evaluate some PHP code to a string. How can I do this? $php_code = "echo 'hello'

AW: [PHP] eval() to string???

2001-01-24 Thread Thomas Weber
6:20 An: [EMAIL PROTECTED] Betreff: Re: [PHP] eval() to string??? How is this going to help me? I want to evaluate the code in $php_code to *another* string... - Original Message - From: Thomas Weber <> To: Php-General <> Sent: Wednesday, January 24, 2001 10:14 AM Subject:

AW: [PHP] Which one is better?Session or Cookies?

2001-01-25 Thread Thomas Weber
Hi, i think i many cases cookies are better, because the are stored in the computers memory for a very long time if needed and is not destroyed after the session timeout or changeing the IP. For example Amazon stores the cart in session, but the login-data is stored in a cookie so you don't need

[PHP] Sorry

2001-01-25 Thread Thomas Wentzel
For the inconvenience... I had some trouble with my mailclient yesterday... This is just a test to check if my new mailer is any better... Sorry... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP] Extending PHP

2001-01-25 Thread Thomas Wentzel
d not satisfy all declared inter-library *** dependencies of module stocks. Therefore, libtool will create *** a static module, that should work as long as the dlopening *** application is linked with the -dlopen flag. The dlopening appliations is that PHP itself? BR Thomas Rasmus Lerdorf

Re: [PHP] Urgent help needed, sound scary when anyone did that ontitle :-)

2001-01-25 Thread Shaun Thomas
; *) and FIX THEM NOW. That way, you'll be safe knowing that it's *your* connection that's in use. And always remember, mysql_error($CONN) is your friend. Cheers! -- +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+ | Shaun M. ThomasINN Datab

[PHP] undefined symbol...

2001-01-25 Thread Thomas Wentzel
oiner_ex The stocks example only uses zend_hash_internal_pointer_reset_ex, so I guess that the latter is a macro for the former... Anyhoo... Does anybody know how to resolve this issue??? TIA Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

[PHP] PHP 4.0.3 on Debian?

2001-01-26 Thread Thomas Wentzel
it's nothing, but I'm grasping for straws here... The warning is: Thomas:/usr/local/src/php4-4.0.3pl1# make install > fisse2 In file included from sapi_apache.c:58: /usr/local/src/php4-4.0.3pl1/php_version.h:3: warning: `PHP_VERSION' redefined /usr/local/src/php4-4.0.3pl1/main/php_ver

Re: [PHP] Terrible Hosting Experience

2001-02-21 Thread Thomas Deliduka
7;ve had great help with them. They may be a tad high but their support is impeccable. -- Thomas Deliduka IT Manager - New Eve Media The Solution To Your Internet Angst http://www.neweve.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mai

Re: [PHP] Terrible Hosting Experience

2001-02-21 Thread Thomas Deliduka
t with GlobalCenter (GC), Qwest Communications and GTE through three separate bandwidth-on-demand connections which enter Baltimore in our building. -- Thomas Deliduka IT Manager - New Eve Media The Solution To Your Internet Angst http://www.neweve.com/ -- PHP G

Re: [PHP] Terrible Hosting Experience

2001-02-21 Thread Thomas Deliduka
On 2/21/01 10:23 AM this was written: > Check out http://www.hostpro.com/hosting/shared/unix_products.html > > It's a semi-dedicated virtual environment with complete root access. I've heard good things about Host Pro. -- Thomas Deliduka IT Manager --

Re: [PHP] Terrible Hosting Experience

2001-02-21 Thread Thomas Deliduka
nter (GC), Qwest Communications and GTE through three separate bandwidth-on-demand connections which enter Baltimore in our building. --- They are a reseller of Alabanza Servers. I wouldn't go with them. -- Thomas Deliduka IT Manager - New Eve Media The Solution T

Re: [PHP] Passing values from ASP to PHP

2001-02-28 Thread Thomas Deliduka
uot;), but > that takes hard-coding the name of the key. > > So if the following is passed to the ASP script: > one=blue&two=red&three=yellow > > Then I would want to redirect to > myscript.php?one=blue&two=red&three=yellow > > How do I go about w

Re: [PHP] pleaaaaaaaase help!

2001-03-01 Thread Thomas Deliduka
IL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, March 01, 2001 11:59 AM > Subject: [PHP] plese help! > > >> Hi! >> please i'm really in need of knowing if there is a way to do a php > statement >> once a button is clicked! -- Thomas

Re: [PHP] PostgreSQL vs InterBase

2001-03-01 Thread Shaun Thomas
l outperform almost any other database you throw at it. Trust me on this one. -- +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+ | Shaun M. ThomasINN Database Programmer | | Phone: (309) 743-0812 Fax : (309) 743-0830| | Email: [EMAIL

[PHP] The coolest function in the world

2001-03-07 Thread Thomas Deliduka
I knew PHP was awesome, and I have seen some awesome functions. I've been doing PHP for a few years now and I didn't even know this existed: extract(): http://www.php.net/manual/en/function.extract.php This is SO COOL. I just had to share my joy. -- Thomas Deliduka

Re: [PHP] Microtime math and display

2001-03-08 Thread Shaun Thomas
n, if you wanted the number of seconds it took, use $dSec. If you want the number of milliseconds, use $dMsec. Or, if you want to know both, just add $dSec and $dMsec and use the result. Take care -- +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+ | Shaun M. Thomas

[PHP] Response 304

2001-03-09 Thread Thomas Weber
rd the script should only send the header without message body. so i tried: header ("HTTP/1.0 304 Not Modified"); exit; But this don't work. The Script is loaded and, of course, an empty page. How can i do this??? Thank you. bye, Thomas Weber CYNOBIA Community Online Service AG

Re: [PHP] payment

2001-03-09 Thread Thomas Deliduka
orts payment processors > on any platform, anyone ever use it? Never used it. I use authorize.net or any of their resellers (rtware.net, quickcommerce.com) -- Thomas Deliduka IT Manager - New Eve Media The Solution To Your Internet Angst http://www.neweve.com/ -- PHP

Re: [PHP] payment

2001-03-09 Thread Thomas Deliduka
merger would affect him; didn't want his stuff going down while he was gone. Now I'm hearing they're gone and we have to find other arrangements? -- Thomas Deliduka IT Manager - New Eve Media The Solution To Your Internet Angst http://www.neweve.com/

[PHP] Mailing List

2001-03-11 Thread Thomas Anderson
Ok, I've tried time and time again to unsubscribe from php.net's mailing list unisubscribe instructions but it doesn't work. So how do I get off the list? __ FREE Personalized Email at Mail.com Sign up at http://www.mail.com/?sr=signup -- PHP General

Re: [PHP] Kick one of these darn elements out of my array, I ainthaving it!

2001-03-12 Thread Thomas Deliduka
(); Reset($array); while ($elem = current($array)) { if ($elem != "2") { $temparray[] = $elem } next($array); } $array = $temparray; -- Thomas Deliduka IT Manager - New Eve Media The Solution To Your Internet Angst http://www.neweve.com/

[PHP] Empty Message-Body

2001-03-13 Thread Thomas Weber
04 Not Modified");" and it seems to work. My own message body isn't sent, but this: Of course the Page is loaded, but of course empty... How can i tell PHP4 to send the Status 304 without sending any message body??? Thank you, Thomas Weber CYNOBIA Community Online Ser

[PHP] managing scripts on different domains

2001-03-19 Thread Thomas Schneider
g tom - - -foerderverein kunst und internet e.V. -lothringerstr. 23 -D-52062 aachen thomas schneider tel:+49 241.33686(buero) mobil: +49 179.4548 234 fax:+49 241.33636 'kulturraum raststaette' 'ku

Re: [PHP] Editing Variables from another script.

2001-03-20 Thread Thomas Schneider
here is probably a hundred or more ways this can be done. For me to be >> > > able to give you specifics, you will have to be more specific with what >> > > you are doing and what you have tried. >> > > >> > > -- >> > > Jason Stechschulte >> > > [EMAIL PROTECTED] >> > > -- >> > > Well, I think Perl should run faster t

Re: [PHP] PHP/OCI8 design for persistent connection tuning

2001-04-17 Thread Dave Thomas
Yeah, that's what I'm thinking. I could tune the images server way down for flat content and massive bandwith. The only problem I can see is that webmasters hate having to code that extra info. Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECT

[PHP] fflush() function

2001-04-20 Thread Thomas Deliduka
This function: http://www.php.net/manual/en/function.fflush.php Has no example on how you would code with it. Does anyone know? It mentions "buffered output" how do you buffer output? -- Thomas Deliduka IT Manager - New Eve Media The Solution To You

Re: [PHP] insert data to mysql

2001-04-23 Thread Thomas Deliduka
ty", "$state", "$zip", > "$phone", "$fax", "$model", "$country", "$details", "$type")"; Um.. You're using double-quotes inside of double quotes. You need to use single quotes VALUES('$

[PHP] Big Problem

2001-04-25 Thread Thomas Booms
ks in advance. Thomas -- 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] feof with fsockopen don't work

2001-05-03 Thread Thomas Häger
eof()-function with fsockopen() too. Can somebody help?? Thanks, Thomas -- 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] passing parameters in the url using forward slashes

2001-05-09 Thread Thomas Hurst
mine :), but the best way to do it is probably to use mod_rewrite. This takes an url and, er, rewrites it to point at your script. However, you have to parse the URL yourself, it'll be in $HTTP_SERVER_VARS[REQUEST_URI]; -- Thomas 'Freaky' Hurst - [EMAIL PROTECTED] - http://www

Re: [PHP] Unix file vs. Mac file formats

2001-05-09 Thread Thomas Hurst
sing ASCII mode, this will probably be handled automagically for you, btw. -- Thomas 'Freaky' Hurst - [EMAIL PROTECTED] - http://www.aagh.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP] Capturing the url in the location bar

2001-05-15 Thread Thomas Deliduka
RI; This will concatinate the site requested with the rest of the url. -- Thomas Deliduka IT Manager - New Eve Media The Solution To Your Internet Angst http://www.neweve.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTE

[PHP] Discussion board

2001-05-22 Thread Thomas Deliduka
Is there a good PHP alternative for a discussion board or something else that allows for moderators and other good features that will run on Linux? -- Thomas Deliduka IT Manager - New Eve Media The Solution To Your Internet Angst http://www.neweve.com/ -- PHP

Re: [PHP] Discussion board

2001-05-22 Thread Thomas Deliduka
s and other good features that will run on Linux? -- Thomas Deliduka IT Manager - New Eve Media The Solution To Your Internet Angst http://www.neweve.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

[PHP] form posting problem - $variables get padded with spaces

2001-05-22 Thread Thomas O'Neill
Can anyone help? Here is my problem, I am submitting a lot of hidden variables using a and they come over padded with a space on the left. I know that I can trim() them but in case I am working with that might be more trouble then its worth. This does not happin on another installation of P

[PHP] liste de diffusion

2001-05-23 Thread Thomas Ferte
-- 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] (pas d'objet)

2001-05-23 Thread Thomas Ferte
-- 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] memory error

2002-01-10 Thread Thomas Holton
Hi I built PHP on an ALPHA running OSF V5.1 I did the install after the make just like i did in the past. This time, however, when i do: apachectl start i get this: /usr/local/apache/bin/apachectl: 323331 Memory fault /usr/local/apache/bin/apachectl start: httpd could not be started There are n

[PHP] memory error

2002-01-11 Thread Thomas Holton
Hi I built PHP on an ALPHA running OSF V5.1 I did the install after the make just like i did in the past. This time, however, when i do: apachectl start i get this: /usr/local/apache/bin/apachectl: 323331 Memory fault /usr/local/apache/bin/apachectl start: httpd could not be started There are n

Re: [PHP] Re: continue [PHP] Please "\n" problem????

2002-01-12 Thread Thomas Holton
The \n can be useful for when you want to look at the source code from an HTML page. It will not make a new line within the browser, but it sure can make reading the source alot easier... otherwise all of the code goes onto the same line... which also can be useful if you want it be difficult for

[PHP] printing an XML node

2002-01-17 Thread Thomas Gagne
dumpmem works great for entire documents, but what is the strategy for printing the contents of a single node? It is impossible to use dumpmem on a node since the code looks for a 'doc' property that doesn't exist in nodes. -- .tom -- PHP General Mailing List (http://www.php.net/) To unsubs

[PHP] domxml: getting a node's XML (using xmlDumpNode)

2002-01-21 Thread Thomas Gagne
Sure, documents can call dumpmem(), but there's no way to get the XML of a node. Until now! Not knowing at all what I was doing, I copied code from the function unlink_node and modified it to call xmlDumpNode(). It works for me, though I expect there's probably a memory leak in it since I don't

[PHP] Firewall

2002-02-06 Thread Thomas Franz
nnect from a place without firewall. What must i do to go through the firewall. Thanx Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: HELP! Connect or no connect, that's the question...

2002-04-15 Thread Brad Thomas
<[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Dear all, > > I installed mysql for windows and had to copy some databases (including > mysql standard databases), that I have to use for my php-project. I also > installed the Apache server 1.3 ... > > My problem

Re: [PHP] official statement about PHP file extensions?

2002-04-19 Thread andy thomas
On Fri, 19 Apr 2002 [EMAIL PROTECTED] wrote: > At 19.04.2002 13:32, you wrote: > > > >Hi, > > > >Is there any official statement (by php.net) about which file extension you > >should use when using PHP (1, 2, 3 or 4)? I know that's server related, but > >isn't there a standard? > > > >http://w

<    1   2   3   4   5   6   7   8   9   >