[PHP] get current username from the windows system

2003-01-23 Thread Thomas Franz
Hi. is their a possibilty to get the windows username of the current logged on user with php. I want this to make a logon dialog more comfortable. Thanks for an answer and a little example if it's possible. Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] HELP please quickly

2003-01-22 Thread Thomas Seifert
file already returns an array so this would be best for that :). Thomas On Wed, 22 Jan 2003 14:00:09 + [EMAIL PROTECTED] (Didier McGillis) wrote: Cool I'll report back what I have found. Question. I have tried fopen and file and was wondering for opening the file and loading

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
try: if (isset($_POST['frmAction']) $_POST['frmAction'] == formmail) instead of your line. Thomas On Wed, 22 Jan 2003 09:47:46 -0500 [EMAIL PROTECTED] (Stephen Goehler) wrote: Hey guys, Thanks in advance for your help. I'm working on emailing the contents of a form using php

[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] Re: PHP Variable Declare

2003-01-22 Thread Thomas Seifert
it won't work the way you are doing this. Try something like that line (changed from yours): fputs($fd, From: .$_POST['name']. .$_POST['email'].\n); Don't ask arrays directly in a string. Thomas On Wed, 22 Jan 2003 11:15:35 -0500 [EMAIL PROTECTED] (Stephen Goehler) wrote: Now it gets

[PHP] Re: MySQL 4.0 + PHP 4

2003-01-22 Thread Thomas Seifert
I'm running it in production since MySQL-4.0.2 and without any problems. Thomas On Wed, 22 Jan 2003 11:21:40 -0800 [EMAIL PROTECTED] (Joe Stump) wrote: Anyone out there have anything to share as to using PHP4+MySQL4. I've been hearing good things on the MySQL list about v4.0 and I'm

[PHP] Re: 4.3.0 cpu load raise

2003-01-20 Thread Thomas Seifert
Hmm, I didn't see this effect but I only tried on a development machine. I benchmarked a app there with both php-versions and it was nearly 20% faster with php-4.3.0. But that may depend on the application. Thomas On Mon, 20 Jan 2003 18:30:05 +0100 [EMAIL PROTECTED] (Philipp) wrote: Hello

Re: [PHP] SQL+php

2003-01-19 Thread Thomas Seifert
it doesn't change it in the database, just in the output. Thomas On Sun, 19 Jan 2003 03:17:04 +0200 (EET) [EMAIL PROTECTED] (Paul Marinas) wrote: something like that only i don't whant to alter the database, the fields in the database must remains unchanged, only, on page i whant to display

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 request

[PHP] --with-mcal=/usr/local/mcal compilation issue

