[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

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

2004-07-01 Thread Thomas Seifert
up??? Scott F. I get mysql_escape_string if I search for it. These are two different mysql-modules so use the one for the module you use (probably just mysql_escape_string). thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP Include not Working Correctly

2004-07-09 Thread Thomas Seifert
le is wrong from the place where you include. thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: unset empty elements in an array

2004-07-12 Thread Thomas Seifert
u need an internal function for something simple like that? thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2004-07-12 Thread Thomas Seifert
gt; and /usr/local/php5? AFAIK it can only be done with one of these as module, the other as CGI. thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2004-07-17 Thread Thomas Seifert
here i've gone wrong. > > thanks.. > > -bruce the docs say its for mysql-4.1.x and higher (you probably have mysql-4.0.x) http://de.php.net/mysqli also I think its php5 only. thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Configure mail to use Gmail smtp

2007-09-16 Thread Thomas Bachmann
ZF rocks ;) debussy007 schrieb: I succeeded using the Zend Framework. debussy007 wrote: Hello, I have read here : http://www.geekzone.co.nz/tonyhughes/599 that I can use Gmail as a free SMTP server. Is it possible to change the php.ini in order to have this running ? I need to specify in

[PHP] Re: split in to multiple pages (I think)

2007-09-16 Thread Thomas Bachmann
Why don't post an example of your news file too? Joker7 schrieb: Hi, I'm using the code below to display news articles-which works great apart from. I can control the number of articles,but I would like to add a link to the bottom of the page to the un-displayed articles ( nexted 5 articles an

[PHP] imap_mail()

2007-12-22 Thread Thomas Le
host instead of the domain name of my site. Minor thing because most people probably dont look at headers, but I want it to be professional looking in case someone does. Thank you, Thomas Le "Choose a job you love, and you'll never have to work a day in your life." - Confucius

[PHP] How to log APC Cache errors?

2008-03-28 Thread thomas Armstrong
Hi. I'm using APC 3.0.17 with PHP 5.2.5 on Linux. I'm suffering some "white page of death" APC errors, and I'm trying to investigate the reasons. But: 1) I don't find any APC support forum. 2) I don't find any APC error log. I'm browsing Apache error log (with PHP 'E_ALL' activate) and don't see

[PHP] Why my mails are not received by Hotmail users?

2008-04-04 Thread thomas Armstrong
Hi. I created this script to send emails: --- $mailFromEmail = "[EMAIL PROTECTED]"; $mailFromName = "MYDOMAIN"; $mailTo = "[EMAIL PROTECTED]"; $mailHeaders = "From: $mailFromName <$mailFromEmail>\n" . "Content-Type: text/plain; " . "charset=UTF-8; format=flowed\n" . "MIME-Version:

Re: [PHP] Stop process when user close window browser

2006-06-30 Thread Thomas Munz
By default, PHP will also stop execution when the browser is closed. See: http://de.php.net/manual/en/features.connection-handling.php on Friday 30 June 2006 09:06, weetat wrote: > Hi all, > > I am using PHP 4.3.2 and MYSQL database. > I think this question has been asked many times, however

Re: [PHP] bug in php 5.1.4

2006-06-30 Thread Thomas Munz
There must be a special code in your script that causes it like this bug: http://bugs.php.net/bug.php?id=37926 on Friday 30 June 2006 11:39, Alain Roger wrote: > Hi, > > I' ve discovered a bug in PHP 5.1.4. This version of PHP create a new > session everytime you refresh the same php page or that

Re: [PHP] Stop process when user close window browser

2006-06-30 Thread Thomas Munz
What kind of connection you use ( persistent ?) and which PHP and MySQL version? Normaly, PHP exit after the browser gets closed, but sended SQL to MySQL get finished executed. on Friday 30 June 2006 11:54, weetat wrote: > Hi Thomas, > >Yes. I read the manual regarding the c

[PHP] What is you IP ?

2006-07-12 Thread Roger Thomas
I want to filter IP addresses. I noticed that my script catches IP addresses that looks like they came from the internal LAN, ie 192.x.x.x and 10.x.x.x My script catched those IPs by $_SERVER['REMOTE_ADDR']. Am I not being able to catch IPs from transparent proxies that a user's ISP might use? W

