Re: [PHP] sql syntax problem

2004-12-13 Thread Thomas Munz
This is the PHP mailing list, not the SQL mailing list ;) but here is the syntax ( not tested ): SELECT c.name AS city FROM geodb_locations AS c, user AS u WHERE u.user_id = 4 AND c.plz LIKE u.plz; > Hello everybody, > > I am trying to create a sql query with php and I do h

[PHP] stripping negative number

2004-12-23 Thread Roger Thomas
I want to convert negative number to its positive equivalent. $num = -40; printf("Unsigned value is %u", $num); output is: Unsigned value is 4294967256 I have checked the manpages and %u seems the right format. Pls advise. -- roger --- Sign Up

Re: [PHP] Firefox/IE (sometimes) wants to download .php files from my Apache2 server

2004-12-23 Thread Thomas Munz
I have the same problem. This problem occured i PHP crashes. Do you upgrad your PHP to a newer version or do you compile a PHP source and have RPMs installed? > Hi All, > > I have a rather odd problem. Since a few days, my otherwise perfect SuSe > 9.0 Apache2 server started to do some funny stu

Re: [PHP] Re: Firefox/IE (sometimes) wants to download .php files from my Apache2 server

2004-12-23 Thread Thomas Munz
This is not an Mime-type problem. What apache version your runnging. What RPMs of PHP4 you have installed? What PHP Apache module you have installed? > If it works most of the time, just not all the time... it can't really > be the mime-types, or can it? > > -Rinke > > Stephan Fiedler wrote: > >

Re: [PHP] Re: Firefox/IE (sometimes) wants to download .php files from my Apache2 server

2004-12-23 Thread Thomas Munz
Not more PHP modules? like php4-4.3.3 php4-mysql-4.3.3 php4-zlib-4.3.3 ?? Do you compile PHP4? ... > Thomas Munz wrote: > > This is not an Mime-type problem. > > > > What apache version your runnging. > > Apache/2.0.48 > > > What RPMs of PHP4 you have

Re: [PHP] A serious bug? "or" operator gives out diffferent results depending on order of operands

2004-12-27 Thread Thomas Goyne
On Mon, 27 Dec 2004 21:19:39 +, Rory Browne <[EMAIL PROTECTED]> wrote: Generally however there is no need to parentisize everything to the right of the assignment operator(=), since besides 'and', 'or', 'xor', and the comma operator. The only time I see the need to parentisize everything to

Re: [PHP] How do I start at a specific position in an array? Is there

2005-01-09 Thread Thomas Goyne
On Sun, 09 Jan 2005 15:59:43 +0100, M. Sokolewicz <[EMAIL PROTECTED]> wrote: that's not a SPECIFIC place in the array, that's just current, next and previous. AFAIK there is no way to explicitly set the internal pointer of the array to a spcified place. I used a function which basically loope

Re: [PHP] How do I start at a specific position in an array? Is there

2005-01-09 Thread Thomas Goyne
On Sun, 09 Jan 2005 23:58:18 +0100, M. Sokolewicz <[EMAIL PROTECTED]> wrote: can't recall what it was exactly, but I believe it was a case where I didn't know the key of the array, nor the value, but knew the "place" in the array. Can't exactly remember what it was... I am now thinking that wha

Re: [PHP] unpacking $_POST when example[1], example[2] in form.

2005-01-10 Thread Thomas Munz
$_POST["example"][1] $_POST["example"][2] > If I have a form with elements like > > > > > If example was not an array it would be accessed using > > $_POST["example"] > > But how do I access the varable if it is an array like above. > > Ben -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] $_REQUEST

2005-01-10 Thread Thomas Munz
Be carfull with this super var. This var is a merge of the GET, POST and FILES, and so only 1 index can only exists. If you have an index in the POST field called 'test' and also and index calles test in the FILES or GET var, than only one index of them is avaible and the other are gone I r

[PHP] PHP5 sprintf() function borken

