[PHP] Re: Possible PHP/MySQL Bug?

2003-02-01 Thread Thomas Seifert
ith the same connection parameters (host, username,password) to have different connection-ids. PHP only keeps one connection and not two with the same parameters. They are the same connection for php which is expected behaviour there (although I don't like it too). Regards, -- Thomas Seifert mailto:[EMAIL PROTECTED] http://www.MyPhorum.de -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Loading CSV data into MySQL

2003-02-01 Thread Thomas Seifert
a really ordered result (only by accident). Regards, -- Thomas Seifert mailto:[EMAIL PROTECTED] http://www.MyPhorum.de -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Loading CSV data into MySQL

2003-02-01 Thread Thomas Seifert
On 01 Feb 2003 18:06:01 -0500 [EMAIL PROTECTED] (Brian V Bonini) wrote: > On Sat, 2003-02-01 at 16:47, Thomas Seifert wrote: > > > > > > I'm loading a .csv file into MySQL, done it a million times but for some > > > reason it is scrambling the row ord

Re: [PHP] MySQL Username and Passwords

2003-02-09 Thread Thomas Seifert
phpMyAdmin has an option to "reload mysql" too. It won't work until that is done. Where did you get the idea, that the username worked? It just tells, that access has been denied ... the same message would be sent if the user didn't exist at all! Thomas On Sun, 9 Feb

[PHP] programming question

2003-02-13 Thread Thomas Moore
I am trying to return a variable from a recursive function. If the recursive function gets called, the nothing is returned. For example, below I am trying to get the category_array2 variable returned. It works if the recursive function within the IF statement does not get called, but if it does, it

[PHP] Re: database selection

2003-02-16 Thread Thomas Seifert
ta = mysql_fetch_array($result); > $pollID = $data['pollID']; > } > $query = "SELECT * FROM polls WHERE pollID = $pollID"; > > Does anyone now a solution for this that requires less code? > > Thx > > $query = "SELECT * FROM polls

[PHP] multiple select problem

2003-02-16 Thread Thomas Moore
I had code working that was passing multiple select values to another screen from a form... In the URL on the next page I see a bunch of characters, so it doesn't work... %5C%22year_model_id%5B%5D%5C%22=60776 Anyone know what this is and how to fix it??? It was working fine for months and

[PHP] LDAP next prev howto

2003-02-18 Thread Roger Thomas
is it possible to retrieve a bunch of records from an ldap tree and do a next-prev navigation on those records ? example script pls. -- __ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com -- PHP General

[PHP] LDAP next prev howto

2003-02-20 Thread Roger Thomas
is it possible to retrieve a bunch of records from an ldap tree and do a next-prev navigation on those records ? example script pls. -- roger __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ -- PHP Gen

[PHP] Zend Encoder

2003-02-24 Thread Thomas Johnsson
This might sound a bit paranoid, but since I don't know how it works, i'll ask anyway. If I encrypt a file using the Zend Encoder, is there anyone at zend who can view it, or it it an unreversable encryption? // Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscr

Re: [PHP] Zend Encoder

2003-02-24 Thread Thomas Johnsson
hey just broke this encryption code... http://www.cnn.com/2003/TECH/internet/02/21/email.encryption.reut/index.html Regards, // Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Zend Encoder

2003-02-25 Thread Thomas Johnsson
se? Thanks for clearing the air, and sorry for polluting it with more questions :) // Thomas >-Original Message- >From: Thomas Johnsson [mailto:[EMAIL PROTECTED] >Sent: Monday, February 24, 2003 6:51 PM >To: [EMAIL PROTECTED] >Subject: [PHP] Zend Encoder > > >T

[PHP] imap_get_quota

2003-03-13 Thread Roger Thomas
on the php.net manpage for imap_get_quota, http://www.php.net/manual/en/function.imap-get-quota.php , the imap stream is opened as: $mbox = imap_open("{your.imap.host}","mailadmin","password",OP_HALFOPEN) or die("can't connect: ".imap_last_error()); i am really confused as to how to setup th