Re: [PHP] AES client side

2006-07-31 Thread Thomas Munz
What do you need exaclty? Do you wanna encrypt the datas, that will be transfered to the client Or do you wanna encrypt the source code, that will be displayed on the client? For reason 1 you can use SSL connection to encrypt the transfered datas. For reason 2: forget it. The Browser needs to kn

[PHP] LDAP function to add objectClass

2006-07-31 Thread Roger Thomas
I have an already working LDAP server. One of my user's ldif looks like: ... ... sn: Roger Thomas givenName: Roger Thomas objectClass: top objectClass: person objectClass: inetOrgPerson objectClass: organizationalPerson objectClass: qmailUser objectClass: hordePerson o: example.com ou: p

Re: [PHP] php-general mailing list active?

2006-08-22 Thread Thomas Munz
maybe you should resubscribe :) on Tuesday 22 August 2006 16:31, [EMAIL PROTECTED] wrote: > Would someone kindly let me know if there is activity on > [EMAIL PROTECTED] I have not gotten posts for a few days now, and > I'm having no luck connecting to the help, owner or admin addresses. > > Thanks

Re: [PHP] Class question

2006-09-15 Thread Thomas Munz
Use 'extends' syntax for sub classes class A { var $some_var; var $class_B; function A(){ $this->class_B = new B(); $this->some_var=2; } } class B extends A { var $class_C; function B(){ $

Re: [PHP] add functions to a class

2006-09-21 Thread Thomas Munz
This will not work. $this->bla(); This is a PHP Syntax and tries to get the Class method, PHP dont look for a variable name at all! It seams me strange also, that you try this, you should create the method for the class itself, or extend it. But this shoul work: class Test { function Test

Re: [PHP] Extension in free pascal - OT

2006-09-21 Thread Thomas Munz
Pascal?? this is a PHP list, you are on the wrong place! on Thursday 21 September 2006 11:12, Bronislav Klucka wrote: > Hi, > does anybody know how to write extension in FreePascal? > Brona -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Extension in free pascal - OT

2006-09-21 Thread Thomas Munz
ant to write extension for PHP :) > but I want to write it in FPC... > > Brona > > Thomas Munz wrote: > > Pascal?? > > > > this is a PHP list, you are on the wrong place! > > > > on Thursday 21 September 2006 11:12, Bronislav Klucka wrote: > &

Re: [PHP] Extension in free pascal - OT

2006-09-21 Thread Thomas Munz
t; take dll file written in C and use it in program written in FPS and vice > versa (it's all about rewriting function's headers). So my question is, > if this is possible generally, can it be done for PHP? > > Thomas Munz wrote: > > PHP is written in C. If you want to write

Re: [PHP] Comment management

2006-10-23 Thread Thomas Munz
Maybe you mean a bug tracker? checkout http://flyspray.rocks.cc/ on Monday 23 October 2006 17:12, tedd wrote: > Hi: > > I posted this on the web-design list, but didn't receive any leads. > > I want to continue what I've been doing, which is to offer various > code solutions for people via my w

Re: [PHP] Frameworks

2006-11-02 Thread Thomas Munz
I personal prefer Frameworks. I tried some of them. But in my opinion, those are not made to create application fater, no. With Frameworks, you can maintaine your application better. You have a global place where everything can be changed on one file. Ofc, its also possible that this improves

Re: [PHP] Read Through PHP Files

2006-11-10 Thread Thomas Munz
You cannnot just open those files. That things that you see are not 'rubish' or whatever. Those files are in a binary format. You need to understand the .doc format and the .pdf format. You can get this infromation by using google and search for 'Binary word format' and so on. Then you have to

[PHP] How do you do the ? mark after a filename

2006-11-11 Thread Thomas Bonham
Hi All, I keep seeing the ? mark after many file names index.php?id=234. So what I would like to know is how do you make them. I have heard that they can make a programs life sampler when doing somethings with a database. Thank you, Thomas -- PHP General Mailing List (http://www.php.net

Re: [PHP] How do you do the ? mark after a filename

2006-11-12 Thread Thomas Bonham
Thank you for that, it was a big help. Can I also call function that way? Again thank you for your help. Thomas Tom Chubb wrote: On 12/11/06, Thomas Bonham <[EMAIL PROTECTED]> wrote: Hi All, I keep seeing the ? mark after many file names index.php?id=234. So what I would like to k

Re: [PHP] passing an object using session var

2006-11-29 Thread Thomas Munz
Try that: --script1--- setName('MyName'); $obj->display();// outputs 'MyName' $str_object = serialize($obj); //-- You need to serialize an object ( see php.net manual ) in order to make an object working via session $_SESSION['obj'] = $str_object: //-- save serialized string in the se

[PHP] Looking for PHP SSO-engine

2006-03-13 Thread Roger Thomas
Are there are PHP projects that focuses on Single Signon/Signoff like Pubcookie, CAS, Cosign etc? Please advise. TIA. --roger --- Sign Up for free Email at http://ureg.home.net.my/ --- -- PHP Gener

[PHP] Fwd: Re: WG: Bitte weiterleiten

2006-03-24 Thread Thomas Munz
-- Weitergeleitete Nachricht -- Subject: Fwd: Re: WG: Bitte weiterleiten Date: Freitag, 24. März 2006 15:29 From: Thomas Munz <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] -- Weitergeleitete Nachricht -- Subject: Re: WG: Bitte weiterleiten Date: Freit

Re: [PHP] Fwd: Re: WG: Bitte weiterleiten

2006-03-24 Thread Thomas Munz
Sorry! Was mistakly commited, should go to the list in my address book but not here! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Links

2006-03-25 Thread Thomas Bonham
I'm trying to find out how make following happen Example: http://www.example.com/test.php?id=20 What makes this happen and how do I make it. Thanks Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] object oriented syntax in php

2006-03-28 Thread Thomas Munz
echo $ping_result["_raw_data"][5]; > Hi there, > > I do have problems with object oriented syntax as this is not familar to > me. There is following output: > > > object(net_ping_result)(11) { ["_icmp_sequence"]=> array(1) { > ["61.117):"]=> string(1) "7" } ["_target_ip"]=> string(9) "y2.php.ne"

Re: [PHP] call a php script in a php script

2006-03-28 Thread Thomas Munz
I personaly use proc_open() to run PHP Scripts. on Tuesday 28 March 2006 12:14, nicolas figaro wrote: > Hi, > > I'd like to run a php script in another php script. (the first is > lauched from the command line). > > Is there a way to do it better than > system ("/path/to/php script_included.php op

Re: [PHP] require_once hell

2006-03-29 Thread Thomas Munz
Forgot the Hi > > this may be a stupid moment but i cant find an help on google so.i > am including two classes in my code using the "require_once("path to > file")" method. this works fine for the first class but when including > the second it simply outputs the contents on to the page. I

Re: [PHP] Date addition problem

2006-03-29 Thread Thomas Munz
Cause 9th month have 30 days but 10th month have 31 days. You don't check the amount of day there... :) on Wednesday 29 March 2006 14:51, Adrian Bruce wrote: > Hi > > I am having an unusual problem when trying to calculate dates in advance > from a start date. the code below shows a loop where

Re: [PHP] open / check SSL activation

2006-04-05 Thread Thomas Munz
if request come from port 443, SSL = Active you can get the port from $_SERVER["SERVER_PORT"] on Wednesday 05 April 2006 15:12, Alain Roger wrote: > Hi, > > I would like to ebsure that my user has SSL activated. > > for that i would like to do something like that : > 1. after lo-in button click,

Re: [PHP] redirect using php

2006-04-05 Thread Thomas Munz
Function that will work also, when JS is not activate and headers are allready send :) : '; } else { // no headers sent... much nicer header redirect

Re: [PHP] OT - PHP Webhost Dedicated Server

2006-04-11 Thread Thomas Munz
www.ixwebhosting.com www.hostexcellence.com on Tuesday 11 April 2006 15:18, Suhas wrote: > Hello, > > Any suggestions for Dedicated PHP Webhost. > > The current service provider is ok but Customer service is > unsatisfactory. Very bad experience. > > Thanks for your help in advance, > > SP -- PHP

Re: [PHP] PHP with Oracle

2006-04-19 Thread Thomas Munz
Only the main US Server. Try: http://us2.php.net/ on Wednesday 19 April 2006 15:13, Brad Bonkoski wrote: > Assuming the PHP web page is available, anyone else having problems > connecting to php.net? > -B > > Jay Blanchard wrote: > >[snip] > >is there a ready script that handle entering user name

[PHP] Book/Site for internernal PHP5 Core Developing

2006-04-26 Thread Thomas Munz
hi list! Does someone know a good Book/website for Develop own C-Extensions for PHP5? http://us2.php.net/manual/en/zend.php This site are just basic things, but i wanna do more things. Someone may help me? thx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww

[PHP] LDAP Authentication

2006-05-12 Thread Thomas Bonham
Hello, I'm trying to do a ldap authentication page. I can get there username and I don't know how to get the password from ldap. It didn't show up in the the search for the command line. So how do I get the password of the users? Thomas -- PHP General Mailing List (http://w

Re: [PHP] Sessions - session_start()

2006-05-15 Thread Thomas Munz
put ob_start(); on the first line of your page on Monday 15 May 2006 15:53, Jonas Rosling wrote: > Hi, > I've been building a site with PHP 5 on my develop machine. I've been > woring alot with session handling. For example I've been using > session_start() now and then depending on where the use

Re: [PHP] Ajax (xmlHttpRequest) and session_start() problem.

2006-05-17 Thread Thomas Munz
session_write_close(); Ex: session_start(); $asdf = $_SESSION; //-- get all datas session_write_close(); //-- close session on Wednesday 17 May 2006 16:36, Mathijs wrote: > Robert Cummings wrote: > > On Wed, 2006-05-17 at 10:11, Mathijs wrote: > >> I Have an very strange problem. > >> > >> When

[PHP] Metric Conversion Library

2006-05-29 Thread Tod Thomas
Before I write my own, is there a php math library that will perform US to metric conversions and the like? Thanks - Tod -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php, eclipse, dbg, oh my

2006-06-04 Thread Tod Thomas
Eclipse - 3.1.2 Linux - 2.6.16-1.2111_FC4 PHP - 5.1.2, I built it. DBG - 2.13.1, I tried the binary, then built it on my own Apache - 2.0.55, I built it. PHP is running as a module but I've configured Eclipse to use the standard PHP5 executable instead. I wonder if anyone has gotten

[PHP] Control GET data ( not php related )

2006-06-07 Thread Thomas Munz
Thats not PHP related. Its normal HTML/JS 2 Ways: 1) Make form to use 1 field:; Hello, > > I want to provide two input text fields lastname and firstname and if the > user pushes the submit button the generated url should be > ...?name=firstname_lastname. > > Is this possible and how? > > Tha

[PHP] quick php for perl coder question

2008-09-11 Thread Thomas Bolioli
I want to return an array from a function. I have this: return array($found, $username, $email, $nickname); as my code. I have a bug in the code and I am not sure where yet. Should the above statement with this: array($vars); $vars = function($type, $abc, $xyz); $found = $vars[0]; $use

[PHP] Associative array issues with loading values after initialization

2008-09-19 Thread Thomas Bolioli
The below function is not working. function crm_get_country_list(){ global $dbh; $result = mysql_query("SELECT * FROM countries ORDER BY pk_country_id ASC", $dbh) or die(mysql_error()); $country_list = array(' ' =>' '); while ($row = mysql_fetch_assoc($result)){ $country_list[$ro

Re: [PHP] Associative array issues with loading values after initialization

2008-09-19 Thread Thomas Bolioli
ECTED'; } else { $select = ''; } print("".$nex[$k].""); } } Thomas Bolioli wrote: The below function is not working. function crm_get_country_list(){ global $dbh; $result = mysql_query("SELECT * FROM countries ORDER BY

Re: [PHP] Associative array issues with loading values after initialization

2008-09-19 Thread Thomas Bolioli
; => 1, 'two' => 2, 'three' => 3, 'seventeen' => 17 ); foreach ($a as $k => $v) { echo "\$a[$k] => $v.\n"; } Thomas Bolioli wrote: I should add, it is not working with this funciton, which could be the source of the issue. fun

Re: [PHP] Associative array issues with loading values after initialization

2008-09-19 Thread Thomas Bolioli
(strcmp($selected_index, $k) == 0) { $select = ' SELECTED'; } else { $select = ''; } print "$v"; } } b wrote: Thomas Bolioli wrote: I should add, it is not working with this funciton, which could be the source of th

Re: [PHP] Associative array issues with loading values after initialization

2008-09-19 Thread Thomas Bolioli
I found the issue. The whitespace in between $list as $k => $V was all not truly whitespace. Gotta love BBEdit... Thomas Bolioli wrote: I hav ebeen able to track down that this is the part not working. It throws a parse error: PHP Parse error: syntax error, unexpected T_VARIABLE on the l

Re: [PHP] what's the difference in the following code?

2008-10-23 Thread Thomas Wicht
ecause when I look after some month in some projects I have a better overview when there is a long if , its much easier to extend. sorry for my bad english greetz Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] How to prevent duplicated values?