2005-01-11 Thread Thomas Munz
Today i think i found an bu in the PHP5 version 5.0.3 ( allready exits also in the version 5.0.2 , i try this version also ). When tryo one of this scripts: $i_test = "0.085007667542"; $tm_total = sprintf('%.2f', $i_test); echo $tm_total; $i_test = 0.085007667542; $tm_total = sprintf('%.2f', $

[PHP] PHP5 Exception tutorial

2005-01-12 Thread Thomas Munz
Does anybody know a good PHP5 Exception Tutorial that explain this new function step by step? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Preventing execution without inclusion

2005-01-14 Thread Thomas Goyne
On Thu, 13 Jan 2005 16:25:30 -0600, Adam Hubscher <[EMAIL PROTECTED]> wrote: 1 (the preferred way): user accesses http://www.example.org/index.php?function=Join, this loads the class NewUser and begins its implementation. Because of the __autoload, it includes class.join.php, in order to u

[PHP] PHP5 Class problem

2005-01-28 Thread Thomas Munz
I'm using PHP 5.0.3 and if a problem if a class method. I'm initializing a class like that: $o_SessionHandler = new SessionHandler(); var_dump($o_SessionHandler->getOrgSession());exit; Now it get the error message: Fatal error: Using $this when not in object context in /srv/www/htdocs/SessionH

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

[PHP] per user per blog

2005-05-27 Thread Roger Thomas
Hi, Am looking for opensource blogging engine that does per user per blog with PHP and mySQL and authenticates user thru LDAP. Best rgds, Roger --- Sign Up for free Email at http://ureg.home.net.my/

[PHP] SESSION

2005-07-09 Thread Thomas Bonham
Hello All, If someone can send me a example of a login sesson. Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] SESSION

2005-07-10 Thread Thomas Bonham
Using the examples for php and my book. This is the error that I get with the following code. ERROR: [client 127.0.0.1] PHP Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /var/www/html/thomas/cis166ae/data/login.php:2) in /var/www/html

Re: [PHP] SESSION

2005-07-10 Thread Thomas Bonham
Using the examples for php and my book. This is the error that I get with the following code. ERROR: [client 127.0.0.1] PHP Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /var/www/html/thomas/cis166ae/data/login.php:2) in /var/www/html/thomas

Re: [PHP] SESSION

2005-07-10 Thread Thomas Bonham
ERROR: [client 127.0.0.1] PHP Notice: A session had already been started - ignoring session_start() in /var/www/html/thomas/cis166ae/data/login.php on line 3, referer: http://localhost/thomas/cis166ae/data/ [client 127.0.0.1] PHP Notice: A session had already been star

Re: [PHP] SESSION

2005-07-10 Thread Thomas Bonham
ERROR: [client 127.0.0.1] PHP Notice: A session had already been started - ignoring session_start() in /var/www/html/thomas/cis166ae/data/login.php on line 3, referer: http://localhost/thomas/cis166ae/data/ [client 127.0.0.1] PHP Notice: A session had already been

Re: [PHP] SESSION

2005-07-15 Thread Thomas Bonham
Thanks for all of the help. It is working now(On one page). Thomas On 7/11/05, Richard Lynch <[EMAIL PROTECTED]> wrote: > On Sun, July 10, 2005 7:50 pm, Thomas Bonham said: > > I have been trying to update & fix the errors. > > With the new code (That I will post at t

[PHP] Session warning

2005-07-16 Thread Thomas Bonham
if($result->num_rows>0) return true; else return false; } ?> Thank for the help. Thomas -- -- Thomas Bonham [EMAIL PROTECTED] bonhamlinux.org Cell 602-402-9786 -

[PHP] Re: Session warning

2005-07-16 Thread Thomas Bonham
Jasper Bryant-Greene wrote: Thomas Bonham wrote: Hello All, I'm working on session and I'm getting this warning. Maybe someone can help fixing this problem. Below is the following code. Warning: Warning: session_start() [function.session-start]: Cannot send session cookie - heade

Re: [PHP] Re: Session warning

