Re: [PHP] PHP vs JAVA

2013-08-20 Thread PHP List
On 8/20/2013 10:00 AM, Tedd Sperling wrote: > Hi guys: > > A teacher at my college made the statement that JAVA for Web Development is > more popular than PHP. > > Where can I go to prove this right or wrong -- and/or -- what references do > any of you have to support your a

[PHP] I am completely lost and need an advice (beginner)

2013-07-18 Thread php colos
Hello world! I'm trying to learn PHP ( first programming language that I learn) and I feel kinda lost. I've read PHP programming 3rd edition( O'reilly), 'getting good with PHP' by Andrew Burgees and some tutorials on the internet but can't code something more comp

Re: [PHP] Some Advice

2013-06-25 Thread php
You should at least check the IP of the client additionally to have some prove it is the same client you gave the session-ID. And it is better to put the session-ID in a POST-field than in GET. So it es very unlikely someone passes a session ID around accidently. -- PHP General Mailing List

Re: [PHP] Fwd: Is it possible???

2013-06-24 Thread php
les were the most helpfull hint for the thread-starter? If not please send a complete example of your code. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

confirm subscribe to php-general@lists.php.net

2012-09-11 Thread php-general-help
Hi! This is the ezmlm program. I'm managing the php-general@lists.php.net mailing list. I'm working for my owner, who can be reached at php-general-ow...@lists.php.net. To confirm that you would like arch...@mail-archive.com added to the php-general mailing list, please send an e

RE: [PHP] A quick ereg translation

2012-08-25 Thread SagaciousDev PHP-Dev
: Sat, 25 Aug 2012 23:10:08 +0200 > From: krebs@gmail.com > To: php-general@lists.php.net > Subject: Re: [PHP] A quick ereg translation > > Am 25.08.2012 23:06, schrieb Lester Caine: > > ereg('(.*)', $phpinfo, $regs); > > > > Pulls the body of

Re: [PHP] MySQL over TCP results on CLOSE_WAIT state in PHP 5.3.8

2012-03-05 Thread php-list
> > I have a MySQL server A, a server B with PHP 5.3.8 and a server C with > > PHP 5.3.3. I'm connecting to the MySQL server on A via TCP from B and C > > using an internal network. Server B and C use the same PHP application. > > There are also same PHP scripts that g

[PHP] MySQL over TCP results on CLOSE_WAIT state in PHP 5.3.8

2012-02-27 Thread php-list
Hi, I have a MySQL server A, a server B with PHP 5.3.8 and a server C with PHP 5.3.3. I'm connecting to the MySQL server on A via TCP from B and C using an internal network. Server B and C use the same PHP application. There are also same PHP scripts that get data from the database and

Re: [PHP] Bug #51739 tricky string to float conversion

2011-09-01 Thread magic-php
The cast to float is truncating the invalid characters and since your string contains a float that is INF (8315e839) before the truncation at the "d", then it returns INF. Makes perfect sense. If I use a string in PHP I don't want PHP to cut this string. Either it uses this strin

Re: [PHP] Re: Bug #51739 tricky string to float conversion

2011-09-01 Thread magic-php
) before the truncation at > the "d", then it returns INF. Makes perfect sense. This is what drives me crazy. If I use a string in PHP I don't want PHP to cut this string. Either it uses this string as it is or it gives me an error/warning/false (what ever...). But silently(

[PHP] Bug #51739 tricky string to float conversion

2011-08-31 Thread magic-php
treated as base and "e839da08e2a7afe6dd12ec58245d" is treated as an exponent. My hint that "e839da08e2a7afe6dd12ec58245d" is not a valid exponent was not answered. What do you think about? cheers Daniel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] NetBeans Question

2010-05-30 Thread php
great IDE, but I have some questions. Tell me, maybe i can answer Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] date_default_timezone_get() differs from ini_get('date.timezone');

2010-05-30 Thread php
from the file (but not timezone) 2. ini_get() returns the right setting as well (but it will not be used). Can somebody explain to me, what happens here? Thanks a lot and kind regards, Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Email with attachment