2004-01-26 Thread Thomas Svenson
BAO RuiXian wrote: > Radwan Aladdin wrote: >> I want to prevent mySQL from storing the same value in a >> specified field (Username).. so how can I do it? >> > Make it field UNIQUE. That's the easy method, but usually not very smart. It only causes MySQL to generate an error which you then have to

RE: [PHP] How to prevent duplicated values?

2004-01-26 Thread Thomas Svenson
Radwan Aladdin wrote: > But I'm using VB OCX file to show the result... I tried the UNIQUE > and it worked greate! So do you mean I should use other ways? If it works, then great. The problem, as I can see it, is if you have a form where a user applies for a user account (I assume that since the

RE: [PHP] order by

2004-01-27 Thread Thomas Svenson
christian tischler wrote: > Is there a way wuth php to create a list ordered by more than one > column like in excel or access. > > something like "ORDER BY points AND score" You might want to look at GROUP BY command too http://www.mysql.com/doc/en/Group_by_functions_and_modifiers.html /T -- P

[PHP] Weired session problem

2004-02-06 Thread Thomas Hochstetter
Hi guys, Has anybody come across the same problem: i am using the $_SESSION array to retrieve info of users. At times, however, it just retrieves the wrong info, i.e. info from another user. how is that? thanks in advance Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Weired session problem