2005-07-16 Thread Thomas Bonham
y l e s h e e t " t y p [EMAIL PROTECTED] property]$ Thanks Thomas On 7/16/05, Rasmus Lerdorf <[EMAIL PROTECTED]> wrote: > On Sat, 16 Jul 2005, Thomas Bonham wrote: > > Jasper Bryant-Greene wrote: > > > Thomas Bonham wrote: > > &g

Re: [PHP] Re: Session warning

2005-07-17 Thread Thomas Bonham
s s / t a b l [EMAIL PROTECTED] property]$ Also I gess I can't have the null line at the top of my file. Again Thanks of the help. Thomas On 7/16/05, Rasmus Lerdorf <[EMAIL PROTECTED]> wrote: > Thomas Bonham wrote: > > Ok that is some help. > >

[PHP] Send in a form there email

2005-07-24 Thread Thomas Bonham
Hello All, I'm trying to format a the variables for the form to send them there email. What I need is how do I put a new line in the string that is be send. Thanks Thomas -- -- Thomas Bonham RHCT (Red Hat Certified Techn

[PHP] Re: Send in a form there email

2005-07-24 Thread Thomas Bonham
I fond the fix. When you use \n in the string and then try to echo it back it doesn't echo back right. But when you send it the \n works. Thomas Thomas Bonham wrote: Hello All, I'm trying to format a the variables for the form to send them there email. What I need is how do I

[PHP] running number

2005-07-25 Thread Roger Thomas
I am required to write a user registration script that captures the basics like name, phone number etc etc. I would also have to write to mySQL database a number that is associated with that user. At this point of writing, the start of that number is unknown. But the number will be incremented

Re: [PHP] running number

2005-07-25 Thread Roger Thomas
ld empty makes it automatically increase it. The beauty > is > that you can have 400 people registering at once, and their number > gets > assigned as the query is run against the database, no matter what order they > hit > it in, the system will take it as they come.

RE: [PHP] Calendar program like on php.net

2005-07-31 Thread Roger Thomas
Quoting Jim Moseby <[EMAIL PROTECTED]>: > I'd repost the link for you, but I've already deleted it. Sorry. Look back > through the archives. > > JM > I searched for 'Jim Moseby calendar' in the general and Dev mailing list but no go. Anty clue? -- Roger -

[PHP] Knowledge Management

2005-08-04 Thread Roger Thomas
I am trying to find a suitable opensource Knowledge Management System to be used in my organisation; at least with document management, project management group collaboration capabilities, like http://cortexpro.com/ Any clues ? -- Roger --- Si

Re: [PHP] Knowledge Management

2005-08-04 Thread Roger Thomas
OK thanks Rory. I will certainly evaluate it. -- Roger Quoting Rory McKinley <[EMAIL PROTECTED]>: > Roger Thomas wrote: > > I am trying to find a suitable opensource Knowledge Management System to be > used in my organisation; at least with document management, project

[PHP] download snippet

2005-08-09 Thread Roger Thomas
Am looking for code snippet to download file. It should be able to detect mime-types. Thanks. -- Roger --- Sign Up for free Email at http://ureg.home.net.my/ --- -- PHP General Mailing List (http:/

[PHP] dynamic object instances

2005-08-10 Thread Thomas Angst
can I write a function to instance objects with various count of parameters in the constructor? I know, can do this with an eval. But I would like to find a solution where I don't need an eval. thanks for all answers, Thomas -- PHP General Mailing List (http://www.php.net/) To unsub

Re: [PHP] Re: dynamic object instances

2005-08-10 Thread Thomas Angst
} $obj = call_user_func_array(array('test', 'test'), array('foobar')); $obj->out(); But I'm getting an error while accessing the $this pointer in the constructor. Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: dynamic object instances

2005-08-11 Thread Thomas Angst
hanks anyway Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How to suppress HTTP headers?

2005-08-16 Thread Thomas Capote
I am coding a PHP page to deal with a badly implemented automated status update script on a remote server (that I do not control) which fails if my response to it's POST request has HTTP headers. Go figure. So the question is "How do I NOT send HTTP headers in my response?" or "How can my script su

RE: [PHP] How to suppress HTTP headers?

