RE: [PHP] PHP5 and PEAR

2004-05-04 Thread php-list
So other than Config (for now), most other packages are compatible with PHP 5 already? What about the answers to my other questions? How will PEAR be organized in PHP 5? What do I need to look out for when making the transition, etc?? Thanks. -Original Message- From: Oliver Kuhl [mailto

RE: [PHP] keeping the last zero

2004-05-17 Thread php chucker
I prefer: round($value,2); -Original Message- From: Marek Kilimajer [mailto:[EMAIL PROTECTED] Sent: Monday, May 17, 2004 5:10 AM To: Mario Cc: [EMAIL PROTECTED] Subject: Re: [PHP] keeping the last zero Mario wrote: > Hi all > > I have a list of products with prices > e.

[PHP] Re: Select box

2004-05-18 Thread \[php\]Walter
Sure! '; $sqlu = "SELECT id,user,name '; $sqlu .= "FROM users '; $sqlu .= "ORDER BY user ASC"; $name_result = mysql_query($sqlu); while($rowu=mysql_fetch_array($name_result)){ echo ''; echo $rowu[user]; echo '&#

[PHP] Re: sessions pls help

2004-05-18 Thread \[php\]Walter
Take a look at PEAR:Auth Walter "Robi" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > > I need some info about sessions in php, > to clarify my knowledge and usage. > So lets imagine that > I am building a web site > where I ca

RE: [PHP] want to buy second hand books online - cant remember site

2004-05-21 Thread php chucker
Give this a shot: http://dogbert.abebooks.com/servlet/SearchResults?sortby=0&sn=Programming&ph =2&sts=t -Original Message- From: Brent Clark [mailto:[EMAIL PROTECTED] Sent: Friday, May 21, 2004 4:26 AM To: [EMAIL PROTECTED] Subject: [PHP] want to buy second hand books o

[PHP] meet problem while use imap_close

2004-05-24 Thread php maillist
hello everybody, I need help for using imap functions in php I refer the imap functions from the book Professional PHP4 it introduces the imap server from telnet it to writing a brief scripts it teach me that type "telnet localhost 143" behind prompts and I got the right response fr

RE: [PHP] include and require

2004-05-27 Thread php chucker
include() will output warning message and the script continues require() will output error message and will halt the script -Original Message- From: Lieve Vissenaeken [mailto:[EMAIL PROTECTED] Sent: Thursday, May 27, 2004 2:05 PM To: [EMAIL PROTECTED] Subject: [PHP] include and

[PHP] PHP Basic's Problem with a simple script.

2004-06-01 Thread php-general
Hi ! I am an unexperienced PHP newbie, and a have a Problem: The following script is a sample from a PHP tutorial, but it does not work on my machine. I use PHP Ver. 4.1.2 with apache 1.3.26 on a debian box. In php.ini, "safe_mode" is off, and "register_globals" is on.

Re: [PHP] meet problem while use imap_close

2004-06-03 Thread php maillist
Let me answer my question myself my os is installed redhat 9.0 and use imap rpm after I start deamon imap and imaps (I didn't start imaps deamon at startup) everything goes well~! but it still need to add "/notls" behind protocol Frederick Kuo 6/3 Php Maillist wrote: hello everybo

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

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

[PHP] Problems with variable handling !

2004-06-08 Thread php-general
String1 String2 -- test_0.php: -- test_0.php -- In test_oben.php I want to insert two strings. pressing the "Display strings"-button will output them in the button fr

[PHP] Re: Problems with variable handling !

2004-06-08 Thread php-general
phpinfo reports that register_globals=On

[PHP] Re: Problems with variable handling !

2004-06-08 Thread php-general
- Original Message - From: php-general To: [EMAIL PROTECTED] Sent: Tuesday, June 08, 2004 12:36 PM Subject: Problems with variable handling ! Hi ! I have a Problem with hand over of variables; My Page consists of three files which I have enclosed to demonstrate the

[PHP] Re: Problems with variable handling !

2004-06-08 Thread php-general
On Tuesday 08 June 2004 18:50, php-general wrote: > Only pressing the "Display concatenated strings"-button should > output the concatenated string, but this does not work, and I do not > understand why. $var3 is not defined. -- $var3 is defined as $var3 = "$var

[PHP] Creating Rows and Columns Using for() Loops

2004-07-08 Thread php-list
t;); $template->addVar("room_num", "ROOM_NUM", '101'); $template->addVar("room_type", "ROOM_TYPE", 'NQQ'); $template->parseTemplate("guest_row", "a"); } I populated the guest's name statically so I can see how the loop works. The looping is wrong and it only yields 7 rows. In the first row it has 1 column of data, the second row has two columns of data, the third one has three columns of data, and so on. How do I fix it to where each date column has exactly 32 rows of guest names? I hope this makes sense. Any help will be appreciated. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Creating Rows and Columns Using for() Loops

2004-07-08 Thread php-list
08, 2004 6:54 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Creating Rows and Columns Using for() Loops On Thu, 8 Jul 2004 18:17:25 -0500, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > for ($i = 0; $i < count($num_days); $i++) { [snip] > for ($j = 0; $j

RE: [PHP] Creating Rows and Columns Using for() Loops

2004-07-08 Thread php-list
I wrote this in plain text. I hope it came out well... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, July 08, 2004 9:02 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] Creating Rows and Columns Using for() Loops Chris, It's a little difficult to

[PHP] PHP on MAC

2004-07-13 Thread PHP Junkie
Astrum Et Securis We've just bought a new Power Mac G5 Macintosh computer for the office and I'll need to do some backend engineering work using it. I've never worked with PHP on MAC, so I really have no experience with what happens on a MAC... are there on issues regarding workin

RE: [PHP] PHP on MAC

2004-07-13 Thread PHP Junkie
Astrum Et Securis AWESOME!! Needed to hear something like that.. Thanks a ton! And I will definitely get the Installer from the mentioned location. Thank you. Dominor, RSJ -Original Message- From: Larry E. Ullman [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 13, 2004 7:32 PM To: PHP

[PHP] Email Forms

2004-07-15 Thread PHP User
Hi, I am trying unsuccessfully to set up an email form and as far as I know my code is fine, but it won't send. I suspect that it's because my server requires authentication. Running my script on my Windows machine I get the following. Warning: mail() [function.mail

[PHP] Need help with line breaks in a textarea form

2004-07-15 Thread PHP User
be a wysiwyg - so in the case above there should be no extra line breaks. It should look exactly as typed. The code I tried to change the \n to are: $text2= nl2br ($text); or $text2 str_replace("\n","",$text); This is what I have in my form. Thanks, any help is appreciat

RE: [PHP] Need help with line breaks in a textarea form

2004-07-16 Thread PHP User
olmes [mailto:[EMAIL PROTECTED] Sent: July 16, 2004 2:00 AM To: PHP User Cc: PHP Subject: Re: [PHP] Need help with line breaks in a textarea form PHP User wrote: > Hi, > > I have been trying to format the textarea output and have come across > some code that almost does what I

RE: [PHP] Need help with line breaks in a textarea form

2004-07-16 Thread PHP User
_replace("","",$text); Thanks for your input CR -Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED] Sent: July 16, 2004 2:00 AM To: PHP User Cc: PHP Subject: Re: [PHP] Need help with line breaks in a textarea form PHP User wrote: > Hi, >

RE: [PHP] Need help with line breaks in a textarea form

2004-07-16 Thread PHP User
in a web based group you were having with another person, but none of your suggestions there worked. Suggestions Thanks again... -Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED] Sent: July 16, 2004 12:14 PM To: PHP User Cc: PHP Subject: Re: [PHP] Need help with

[PHP] php.net like doc pages

2004-07-17 Thread \[php\]Walter
Anyone know a blog (I think) that will let me create documentation and let users add their comments to the tail of it, just like php.net can do?? Thanks Walter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Creating Rows and Columns Using for() Loops

2004-07-19 Thread php-list
No, no...that's actually a great idea. I like your approach, especially in my case. Thank you for the suggestion! :) Navid -Original Message- From: Rory McKinley [mailto:[EMAIL PROTECTED] Sent: Friday, July 09, 2004 3:57 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re:

[PHP] Zend Enc and 0T Q

2004-07-21 Thread PHP Gen
Hi all, Our company has decided to encrypt the php programs that we sell, I have to choose which encryption package to buy. After a lot of seaching (on this list(archives), google, forums etc) I saw a quite a few products like ioncube, zend, codesecure, blender, mmCache encryptor etc etc

Re: [PHP] Zend Enc and 0T Q

2004-07-21 Thread PHP Gen
Hi, Thanks for replying. > And the loss is entirely theirs. MMache really can > take a load of your > webserver. True, but its easier to tell a webhosting company to install a Zend product as they are the maker of PHP blah blah than to tell them to install an "untrusted"

[PHP] The Mail Server

2004-07-21 Thread PHP Junkie
Astrum Et Securis, We're running our Apache Web Server with PHP & MySQL on a Power MAC G5 (MacOS X) system. And we're currently thinking of making it our web server giving public access to our website hosted on this machine. PHP, MySQL, FTP etcetera are all fine, but what about t

Re: [PHP] The Mail Server on Mac OS X

2004-07-21 Thread PHP Junkie
Astrum Et Securis, In fact, I did find out that Mac OS X (Panther) comes with a built-in Mail Server called "Postfix"... Now what I need to know is how to use it with my PHP Which I'm thinking is going to happen by defining the path to some mail protocol of Postfix in my PHP.I

[PHP] Line breaks again....

2004-07-21 Thread PHP User
Hi, I have managed to get the line breaks to show up on my site no problem, but I still get one long line when it is sent to my email. I have looked and looked and have read all the stuff I could find on \r\n, so I'm not sure where to go from here since it's not working... Suggestions are appreci

RE: [PHP] Line breaks again....

2004-07-21 Thread PHP User
inal Message- From: John W. Holmes [mailto:[EMAIL PROTECTED] Sent: July 21, 2004 6:36 PM To: PHP User Cc: PHP Subject: Re: [PHP] Line breaks again PHP User wrote: > I have managed to get the line breaks to show up on my site no problem, but > I still get one long line when it is sent

RE: [PHP] what is difference between php and perl

2004-07-22 Thread php-list
PHP is more of a "binding" language that takes advantage of many different coding practices and puts them together. PHP is not jealous and does not separate or shun itself from other languages and borrows many of the ideas, schemes, similar libraries, etc. from these other languages. A

Re: [PHP] Zend Enc and 0T Q

2004-07-22 Thread PHP Gen
--- raditha dissanayake <[EMAIL PROTECTED]> wrote: > PHP Gen wrote: > > >>how about using SSH tunneling instead. > >> > >> > > > >Never tried it, any examples for a win2k pro > machine? > > > > > There are some tutorials

[PHP] postfix with PHP on Mac OS X

2004-07-22 Thread PHP Junkie
Astrum Et Securis, I'm using a PowerMac G5 machine, which has the MacOS X Panther. It comes with the Postfix mail server, which I'm now trying to use with PHP. I was able to define the sendmail_path to the Postfix sendmail in the PHP.INI .. Now what happens is, on my localhost when

Re: [PHP] postfix with PHP on Mac OS X

2004-07-22 Thread PHP Junkie
t; I'm using a PowerMac G5 machine, which has the MacOS X Panther. It comes >> with the Postfix mail server, which I'm now trying to use with PHP. >> >> I was able to define the sendmail_path to the Postfix sendmail in the >> PHP.INI .. >> >> Now what hap

RE: [PHP] smpt server requiring authentication

2004-07-22 Thread PHP User
PROTECTED] Subject: [PHP] smpt server requiring authentication Hi, anyone know how to configure php's outgoing mail to use a smtp server that requires authentication? thanks for any help, cheers, Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.ph

Re: [PHP] postfix with PHP on Mac OS X

2004-07-22 Thread PHP Junkie
r address [EMAIL PROTECTED] does not exist (in reply to MAIL FROM command) __ And then the content of the Email follows. The name of my server (localhost) is "rahul.local" I'm not sure what this error is trying to tell me... Any help will be greatly appreciated. Thanks, R

Re: [PHP] postfix with PHP on Mac OS X

2004-07-22 Thread PHP Junkie
gt; One thing that helped me in understanding how the mail process worked > was to walk through it manually from the terminal. It's ridiculously > simple what goes on in transferring a message to another mail server. > Which explains why some viruses have there own mail servers b

RE: [PHP] Round

2007-08-29 Thread PHP-Gen
ction. Unless someone has some trick that I don't know about, ABS will NEVER return a negative number. -Original Message- From: Jim Lucas [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 29, 2007 1:43 PM To: Daniel Brown Cc: Zoltán Németh; php-general@lists.php.net Subject: Re: [PHP] Rou

[PHP] UPS TradeAbility / SOAP / PHP5

2007-09-28 Thread jason php
Does anyone have any experience with UPS's TradeAbility platform and implementing it in PHP? The test WSDL file is located at https://wwwcie.ups.com/webservices/LandedCost.wsdl Can anyone take a look at this and give me some example code to perform a query / receive a response? Thanks!

[PHP] Adv. photo scripts

2007-11-24 Thread PHP-General
on the server, and then use an (unlink???) function to delete the temp. file after it gets written to the d-base. How would I do that? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Adv. photo scripts

2007-11-25 Thread PHP-General
Thanks for all the replys. I should have warned you in advance that I am new ;) "Casey" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On Nov 24, 2007 11:16 PM, Robert Cummings <[EMAIL PROTECTED]> wrote: On Sun, 2007-11-25 at 01:59 -0500, PHP-General wrote

[PHP] Profiling PHP App

2007-12-19 Thread php mail
Hi All, Is there any tool to profiling PHP app ? Regards, Feris

Re: [PHP] Assign variable to a block of html code

2007-12-22 Thread php mail
Hi Everyone, Thanks for pointing me to heredoc syntax. I've got it working out nicely now ;) Regards, Feris On 12/20/07, Daniel Brown <[EMAIL PROTECTED]> wrote: > > On Dec 19, 2007 10:38 PM, php mail <[EMAIL PROTECTED]> wrote: > > Hi All, > > > > Is it

[PHP] Aspect Oriented framework

2007-12-22 Thread php mail
Hi All, Anyone ever use this tools ? If so, which one is more recommended ? - http://www.aophp.net/ - http://phpaspect.org/ Regards, Feris

[PHP] change php variable depending on selection

2008-01-20 Thread PHP-General
select the blog you want to view a variable in the php script changes that captures the rss feed of that blog. The db is setup so that the name of the blog is stored next to the rss feed of the blog. If I'm thinking of this correctly I've developed the dropdown box so that it populates fro

Re: [PHP] change php variable depending on selection

2008-01-20 Thread PHP-General
thx for the reply but i am a bit confused (i am new to php and even to javascript) Where would I put the javascript portion (the window.onLoad part), then? Here is the relevant portion of the code. My test page can be seen at http://valueinvestingplanet.com/test. The idea is to have the rss

[PHP] We need PHP/LAMP Developers and Programmers in FL, MD, VA, NY, DC, CA, MA!!!!

2008-01-30 Thread PHP Employer
We need PHP/LAMP Developers and Programmers in FL, MD, VA, NY, DC, CA, MA World NetMedia is a world class leader in the development of multimedia internet sites. We are seeking highly motivated individuals who eat, breath, and love the work they do. If you like working in a fun, laid-back

[PHP] RE: MensHealth 12916

2008-04-02 Thread php-general
Canadian Doctor Clara Best Price On Net 79% OFF http://www.beautywarm.com No virus found in this outgoing message Checked by PC Tools AntiVirus (4.0.0.26 - 10.067.006). http://www.pctools.com/free-antivirus/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Dear php-general@lists.php.net April 84% 0FF

2008-04-21 Thread php-general
Canadian Doctor Hazel Best Price On Net http://zxa.pharmstorez.com?liyws -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP excel capability

2007-04-23 Thread tg-php
e commas or you properly compensate for that) and HTML are both good quick and dirty download-to-Excel options. And as Richard mentioned, COM requires Windows, but if you want to do anything with it, you need to have something for PHP to talk to via COM. In this instance, we're talking

Re: [PHP] move "if" logic from php into query

2007-04-27 Thread tg-php
nough" imho. YMMV -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP sorting csv array output

2007-05-10 Thread tg-php
at a bit of a loss..hah.. just never had to use them so they're still a bit mystical to me. -TG http://us2.php.net/manual/en/function.ksort.php = = = Original message = = = On 5/10/07, Daniel Brown <[EMAIL PROTECTED]> wrote: > > One place to start reading, Anna, woul

Re: [PHP] PHP debugger

2007-05-15 Thread tg-php
Firefox extension to give some PHP debugging and profiling data. I'm sure there are a dozen other solutions that people will offer up, just wanted to get that one in there :) -TG = = = Original message = = = I am trying to load a PHP debugger in our most recent build of PHP 5.2.1. The debu

[PHP] Mysqli insert / OO Design Problem - Call to a member function bind_param() on a non-object in...

2007-05-16 Thread Lee PHP
Hi there, I'm new to OO-PHP and have encountered a problem that I just can't figure out. I have a class called DBAccess that extends mysqli. In a nutshell, it looks like this: class DBAccess extends mysqli { private static $instance; private static $preferences; /** Create a

[PHP] People's misbehavior on the list

2007-05-18 Thread PHP Developer
some people don't remove the "Re:" prefix when answering to the questions It opens a new topic on the list and that's not appropriate . Thank ya - Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games.

Re: [PHP] convert numerical day of week

2007-05-22 Thread tg-php
;Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday' ); $days = array( 'Domingo', 'Lunes', 'Martes', 'Mi~rcoles', 'Jueves', 'Viernes', 'S~bado' ); Tada! That was the easiest maintenance

[PHP] OO Problem / Using Singleton Pattern / Extending mysqli

2007-06-08 Thread Lee PHP
OR HERE self::$INSTANCE = new Database(); } return self::$INSTANCE; } } ?> -- END CLASS DATABASE -- Now, in one of my unit tests, I call `$CONN = Database::getConnection()` and receive an error message, "Fatal error: Call to undefined method Config::

Re: [PHP] IF with multiple values for a variable

2007-06-13 Thread tg-php
s based on the type of record selected. There can be multiple values in each if. However I am having a brain fart in my if statement assigning the multiple values. Here is my if statement: if ($type == 'T','D','L' $get_id.=" payment_request WHERE id = '$

Re: [PHP] IF with multiple values for a variable

2007-06-13 Thread tg-php
my if statement: > > > > if ($type == 'T','D','L' > > $get_id.=" payment_request WHERE id = '$payment_id'"; > > > > > > However this does not return ant results. > > I've tried if ($type = array(

[PHP] Are IP addresses reliable?

2007-06-16 Thread PHP Developer
I wanna know that is there a way to forge someone's IP address? for example, I have a client with an static ip address, and she is a superuser. Can i rely on her IP address? or somebody else can forge her IP? I don't want her to enter a username and a password.. Cheers, Daniel

RE: [PHP] Date

2007-06-20 Thread tg-php
the premier email notification software. Free download at http://www.ePrompter.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Small LAMP install/distro

2007-06-21 Thread tg-php
zed. It's going to emulate (at least in PHP and MySQL version and configuration) my web host. Ideally I'd like to keep using my traditional Windows apps to do development, but save my work to a Samba share on the virtual machine (so guess toss Samba into that too). Maybe there's

Re: [PHP] Small LAMP install/distro

2007-06-21 Thread tg-php
it to you guys. > > Can anyone recommend a small, no frills, LAMP-centric linux package/distro? > > What I'm doing is setting up a test/development environment in a VMWare > virtual machine to keep things all nice and comparmentalized. It's going to > emulate (at least

RE: [PHP] Small LAMP install/distro

2007-06-21 Thread tg-php
Yeah.. I'm aware. As I stated in my original email: "Ideally I'd like to keep using my traditional Windows apps to do development..." I'm comfortable moving around in linux, but the tools and OS I choose to use are all Windows-centric. But instead of installing Apa

Re: [PHP] Small LAMP install/distro

2007-06-22 Thread tg-php
ication on what they're replying to exactly, then I can scroll down. -TG = = = Original message = = = ps. Please don't top post! Tijnema ___ Sent by ePrompter, the premier email notification software. Free download at ht

Re: [PHP] Small LAMP install/distro

2007-06-22 Thread tg-php
= I would install Fedora Core 6. When asked which packages to install, uncheck everything. Then, once you have the install complete, using yum install ~httpd ~php ~mysql ~samba Here is my current running packages for the above programs httpd-2.2.4-2.fc6 libdbi-dbd-mysql-0.8.1a-1.2.2 mysql-5.0

RE: [PHP] Small LAMP install/distro

2007-06-22 Thread tg-php
Thanks for the suggestions.. but again, the question wasn't "what distro of linux" to use. And I don't mind upgrading things. The question is what would someone recommend for a really small distro of linux preferably with the bare essentials + apache, mysql, php and samba.

Re: [PHP] Small LAMP install/distro

2007-06-22 Thread tg-php
t upon them." Twelfth Night, Act II, Scene V by William Shakespeare ___ Sent by ePrompter, the premier email notification software. Free download at http://www.ePrompter.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Small LAMP install/distro

2007-06-22 Thread tg-php
n't read below. It break's logical flow. You might sprain something. = = = Original message = = = A: Because it breaks the logical sequence of discussion. Q: Why is top posting bad? This explains everything ^^^ ___ Sent by ePro

Re: [PHP] PHP5 TUTORIAL

2007-06-26 Thread php-ml
Hi Preethi > Kindly suggest me the good online tutorial for PHP5. > Am already working on php4. > Need to migrate from php4 to php5. i think this is very important for OOP: http://www.php.net/manual/en/language.oop5.php and this one: http://www.php.net/manual/en/language.excep

[PHP] Problem extending mysqli - "No database connected"

2007-06-29 Thread Lee PHP
tempting to test query() method.\n"; if ($result = $CONN->query("SELECT * FROM country")) { echo "In result set\n"; while( $row = mysqli_fetch_assoc($result) ){ printf("%s (%s)\n", $row['cnt_code'], $row['cnt_name&

[PHP] Re: Problem extending mysqli - "No database connected"

2007-06-29 Thread Lee PHP
Actually, the post by hans at lintoo dot dk (22-Mar-2005 11:33) @ http://theserverpages.com/php/manual/en/ref.mysqli.php show why. Weird. On 6/29/07, Lee PHP <[EMAIL PROTECTED]> wrote: Hi, I have a class that extends msyqli that AFAIK can connect to the database, but gives me an error

Re: [PHP] Re: what trick is this? How to do it?

2007-07-13 Thread tg-php
0 news://news.3home.net news://news.hkpcug.org news://news.newsgroup.com.hk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php ___ Sent by ePrompter, the premier email notification software. Free download at

Re: [PHP] Reading registry values

2007-07-30 Thread tg-php
er to recreate it in PHP instead of trying to access ActiveX via PHP. What, exactly, is being pulled from the registry and if the ActiveX control does more than just facilitate registry access, what else does it do that you'd need to emulate? I have a feeeling that you don't need to

Re: Re[2]: [PHP] Reading registry values

2007-07-30 Thread tg-php
Yeah, that could be one thing that the ASP/ActiveX combo need to access the registry for.. but if he's replacing ASP with PHP and if the ActiveX control doesn't do anything he can't re-create in PHP, then there's no need to verify that anything relating to ASP or Activ

Re: [PHP] Loss of precision in intval()

2007-08-01 Thread tg-php
Very weird and counter intuitive. Looking at the php manual, I see this: Converting to integer from floating point: "When converting from float to integer, the number will be rounded towards zero." But you'd think the multiplication would happen before the rounding. if yo

Re: [PHP] Loss of precision in intval()

2007-08-01 Thread tg-php
Probably return "7582" instead of "7581". = = = Original message = = = On 8/1/07, Mark Summers <[EMAIL PROTECTED]> wrote: > This sort of thing really isn't helpful... > > > $a = 75.82 * 100; > > echo intval($a); > > ?> > > -- &

Re: [PHP] Which PHP-Editor to use?

2007-08-02 Thread tg-php
t admin rights on a XP machine. What editors do you use? Do you have any recomendations on a special one? I have looked into eclipse, but I would hear from your experience which one would you recommend me to switch to? Thank you for any comment. Best regards, Merlin -- PHP General Mail

[PHP] Rejecting File Upload

2007-08-04 Thread php mail
Hi All, How do I prior check file's size in server side before the upload process begin ? Regards, Feris

Re: [PHP] javascript in or in ?

2007-08-07 Thread tg-php
____ Sent by ePrompter, the premier email notification software. Free download at http://www.ePrompter.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] A variable inside a variable?

2006-06-26 Thread tg-php
I've never found a use for it myself, but yes.. php provides for 'variable variables': http://us3.php.net/manual/en/language.variables.variable.php $a = 'varname'; $varname = 'test'; echo $$a; > test -TG = = = Original message = = = Thanks for your he

Re: [PHP] Re: A variable inside a variable?

2006-06-26 Thread tg-php
You were on the right track, but this isn't going to work.. for a couple reasons: $var = 1; # this is fine $var2 = "$var"; # $var2 == 1 at this point echo $$var2; # you're going to echo $1 Putting $var in double quotes makes PHP evaluate it before assigning it to $var2, s

Re: [PHP] Calculations

2006-06-27 Thread tg-php
Try: pow($base, $exp); http://us2.php.net/manual/en/function.pow.php Not sure why PHP doesn't use the ^.. havn't looked to see if it's already used for something else. -TG = = = Original message = = = Hi there list. Thanks for your help with my other questions. I was carr

Re: [PHP] Calculations

2006-06-27 Thread tg-php
pow($base, $exp); > >http://us2.php.net/manual/en/function.pow.php > >Not sure why PHP doesn't use the ^.. havn't looked to see if it's already used >for something else. > >-TG > Yes, I found that su

RE: [PHP] Calculations

2006-06-27 Thread tg-php
= = = Original message = = = > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 27, 2006 2:11 PM > To: php-general@lists.php.net > Subject: Re: [PHP] Calculations > > When my level of free time matches my level of curiousity, I&

Re: [PHP] Calculations and exponents in languages

2006-06-28 Thread tg-php
28/06/06, tedd <[EMAIL PROTECTED]> wrote: > At 2:30 PM -0400 6/27/06, Kristen G. Thorson wrote: > > > >http://www.php.net/manual/en/language.operators.bitwise.php > > > > I wonder why that's true for php when it's common to use ^ in many other > languages &g

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

2006-06-30 Thread tg-php
On the other hand, you can tell the web server that the browser has been closed or the page has 'exited'. Not 100% reliable, but in theory you could use the "onUnload" (think that was it) event for a web page that does something sloppy like spawn a popup window that hi

Re: [PHP] Re: Sad PHP Poem

2006-07-01 Thread tg-php
e premier email notification software. Free download at http://www.ePrompter.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Chnage Management in PHP aka version control?

2006-07-05 Thread tg-php
the file and it's already open, that the user is alerted and allowed to open read-only if they desire. What kind of features are you looking for in a 'change management' software package? Maybe someone can recommend an app or two that will fit yours (and maybe our) needs. -TG = =

Re: [PHP] Calculations

2006-07-06 Thread tg-php
rote: > tedd wrote: >> At 11:27 AM +0300 6/28/06, Robin Vickery wrote: >>> On 28/06/06, tedd <[EMAIL PROTECTED]> wrote: >>>> At 2:30 PM -0400 6/27/06, Kristen G. Thorson wrote: >>>>> http://www.php.net/manual/en/language.operators.bitw

[PHP] Re: [PHP-WIN] Dynamic HTML table sort with PHP

2006-07-07 Thread tg-php
t added to the sort list. So if you clicked column B, that became primary sort. If you clicked on column C after that, then C became the primary sort and B was the secondary sort. On top of that I did thte ASC/DESC thing too. Just a matter of working out the logic, but yes, you can do it al

Re: [PHP] Video in PHP

2006-07-07 Thread tg-php
Looks like totem supports playlists, why not just generate a playlist and pipe that into totem? And I don't see any obvious documentation without downloading Totem, but you might check to see if there's an "exit on end" option that'd return control back to PHP if a

Re: [PHP] Chnage Management in PHP aka version control?

2006-07-10 Thread tg-php
lls added ".doc" files as text. I'll never ever ever use this product again, no matter how many people tell me it's been fixed. YMMV ___ Sent by ePrompter, the premier email notification software. Free download a

Re: [PHP] regular expression to extract from the middle of a string

2006-07-14 Thread tg-php
ou=services,dc=domain,dc=net I want to extract whatever falls between the 'cn=' and the following comma - in this case 'emailadmin'. Question(s); is this possible via a regular expression? does php have a better way of doing this? Some pointers would be greatly appreciated. Onc

RE: [PHP] Sort Array

2006-07-18 Thread tg-php
t() functions and on the surface they kind of bewilder me, but I believe that's what might help here. It does a user defined sort while maintaining index associations. http://us3.php.net/manual/en/function.uasort.php Hope that helps. -TG = = = Original message = = = [snip] I have the array

Re: [PHP] create multidimensional array with n depth

2006-08-09 Thread tg-php
riginal message = = = Hi all: I've been trying to create a multidimensional array with n depth in php. Tried to use a recursive function passing array references by pointers but seems like it's not possible or I still don't understand this subject enough. Finally managed to get it

Re: [PHP] USB Question Not PHP Related, so if you don't want to read this you don't have to

2006-09-13 Thread tg-php
We have a similar (and still non-PHP related) issue at work where we want to do the "call may be monitored for quality assurance" thing on the new phone system we just got. Our old phone system was analog and provided for this feature. The new system is a Cisco IP Phone deal which

Re: [PHP] USB Question Not PHP Related, so if you don't want to read this you don't have to

2006-09-13 Thread tg-php
Sorry, misread the "splitter" comment earlier. A splitter pre-USB off of the headset or phone-unit somewhere may work too. -TG = = = Original message = = = We have a similar (and still non-PHP related) issue at work where we want to do the "call may be monitored for quality a

<    2   3   4   5   6   7   8   9   10   11   >