2004-02-06 Thread Thomas Hochstetter
['fn'] . " " . $_SESSION['ln']; or sendReceived( $_POST['title'], $_POST['tusr'], $_SESSION['email'] ); [/snip] So it is supposed to get the right info from the current sesssion with which one logged in. Thomas -- PHP General Ma

[PHP] php5beta4 problem

2004-02-12 Thread Gareth Thomas
Hi, just updated from beta3 (which worked fine) and now my system is hosed. I am running Apache 1.3.29 on WinXP and when I try and simply bring up phpinfo I get the following message in the Apache error log file: "Premature end of script headers: c:/php/php.exe" Anyone any idea what is causing t

[PHP] Clearing Post Data with IE

2004-03-22 Thread Chris Thomas
Hey, Im writing a script for a poll, and im trying to figure out how to clear the _post. Right now i post the response that the user selected from the poll, back to the poll page, which then displays the results The way it works right now, if i try to refresh the page, IE will pop a dialog back a

Re: [PHP] Clearing Post Data with IE

2004-03-23 Thread Chris Thomas
I tried using the Header('location: ') but it seems the posted data follows the redirection Im going from my main page to a processing page then back to my main page. i printed $_POST on the main page and it still has the values that were originally posted to the processing page. Also after th

[PHP] Header Redirect & POST