2005-08-16 Thread Thomas Capote
I knew my description was a bit mangled; I was trying to keep it short. Sorry. Take two: A "remote server" is sending event records to "my server" using HTTP POST requests to http://my.server.com/storeit.php, let's say. The remote server expects acknowledgement by way of a response to its request.

[PHP] run remote shell script

2005-08-17 Thread Roger Thomas
My PHP script is in svrA. How do I run a shell script in svrB? svrB does not have PHP and Apache :( Is this at all possible? Please advise. -- Roger --- Sign Up for free Email at http://ureg.home.net.my/

Re: [PHP] Re: run remote shell script

2005-08-17 Thread Roger Thomas
the actual situation, I need to execute a shell script in svrB (from browser served by Apache on svrA) that only root can run. Please advise. I am getting very worried. -- Roger Quoting Matthew Weier O'Phinney <[EMAIL PROTECTED]>: > * Roger Thomas <[EMAIL PROTECTED]>: >

Re: [PHP] Re: run remote shell script

2005-08-18 Thread Roger Thomas
Quoting Richard Lynch <[EMAIL PROTECTED]>: > If 'www' can do it in a shell, then PHP, running as 'www' can usually do do it www is a Limux system user on both svrA and svrB. On svrA, Apache runs as user nobody. I mean, this is the httpd user, where we defined it in httpd.conf: User nobody Group

Re: [PHP] Re: run remote shell script

2005-08-18 Thread Roger Thomas
Thanks for your great explaination. I really appreciate that. I will try out the things that you have outlined and will be back if I land into trouble :) -- Roger Quoting Richard Lynch <[EMAIL PROTECTED]>: > On Thu, August 18, 2005 12:22 am, Roger Thomas wrote: > > Quotin

RE: [PHP] How to suppress HTTP headers?

2005-08-18 Thread Thomas Capote
Just to catch up: I'm trying to respond to a HTTP POST request without sending any HTTP headers with the response (that is, reply with *content only*). 1) The CGI SAPI will always send some basic headers with any script output; these include the status line ('HTTP/1.1 200 OK'), 'Content-type:', '

[PHP] Catching all errors and redirecting

2005-08-18 Thread Thomas Hochstetter
Hi again, Is it possible to catch all parser errors (notices), and as that happens redirecting to a 'sorry-page-not-available-at-this-moment' page, whilst storing the error (or notice) message somewhere else (e.g. emailing it to the developer). thanks Thomas -- PHP General Mailing

Re: [PHP] Re: run remote shell script

2005-08-18 Thread Roger Thomas
Thanks Matthew. You and Richard have been very helpful. I should be able to carry on. Thank you again. -- Roger Quoting Matthew Weier O'Phinney <[EMAIL PROTECTED]>: > First off, Roger, Thomas, not sure which is your given name -- > please > use a mail or news agent that

[PHP] Send postcard link

2005-10-09 Thread Roger Thomas
On server-1 I have my photogallery working. On another box, server-2, I have my postcard script also working great. Users can send postcards using ready inhouse designs or upload their own (max 100K). Both have been serving our community for the past 2 years or so. Current requirement: When I

[PHP] Email Form

2006-01-19 Thread Thomas Bonham
Hello All, I don't remember how to do email with php. I have all of it done, except for I can't get it to show the senders email address. All I get it from [EMAIL PROTECTED] If some one has a example that they can post that would be great. Thank You Thomas -- PHP General Ma

[PHP] Announcement: PHP-Qt

2006-01-24 Thread Thomas Moenicke
have ported these tutorials to PHP-Qt, and they are available in the tarball. For more information, visit http://php-qt.berlios.de/ . -- Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP 5 Backwards Compatability

2006-01-30 Thread Tod Thomas
Is their a list of portability problems to be aware of when switching from v4 to v5? Maybe a table that compares the two? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP5 Build - test.php not working

2006-01-30 Thread Tod Thomas
I just built phpV5.1.2 with the same options I used to build php4: ./configure --prefix=/opt/php5 --with-apxs2=/opt/apache/bin/apxs --with-mysql=/opt/mysql --disable-cgi --with-zlib After make install I had libphp5.so in the ./apache/modules directory as expected. I commented out my LoadModul