2003-01-16 Thread Roger Thomas
php-4.3 libmcal-0.5 (i intend to use Horde's Kronolith and the README said it cannot work with libmcal-0.6) configure gave this error: checking for MCAL support... yes configure: error: Unable to locate your libmcal header files - cal_misc.h should be in the directory you specify or in the

[PHP] imap quota

2003-01-13 Thread Roger Thomas
i am referring to imap_get_quota manpages at http://www.php.net/manual/en/function.imap-get-quota.php it gave a short script (see bottom). question: in a qmail-ldap/courier-imap environment, who is that mailadmin ? -- script start -- $mbox =

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

2003-01-11 Thread Thomas Seifert
, they are not new namespaces Thomas On Sat, 11 Jan 2003 12:49:15 +0100 [EMAIL PROTECTED] (Ben9000) wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello List, a simple problem turned out to be not so simple as I thought. Here the situation: main.php4 | +-include

[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
to have the time in 3 hours $timestamp = $timestamp + (3600*3); // you can convert this time back to a readable format using strftime Regards, Thomas On Sun, 11 Jan 2004 16:22:08 +0330 [EMAIL PROTECTED] (Sadeq Naqashzade) wrote: So Thanks, but can you get me some example code

[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] apache and php

2003-01-09 Thread Gareth Thomas
Original Message- From: Gareth Thomas [mailto:[EMAIL PROTECTED]] Sent: Thursday, 9 January 2003 12:03 PM To: [EMAIL PROTECTED] Subject: [PHP] apache and php I am trying to run a PHP page from my browser (Mozilla) and each time I load the page it is attempting to force a dowload of

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

[PHP] apache and php

2003-01-08 Thread Gareth Thomas
I am trying to run a PHP page from my browser (Mozilla) and each time I load the page it is attempting to force a dowload of the page instead, based on the mime-type. I had been developing a command line PHP application which works fine and then had just started on a web interface and realised

Re: [PHP] signal handler to ignore kill of parent

2003-01-03 Thread Thomas Weber
I am using the pcntl_ fork() from PHP. The problem with exec() is that i need the variables and socket-descriptors from the parent. Thomas 'Neo' Weber --- [EMAIL PROTECTED] [EMAIL PROTECTED] - Original Message - From: Michael J. Pawlowsky [EMAIL PROTECTED] To: PHP-List [EMAIL PROTECTED

[PHP] signal handler to ignore kill of parent

2003-01-02 Thread Thomas Weber
Hi, i need some way for child-processes to ignore the kill of their parent. Any idea? 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] 2 servers for mail implementation

2003-01-02 Thread Roger Thomas
dear all, i have 2 servers that were *given* to me to setup and implement webmail solution for our client. i have done some groundwork in terms of the backend applications that are needed to do this. what i wanted to know is, how best can i distribute the backend applications between those 2

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
['date']./td\n; print \t/tr\n; } Regards, Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] imap_set_quota function

2002-12-29 Thread Roger Thomas
an excerpt from php man pages says that: This function requires the imap_stream to have been opened as the mail administrator account. It will not work if opened as any other user. ... ... $mbox = imap_open ({your.imap.host:143}, mailadmin, password); my question is, where do i set this admin

[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] Inserting tab delimited textfiles into mysql

2002-12-19 Thread Thomas Goeminne
dump all the records which were already in the dbase. And then it needs to get filled up with the new items.txt I would appreciate your help greets -- Thomas Goeminne -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2002-12-16 Thread Thomas Seifert
and their corresponding values. It should compute then the required tables to update based on the involved fields and update them with the values given. I know I could do it on my own with some work but I'm hoping someone has already developed something like that. Thanks, Thomas -- PHP General