2004-03-25 Thread Chris Thomas
I am not sure if this was designed like this, or if its just something im doing wrong. Im posting some data to a processing page, where i handle it then use Header('Location: other.php') to direct me to another page. The problem that im running into is that the posted data is available in other.p

Re: [PHP] Header Redirect & POST

2004-03-25 Thread Chris Thomas
Header("Location: $calling"); exit(); } Chris "Jason Giangrande" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Chris Thomas wrote: > > I am not sure if this was designed like this, or if its just something im > > doing wrong. > &

[PHP] $_SESSION vs Database Call

2004-03-25 Thread Chris Thomas
Just wondering, what is faster / more effecient, storing a value in the session variable which gets stored on the filesystem (from what i understand) or database calls to re-get the information? Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/un

[PHP] sprintf troubles

2004-03-26 Thread Chris Thomas
Hey, Im trying to use sprintf to format a number and left pad it with spaces, but it doesnt want to add the spaces I can pad it with anyother char using sprintf("%'_8.2f, $val) which will left-pad the number with underscores Has anyone had any luck padding with spaces?? or is there a better way

[PHP] Re: Can't to insert data ( via variable ) into MS-SQL

2004-03-26 Thread Chris Thomas
Do you have register_globals on? If not ayou have to get the POST information manually. ie.. $job = $_POST['job'] Also are you sure that you are connecting to the database successfully? add: or die('could not connect') to the end of your mssql_pconnect and mssql_select_db statements. So your s

[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] Relative Url

2004-04-01 Thread Chris Thomas
Is there anyway that i can get a url relative to my server for a script that is being run?? The script is being included in mulitple files and $_SERVER['SCRIPT_NAME'] just gives me the name of the file that is including the other scripts. Also $_SERVER['SCRIPT_FILENAME'] is returning nothing. Tha

Re: [PHP] Relative Url

2004-04-02 Thread Chris Thomas
stylesheet from the calling file (ie index.php) I probally should have thought of this a little more before i posted...oh well Chris "Chris Shiflett" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > --- Chris Thomas <[EMAIL PROTECTED]> wrote: > > Is th

Re: [PHP] Simple math failing - PHP Bug?

2004-10-31 Thread Thomas Goyne
On Sun, 31 Oct 2004 21:52:32 -0700, Brian T. Allen <[EMAIL PROTECTED]> wrote: Hi, OK, I'm totally stumped by this. This should be the simplest math imaginable (addition and subtraction), but PHP is coming up with the wrong answer! [snip] Is this legitimately bad math on the part of PHP? T

Re: [PHP] Simple math failing - PHP Bug?

2004-10-31 Thread Thomas Goyne
On Sun, 31 Oct 2004 23:30:53 -0700, Brian T. Allen <[EMAIL PROTECTED]> wrote: No worries, this isn't personal. I just want to explore this limitation and it's implications for my benefit and the benefit of any that read this thread later when they are searching for answers to a similar pr

[PHP] php5 and mysql 4.1 - Authentication

2004-11-02 Thread Thomas Hochstetter
mysql connections. Is there no way I can tell MySQL4.1.6 to accept http authentication? This seems to be the overall problem, because it foes not even find the right access password once a connection is establishes (using the OLD_PASSWORD() function). Thomas

[PHP] PEAR Calendar

2004-11-02 Thread Roger Thomas
I would like to install PEAR Calendar module and did a [EMAIL PROTECTED] apps]# pear install Calendar but got these: No release with state equal to: 'stable' found for 'Calendar' Please advise. -- roger --- Sign Up for free Email at http://ureg.