Re: [PHP] PHP5 Build - test.php not working

2006-01-30 Thread Tod Thomas
Richard Correia wrote: I think your webserver is not treating .php as script file. AddType application/x-httpd-php .php http://www.weberdev.com/Manuals/PHP/install.windows.apache2.html The above instructions are for windows, but you will get the idea. Thanks, Rich I thought about doin

Re: [PHP] PHP5 Build - test.php not working

2006-02-01 Thread Tod Thomas
Richard Correia wrote: can you try httpd -v, which all dynamic modules are listed? Sorry I took so long. -v just displays the version. This provides what you asked for I think: /httpd -e debug [Tue Jan 31 18:11:38 2006] [debug] mod_so.c(248): loaded module access_module [Tue Jan 31 18

Re: [PHP] PHP5 Build - test.php not working

2006-02-02 Thread Tod Thomas
Richard Lynch wrote: On Mon, January 30, 2006 8:08 pm, Tod Thomas wrote: I just built phpV5.1.2 with the same options I used to build php4: ./configure --prefix=/opt/php5 --with-apxs2=/opt/apache/bin/apxs --with-mysql=/opt/mysql --disable-cgi --with-zlib After make install I had libphp5.so

Re: [PHP] PHP5 Build - test.php not working - Solved

2006-02-02 Thread Tod Thomas
Tod Thomas wrote: I just built phpV5.1.2 with the same options I used to build php4: ./configure --prefix=/opt/php5 --with-apxs2=/opt/apache/bin/apxs --with-mysql=/opt/mysql --disable-cgi --with-zlib After make install I had libphp5.so in the ./apache/modules directory as expected. I

Re: [PHP] xml to array

2006-02-05 Thread Tod Thomas
Brian V Bonini wrote: On Fri, 2006-02-03 at 16:23, Richard Lynch wrote: I've got my money on the XML spec REQUIRING an alphabetic start to tagnames, and subsequent characters can be alphanumeric... In other words, it doesn't work because <0> is not a valid XML tag. Yeah, that was my instin

[PHP] Where is Zend

2006-02-12 Thread Roger Thomas
I have had difficulty going to zend.com to download Zend Optimizer for php-4.4.2 since last week. Anybody that have a copy of Zend Optimizer, I would appreciate if you could provide me with a link to your server that I can download a copy. TIA. --roger ---

Re: [PHP] Where is Zend

2006-02-12 Thread Roger Thomas
Quoting Chris <[EMAIL PROTECTED]>: > Roger Thomas wrote: > > I have had difficulty going to zend.com to download Zend Optimizer > for php-4.4.2 since last week. > > Have you contacted zend and told them you were having a problem ? > > I'm sure they have an ea

[PHP] HN CAPTCHA at http://www.phpclasses.org

2006-02-15 Thread Roger Thomas
I am currently testing HN CAPTCHA and noticed that the range of alphabets that were produced ranges from A..F only. My PHP skill is quite limited to change that to A..Z so if ppl here have any experience with that class, appreciate your thoughts. TIA. HN CAPTCHA: http://www.phpclasses.org/brows

Re: [PHP] HN CAPTCHA at http://www.phpclasses.org

2006-02-15 Thread Roger Thomas
Quoting J_K9 <[EMAIL PROTECTED]>: > How about sending us the code so that we can have a look? If not we > have > to register there... > > Cheers, > > J_K9 > OK. Attached. --roger --- Sign Up for free Email at http://ureg.home.net.my/ --

Re: [PHP] HN CAPTCHA at http://www.phpclasses.org

2006-02-15 Thread Roger Thomas
Quoting Curt Zirzow <[EMAIL PROTECTED]>: > On Thu, Feb 16, 2006 at 09:44:33AM +0800, Roger Thomas wrote: > > I am currently testing HN CAPTCHA and noticed that the range of > alphabets that were produced ranges from A..F only. My PHP skill is > quite limited to change that t

Re: [PHP] HN CAPTCHA at http://www.phpclasses.org

2006-02-15 Thread Roger Thomas
Quoting Kim Christensen <[EMAIL PROTECTED]>: > To solve your problem, replace the generate_private() function in > hn_captcha.class.php - starting at row 756 - with this code: > >function generate_private($public="") >{ > $letters = "1234567890abcdefghijklmnopqrstuvwxyz"; > $

[PHP] Transparent sid

2001-01-27 Thread Thomas Seban
Hello, with latest windows binary package from www.php.net, transparent sid shoud be enabled. How can i disable this feature? Greetings from germany Thomas Seban -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

[PHP] httpd-prozess doesn't get killed

2001-01-30 Thread Thomas Weber
cript. So if you reload the stream an few times you have a task list full of Apaches. How can i kill the old, unused process when i reload the page? I tried if($connection_aborted()) { exit; }, but it exits the first time. Thanks, --- Thomas Weber CYNOBIA Community Online Service AG Kühbachstra

RE: [PHP] major help required with php3 and apache on suse 7.0 pro

2001-01-30 Thread Thomas Weber
Hi, i run SuSE 7.0 too, but i think you cannot use mod_php3 AND mod_php4 together. -Original Message- From: bob [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 30, 2001 9:48 AM To: [EMAIL PROTECTED] Subject: [PHP] major help required with php3 and apache on suse 7.0 pro Importance: Hig

RE: [PHP] major help required with php3 and apache on suse 7.0 pro

2001-01-30 Thread Thomas Weber
. ( http://www.webmin.org ) This is a very confortable web.interface for Linux-administration. -Original Message- From: bob [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 30, 2001 12:48 PM To: Thomas Weber Subject: RE: [PHP] major help required with php3 and apache on suse 7.0 pro Hi thomas

Re: [PHP] Editor

2001-01-30 Thread Shaun Thomas
listed are about as good as you'll find. Good luck! -- +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+ | Shaun M. ThomasINN Database Programmer | | Phone: (309) 743-0812 Fax : (309) 743-0830| | Email: [EMAIL PROTECTED]AIM :

[PHP] Re-Creation of Objects in sessions

2001-02-01 Thread Thomas Stinner
d the incomplete PHP Object to create a real, useable PHP Object? -- Till soon, Thomas Stinner billiton internet services GmbH -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

Re: [PHP] Retrieve HTML page

2001-02-02 Thread Shaun Thomas
y was added in php4. You'd be amazed what you can learn from an RFC. -- +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+ | Shaun M. ThomasINN Database Programmer | | Phone: (309) 743-0812 Fax : (309) 743-0830

[PHP] "Trim" an array?

2001-02-02 Thread Thomas Deliduka
esn't work since it always has 9 elements. Is there a way to find out if an array contains no values even though it has elements? Sort of like a trim() function on an array to destroy the elements in the array that are empty. Is it possible? -- Thomas Deliduka IT Manager --

Re: [PHP] "Trim" an array?

2001-02-02 Thread Thomas Deliduka
On 2/2/01 5:34 PM this was written: > while(list($key,$value)=each($array)){ > if(empty($value)) unset $array[$key]; > } Sweet! Thanks, that was easy. -- Thomas Deliduka IT Manager - New Eve Media The Solution To Your Internet Angst http://www.n

[PHP] Problem compilieng PHP4

2001-02-03 Thread Thomas Weber
? Thanks, Thomas Weber --- EMail: [EMAIL PROTECTED] Homepage: http://www.youngarts.org / http://www.visions-of-future.de

Fw: [PHP] Problem compiling PHP4 Nr. 2

2001-02-03 Thread Thomas Weber
I have solved the problem. But now i have another problem: Look at this screenshot: http://electic.hn.org/tunix.gif Thanks, --- Thomas Weber --- EMail: [EMAIL PROTECTED] Homepage: http://www.youngarts.org / http://www.visions-of-future.de - Original Message - From: "Thomas

Re: [PHP] Stringing sql queries?

2001-02-03 Thread Thomas Weber
Yep, try this: SELECT a.col1, a.col2, b.col3, c.col4 FROM table1 a, table2 b, table3 c This should give you an array [col1,col2,col3,col4] Thomas Weber --- EMail: [EMAIL PROTECTED] Homepage: http://www.youngarts.org / http://www.visions-of-future.de - Original Message - From

[PHP] strange Compiling Errors / PHP4.0.4pl1

2001-02-05 Thread Thomas Weber
4.0.3 but i get the same errors.) Please help me!!! Thank you, 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

[PHP] Howto return multidimensional arrays from a PHP module

2001-02-05 Thread Thomas Wentzel
Hi all, I've been using array_init and add_assoc_xxx to return an array from within my PHP module... But how would I go about returning the following stucture Array (Array (Name, Type, Size)) tia T. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [PHP] Howto return multidimensional arrays from a PHP module

2001-02-05 Thread Thomas Wentzel
Thomas Wentzel wrote: > > Hi Søren, > > Thank you very much for your answer, but I'm afraid that it isn't that > usefull to me... I don't have the luxury of using PHP as my PHP module > is written in C!! > > T. > > Soeren Staun-Pedersen wrote: >

[PHP] XML-DOM

2001-02-05 Thread Thomas Brusa
hello I'm trying to parse and change a loaded xml-file using the DOM module. I need to remove certain nodes and append new ones. Is it really true that you can't remove a childnode while working with dom. in perl this would look somehow like this: $doc1->removeChild($tmpele); $t

[PHP] FW: [PHP-INST] RE: strange Compiling Errors / PHP4.0.4pl1

2001-02-06 Thread Thomas Weber
The problem is solved! My system searched the .h-files in /usr/include/linux/ and i found them all in /usr/src/linux-2.2.16/include/linux/, just copied them and it worked :-))) Thank you all for the support! -Original Message- From: Thomas Weber [mailto:[EMAIL PROTECTED]] Sent

