Re: [PHP] upload file size limit

2005-01-31 Thread Thomas Seifert
On Mon, 31 Jan 2005 03:15:00 -0800, Badlya Badlu wrote: the path is /etc/php.ini also upload_max_filesize 50M 50M Waiting for reply. it also depends on your webserver. I guess you are running apache2? thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: HTML Frames and PHP Sessions

2004-09-21 Thread Thomas Seifert
On Tue, 21 Sep 2004 04:02:47 -0400, Nick Patsaros wrote: Are PHP sessions compatible with frames in HTML? I'm trying to pass a user name through a session and my individual frames aren't receiving the variable. It worked prior to migrating to frames so I don't think it's my PHP that is the

[PHP] Re: problems with different results on count() and select

2004-09-16 Thread Thomas Seifert
On Thu, 16 Sep 2004 10:43:46 +0200, Merlin wrote: Theoreticly the result number of the first select statement should be identical with the count statement, but it is not. Has anybody an idea how to fix that? It can't be the same number as you are using a where clause in the second

[PHP] Re: php does not get variable values in POST method

2004-09-02 Thread Thomas Seifert
On Thu, 02 Sep 2004 09:03:34 -0700, Leticia Campos wrote: I developed an html/php form in a Php version 4.0.6, working fine, but when a moved the files to another web server with Php 4.3.2 the file procesaadmision.php called in the Post method does not get any of the input html variables

[PHP] Re: oop too slow

2004-08-19 Thread Thomas Seifert
On Thu, 19 Aug 2004 11:21:16 +0200, Krzysztof Gorzelak wrote: Each object gets data from mysql by itself. The generation time of 1 category [30 products, 10 keys, 5 values ~= 300 mysql queries] takes as I said more than a 1s (on quite fast machine). How can this model be improved? Why

[PHP] Re: building php to have mysqli support...

2004-07-17 Thread Thomas Seifert
On Sat, 17 Jul 2004 13:11:41 -0700, Bruce wrote: has anybody managed to get php to work so you can actually use both mysql/mysqli??? pointers/criticisms/assistance is greatly appreciated! searching through google/php.net/etc.. hasn't turned up information on where i've gone wrong.

[PHP] Re: unset empty elements in an array

2004-07-12 Thread Thomas Seifert
On Mon, 12 Jul 2004 15:33:53 +1000, Justin French wrote: Hi, Looking for a one-liner to delete all empty elements in an array. I know I can do it with a foreach loop, but I'm hoping that I've missed an existing function in the manual which may already do this, or a simple one-liner to

[PHP] Re: installing 4.3.x and 5.x

2004-07-12 Thread Thomas Seifert
On Sun, 11 Jul 2004 23:17:04 -0400, Alex Duggan wrote: Hello, Is it possible to build php-4.3.x and php-5.0.0RC3 both as static modules into apache-1.3? If so, can the two version of php be installed in the same prefix? or should they be installed in /usr/local/php4 and /usr/local/php5?

[PHP] Re: PHP Include not Working Correctly

2004-07-09 Thread Thomas Seifert
Harlequin wrote: ?php include Header.inc; ? Brings in the correct file but not an images referenced in the CSS file, just the background and formatting. Has anyone come across this before...? Huh? The include-statement just includes code/html, it doesn't correct any links or such. probably the

[PHP] Re: mysql_escape_string vs. mysqli_escape_string....

2004-07-01 Thread Thomas Seifert
Scott Fletcher wrote: What the hell??? When I enter the mysql_escape_string in the search for textbox at www.php.net, I get a mysqli_escape_string result. So, the question here is, is the website mistaken or is someone made a typo when posting to this php newsgroup??? Scott F. I get

[PHP] Re: MySql Close problem

2004-06-21 Thread Thomas Seifert
you should tell WHAT problem you have. does it throw an error? doesn't it work as expected ... ? whats the matter? thomas On Sun, 20 Jun 2004 13:47:03 -0700 [EMAIL PROTECTED] (Erik Gjertsen) wrote: I have problem with mysql_close I dont understand why. Are ther someone that have any