Re: [PHP] PEAR Calendar

2004-11-03 Thread Roger Thomas
Thanks Greg. Got it installed now. -- roger Quoting Greg Beaver <[EMAIL PROTECTED]>: > $ pear install Calendar-beta > > or > > $ pear install --force Calendar. > > Greg --- Sign Up for free Email at http://ureg.home.net.my/ --

[PHP] Reservation technique

2004-11-04 Thread Roger Thomas
I would like to do some sort of facilities reservation system. Suppose this is for booking , say, a meeting room. Booking detail to be stored in db: - name or id of person - meeting room number - date and time (when room will be used) - number of hours to be allocated Now say Peter booked room R

RE: [PHP] Reservation technique

2004-11-04 Thread Roger Thomas
Great! Thanks Murray. -- roger Quoting "Murray @ PlanetThoughtful" <[EMAIL PROTECTED]>: > > > How will a PHP script perform such checking to prevent that sort of > > overlapping in reservation ? Or could it be that my database design is bad > > that's blocking ideas into my head ? > > Hi Roge

RE: [PHP] Reservation technique

2004-11-04 Thread Roger Thomas
Yes. I flipped thru the manpages and found: expr BETWEEN min AND max If expr is greater than or equal to min and expr is less than or equal to max, BETWEEN returns 1, otherwise it returns 0. This is equivalent to the expression (min <= expr AND expr <= max) if all the arguments are of the sam