[PHP] which template?

2001-02-06 Thread Thomas Jaske
Which template can I use to do this simply? $template = new Template(); $template->assign(content_item, placeholder); $page = template($template_file); $page->print(); thanks! tomo __ FREE Personalized Email at Mail.com Sign up at http://www.mail.com

[PHP] Is it server Push?

2001-02-07 Thread Thomas Deliduka
running list. Doing operation. Done Doing this Done Etc With ASP it does it as you see it, with PHP it seems to do it all and the print to the screen. Is there a way to get PHP to do the same as ASP or is that just the way PHP works? -- Thomas Deliduka IT Manager ---

Re: [PHP] Is it server Push?

2001-02-07 Thread Thomas Deliduka
On 2/7/01 5:09 PM this was written: > Use flush(); each time you want the latest output to be sent to the > client. > This works only with PHP as a Webserver-Module, not as CGI. Thanks! -- Thomas Deliduka IT Manager - New Eve Media The Solution To Your

Re: [PHP] MySQL 3.23

2001-02-10 Thread Thomas Deliduka
? Thanks! > > I hit a snag with some of the new reserved words colliding with field > names, you might want to take at the list. -- Thomas Deliduka IT Manager - New Eve Media The Solution To Your Internet Angst http://www.neweve.com/ -- PHP General Ma