2010-05-15 Thread Php Developer
;.$eol; $headers .= 'Return-Path: cont...@example.com'.$eol; // these two to set reply address $headers .= "Message-ID: <".time()." TheSystem@".$_SERVER['SERVER_NAME'].">".$eol; $headers .= "X-Mailer: PHP v".phpversion().$eol;

Re: [PHP] Excel Report Formatting

2010-04-20 Thread Php Developer
Hi, somebody knows if it is possible to open excel content in a new window? what i want is basically initialize the headers and instead of echo $content i want it to open in a new window. is that possible? - Original Message From: Tommy Pham To: Php Developer ; php-general

Re: [PHP] Excel Report Formatting

2010-04-20 Thread Php Developer
Hi Tommy, The code in the link is traightforward. The problem is you need to install ADOdb. I'm wondering if there is a way to do it from scratch. Thanks - Original Message From: Tommy Pham To: Php Developer ; php-general@lists.php.net Sent: Tue, April 20, 2010 11:37:21 AM Su

[PHP] Excel Report Formatting

2010-04-20 Thread Php Developer
http://ca.promos.yahoo.com/jacko/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] array or list of objects of different types

2010-04-02 Thread Php Developer
Hi all, I want to be able to have an array of elements of different types. As an example: the first element is a boolean, the second is an integer, and the thirs is a string. In php there is no typing, i'm just wondering if there is a way to have that, it would be a lot better than havi

[PHP] Change displayed file name to download

2010-03-14 Thread Php Developer
Hi, I'm using the following code: $fp = fopen($filename, 'r+'); $content = fread($fp, filesize($filename)); fclose($fp); header("Content-type: application/msword"); header("Content-Disposition: attachment; filename=$filename"); echo $content; exit; ___

[PHP] Touch screen programming help

2009-09-21 Thread Manish - dz - PHP
Hi Is it possible to do touch screen programming in PHP ? If it is then, how ? Please specify th specs with code. Thanks in advance, Regards, Manish

[PHP] Re: Can this be done?

2009-05-05 Thread php news feed
Information from ESET Smart Security, version of virus signature database 4053 (20090505) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ftp_put issues

2009-04-16 Thread j&#x27;s php general
On Thu, Apr 16, 2009 at 10:24 PM, James Hill wrote: > The ftpData function and in fact all the php stuff is running online on my > webserver. The pdf file is on my local machine, I'm trying to upload the > local pdf file to the server using ftp. > > > > The dest vari

Re: [PHP] ftp_put issues

2009-04-16 Thread j&#x27;s php general
On Thu, Apr 16, 2009 at 9:27 PM, James wrote: > Hi, yeah ftp manually works just fine using the same login too. > > James > > -Original Message- > From: Chris [mailto:dmag...@gmail.com] > Sent: Wednesday, April 15, 2009 10:09 PM > To: James > Cc: php-general@

Re: [PHP] [php] scheduled task in php

2009-04-03 Thread j&#x27;s php general
On Fri, Apr 3, 2009 at 7:49 PM, Andrew Williams wrote: > does anyone knows the the following is not working: > > C:\PHP\php.exe  D:\DEMO\index.php?action=run&run=1 > The querystring does not have an effect from the command line, it is part of the HTTP protocol. Use console opt

Re: [PHP] User Authentication across multiple server

2009-03-06 Thread j&#x27;s php general
nd crypt that (RC4 works well) and then check for the > cookie on both sites. Kind of like a "Remember me" type deal > > -- Paul > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > I believe you ca

Re: [PHP] PHP AS an FTP server

2009-02-17 Thread j&#x27;s php general
On Wed, Feb 18, 2009 at 4:24 AM, Ashley Sheridan wrote: > I used vsftp for several FTP systems at work, and bar a few problems > (errors on my part!) they work just fine. I've even got PHP talking to > various Bash scripts to manage users and permissions for the FTP, and

[PHP] Speed Opinion

2009-02-04 Thread PHP
for each record in table 1. Is if faster to just read all the records from both tables into two arrays, then use php to go through the array for table 1 and figure out what records from table 2 are related. Or, you dump all the data in table 1 into an array, then as you go through each record

Re: [PHP] Cookie Question