[PHP] Re: jdmonthname Function problem

2004-06-15 Thread Thomas Seifert
On Tue, 15 Jun 2004 21:32:32 +1000 [EMAIL PROTECTED] (Alan McDonald) wrote: Fatal error: Call to undefined function: jdmonthname() in hmmm what have I done with my build that I have left something like this out? Anyone have a cloe as to what option should have been set to get this

[PHP] Re: [OT?] Apache/PHP error/warning(s)

2004-06-06 Thread Thomas Seifert
Php Lists wrote: Hi list I can understand the difference between 'world writable' and 'writable by the webserver' in concept, but how would I go about manipulating these variables? Specifically, theses are error reports generated when setting up eGroupware (sourceforge.net) Thanks in advance.

Re: [PHP] generating graphs

2004-06-05 Thread Thomas Seifert
On Sat, 5 Jun 2004 19:31:34 +0530 [EMAIL PROTECTED] (Nitin) wrote: thanks for the help, but my PHP ver is 4.0.6... Any other suggestions?? hmm, upgrade? :) really, its worth it! thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: shedule a php script

2004-06-05 Thread Thomas Seifert
I would recommend the cronjob too but if you want to just keep the script running, do a while-loop around your code, i.e. while(1) { ... your code sleep(120); // sleep 120 seconds } --- the require should be outside of the loop IMHO ;). thomas On Sat, 5 Jun 2004 21:46:20 +0600 [EMAIL

[PHP] Re: multiple checkbox help

2004-05-31 Thread Thomas Seifert
On Mon, 31 May 2004 10:50:52 -0400 [EMAIL PROTECTED] (Bob Lockie) wrote: I tried this HTML: input name=deleteID value=1 type=checkbox input name=deleteID value=2 type=checkbox $_REQUEST['deleteID'] === the last box checked. so I did a google search and changed my HTML to: input

Re: [PHP] cookies malfunctioning moving from windows to linux

2004-05-30 Thread Thomas Seifert
Ryan Schefke wrote: I don't think that is it. I believe session.save_path is only for sessions, not cookies. I'm only using cookies in the application. Can someone please help? Thanks, Ryan Yeah, tell HOW you set the cookies. There is really no difference in linux/windows-php in this cases.

[PHP] Re: Windows to Linux -- Issues with mkdir()function and picture uploading

2004-05-30 Thread Thomas Seifert
Ryan Schefke wrote: The above behavior is on the Linux machine. Now, I run the same script on my windows box and it works perfectly. windows has (afaik in its default settings) no good file-permissions. the php-scripts usually run as the user the webserver runs as ... so the webserver-user has to

[PHP] Re: Windows to Linux -- Getting errors still...

2004-05-30 Thread Thomas Seifert
This is line 29: imagejpeg($base_image, 'temp.jpg'); //convert and save it to temp.jpg Hi, you should give it a path, i.e. ./temp.jpg or a full absolute path. thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Session variables not recognized?

2004-05-25 Thread Thomas Seifert
On Tue, 25 May 2004 08:36:37 -0700 [EMAIL PROTECTED] (Brian Dunning) wrote: The first line of my file is session_start(); but whenever I try to set or reference $_SESSION['anything'] I get: Undefined variable: _SESSION What's up with that??? what php-version do you use? thomas --

Re: [PHP] Re: php accelerator for php5rc1 ?

2004-04-19 Thread Thomas Seifert
Hi David, I'm not quite sure if its worth the trouble to officially support a php-version which is not yet stable. I remember that, at least, turck-mmcache has unofficial support for php5. thomas David Herring ([EMAIL PROTECTED]) schrieb: Hi Thomas, Thanks for the correction. My current

[PHP] Re: php accelerator for php5rc1 ?

2004-04-17 Thread Thomas Seifert
On Sat, 17 Apr 2004 19:01:21 +0100 [EMAIL PROTECTED] (David Herring) wrote: The latest Zend optimiser - 3.60 does not support php 5 - is there any alternative accelerators which do ? uhm, afaik the optimiser is not an accelerator, more kind of a loader for encrypted files. You would have to

[PHP] Re: PHP 4.3.5 Released

2004-03-26 Thread Thomas Seifert
Hi folks, thanks for another great php-release. Are there any important changes since the last RC? TIA, thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Generating Numbers from Strings

2003-10-31 Thread Thomas Seifert
On Sat, 1 Nov 2003 00:37:32 - [EMAIL PROTECTED] (John Ryan) wrote: I've a bit of a problem, I want a random keyword pulled from my database. But I dont want it random all the time. I just want it random to each page. So I have the filename variable of the page. How do I somehow generate a

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 something wrong? A bit

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

2003-10-07 Thread Thomas Seifert
Hey folks, I know this topic comes up again and again but I couldn't find any usefull php-editor for linux which is NOT written in java AND has some advanced features like a file navigation (listing all functions in a file with direct jump to them) or tooltips with the function definition or

[PHP] Re: javascript php

2003-07-28 Thread Thomas Seifert
On Mon, 28 Jul 2003 12:48:04 +0200 [EMAIL PROTECTED] (Roman Duriancik) wrote: I have problem with variables in javascript and php. I have code in php and in this code I insert some values from javascript.: $color = script!-- document.write(screen.colorDepth) //-- /script;

[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 General Mailing

Re: [PHP] Recompiling the PHP Binary with PCNTL

2003-07-27 Thread Thomas Seifert
On Sun, 27 Jul 2003 20:13:22 +0100 [EMAIL PROTECTED] (David Goodchild) wrote: My exact problem is this: I do not know how to recompile an already installed PHP binary with the option --with-pcntl ... You can't recompile a binary, you compile a new version with the compile-options of your old

Re: [PHP] PECL v. PEAR

2003-07-23 Thread Thomas Seifert
On Wed, 23 Jul 2003 14:22:40 + [EMAIL PROTECTED] (Curt Zirzow) wrote: * Thus wrote Chris Boget ([EMAIL PROTECTED]): Could someone point me to a good website that discuss the above? I can't find reference to PECL on either the PHP or Zend site and PHPBuilder isn't pulling much up,

[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, inform the user? I know I

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 saturn5.com :-)

[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 the bottom of this

[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 a secure way of

[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 P $_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] session_start (); $_SESSION['eventid'] =

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 Pitcher) wrote:

[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] more information about the php-/zend-api

2003-06-15 Thread Thomas Seifert
Hi folks, I'm currently trying to work my way through an extension. Using the tutorials on the php.net/zend.com ... and other sites it works so far to do some work, return values and getting parameters. But how can I get access to the variables defined in php or add other variables without the

[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 and some times doesn't, I just

[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 help on coding Date: Sun, 15 Jun 2003 12:26:53 +0200

[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: HTML BODY ?php $db = mysql_connect(localhost,root); mysql_select_db(main,$db); if ($submit) { if

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
On Mon, 9 Jun 2003 07:35:16 -0300 [EMAIL PROTECTED] (Marcelo Luiz De Laia) wrote: I use phpnuke and it have a sql_layer.php. You are correct, for mysql is mysql_query. But this dont is the problem, I change it and the problem continue! Any tip?? I think you are mixing the layer and native

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 = SELECT categoria,

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 ignore warnings about

[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 output is cut short. I

[PHP] Re: database selection

2003-02-16 Thread Thomas Seifert
* FROM polls WHERE pollID = $pollID; Does anyone now a solution for this that requires less code? Thx $query = SELECT * FROM polls ORDER BY pollID ASC LIMIT 1; Thats the only row. Regards, -- Thomas Seifert mailto:[EMAIL PROTECTED] http://www.MyPhorum.de -- PHP General Mailing

Re: [PHP] MySQL Username and Passwords

2003-02-09 Thread Thomas Seifert
to fix this for future users as well. Thanks in advanced. Thanks, Stephen Craton http://www.melchior.us -- By-Tor.com It's all about the Rush http://www.by-tor.com -- Thomas Seifert mailto:[EMAIL PROTECTED] http://www.MyPhorum.de -- PHP General

[PHP] Re: MySQL/PHP Associative Array Insert

2003-02-01 Thread Thomas Seifert
'].')); 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: Possible PHP/MySQL Bug?

2003-02-01 Thread Thomas Seifert
17 The code: [...] Any idea? Yeah, read out mysql_error() after sending the query and before doing fetch... to see what mysql thinks is wrong. Regards, -- Thomas Seifert mailto:[EMAIL PROTECTED] http://www.MyPhorum.de -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Re: Possible PHP/MySQL Bug?

2003-02-01 Thread Thomas Seifert
. 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
to end up totally random. I've done this a million times and never saw this.. Any thoughts... where do you take a row-order from? and HOW are you uploading it into mysql? if you don't use a order by-clause in a select you won't have a really ordered result (only by accident). Regards, -- Thomas

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 order. All the fields are making it in correctly

Re: [PHP] HELP please quickly

2003-01-22 Thread Thomas Seifert
_ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail -- Thomas Seifert mailto:[EMAIL PROTECTED] http://www.MyPhorum.de -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: Fw: [PHP] $header = Location:........ being ignored!

2003-01-22 Thread Thomas Seifert
://www.php.net/unsub.php -- 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: PHP Variable Declare

2003-01-22 Thread Thomas Seifert
=formmail input type=submit name=Submit value=Submit input type=reset name=Reset value=Reset /td /tr /form /table ?php } ? **last bit of HTML here** /body /html -- Thomas Seifert mailto

[PHP] Re: PHP Variable Declare

2003-01-22 Thread Thomas Seifert
o I need to add in the form name somewhere to show where the variables are coming from? Thomas Seifert [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... try: if (isset($_POST['frmAction']) $_POST['frmAction'] == formmail) inst

[PHP] Re: MySQL 4.0 + PHP 4

2003-01-22 Thread Thomas Seifert
thinking of upgrading, since I run a rather small server. Thanks! --Joe ps. PHP list responders please respond directly. I'm not currently subscribed. -- Joe Stump [EMAIL PROTECTED] http://www.joestump.net -- Thomas Seifert mailto:[EMAIL PROTECTED] http://www.MyPhorum.de -- PHP

[PHP] Re: 4.3.0 cpu load raise

2003-01-20 Thread Thomas Seifert
will evaluate my atsar logs to verify my assumption, but i like to know if others experienced similar behavior on their webservers. Thank you very much, Philipp -- Thomas Seifert mailto:[EMAIL PROTECTED] http://www.MyPhorum.de -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] SQL+php

2003-01-19 Thread Thomas Seifert
in a mysql_query output. Thanks, Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Thomas Seifert mailto:[EMAIL PROTECTED] http://www.MyPhorum.de -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] mail () error

2003-01-17 Thread Thomas Seifert
The mail-server has to respond that it received the mail. Maybe you've set the firewall only one-way open? Thomas On Fri, 17 Jan 2003 15:29:32 -0500 [EMAIL PROTECTED] (Stephen Goehler) wrote: Thanks, the server was relaying, but it turned out to be the firewall that was rejecting the

[PHP] Re: Using $vars from include()d functions in the main programm andother functions

2003-01-11 Thread Thomas Seifert
They should show up but still think of the order in which they are loaded. You can access vars which are not yet loaded. Also you can't access variables which are initialized in a function (if they are not global). Including adds the contents of the files as if it was directly in main.php4, they

[PHP] Re: Change Date

2003-01-11 Thread Thomas Seifert
http://de.php.net/manual/en/function.mktime.php The most important part is mktime() is useful for doing date arithmetic and validation, as it will automatically calculate the correct value for out-of-range input. Thomas On Sun, 11 Jan 2004 16:12:01 +0330 [EMAIL PROTECTED] (Sadeq Naqashzade)

[PHP] Re: Change Date

2003-01-11 Thread Thomas Seifert
? Regards, Sadeq Thomas Seifert [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... http://de.php.net/manual/en/function.mktime.php The most important part is mktime() is useful for doing date arithmetic and validation, as it will automatically c

[PHP] Re: Make thumbnail online

2003-01-11 Thread Thomas Seifert
how about just reading the docs which are available online? http://de.php.net/manual/en/ref.image.php and especially http://de.php.net/manual/en/function.imagecopyresized.php will help. Thomas On Sun, 11 Jan 2004 16:32:36 +0330 [EMAIL PROTECTED] (Sadeq Naqashzade) wrote: Hi every one, I

Re: [PHP] ftp_put: permission denied

2003-01-08 Thread Thomas Seifert
it may be, that destiny is wrong. the error-message tells that you don't have access to where you are trying to upload the file to. Thomas On Wed, 08 Jan 2003 20:59:02 +0100 [EMAIL PROTECTED] (Oliver Witt) wrote: I uploaded that script with a common ftp program on my server in the internet.

Re: [PHP] How To Delete Multiple Items Of Multiple Tables Using PHPand MySQL

2003-01-01 Thread Thomas Seifert
there is no need to close and open the connection for every query. just run the mysql_query again and again and again on the open connection. Still Stephen's quote is true, you can't run more than one query by one call to mysql_query. Thomas On Tue, 31 Dec 2002 16:30:38 -0600 [EMAIL PROTECTED]

[PHP] Re: Repeats of values

2002-12-31 Thread Thomas Seifert
On Tue, 31 Dec 2002 10:47:57 -0600 [EMAIL PROTECTED] (Anthony Ritter) wrote: while($line = mysql_fetch_array($result)){ print \ttrtd bgcolor=\#FF\Font Face=\arial\ size =2\n; while(list (,$value) = each ($line)) { Thats just wrong, mysql_fetch_array returns an array with all the

[PHP] Re: Writing byte 0A to a file (LF / CR related)

2002-12-25 Thread Thomas Seifert
from the manual: Note: On systems which differentiate between binary and text files (i.e. Windows) the file must be opened with 'b' included in fopen() mode parameter. Thomas On Wed, 25 Dec 2002 11:43:13 +0100 [EMAIL PROTECTED] (Bbun) wrote: Hey, I am trying to write some binary data

[PHP] function/class for updating multiple-tables automatically?

2002-12-16 Thread Thomas Seifert
Hi folks, I'm looking for a function or class which is able to automatically update multiple tables. The hard thing on this is, I only want to give it some predefined arrays which define the table-structures (and maybe aliases for some fields) and on execution it only gets some field-names and

[PHP] Re: function/class for updating multiple-tables automatically?

2002-12-16 Thread Thomas Seifert
oh, some addendum, I would need it for MySQL if its dependend. Thomas On Mon, 16 Dec 2002 21:46:34 +0100 [EMAIL PROTECTED] (Thomas Seifert) wrote: Hi folks, I'm looking for a function or class which is able to automatically update multiple tables. The hard thing on this is, I only want

[PHP] Re: Just Curious

2002-12-08 Thread Thomas Seifert
Mail/News-Client Sylpheed On Sat, 7 Dec 2002 23:31:57 -0500 [EMAIL PROTECTED] (Conbud) wrote: I was just curious, but what program or website do you all use to view and reply to the newsgroups with ? Lee -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] MySQL Server

2002-12-03 Thread Thomas Seifert
mysql-database contains all the system tables and users. Users are only inserted there and defined for which database they are made. As Jason suggested, look at mysql.com they have a fine manual with tutorials and long descriptions which lead to easy solutions to create users. i.e. search

[PHP] Re: print to file

2002-12-02 Thread Thomas Seifert
$fp=fopen(filename,a); fputs($fp,text to the file); fclose($fp); Regards, Thomas On Mon, 2 Dec 2002 15:52:23 -0800 (PST) [EMAIL PROTECTED] (Bryan Koschmann - Gkt) wrote: Okay, this is probably stupid, but how do you print to a file? Thanks, Bryan -- PHP General Mailing List

[PHP] Re: Guestbook

2002-12-01 Thread Thomas Seifert
Hi, you give less information. How do you compute the entry number and how do you save the entries and so on. Normally you will have to live with the gaps but sure, you can touch every entry and change its number ;-). Thomas On Sun, 1 Dec 2002 10:33:45 - [EMAIL PROTECTED] (Vicky) wrote:

[PHP] PHP Trouble-Ticket-Systems?

2002-12-01 Thread Thomas Seifert
Hi folks, I already searched through the web but couldn't find any which provide the features I want. What I would want to see in such a system: - adding TroubleTickets through webinterface or sending an email to an support email-address - adding answers to troubletickets to their parent -

[PHP] Re: PHP Trouble-Ticket-Systems?

2002-12-01 Thread Thomas Seifert
to pipe it into database and parse MIME attachments. . . I'd like to see it evolve into something like cyracle.com where there is a knowledge base in which the visitor can rummage through before submitting in a ticket. Thomas Seifert [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]"

[PHP] Re: imap

2002-11-25 Thread Thomas Seifert
On Mon, 25 Nov 2002 14:14:54 -0500 [EMAIL PROTECTED] (Greg) wrote: Can I user php to create IMAP mailboxes? I'm using Cyrus and php and apache are running on the same computer as Cyrus. Thanks! -Greg Maybe something like that would fit your needs: http://www.delouw.ch/linux/web-cyradm/

[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/) To

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

2002-11-10 Thread Thomas Seifert
[EMAIL PROTECTED] wrote: You have heard? There have been a number of performance improvements in many different areas of php actually. -Rasmus On Sun, 10 Nov 2002, Thomas Seifert wrote: Hi there, did anyone do any Performance measurement through the php4.x-series? I've heard

[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 br / which are in the text between a pre and a /pre Tag. So, I want no br between these tags. Any ideas or quick help? thanks in advance, Thomas -- PHP General Mailing List

[PHP] Re: mysql error

2002-05-17 Thread Thomas Seifert
also try to: echo mysql_error(); after the select-query, it will tell you what went wrong. Thomas On Fri, 17 May 2002 18:45:07 +0100 [EMAIL PROTECTED] (Randum Ian) wrote: Hi all, I have got this code but I can get it to work, it doesnt make sense! snip ?php $host=localhost;

Re: [PHP] Send html email

2002-05-12 Thread Thomas Seifert
On Sun, 12 May 2002 00:07:57 -0500 (CDT) [EMAIL PROTECTED] (Miguel Cruz) wrote: On Sat, 11 May 2002, Alex Shi wrote: Thanks for all of you who answered my question. But another of my stupid question is: what is RTFM? RTFM == Read The Flurking Manual Or Read the fine manual (or replace

[PHP] compiling extensions from HEAD for 4.1.1?

2002-04-27 Thread Thomas Seifert
Hi folks, I would like to use a extension from the php4-cvs for my current php4.1.1-production-system. Is it possible to use such an extension? if so, how? using phpize produces error messages about the m4-macros. thanks a lot, Thomas -- PHP General Mailing List (http://www.php.net/) To

[PHP] Re: cursor focus

2002-03-03 Thread Thomas Seifert
yeah, but what you want to do can only be accomplished with JavaScript. PHP is a serverside language and you need a clientside-lang like JS. Thomas Ralph Jarvis wrote: I am not running Javascript, just PHP/HTML... THe particular script I am having problems with has several decision points

[PHP] mysql_db_query and the future?

2002-02-23 Thread Thomas Seifert
Hi folks, just wondering, why the mysql_db_query is being abandoned and called deprecated ? With the current implementation of the mysql_connect I have a problem with using 2 databases with the same username/password. PHP will use the same connection and so only use one of the two databases