[PHP] how to :: multi select

2003-07-04 Thread Thomas Hochstetter
Hi guys, This might just be off the topic, but here it goes anyway: How can one multi select check boxes and pass them through in php, without getting mixed up with variables (email multi select style). Thomas

RE: [PHP] how to :: multi select

2003-07-05 Thread Thomas Hochstetter
Thanks guys. I will have a look at the array[] convention. Meanwhile I did my own thing by naming them all different and parsing the $QUERY_STRING for them. It is a mess! So thanks again! Cheers Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Re: Failed to Receive in E:\...\mailscript.php on line 25

2003-07-05 Thread Thomas Seifert
are you sure that the smtp-settings in php.ini are correct on your host's server? Thomas On Sat, 5 Jul 2003 20:15:14 +0200 [EMAIL PROTECTED] (Håkon strandenes) wrote: > Hi, > > I am making a small PHP script for managing a simple mailing list. The > PHP script is added in t

[PHP] Re: script not stopping

2003-07-07 Thread Thomas Seifert
try that if (!isset($_POST["imgList"]) || empty($_POST["imgList"])){ for the comparison. Thomas On Mon, 7 Jul 2003 16:02:21 -0600 [EMAIL PROTECTED] (Micah Montoy) wrote: > How do I specify it that I just want to check to see if the form field was > blank and if so

Re: [PHP] PHP/Content Management

2003-07-07 Thread Thomas Seifert
Safari is the new Mac-Browser by Apple. Its using the KHTML-component from Konqueror (Linux). Thomas On Mon, 07 Jul 2003 18:06:29 -0400 [EMAIL PROTECTED] (Robert Samuel White) wrote: > Hello, > > I was just alerted of the issue by another fellow with a way excellent > website at

[PHP] session across satelite windows

2003-07-15 Thread Thomas Hochstetter
d+"&uid="+uid+"",win,"height="+h+",width="+w+",left=0,top=0,alwaysRaised=yes,directories=no,dependent=yes,location="+loc+",status=no,titlebar=no,resizable=no,menubar=no,scrollbars="+scrl+""); } Thomas -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Preserving session vars over multiple windows

2003-07-20 Thread Thomas Hochstetter
Hi there. How can i preserve var's of session 's' over more than one window without loosing them? Thomas -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern! -- PHP General Mailing List (http

Re: [PHP] PECL v. PEAR

2003-07-23 Thread Thomas Seifert
gether. as far as I understand, PECL is the thing for C/C++-extensions to PHP, PEAR are extensions/classes written in PHP. Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] cms design & xml-php ?

2003-07-25 Thread Thomas Hochstetter
Hi there. Is there any php book that discusses general design issues for cms's and webservices in php? Also, what is your take on xml? Is it worthwhile waiting for v5 to be released before buying a xml-php book? thanks Thomas -- +++ GMX - Mail, Messaging & more http://www.gmx.net +

[PHP] php5 + php4 on same server

2003-07-25 Thread Thomas Hochstetter
it collide? Thanks Thomas -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] /n not working

2003-07-26 Thread Thomas Hochstetter
Hi there. I got a question from someone why the following (from the manual) will not bring the desired output: Is this a php.ini setting? Thomas -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern! -- PHP Gen

Re: [PHP] Recompiling the PHP Binary with PCNTL

2003-07-27 Thread Thomas Seifert
h the compile-options of your old binary. thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: javascript & php

2003-07-28 Thread Thomas Seifert
html-page (with the JS-code if you use the print/echo command) to the user Afterwards the JavaScript-Code is executed ON THE CLIENT and shows the color in the page. So the color never reaches the php-script. Get a good book on how JavaScript works at all. thomas -- PHP General Mailing

[PHP] Re: convert mysql datetime to unix timestamp

2003-07-28 Thread Thomas Seifert
SELECT UNIX_TIMESTAMP(datetime-field) ... thomas On Mon, 28 Jul 2003 18:06:32 +0200 [EMAIL PROTECTED] (Chris Hayes) wrote: > hi, > i have to move data from a table with a datetime (2003-05-14 13:36:04) to a > unix timestamp (e.g. 2147483647) . Any ideas? > > Chris >