2009-01-17 Thread PHP
Oops, copy and paste error, that is the cookie I was using to delete. The one I am using to set is acutally: setcookie($szCookieName, $nID, time()+$expireTime,"/","www.mysite.com",false); 2009/1/17 PHP Hi, I am trying to get a cookie to set in Internet Explorer 7,

[PHP] Cookie Question

2009-01-17 Thread PHP
Hi, I am trying to get a cookie to set in Internet Explorer 7, I have tried several different setcookie() configurations, this is the latest. Yes, I read the manual and the user notes, but can't find anything specific about the different security levels in IE. $szCookieName = "MyCookie"; $nID =

Re: [PHP] Re: Re: Re: Remove index.php from url

2008-10-11 Thread jason php
o. At least nothing simple and free. Run a Google search for > "mod_rewrite iis" and you will see what I mean. > -- > Crash > Committed to the search for intraterrestrial intelligence. > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

Re: [PHP] Re: Using DOM textContent Property

2008-09-03 Thread php
al/en/domxpath.query.php> This query fetch all a elements with no title attribute or empty title attribute : '//a[not(@title) or @title = ""]' ; That example was for finding email addresses and turning them into links, not the other thing about adding missing attri

Re: [PHP] Using DOM textContent Property

2008-09-03 Thread php
Tim Gustafson wrote: Hello, I am writing a filter in PHP that takes some HTML as input and goes through the HTML and adjusts certain tag attributes as needed. So, for example, if tag is missing the "title" attribute, this filter adds a title attribute to the tag. I'm doing

Re: Re: [PHP] Image Generation

2008-08-20 Thread php
lity good enough for my needs. > > Ash > www.ashleysheridan.co.uk [1] > > > ---- > > Onderwerp: > Re: [PHP] Image Generation > Van: > Jochem Maas > Datum: > Wed, 20 Aug 2008 11:06:14 +0200 > Aan: > [EMAIL PROTECTED] [3] > > Aan: >

[PHP] Best store for mans

2008-07-30 Thread php-general
/ -- PHP

Re: [PHP] Login without cookies enabled help

2008-07-15 Thread php
ply... > > -- > Regards, > Shelley > You can use sessions to store data on the server instead of the client. http://nl2.php.net/manual/en/ref.session.php [/quote] Just be careful as sessions default to using cookies. Otherwise, pass the session id with the query string of

[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

[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

Re: [PHP] PHP 5 file_get_contents() problems

2008-03-30 Thread php
on an alternate test site which has PHP 5 running. However back on the hosting client I'm having problems with, curl throws the following error message: CURLE_COULDNT_RESOLVE_HOST (6) Couldn't resolve host. The given remote host was not resolved. A second test script, uses the popu

[PHP] testing

2008-03-25 Thread PHP General Users Mailing List
testing -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] include() and current working directory

2008-03-08 Thread php
So, the easy way out is to move the CSS, but I've got heaps of these, and it makes it really messy. The PHP looks like this: include("xxx/index.htm"); the css is saved in the xxx folder. I'm open to any suggestions, ideas? Many thanks Matt -- PHP General Mailing L

[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

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

[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

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] Profiling PHP App

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

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

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

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

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

[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] OT- why is network solutions more than godaddy?

2007-08-03 Thread Eric Holt (PHP List)
? :W -Original Message- From: Rahul Sitaram Johari [mailto:[EMAIL PROTECTED] Sent: Friday, August 03, 2007 12:47 PM To: Austin Denyer; PHP Subject: Re: [PHP] OT- why is network solutions more than godaddy? Interesting read - although the whole thing is trumpeted upon their policy "W

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

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] 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: 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] 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: [PHP] Re: Dealing with ImageMagick from PHP

2007-07-29 Thread Eric Holt (PHP List)
Plus, look in the examples section. Eric Holt (PHP List) wrote: Hello everyone. This is my first post to the list, so bare with me :) I have written an application for a client that is used in the Event Photography business. It handles taking photographs, categorizing them, making thumbnai

[PHP] Dealing with ImageMagick from PHP