[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

RE: [PHP] Re: Problems connecting to a MySQL database

2002-12-12 Thread Craig Thomas
previous page. Try putting the log in information and anything else needed in hidden fields in your form. YIKES!...hidden form fields are viewable in the html source generated. session_register() anyone? I thought you were trying to re-use the db connection? if so, use mysql_pconnect() if the

RE: [PHP] PHP + MySQL looping question

2002-12-12 Thread Craig Thomas
The problem is I have to reset the SQL result array on each for loop. How do you do that? $myNewArrayFullofSqlResultsThatICanLoopOverAsManyTimesAsIWant = mysql_query($sql); -Craig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP + MySQL looping question

2002-12-12 Thread Craig Thomas
); } -- _ Mark McCulligh, Application Developer / Analyst Sykes Canada Corporation www.SykesCanada.com (888)225-6824 ex. 3262 [EMAIL PROTECTED] Craig Thomas [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... The problem i

RE: [PHP] MySQL error

2002-12-12 Thread Craig Thomas
$mysql_result = mysql_query($query, $mysql_link); I am not sure if this is your only problem or not, but mysql_result(); is a function in php. Using a function name as a variable seems like it will just lead to confusion to me. I'd try to avoid it. -- line 36 while($row =

RE: [PHP] MySQL error

2002-12-12 Thread Craig Thomas
-- line 36 while($row = mysql_fetch_row($mysql_result)) Anyway, where do you define $row? HTH -Craig DOH! it's been a long one... -Craig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Pls Help: Moving script from Win to Linux

2002-12-10 Thread Craig Thomas
If you do not want to re-write all your code and your web server is Apache and your host allows the use of .htaccess files you can turn register_globals = on programmatically: http://www.php.net/manual/en/configuration.directives.php#ini.register-globa ls (php_flag register_globals = ON;) i

RE: [PHP] Re: Help please: Unable to get $_POST[variable]; to work in a form.

2002-12-10 Thread Craig Thomas
Using $_REQUEST[] works because the vars are in the http request, but $_POST[] contains nothing as the other poster noted: mehtod=post -Original Message- From: David Scott [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 10, 2002 1:20 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: Help

RE: [PHP] Pls Help: Moving script from Win to Linux

2002-12-10 Thread Craig Thomas
: Jason Wong [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 10, 2002 2:04 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Pls Help: Moving script from Win to Linux On Wednesday 11 December 2002 02:38, Craig Thomas wrote: If you do not want to re-write all your code and your web server is Apache

[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:

[PHP] Checking for Overlapping Dates

2002-12-05 Thread Thomas . Churm
Hi, Background: I've created a vacation-request application for our company's intranet. When an employee requests a vacation, he has to list the name of another employee who will 'fill in' for him while he is gone. Before a vacation request can be saved in MySQL, I need to

[PHP] socket timeout

2002-12-05 Thread Gareth Thomas
Hi, I am attempting to timeout a socket_read() that is part of a handshaking process using socket_set_timeout(). Problem is it doesn't seem to work at all. If I switch of the handshaking write on the server side the read just sits there and doesn't time out at all. I have tried

[PHP] Re: socket timeout

2002-12-05 Thread Gareth Thomas
built my own timeout loop into the code and voila!! Gareth Gareth Thomas [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, I am attempting to timeout a socket_read() that is part of a handshaking process using socket_set_timeout(). Problem is it does

Re: [PHP] MySQL Server

2002-12-03 Thread Thomas Seifert
for the grant-statement. Thomas On Tue, 3 Dec 2002 16:56:40 -0700 [EMAIL PROTECTED] (Chase) wrote: Thanks for the info... As it turns out, I am just a blithering idiot... I didn't know that I had to create a separate user... As I said, that shows my newbieness... However, this has lead

[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
- nice admininterface to answer support-requests and add comments (not sent to visitors) - open/close/stalled/bogus ... and so on tags for the system - ... So the question is, does anyone know any good troubleticket/helpdesk-systems written in PHP? Thanks, Thomas -- PHP General Mailing List

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

2002-12-01 Thread Thomas Seifert
Sounds interesting. I used RT at work but it was a nightmare to install and since my machine is a pure PHP-Apache I don't want to install mod_perl-support as well. Let me know if you need help on some parts. Thomas On Sun, 1 Dec 2002 14:33:02 -0500 [EMAIL PROTECTED] (Jonathan Chum) wrote: I

[PHP] help with session variables

2002-11-28 Thread Thomas Goeminne
? include ('./header.php'); $query=select prodid, title FROM fatbeats_prod; $result= mysql_query($query); $names= mysql_fetch_assoc($result); $query1=select prodid, price from fatbeats_prod; $result1=mysql_query($query1); $prices= mysql_fetch_assoc($result1); while (list($key,$val) =

[PHP] re-writing to the same socket

2002-11-26 Thread Gareth Thomas
Hi, I have some code that writes data to a socket (works fine) and stores the resource id created in a table with the column defined as varchar (80). Then the next time I need to write data to the same IP I retrieve the resource id and reuse it. Problem is that the socket_write seems to work fine

[PHP] sockets (again)

2002-11-25 Thread Gareth Thomas
Hi, I really need some help here because I am going to lose my mind otherwise!! A script that was running fine Friday has decided not to work for no apparent reason today. The problem seems to be with a socket_create that just stops the script, so I created a simple test script as shown below to

[PHP] Re: imap

2002-11-25 Thread Thomas Seifert
/ Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[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

[PHP] Array Searching

2002-11-15 Thread Thomas Weber
, Thomas 'Neo' Weber --- [EMAIL PROTECTED] [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Urgent CPU and|or hdd test

2002-11-11 Thread Thomas \omega\ Henning
Thanks for the information but is there a way to get it in windows aswell? Thanks Thomas omega Henning Marco Tabini [EMAIL PROTECTED] wrote in message news:1037025483.12570.155.camel;localhost.localdomain... If you're using linux, you can try to execute this from the command line: hdparm -i

[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) Rasmus Lerdorf

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 = amp; On Sat, 9 Nov 2002,

[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

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

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? ) ? if ($_POST[submit]) { print submittedBR; for($i=0;$isizeof($_POST[foo]);$i++) { print $_POST[foo][$i].BR; } } else { ? form action=? echo $_SERVER[PHP_SELF] ? method=post

[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
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 display/play in browser Anyone got any ideas as to how I can solve the following in PHP? I want to be able to selec

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... ?php header('Content-Type: audio/mpeg');

Re: [PHP] Chat with php

2002-10-08 Thread Thomas Weber
onMouseOut=doscroll=true ... It scrolls down whenever the mouse is outside the frame with the stream. Cya, Thomas 'Neo' Weber --- [EMAIL PROTECTED] [EMAIL PROTECTED] - Original Message - From: Oliver Witt [EMAIL PROTECTED] To: [EMAIL PROTECTED]; Thomas Weber [EMAIL PROTECTED] Sent

[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] 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. Please

[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]dtabase problem

2002-09-24 Thread Thomas Edison Jr.
there is a problem in mysql database.there r two tables.one table is named as transactions and the other is named as the code.the transactions table has got the 12 fields which r the following 1.clientid int 2.date date 3.isinno text 4.debit int 5.credit int 6.desc text 7.dpid1 text

[PHP] open_basedir and ..?

2002-09-23 Thread Thomas -Balu- Walter
I am not sure how open_basedir restricts myself. In fact I have problems with files that begin with ../. I can not include those files, and get the following Warning: open_basedir restriction in effect. File is in wrong directory in

[PHP] Check which PHP-Version a project needs?

2002-09-19 Thread Thomas -Balu- Walter
Hi all, is there any tool to check which PHP-Version a project needs at minimum? I am looking for something that crawls through the project and notices all php-functions, variables and such and tells which PHP-version is needed to get it running, because it's hard to keep track of e.g.

[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] ImageTTFText - absolute versus relative path names

2002-09-16 Thread thomas . emde
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

Re: [PHP] Calling info from mySQL inside flash

2002-09-09 Thread Thomas Edison Jr.
-Brad Thomas Edison Jr. wrote: I have a mySQL db, and a bunch of tables in it. What i want to do, is to pick up some data, and display in my Flash Movie. For example. I have a table with a list. Now on my main page, i display the total number of people in the list so far

[PHP] Calling info from mySQL inside flash

2002-09-08 Thread Thomas Edison Jr.
I have a mySQL db, and a bunch of tables in it. What i want to do, is to pick up some data, and display in my Flash Movie. For example. I have a table with a list. Now on my main page, i display the total number of people in the list so far (By counting the rows). Now i want to display the same

[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 ? $mbox = imap_open({imap.domain.com},roger,roger123,OP_HALFOPEN) or die(can't connect: .imap_last_error()); $quota_value = imap_get_quota($mbox, user.roger); if(is_array($quota_value)) { print Usage level is: . $quota_value['usage'];

[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.676.207

[PHP] open_basedir restriction?

2002-08-22 Thread Thomas Goeminne
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.to/bomb -- PHP General Mailing List

[PHP] Parse Error in Last Line of PHP Script

2002-08-16 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 $_custom_enable_custom_auth = true; $_custom_db_name = 'horde'; $_custom_db_host = 'localhost

[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] 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:

[PHP] Setting the line number for debugging

2002-08-14 Thread Thomas Lochmatter
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
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$580393a0$8c01a8c0@ENTROPY... Is it

Re: [PHP] Setting the line number for debugging

2002-08-14 Thread Thomas Lochmatter
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 General Mailing

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] 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_list;

[PHP] Need a Web Host for php/mySQl

2002-08-13 Thread Thomas Edison Jr.
Glory, I'm looking for a new Web Hosting company, to host my sites. I had been with Aletia, but i'm experiencing some technical flaws with them, so i need a new one. Aletia is very economical, with $7.95 a month for 200 MB, 10 GB Bandwidth, sub-domains, dbs, and a hell a lot of goodies. so i

[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 21 /dev/null it works great but everyday there will be a file being written to

[PHP] use data-ba_se

2002-08-09 Thread Thomas -Balu- Walter
Hi, I just noticed a little problem(?) while using databases. Some time ago I wrote myself a little class that made it easier to handly my mysql-tasks. The class connected to a database and used a query like use $database to switch to the given database. This worked without a problem just as

[PHP] PROBLEM

2002-08-01 Thread Thomas Edison Jr.
hi! i have a problem in my project.the problem is that suppose we have the date for the whole of the month and two different files r there. i have to pick one file of the current date that is say today and the other file of the yesterday.but the problem is that if the current date is monday then

[PHP] Picking up Data of Previous Date from Table

2002-07-29 Thread Thomas Edison Jr.
Glory! I have one Table (Transactions), having a Date Column, with date stored as -MM-DD I have another Table (Holdings), having a Date Column, with date stored as -MM-DD Now i'm joining the two tables, to get data from both the tables and display on the page. The query i'm using is

RE: [PHP] Stopping Multiple Entries in mySQL DB

2002-07-29 Thread Thomas Edison Jr.
Hi, Ok i cant actully do this. I have many multiple entries already in the table which i do not wish to delete. And it won't alter table with these multiple entries. So what i need is a PHP Engineered solution, where my PHP code would check for existing entries and deny entry Thanks, T.

[PHP] Resetting ID

2002-07-29 Thread Thomas Edison Jr.
Glory! I have a table, with 4 columns. One of the column is ID, a Primary Key, which has Auto_Increment set on it. Now i have a lot of rows deleted and a lot of duplicate rows that will be deleted, and all sorts of stuff happening in the table.. the result is, that the IDs have become

Re: [PHP] Submitting form in new window!

2002-07-29 Thread Thomas Edison Jr.
; var url = ./processForm.php?textfield= + textfield; window.open(url); } /SCRIPT OR just add this to your form tag. TARGET=_blank Thomas Edison Jr. [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Glory, Attach a javascri

[PHP] Stopping Multiple Entries in mySQL DB

2002-07-27 Thread Thomas Edison Jr.
Glory! I just want my Adding Into Database script to check if the Name/Country already exists, and if it does, it shouldn't be allowed. If some with Name : Jackson Country : USA exists in my DB, no one with same name/country should be able to add his name/country in the DB. Can anyone hint?

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

2002-07-26 Thread Thomas Edison Jr.
-Oorspronkelijk bericht- Van: Thomas Edison Jr. [mailto:[EMAIL PROTECTED]] Verzonden: woensdag 24 juli 2002 9:02 Aan: [EMAIL PROTECTED] Onderwerp: [PHP] Inserting Processed Data from One Table 2 Another! Ok i have simple issue, i'm stuck at one point. I have a table

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

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

2002-07-24 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 generated

Re: [PHP] why my php can not get values from Form?

2002-07-18 Thread Thomas Edison Jr.
Simple.. just edit your php.ini file in your windows directory. Search for register_globals .. it will have Off in front of it.. switch it to On T. Edison jr. --- ram friend [EMAIL PROTECTED] wrote: hello, I have just installed apache+php4, but my php can not get values from form? what's

<    1   2   3   4   5   6   7   8   9   >