[PHP] cli file open problem

2003-08-03 Thread Gareth Thomas
Hi, I am trying to write data to a text file on my Windows 2000 server using PHP at the command line. I am running PHP 4.3.2, and the script uses the 'touch' function to create the file (which works fine) but when I try and open the file to write to it and errors. Anyone any idea? I have checked t

[PHP] OPINIONS wanted - xml-DOM-xsl + php

2003-08-14 Thread Thomas Hochstetter
is is also aprt of a list - don't want to rekindle any more discussions about the (mis)use of this exellent mailing list. Thanks. Thomas -- COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test -- 1. GMX TopMail - Platz 1 und Testsieger! 2. GMX Pr

[PHP] logging data to xml

2003-08-15 Thread Thomas Hochstetter
move one up again to log the stuff to the file. Well ... this is my idea anyway. If anyone can suggest to me (point me) to another solution i will certainly investigate this. NB: i am not looking for some code, just let me know where i can find the right answers. Thomas -- COMPUTERBILD 15/03

RE: [PHP] HTTP transactions with PHP?

2003-08-21 Thread Thomas Hochstetter
back to process. Am not so sure whether that is what you are looking for ... i have used this to send a request to a sms gateway, and received a reply. Works well. Thomas -- COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test -- 1. GMX TopMail - Platz

RE: [PHP] File upload and deletion

2003-08-21 Thread Thomas Hochstetter
back to process. Am not so sure whether that is what you are looking for ... i have used this to send a request to a sms gateway, and received a reply. Works well. Thomas -- COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test -- 1. GMX TopMail - Platz

[PHP] 2 questions

2003-08-23 Thread Thomas Hochstetter
that writs to the files. Is there a restriction on passing text via url? If yes (which will be the case), how could i do this otherwise? Thanks so long... Thomas P.S: this list still rocks -- COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test ---

RE: [PHP] 2 questions

2003-08-23 Thread Thomas Hochstetter
The register globals is on with the live server, and off at home (my version is 4.3.2, the other is 4.1.2). does that matter? Thanks for the other tip, shall try that ... Thomas - Original Message - From: "Thomas Hochstetter" <[EMAIL PROTECTED]> To: <[EMAIL PROTECT

[PHP] overriding upload_tmp_dir

2003-03-24 Thread Roger Thomas
for an application, i would like to have the temporary upload file directory under the webroot of this application. how can i override the php.ini directive of upload_tmp_dir ? -- roger __ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Mad

[PHP] preg_match_all()

2003-04-03 Thread Thomas Johnsson
I am having problems with preg_match_all spanning over newlines. Using /m does not seem to ignore the the newlines. // This works // Both contents inside and are found $html = ' One cell Another '; // This does not // Only the contents inside the first and are found // The only difference is

[PHP] Re: Long screen display cut short.

2003-05-31 Thread Thomas Seifert
what is the online-version? I mean which webserver-software in which version? Thomas On Fri, 30 May 2003 20:45:08 -0400 [EMAIL PROTECTED] (Floyd Baker) wrote: > > Hello... > > I have a routine that works fine on local win98 but when it runs on > linux online, the screen outp

Re: [PHP] Compile 4.3.2 Errors.

2003-06-01 Thread Thomas Seifert
the same is given for 4.3.2, just compiled it today :). Thomas On Sat, 31 May 2003 12:50:38 -0700 [EMAIL PROTECTED] (Evan Nemerson) wrote: > Don't know about 4.3.2, but at the end of 5.0-dev make, the following message > is output: > > Build complete. > (It is safe to i

Re: [PHP] Warning: mysql_fetch_row(): supplied argument is not avalid MySQL result resource in f:\.....\none.php on line 286