Re: [PHP] mysql_fetch_array and row referencing under 4.0.4pl1

2001-02-12 Thread Thomas Deliduka
snt allow these > quoted identifiers anymore? > > Or is this just a new (less-than-compatible) upgrade to PHP that I've missed > reading about?? > > Heeeeeelp me ... I dont want to have to rebuild all my sites > just because of these stupid quotes &

Re: [PHP] pro's and con's of storing images

2001-02-14 Thread Thomas Deliduka
27;ve never really worked with BLOB values in mySQL -- 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 comm

Re: [PHP] id

2001-02-19 Thread Thomas Deliduka
If (mysql_num_rows($findit)) { echo "Error! username exists"; } Or whatever code you want to add there. -- Thomas Deliduka IT Manager - New Eve Media The Solution To Your Internet Angst http://www.neweve.com/ -- PHP General Mailing List (http://

Re: [PHP] mysql problem

2001-02-19 Thread Thomas Deliduka
st be declared > NOT NULL (whereas the win32 port doesnt seem > to care very much)... > > for future reference, i reccomend trying out your > SQL code in the MySQL monitor (the command line > utility that comes with the server)... generally > the error messages are *MUCH* mo

Re: [PHP] members page

2001-02-19 Thread Thomas Deliduka
age for all users. If you're authenticating via .htaccess you can use the environment variable "REMOTE_USER" to use as the username to do the select on the db. Something like: $user = getenv("REMOTE_USER"); $sql = "Select * from usertable where usern