Re: [PHP] PHP5 syntax question

2004-11-04 Thread Thomas Goyne
On Fri, 05 Nov 2004 09:19:58 +0200, Simas Toleikis <[EMAIL PROTECTED]> wrote: I think PHP5 docs are not full yet. Wasnt there supposed to be namespaces in PHP5? PHP documentation doesnt even mentions them... No, they were cut, and it is highly doubtful they will show up any time before php6.

Re: [PHP] newbie: string to char array

2004-11-10 Thread Thomas Goyne
On Wed, 10 Nov 2004 15:56:28 -, Ford, Mike <[EMAIL PROTECTED]> wrote: On 10 November 2004 13:37, Horst JÃger wrote: (Please keep this on list -- others may be able to help better/faster than me!) I am thinking about complexity. How is a string implemented in PHP? A deque or a char* ? cha

Re: [PHP] Calling a C program from php

2004-11-11 Thread Thomas Goyne
On Thu, 11 Nov 2004 02:51:54 -0800 (PST), Rayan Lahoud <[EMAIL PROTECTED]> wrote: Hello, does anybody knows how to call a C function from a php code? Thank you!! :) http://us4.php.net/manual/en/function.system.php -- Using M2, Opera's revolutionary e-mail client: http://

Re: [PHP] Atom 2 RSS Script? Anyone got one?

2004-11-15 Thread Thomas Goyne
On Sun, 14 Nov 2004 16:48:57 +0100 Nick Wilson <[EMAIL PROTECTED]> wrote: hi all, im all tired out of searching, just cant seem to find a script that will convert atom 0.3 to any rss format. Does anyone have one or know where i can get hold of one? http://www.w3.org/1999/XSL/Transform"; xm

Re: [PHP] bubble sort crashing apache

2004-11-16 Thread Thomas Goyne
On Tue, 16 Nov 2004 15:43:51 -0500, Josh Howe <[EMAIL PROTECTED]> wrote: I've implemented my own bubble sort function that is crashing apache. Can somebody either help me out with the bubble sort or help me figure out a way to solve my problem with php's built in sorting functions? http://us4.php.n

[PHP] debug_backtrace bug?

2004-11-17 Thread Thomas Peri
the output I'd expect: A::__construct B::__construct It happens for regular methods also, not just constructors. Is this a bug, or is this behavior correct for some reason? (Tested in php 5.0.0, 5.0.1, and 5.0.2) Thanks. Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MD5 Hashing Comparison

2004-11-20 Thread Thomas Goyne
On Sat, 20 Nov 2004 17:49:04 -0500, Gregori Halsiber <[EMAIL PROTECTED]> wrote: Hi, I'm trying to write a md5 hash to auth users... And before I get flamed about md5 not being a crypt system but a hashing system I know... Security is not a problem.. I'm trying to build a standalone Message U

[PHP] determining caller of function

2004-11-24 Thread Thomas Peri
called in this example is the "go" method of the class "Bar". } } class Bar{ function go() { $f = new Foo(); $f->fubar(); } } $b = new Bar(); $b->go(); -- Thanks, - Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] load word document with php

2004-11-30 Thread Thomas Franz
i don't see the document within the webbrowser. What is wrong. Thanks for help Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Redirect after download

2004-12-01 Thread Thomas Munz
> I am writing a file download system and I need to be able to do a > redirect after the download is finished. > > Basically, the user will be presented with a simple HTML page that > contains a link to download the file (href="/download.php?fileid=143"). > I have the code to send the file working