2003-06-08 Thread Thomas Seifert
why are you using "sql_query" through your code? its mysql_query for mysql! and the result, needed for mysql_fetch_row is returned from that function. read the docs again. Thomas On Sun, 8 Jun 2003 16:37:59 -0300 [EMAIL PROTECTED] (Marcelo Luiz De Laia) wrote: > $result = &quo

Re: [PHP] Warning: mysql_fetch_row(): supplied argument is not avalid MySQL result resource in f:\.....\none.php on line 286

2003-06-09 Thread Thomas Seifert
orrectly or your query returns an error. Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Rather unrelated

2003-06-09 Thread Thomas Hochstetter
Hi guys, sorry that i am asking this rather non-php question here. I know how anoying it is to get these unrelated mails ... it might just have to do with the apache ... or whatever: [problem] if i declare in an external stylesheet the scrollbar-track-color to be whatever, it does not show. even if

[PHP] Re: if ($xxxxx) { function not working?

2003-06-10 Thread Thomas Seifert
do you even have register_globals enabled? otherwise $submit, $id and so on will not be set. Thomas On Tue, 10 Jun 2003 19:11:21 +1000 [EMAIL PROTECTED] (Ben Houlton) wrote: > > > > > $db = mysql_connect("localhost","root"); > > mysq

[PHP] Mail Username

2003-06-10 Thread Josh Thomas
in the PHP.conf file to change this. Will I be better off using pop and smtp and just point it to my local box? Thanks Josh Thomas www.kickbackpoints.com

[PHP] fastest parsing first!

2003-06-11 Thread Thomas Hochstetter
Hi, I have a question concerning the parsing of scripts. The question is what will be parsed the quickest: much inline php (dirty) code, or let the code generate the html on the fly? I frequently use css ALOT! Does that make any difference to php (apart from making the file quite messy)? Any othe

RE: [PHP] fastest parsing first!

2003-06-11 Thread Thomas Hochstetter
It really depends, mostly it is external ... to accommodate small variations I have some style attributes around. T -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: 11 June 2003 06:30 PM To: Thomas Hochstetter; [EMAIL PROTECTED] Subject: RE: [PHP] fastest parsing

[PHP] referer counter

2003-06-12 Thread Thomas Hochstetter
exit; fclose($fp); } //END of counter functions } Additionally, why do I have to pass the nc variable to function incr() as reference? It did not work just do return $nc. Thomas

[PHP] more information about the php-/zend-api

2003-06-15 Thread Thomas Seifert
t the need to return them and so on. There must be anywhere more information about such matters or am I just blind? Thanks in advance, Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Please help.

2003-06-15 Thread Thomas Seifert
That doesn't tell much. The way you'r using should work. What happens if it doesn't work? Thomas On Sun, 15 Jun 2003 21:46:54 +1000 [EMAIL PROTECTED] (Ben Houlton) wrote: > How do I get a DB table open easily? > So far, I've been using a metod that sometimes works a

[PHP] Re: need help on coding

2003-06-15 Thread Thomas Seifert
you need to quote " in your code. Thomas On Sun, 15 Jun 2003 17:01:03 + [EMAIL PROTECTED] (Shien Hang Low) wrote: > > > > From: Gabor Hojtsy <[EMAIL PROTECTED]> > To: Shien Hang Low <[EMAIL PROTECTED]> > CC: [EMAIL PROTECTED] > Subject: Re: need h

[PHP] mysql_errno codes

2003-06-16 Thread Thomas Hochstetter
Hi. [3rd try] ... where can i get mysql_error codes from? The ones that mysql_errno returns. Thanks Thomas -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage! -- PHP General Mailing List (http://www.php.net/

RE: [PHP] mysql_errno codes

2003-06-16 Thread Thomas Hochstetter
Thanks guys ... always a pleasure. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] str_replace() problems actually *_replace() problems to be more accurate