Re: [PHP] header

2001-02-19 Thread Thomas Deliduka
Do you get an error? Remember that there can be no breaklines before the start of you php tag ( Do I have to have special configuration to use the header function, this is > because it is not responding. > > I use it like this. > > header('Location: contrato.html');

Re: [PHP] processing form data

2001-02-20 Thread Thomas Deliduka
me that > the FORM ACTION is not working and my username.php is noyt called. Can > someone please help me and advise what I am doing wrong. > > > > > > Please enter your name here : > > > > > > > > > > > echo (

Re: [PHP] processing form data

2001-02-20 Thread Thomas Deliduka
> > > > > > > > > > > echo ("Welcome, " . $username . "!") > ?> > > -- Thomas Deliduka IT Manager - New Eve Media The Solution To Your Internet Angst http://www.neweve.com/ -- PHP Genera

[PHP] Terrible Hosting Experience

2001-02-20 Thread Thomas Deliduka
phone and hang it up! Can you believe that?! Stay away from these guys, they're terrible. -- 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-

Re: [PHP] Terrible Hosting Experience

2001-02-20 Thread Thomas Deliduka
eir root passwords and locked down the server tight (security-wise) They were given a cease and desist order. I have heard, however, that they have gotten a little more security conscience since then. -- Thomas Deliduka IT Manager - New Eve Media The Solution To You

Re: [PHP] Terrible Hosting Experience

2001-02-20 Thread Thomas Deliduka
quot;But I sent it right to her in the office." I said, "You office is in a whole-nother state from where the server is. It traveled unsecurely from your location to the server and back again several times in the last few days." she was clueless. Okay, I'm shutting up now.

Re: [PHP] PHP and SuEXEC?

2001-02-20 Thread Thomas Deliduka
t figure out how to get it working. I'm so clueless when it comes to these advanced Unix stuff. If anyone has any tips, perhaps you can e-mail me privately. Thanks! -- Thomas Deliduka IT Manager - New Eve Media The Solution To Your Internet Angst http://www.neweve

[PHP] How can I get infor from tasm manager.

2003-01-22 Thread Thomas Wessel Svensson
Anyone ? regards Thomas Svensson, Oslo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How can I get info from task manager...?

2003-01-22 Thread Thomas Wessel Svensson
regards Thomas Svensson in Oslo. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How do I check if a process is running ?

2003-01-22 Thread Thomas Wessel Svensson
I need som guidance in the correct direction for som Task Manager-like problems in the PHP Manual of php.net. Anyone ? from Thomas is Oslo, Norway -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Inserting Processed Data from One Table 2 Another!

2002-07-23 Thread Thomas Edison Jr.
Ok i have simple issue, i'm stuck at one point. I have a table "Clientdetails" which contains ClientID. I have created another table "Authentication" with 2 fields, "ClientID" and "Password". I want to pick up the ClientID from table "Clientdetails" and insert "ClientID" and a Password i have ge

RE: [PHP] Inserting Processed Data from One Table 2 Another!

2002-07-26 Thread Thomas Edison Jr.
fetch_assoc($result)) { > $code = generateRandomString(8); > mysql_query("INSERT INTO authentication (id, pass) > VALUES > ($myrow[clientid], '".$code."'"); > }; > > Hope this helped you ! > > Greetz, > Wouter > &g

<    2   3   4   5   6   7   8   9   >