Re: [PHP] Parse error: parse error, expecting `']'' in

2004-12-01 Thread Thomas Munz
> Parse error: parse error, expecting `']'' in file.php > > I've been working on this script, and can't see why it fails here, but I > have another page that uses the same coding and it works correctly. > > OK, here's the code: > $cart1 = ""; > $cart1 = > "'$_POST[nutrition_program_assistant]','$_P

Re: [PHP] Go Back Problem

2004-12-01 Thread Thomas Goyne
On Thu, 2 Dec 2004 09:58:46 +0800, Cyrus <[EMAIL PROTECTED]> wrote: Dear All, I have a problem of back to the previous page in php. I need to create a form let people to fill in .It can let user to preview the form, if information is not correct , user can back to previous page and corre

Re: [PHP] Apache 2 on RedHat

2004-12-01 Thread Thomas Goyne
On Wed, 1 Dec 2004 22:13:37 -0800, Bart Baenisch <[EMAIL PROTECTED]> wrote: I believe I understand the thread unsafeness problem, and I think a reasonable cure is the prefork MPM for Apache 2, as RedHat distributes. If we decide to avoid the work of removing the Apache 2.whatever that RedHa

Re: [PHP] Cleaner way to do this?

2004-12-02 Thread Thomas Munz
> foreach ( $_POST as $key => $value ) > { > while ($key != "submit") > { >\$$key = $value; >$addtocart .= ",'\$$key'"; > } > } > > The problem is that it seems to be hanging at the while loop. Is there a > cleaner way to write the foreach loop so that it will dump out the "submit" >

Re: [PHP] Need Help

2004-12-02 Thread Thomas Goyne
On Fri, 3 Dec 2004 09:32:34 +0530, suneel <[EMAIL PROTECTED]> wrote: Hi to all any one Could tell me any diffrence between and . And which one is better to use and in which situations. Byee is the older syntax, and it can cause problems with xml (as the xml prolog uses --

Re: [PHP] Making variables with an iteration? STILL

2004-12-06 Thread Thomas Munz
I think you can use the export() function for that.. > Here's the full code and the driving page: > > http://rsossam-lap.ces.ncsu.edu/leadership/test.html > > > for ($i=1; $i<10; $i++) > { > if (isset ($_POST['choice'.$i])) > { >for ($j=1; $j<5; $j++) >{ > $tempChoice = "choice"

Re: [PHP] PARSE ERROR, unexpected T_$VARIABLE

2004-12-06 Thread Thomas Munz
you forgot the " ' " in the $fname= $_POST[fname]; $lname= $_POST[lname]; $addie= $_POST[addie]; $city= $_POST[city]; fields!!! > error, expecting `T_VARIABLE' or `'$'' in > c:\fourh\leadership\registration_post.php on line 29 > > The HTML page: > http://rsossam-lap.ces.ncsu.edu/leadership/re

Re: [PHP] ini_set doesn't work

2004-12-09 Thread Thomas Munz
your set it to '-1'!!! thats not allowed. You must habe a value highter than zero. Its better you set it in generall to 60. And you forgot the 'M' fater the number like ini_set("memory_limit","-1M"); set it better to that: ini_set("memory_limit","60M"); > hello, > > what do I have to change

Re: [PHP] Objects and sessions

2004-12-09 Thread Thomas Munz
I think, its not possible to init an Objeect on a session. Session will be rebuild on each reload of the site based on the session id, i think... Maybe here the object can't be rebuild anymore... > Following code: > > > class SessionTestC { > protected $value; > > function __construct (

Re: [PHP] Text tools

2004-12-13 Thread Thomas Munz
This is not possible with PHP, you must do that with JavaScript. > Hello, > I was just wondering how to build a text editing tool with php. I mean a > tool that can help users to format their texts in the pages. > > I mean something like paste the text in a text box. Select some part of the > text

Re: [PHP] Attempted to unsubscribe to no avail

2004-12-13 Thread Thomas Munz
> http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

<    1   2   3   4   5   6   7   8   9   >