2003-06-16 Thread Thomas Bolioli
I am a perl/java/c++ programmer who is doing something in php and have run accross something I am stumped with. I am trying to replace carriage returns with or tags (p's in groups of two and br's for any unmatched cr's). I have tried all of the *_replace() functions including string_*, ereg_*

[PHP] Re: Emptying the browser cache

2003-06-16 Thread Thomas Bolioli
There is no way to do this in any programming language since it is not part of the http spec. There may be som client side vb hack that someone knows that works on IE for Windows but I doubt it. It is not very secure to allow web sites to control your browser's cache. Try looking into expire ti

[PHP] mysql error messages

2003-06-16 Thread Thomas Hochstetter
Hi. I have parsed the txt file and put it on my site . it's kinda ugly and messy, but maybe it helps someone. http://www.thomash.co.za/docs/errmsg.php T

Re: [PHP] str_replace() problems actually *_replace() problems tobe

2003-06-16 Thread Thomas Bolioli
-) Thanks again, Tom Lars Torben Wilson wrote: On Mon, 2003-06-16 at 11:49, Thomas Bolioli wrote: I am a perl/java/c++ programmer who is doing something in php and have run accross something I am stumped with. I am trying to replace carriage returns with or tags (p's in groups of two and br&

[PHP] Re: Difference between $_POST[foo] and $_POST['foo']?

2003-06-17 Thread Thomas Seifert
the first will generate a warning if warnings are enabled. it could mean a constant or a string, if a constant with that name is not available php will use it as a string and show a warning. the second is right as a string. Thomas On Tue, 17 Jun 2003 11:09:14 +0300 [EMAIL PROTECTED] (Jarmo

[PHP] bcmod()

2003-06-17 Thread Thomas Bolioli
The docs (see below) for bcmod() are rather skimpy. Does anyone have a clue as to how it works. Basically I want to do this (below code). PS: I am new to PHP but not to programming in general. Tom $i = 1; while (something true){ $modulus = the_modulus_of($i / 4); // does php do % instead of

[PHP] direct access to file uploads

2003-06-18 Thread Thomas Bolioli
I am new to PHP and am trying to get access to files that are uploaded. I have RTFM ;-) and have noticed that PHP writes the file to disk in a temporary location and provides a method/class with all of the information needed to access it. I am loading (PDF's) into a binary field in mySQL and fi

[PHP] Re: Passing Variables

2003-06-21 Thread Thomas Seifert
If you don't want them seen anywhere, then you've got to use sessions. Thomas On Sat, 21 Jun 2003 08:53:12 -0500 [EMAIL PROTECTED] (Jay Fitzgerald) wrote: > I have been searching for an answer to this for a couple of hours now and > cant find anything. I believe that there is

[PHP] Re: correct session format?

2003-06-21 Thread Thomas Seifert
yeah its the right way. though I don't know what you'r trying to do with echo " $_SESSION"; Thomas On Sat, 21 Jun 2003 09:22:39 -0500 [EMAIL PROTECTED] (Jay Fitzgerald) wrote: > is this the correct way to register variables via a session? > > [code] > sessio

Re: [PHP] Re: Passing Variables

2003-06-21 Thread Thomas Seifert
you can transfer the session-id (which is unique) through the url too. but then its only the session-id and not the actual data and the session-id can't be guessed that simple to reach another user's data. Thomas On Sat, 21 Jun 2003 15:31:56 +0100 [EMAIL PROTECTED] (George Pitc

[PHP] reference a function in a class from array_walk()

2003-06-21 Thread Thomas Hochstetter
ray) { array_walk($array,"$this->output"); //not working } function output($item,$key) { echo "$key. $item\n"; } thomas

[PHP] a generic getsql() function

2003-06-25 Thread Thomas Hochstetter
Something has to happen here!!! } } else { $arr["Error"] = "No connection"; return $arr; } } Thanks. Thomas

[PHP] List of Variables

2003-06-27 Thread Thomas Weber
Hi, is there any way to get a list of all defined variables? It is intended to be used to get and identify all defined objects to call some costum decunstructor at the scripts end. Thanks! Thomas 'Neo' Weber --- [EMAIL PROTECTED] [EMAIL PROTECTED] -- PHP General Mailing

Re: [PHP] List of Variables

2003-06-27 Thread Thomas Weber
Yea thanks, we must have been blind when searching the php-docs ;) Thomas 'Neo' Weber --- [EMAIL PROTECTED] [EMAIL PROTECTED] - Original Message - From: "Adam Voigt" <[EMAIL PROTECTED]> To: "Thomas Weber" <[EMAIL PROTECTED]> Cc: "PHP-List&q