2007-07-28 Thread Eric Holt (PHP List)
the 6.x.x series). Anyway -- the clients decided they wanted me to do some work on the image quality, so I finally decided to move up to ImageMagick v.6.3.4. Right now, I call ImageMagick from a "exec" call in PHP. When I first wrote the application, it was the quickest and easiest wa

[PHP] �������� ���� ������ � �����

2007-07-24 Thread php
argr brqoa dshbigi mwdxd

[PHP] ��������� ����� ����������������� ������� �� ����

2007-07-23 Thread php
rfiyoaq mkgr aosj jihy

[PHP] halfhearted girl scout

2007-07-16 Thread php
sbbc aojsaw duoo iyuxo

[PHP] ghastly industrial complex

2007-07-15 Thread php
jbqbd djcrth wbtym sobtyp

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

[PHP] Php-general-help/--STOP !!! No Pague de MAS... !!

2007-07-09 Thread Php-general-help 9
dollop absolution monogamy gallop jog heuristic stifle cove injudicious stab togs equitable averse concord brazzaville punish deed detroit

[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

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

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

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] 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
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
= 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
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-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-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

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

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 = '$

[PHP] Google Talk Integration

2007-06-13 Thread Not�cias PHP
Hi, In the site http://www.imified.com/api/ it has a API that it makes the integration of the GTALK with any programming language. But I am not obtaining to make script php to send a message for my user in google talk. Somebody already used this api? Hermes Alves www.argohost.net -- PHP

[PHP] Persistent MySQL Connection

2007-06-13 Thread PHP Mailing List
Hi everyone, I currently running my php as cgi as it is more controllable in shared hosting, the drawback is I cannot use mysql persistent connection so mysql_pconnect() function is not an option. Is there any mysql connection pool product for php running as cgi ? Thanks, Dino -- PHP

[PHP] Persistent MySQL Connection

2007-06-11 Thread PHP Mailing List
Can I maintain just one mysql connection resource to all my pages per user session. As far as I knows create connection is more expensive than executing queries ? Any reference how to make efficient for connection resources ? Thanks, Dino -- PHP General Mailing List (http://www.php.net/) To

[PHP] Persistent MySQL Connection

2007-06-11 Thread PHP Mailing List
Can I maintain just one mysql connection resource to all my pages per user session. As far as I knows create connection is more expensive than executing queries ? Any reference how to make efficient for connection resources ? Thanks, Dino -- PHP General Mailing List (http://www.php.net/) To

[PHP] MySQL Connection in Session ?

2007-06-11 Thread PHP Mailing List
Can I maintain just one mysql connection resource to all my pages per user session. As far as I knows create connection is more expensive than executing queries ? Any reference how to make efficient for connection resources ? Thanks, Dino -- PHP General Mailing List (http://www.php.net/) To

[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] 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] Marketplace Framework

2007-05-20 Thread PHP Mailing List
Hi All, Is there any PHP's framework for developing a marketplace site ? Regards, Dino -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Marketplace Framework

2007-05-20 Thread PHP Mailing List
Hi All, Is there any PHP's framework for developing a marketplace site ? Regards, Dino -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

[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

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

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

[PHP] Uploaded file

2007-04-26 Thread PHP
Hi, How do I pass an uploaded file, from a form, to a class? I have a file type on the form called file. The variable $file is fine in my php code, can be used normally. But, I want to pass it to a class then manipulate the file, but it does not work. $cMyClass->fnManipulateFile($file);

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] PHP excel capability

2007-04-18 Thread tg-php
Excel (assuming they have it installed). This works for a real quick and dirty export-to-excel type thing. Then PHP isn't really creating an Excel file, but presenting the data in a format that Excel on the client PC can read. Or you can use COM as Jay recommended, but that requires Excel to be

Re: [PHP] CSS vs. Tables OT OT OT OT OT OT OT OT OT OT

2007-04-18 Thread tg-php
jinn.com | :--------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also p

Re: [PHP] Download multiple sound files?

2007-04-12 Thread tg-php
mail message 'bundler' so you didn't have to download emails one at a time via archaic POP3 too..hah Back to the OT and OP... doing this with PHP would take a little cleverness and probably isn't worth it. But might be a fun challenge and is certainly possible with enough elb

  1   2   3   4   5   6   7   8   9   10   >