[PHP] Close Connection to Browser

2003-06-29 Thread Thomas Weber
204 and keeps the connection over this time, wich couses Internet Explorer and sometimes even Mozilla to crash if too much connections to the script are active. Thanks, Thomas 'Neo' Weber --- [EMAIL PROTECTED] [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To u

Re: [PHP] New way to make select boxes auto select

2002-07-25 Thread Roger Thomas
i used the same techniqu a while back when i worked with Fast Template. scenario: - present a user with a form to input - there are several text fields and several select options - if there is/are error(s) upon form submission, we will call the same template file and insert proper error messages a

[PHP] fruity arrays

2002-08-13 Thread Roger Thomas
i have these arrays: $A_fruit_list = array('A1' => 'Fruit A1', 'A2' => 'Fruit A2', ); $B_fruit_list = array('B1' => 'Fruit B1', 'B2' => 'Fruit B2', ); then i do these: $var = "B"; $var_list = $var."_fruit_lis

[PHP] no HTML in a form textarea field

2002-08-13 Thread Roger Thomas
i presented my visitor to fill up some description about themselves via HTML's textarea FORM element. how do i block them from entering unwanted HTML tags into the textarea field? -- roger __ Do You Yahoo!? HotJobs - Search Thousands of New Jobs

[PHP] howto disable cron output

2002-08-13 Thread Roger Thomas
i wrote an ecard script and added 'send at a future date' feature. this feature is implemented via cron that runs daily at 1200 hours $> crontab -l looks like: 00 00 * * * wget http://ecard.domain.com/futuresend.php 2&1> /dev/null it works great but everyday there will be a file being written to

Re: [PHP] Re: howto disable cron output

2002-08-13 Thread Roger Thomas
mixed up together. > > Just a friendly reminder. Please don't do it again. > > Jc > > Roger Thomas wrote: > > i wrote an ecard script and added 'send at a future date' feature. > > this feature is implemented via cron that runs daily at 1200 hours > >

[PHP] ldap_rename refused to work

2002-08-14 Thread Roger Thomas
built: php-4.2.2 with openldap 2.0.25 i tried using the ldap_rename function to modify the dn of my ldap db but nothing seems to happen. the record was not change at all. i have followed closely the code-snippet that was given by Mr Stig Venaas at: http://marc.theaimsgroup.com/?l=php-general&m=10

[PHP] Setting the line number for debugging

2002-08-14 Thread Thomas Lochmatter
something like "compile error at line 303 in myscript.pl", whatever the real line number and filename is. Thomas [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Setting the line number for debugging

2002-08-14 Thread Thomas Lochmatter
his might be on line 15 in one of the source scripts. Perl has a nice feature to achieve this, and I was wondering if something similar exists in php. - Thomas "Chris Boget" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 008801c24396$580393a0$8c01a8c0@ENTROPY">news:008801c24396

Re: [PHP] Setting the line number for debugging

2002-08-14 Thread Thomas Lochmatter
hem together in the same file. The reason is that there are many small pieces of code which all together give a complete script. Technically, I could use require/include instead, but this would mean that every generated script consists of a dozen of files. Thank you anyway. - Thomas -- PHP Gen

Re: [PHP] ldap_rename refused to work

2002-08-14 Thread Roger Thomas
--- Stig Venaas <[EMAIL PROTECTED]> wrote: > > But you're not doing what I wrote... :) or else i won't be asking hehehe > > The third parameter should be the new rdn (which is the same as the old), > and the fourth should be new parent. So it should look like this: > > $r=ldap_rename($ds, >

[PHP] Captcha wrapper

2002-08-15 Thread Roger Thomas
wonder if anyone has developed a wrapper around captcha. or is there an alternative way ? -- roger __ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Parse Error in Last Line of PHP Script

2002-08-15 Thread Thomas Meinke
Hello! My problem is a Parse Error in the last line of the script. I checked all the brackets { and semicolons ; but I did`nt find any error. Perhaps you can help me. Cu Thomas Here is the Code: -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] phpnuke installation.

2002-08-22 Thread Thomas Goeminne
solve this problem? I already put in the config.php the url to my site as http://www.mydomain.be/nuke but this doesn't seem to solve my problem. Any tips or tricks r welcome -- Thomas Goeminne Executive NV Kortrijksepoortstraat 7 9000 Gent Belgium Tel/fax: + 32 9 223 0393 BTW: BE 455.67

[PHP] open_basedir restriction?

2002-08-22 Thread Thomas Goeminne
op.php on line 183 Fatal error: Call to undefined function: tep_session_start() in /www/T/tgoeminne/web/www.hiphopstore.be/admin/includes/application_top.php on line 186 -- Thomas Goeminne Executive NV Kortrijksepoortstraat 7 9000 Gent Belgium Tel/fax: + 32 9 223 0393 BTW: BE 455.676.207 URL: http://clik

[PHP] imap_gt_quota is not defined ?

2002-08-28 Thread Roger Thomas
php-4.2.2 Linux rh7.1 I run this on my browser ... and I get: Fatal error: Call to undefined function: imap_get_quota() in /home/httpd/vhost/home/horde/q.php on line 5 I quickly look inside php-4.2.2/ext/imap/php_imap.c and can see that the function name is there. What's wrong with *me* ? --

[PHP] ImageTTFText - absolute versus relative path names

2002-09-16 Thread thomas . emde
light hint in the commented manual that relative paths are not working at all. Is this correct or is there any possibility to use relative paths with this function? regards, Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: A problem with Sessions: Developing and App inside PostNuke

2002-09-17 Thread Thomas Goeminne
I also use the phpnuke. But I am gonna drop the whole thing. It causes nothing but trouble. You have to follow all the rules (not to mention the copyright lines) and can't find much information on them so you need to start and learn the nuke style. Ok this is not a real problem but since a couple

[PHP] script to check for register_gloabs=off compatibility

2002-09-24 Thread Thomas Porter
I currently maintain about 100 sites that use PHP. Many of them were programmed pre 4.2, and are not compatible with the register_globals=off setting. Since we use virtual hosts in apache I have been able to modify that one ini setting for the sites that need it, but now my job is to modify all

[PHP] cookies from cgi script

2002-09-25 Thread Roger Thomas
Dear all, I have a cgi script that create cookie with the cookie path set to /cgi-bin/ How do I access the value of that cookie from a php-script ? I have tried $_COOKIE["cookiename"] but the value is blank. From my NS cookie manager, I know that there is value associated with that cookie. Pleas

[PHP] regexp help wanted

2002-09-28 Thread Thomas Seifert
Hi folks, I just got nuts by trying to find a regexp for use with preg_replace to achive the following: remove all which are in the text between a and a Tag. So, I want no br between these tags. Any ideas or quick help? thanks in advance, Thomas -- PHP General Mailing List (http

Re: [PHP] Chat with php

2002-10-08 Thread Thomas Weber
!= false) { window.scrollBy(0,15); } window.setTimeout("Scroller()",15) } Scroller(); parent.atok = 'CCOFs'; function atok(p1) { parent.atok = p1; } //--> ... It scrolls down whenever the mouse is outside the frame with the stream. Cya

[PHP] Converting audio files and display/play in browser

2002-10-11 Thread Thomas Nilsen
tools on the linux web server, and once the newly converted file is available, throw it at the requesting browser as a file download? Regards, Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Converting audio files and display/play in browser

2002-10-11 Thread Thomas Nilsen
Timothy Hitchens (HITCHO) > [EMAIL PROTECTED] > > HITCHO has Spoken! > > > > > > > -Original Message- > From: Thomas Nilsen [mailto:[EMAIL PROTECTED]] > Sent: Saturday, 12 October 2002 4:22 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Converting audio files and

Re: [PHP] Converting audio files and display/play in browser

2002-10-11 Thread Thomas Nilsen
Excellent! Works like a charm. Thanks for your speedy help Timothy. Regards, Thomas "Timothy J Hitchens" <[EMAIL PROTECTED]> wrote in message 005f01c27162$0804c820$0500a8c0@BAMBINO">news:005f01c27162$0804c820$0500a8c0@BAMBINO... > Easy... > > > header(&#x

RE: [PHP] html form array

2002-10-13 Thread Roger Thomas
try this (noticed that I've changed $foo to $_POST["foo"]. after all we're livin in globals off rite? ) "; for($i=0;$i"; } } else { ?> " method="post"> One Two Three -- roger --- "John W. Holmes" <[EMAIL PROTECTED]> wrote: > > dear all, > > i ran my code below on ie and it w

[PHP] Creating a voting system.

2002-10-16 Thread Thomas Goeminne
Hello, I am making a page where people can vote for their favourite image. People can give points from 1 to 5. I want the votes counted in a table in my mysql dbbase called votes. How do I make such a system? thank you for helpfull hints. -- PHP General Mailing List (http://www.php.net/) T

[PHP] sockets

2002-11-07 Thread Gareth Thomas
Hi, I am running 4.3.0pre2 on RH 7.2 and on Windows2k I am trying to implement a socket based client/server communication program with the server being on the Linux side and the current test client on windows (although it will be on Linux eventually). A series of commands is sent by the client sid

Re: [PHP] re: W3C and PHP

2002-11-09 Thread Brad Thomas
Alternatively, you could set php.ini to use the semi-colon (;) to seperate arguments. HTH Brad "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message news:Pine.LNX.4.44.0211082246320.2586-10@;www.lerdorf.com... > and in your php.ini file add: > > arg_separator.output = "&" > > On Sat, 9 Nov 20

[PHP] Performance through the 4.x-series

2002-11-10 Thread Thomas Seifert
Hi there, did anyone do any Performance measurement through the php4.x-series? I've heard that the performance decreased from 4.0.x to 4.1.x to 4.2.x ... ? Are there any numbers or benchmarks for this? Thanks in advance, Thomas -- PHP General Mailing List (http://www.php.net

Re: [PHP] Performance through the 4.x-series

2002-11-10 Thread Thomas Seifert
Sorry, yeah I've heard and I cannot prove it, therefore I ask. I didn't want to troll or similar, just curious about it. Are there any benchmarks through the different versions with a common-app or similar available? Regards, Thomas On Sun, 10 Nov 2002 08:08:04 -0800 (PST) Rasm

[PHP] Array Searching

2002-11-15 Thread Thomas Weber
ny idea how to do 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] manual trans-sid?

2002-11-20 Thread Thomas Weber
Hi, does anyone know a way to rewrite url's with the session-tag in a string, without sending the output to a browser? I'm writing some sort of webserver in php wich should, of course, send rewrited urls to its clients via sockets. Thanks a lot, Thomas 'Neo' Weber --- [EMA

[PHP] sockets

2002-11-21 Thread Gareth Thomas
Hi, I realise that sockets is still 'experimental' but any help will be much appreciated. I am developing a queue system to send commands across from a server to a client using sockets. Problem is that the I keep getting a 'connection reset by peer' error after the first command is sent. The serve

[PHP] regex for emoticon codes

2002-07-08 Thread Roger Thomas
i have something like $str = "sometext sometext [emoticon01] sometext [emoticon23] sometext"; i would like to use regex to replace those codes into: sometext sometext /images/emot/01.gif sometext /images/emot/23.gif sometext all numerics after the code "emoticon" consisted of exactly 2 digits;

<    1   2   3   4   5   6   7   8   9   >