Re: [PHP] SESSIONS vs. MySQL

2008-09-20 Thread Ashley Sheridan
On Fri, 2008-09-19 at 10:17 -0500, Philip Thompson wrote: Hi all. Let me start out by saying, I have STFW and read through the list archives. Now that that's out of the way. To speed up our application, we want to implement using SESSIONs in some locations. Beforehand, on every page,

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

2008-09-20 Thread Ashley Sheridan
On Fri, 2008-09-19 at 13:43 -0400, 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 line where the foreach loop starts. function dropbox_from_list($list,

Re: [PHP] how to recognize CSV file?

2008-09-20 Thread Ashley Sheridan
On Fri, 2008-09-19 at 14:24 -0500, Afan Pasalic wrote: Eric Butera wrote: On Fri, Sep 19, 2008 at 3:14 PM, Afan Pasalic [EMAIL PROTECTED] wrote: Eric Butera wrote: On Fri, Sep 19, 2008 at 2:59 PM, Afan Pasalic [EMAIL PROTECTED] wrote: hi, I have form where

Re: [PHP] SESSIONS vs. MySQL

2008-09-20 Thread tedd
At 5:00 PM -0400 9/19/08, Robert Cummings wrote: On Fri, 2008-09-19 at 21:31 +0100, Stut wrote: I can modify this: http://webbytedd.com/bb/pdf/ He said EXPENSIVE you insensitive clod! Ahh, mood swings from ink poisoning? Tedd: Charge $100 per certificate, Rob'll buy one, maybe

Re: [PHP] SESSIONS vs. MySQL

2008-09-20 Thread tedd
At 9:31 PM +0100 9/19/08, Stut wrote: On 19 Sep 2008, at 21:22, Robert Cummings wrote: On Fri, 2008-09-19 at 16:15 -0400, tedd wrote: At 3:11 PM -0400 9/19/08, Eric Butera wrote: On Fri, Sep 19, 2008 at 2:50 PM, Robert Cummings [EMAIL PROTECTED] wrote: 4. lack of industry adoption There

Re: [PHP] SESSIONS vs. MySQL

2008-09-20 Thread tedd
At 4:53 PM -0400 9/19/08, Jason Pruim wrote: Time's off by an hour :) That's probably a day-light saving thing -- doesn't matter anyway. I could have my graphic designer whip something up hehee :) The problem is not designing the form, but rather programming it. Each form takes a lot of

Re: [PHP] Error message

2008-09-20 Thread Terry J Daichendt
The error message told it all. Jochem was correct albiet not in the style I prefer. I had the code in an HTML page after the header. I've been a programmer for 15 years but I'm brand new to PHP. Anyone can make a rookie mistake. Thanks everyone for the help. Everyone was partially correct in

Re: [PHP] how to recognize CSV file?

2008-09-20 Thread Afan Pasalic
Ashley Sheridan wrote: On Fri, 2008-09-19 at 14:24 -0500, Afan Pasalic wrote: Eric Butera wrote: On Fri, Sep 19, 2008 at 3:14 PM, Afan Pasalic [EMAIL PROTECTED] wrote: Eric Butera wrote: On Fri, Sep 19, 2008 at 2:59 PM, Afan Pasalic [EMAIL PROTECTED] wrote: hi, I have form

Re: [PHP] how to recognize CSV file?

2008-09-20 Thread Eric Butera
On Sat, Sep 20, 2008 at 10:23 AM, Afan Pasalic [EMAIL PROTECTED] wrote: Ashley Sheridan wrote: On Fri, 2008-09-19 at 14:24 -0500, Afan Pasalic wrote: Eric Butera wrote: On Fri, Sep 19, 2008 at 3:14 PM, Afan Pasalic [EMAIL PROTECTED] wrote: Eric Butera wrote: On Fri, Sep 19, 2008 at

[PHP] Re: Calculation assistance.. :)

2008-09-20 Thread Lupus Michaelis
Stephen Johnson a écrit : OK.. Math is NOT my forte ... I am converting a site from ASP to PHP ... And this calc is in the ASP Code : $nMonthlyInterest = $nRate / (12 * 100) Wow, that's rather not good. Learn about http://en.wikipedia.org/wiki/Geometric_progression. Because :

Re: [PHP] Calculation assistance.. :)

2008-09-20 Thread Richard Heyes
Eric ... I LOVE YOU... Well Eric, I think you've pulled... -- Richard Heyes HTML5 Graphing for IE7, FF, Chrome, Opera and Safari: http://www.phpguru.org/RGraph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Passing variables between pages

2008-09-20 Thread Nathan Rixham
tedd wrote: At 12:42 PM -0400 9/19/08, Dan Joseph wrote: On Fri, Sep 19, 2008 at 12:35 PM, tedd [EMAIL PROTECTED] wrote: At 12:22 PM -0400 9/19/08, Jason Pruim wrote: It's interesting that another topic (i.e. [PHP] SESSIONS vs. MySQL) is discussing the differences in storing variables in

Re: [PHP] Calculation assistance.. :)

2008-09-20 Thread tedd
At 8:25 PM +0100 9/20/08, Richard Heyes wrote: Eric ... I LOVE YOU... Well Eric, I think you've pulled... -- Richard Heyes Oh for Goodness sake, get a room. :-) Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List

Re: [PHP] Passing variables between pages

2008-09-20 Thread tedd
At 8:31 PM +0100 9/20/08, Nathan Rixham wrote: Am I missing something here..? Yes. You are missing the point. This is exactly the same; you don't need $_SESSION's in this case because all you're doing is POST'ing the data every time.. And that's what you are missing -- it's not continued

[PHP] How to detect the host (window or Linux)?

2008-09-20 Thread hce
Hi, How can I detect the host is window or linux in PHP code? Thank you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to detect the host (window or Linux)?

2008-09-20 Thread Anderson Franco
$win = stripos(PHP_OS, 'win') !== false ? true : false; Anderson Franco Web Developer Franco Tecnologia Bras. e Com. LTDA Phone / Fax: +55 (19) 3455 2262 Email: [EMAIL PROTECTED] MSN/GTalk: [EMAIL PROTECTED] Skype: francotecnologia On Sat, Sep 20, 2008 at 7:38 PM, hce [EMAIL PROTECTED] wrote:

[PHP] Re: Accountancy for a webshop/ecommerce system

2008-09-20 Thread Michelle Konzack
Am 2008-08-21 07:57:51, schrieb Rene Veerman: What i'm worried about is the accounting part of a webshop system. I've downloaded some accounting manuals and programs, to see 'how its done'. I've also downloaded some other webshop php apps (notably oscommerce.com) to see how they do things.

[PHP] Re: Accountancy for a webshop/ecommerce system

2008-09-20 Thread Michelle Konzack
Am 2008-08-21 08:54:50, schrieb Per Jessen: I don't know much about e.g. osCommerce, but I would expect a webshop system to only provide the input for a general ledger- and/or inventory-system. Just like a human shop-assistant or cashier does when he/she operates the check-out register.

[PHP] Problem with sorting

2008-09-20 Thread Michelle Konzack
* Do not Cc: me, because I READ THIS LIST, if I write here * *Keine Cc: am mich, ich LESE DIESE LISTE wenn ich hier schreibe*

[PHP] Re: render html

2008-09-20 Thread Michelle Konzack
Am 2008-08-25 23:24:41, schrieb VamVan: hello, i have html tags in the bod of text like: $body = hellobr/ulier/ulhellohello; ^ Should be br / print $body; Some how it does not render html properly in a html page , what might be going wrong? br still get

[PHP] Re: Large/unreliable file uploading over HTTP

2008-09-20 Thread Michelle Konzack
Am 2008-09-08 09:49:08, schrieb Craige Leeder: The only concern I would have is that you are using a third party software/applet to do these uploads. I'm not a fan of MAKING users have a piece of software enabled to allow them basic web-standard

[PHP] Re: Large/unreliable file uploading over HTTP

2008-09-20 Thread Michelle Konzack
Am 2008-09-08 11:47:34, schrieb Jason Pruim: Hey Todd, This sounds exactly like what my day job needs... I just took over the website, and currently they have it where people have to ftp the file into their server to get large files, and with them being a print shop... A couple gigs

[PHP] Re: Large/unreliable file uploading over HTTP

2008-09-20 Thread Michelle Konzack
Hi Todd, Am 2008-09-08 11:11:45, schrieb Boyd, Todd M.: I'd be more than happy to spread the source around. Files of any size are not a problem... the Applet breaks a file into (I believe) 512kb chunks for transfer. The first POST to PHP tells PHP how many chunks and some other identifying

[PHP] Re: Google Chrome

2008-09-20 Thread Michelle Konzack
Am 2008-09-04 19:35:40, schrieb Bastien Koert: DDoS is a Distributed Denial of Service attack where a server is attacked via multiple computers (like a bot net) at the same time AFAIK And what is, if you access a webpage which is CGI/php5 driven and the webPAGE is in the size of the

[PHP] Re: geolocation

2008-09-20 Thread Michelle Konzack
Am 2008-09-02 15:05:05, schrieb clive: Hi, Have any developed a site that determines a users location based on IP address, Im not looking for accurate locations, just what country they are coming from. I know I could possible get a list of IP blocks allocated to countries or make use

[PHP] Re: geolocation

2008-09-20 Thread Michelle Konzack
Am 2008-09-02 09:08:50, schrieb Schiz0: I use the GeoIP libraries. They work perfectly. YOu just need to install the pecl-GeoIP package, then make sure you keep the binary database up-to-date (from www.maxmind.com). http://php.net/geoip How does ths work with Compuserver or ALOL or even my

[PHP] Re: Confused

2008-09-20 Thread Michelle Konzack
Am 2008-09-02 14:34:23, schrieb Robert Cummings: So you're script runs long enough for you to check? I think he doe not get any connections because ifx_connect(..., $user, $pass) REQUIRE ALL parameters and if $_SERVER['HTTP_USER'] is empty... If he use ifx_connect(..., $user, $pass)

[PHP] Re: Header() - POST

2008-09-20 Thread Michelle Konzack
Hi Stut, Am 2008-09-05 17:11:58, schrieb Stut: You're trying to post to the browser which won't know how to handle it. The header() function is modifying the response headers that are being sent back to the browser, they do not create a new request. If you want to do a new request I

[PHP] Re: Confused

2008-09-20 Thread Michelle Konzack
You have: ?php echo substr($_SERVER['AUTH_USER'], 13); ? and how do you want to get something? The subscring is displayed after the 13th character and if the AUTH_USER is shorter... Also you have: if (!$connect_id = ifx_connect([EMAIL PROTECTED], $user, $pass)) { // THE ACTUAL

[PHP] Re: Sending username/password

2008-09-20 Thread Michelle Konzack
Am 2008-09-05 17:51:03, schrieb Robert Cummings: On Fri, 2008-09-05 at 17:45 -0400, Robert Cummings wrote: On Fri, 2008-09-05 at 15:39 -0500, Jay Moore wrote: That'll teach you to use Google Chrome. ;) Pshaw. IE5 4 lyfe, yo. I have IE5 running in a vmware appliance. I check

[PHP] Re: translations for PHP app

2008-09-20 Thread Michelle Konzack
Am 2008-09-08 14:45:05, schrieb Per Jessen: Shawn McKenzie wrote: I need translations from English into the most common languages of my users: Spanish, French, Italian, Chinese, Indian, Russian. Also, anyone having expertise in other languages, I would love to have them, please contact

[PHP] Re: Shopping Carts/Checkout Software

2008-09-20 Thread Michelle Konzack
Am 2008-09-08 11:17:16, schrieb Dan Joseph: Check out osCommerce (oscommerce.com), its open source, written in php, uses mysql, and you should be able to hook into it pretty easily like you want. I have installed osCommerce and it is crap. Since there is NO mailinglist and I can not access the

[PHP] Re: Re: Why MS Won't Retire Browsers -- was: Interntet Explorer 8 beater 2

2008-09-20 Thread Michelle Konzack
Am 2008-09-14 17:09:53, schrieb Ashley Sheridan: on earth anyone is going to give Debian to a Linux newbie, and if they do they should be taken out and shot! If I find you I will kill you!!! I am Debian GNU/Linux Consultant for many years and even Newbies running here Debian... It just

[PHP] Re: Shopping Carts/Checkout Software

2008-09-20 Thread Michelle Konzack
Salut Charlene, Am 2008-09-08 11:03:07, schrieb Charlene: My boss is a little biased against it. We converted a client from it a couple of years ago. The replacement wasn't much better. I don't know what version they were using of osCommerce, but the credit card numbers were being

[PHP] Re: The Best PHP Editor.

2008-09-20 Thread Michelle Konzack
Am 2008-09-10 20:21:29, schrieb jmatt: Hi, I was using NVU to edit PHP but when I upload the index.php file back there will always be a slight error in disorientation. Example using NVU I edited the text just a bit then bam..The webpage became really funny What is the best to edit my PHP

[PHP] Re: Shopping Carts/Checkout Software

2008-09-20 Thread Michelle Konzack
Am 2008-09-08 15:14:23, schrieb Micah Gersten: ZenCart Reasons: PHP-based Open Source lots if plugins Take a look at this: http://en.wikipedia.org/wiki/Zen_Cart Sorry, but I can read the same stuff about osCommerce which is crap and I get the hell with Abmahn Anwälten if I try to get it in

[PHP] Re: Thank you...

2008-09-20 Thread Michelle Konzack
Hello Aschwin, Am 2008-09-11 15:27:38, schrieb Aschwin Wesselius: Hi, I'm not an American (nor I ever will be), but GW declared the War himself, so he started it. There's no defense if you start a war and start attacking another country on behalf of it's citizens. What these called

[PHP] Re: Thank you...

2008-09-20 Thread Michelle Konzack
Am 2008-09-11 09:18:36, schrieb Jason Pruim: Never said they did... It's just today I wanted to say thank you to everyone that defends their country Which include the Garde Republican of Iraq with there fight against american Invaders! Time for me to go back to Iran... Thanks,

[PHP] Re: Browser could not get mp3 files from http site

2008-09-20 Thread Michelle Konzack
Am 2008-09-12 18:14:23, schrieb hce: Hi, I have a php file audio.php to send mp3 file audio.mp3 to browsers, the browser needs following html code to play mp3 file. I thought it should work if I put the the audio.mp3 file in the same localtion with the http://www.myweb.com/audio.php. But

[PHP] Re: Browser could not get mp3 files from http site

2008-09-20 Thread Michelle Konzack
Am 2008-09-13 00:22:59, schrieb Ashley Sheridan: As far as I'm aware, the embed tag is not supported in any HTML standard, and as such, it's a little hit and miss. Depending on what you want to achieve, you should look towards the object tag instead:

[PHP] Re: Browser could not get mp3 files from http site

2008-09-20 Thread Michelle Konzack
Am 2008-09-14 13:54:01, schrieb hce: I've tried the object tag as Ash suggested, the object tag crashed firefox): (1) If I open following audio.html directly from Open File file:///home/webserver/audio.html, the embed tag works just fine, the audio can play. The /home/webserver is the

Re: [PHP] Re: Thank you...

2008-09-20 Thread Dan Joseph
Look... Spam the list, but PLEASE do NOT open up this thread again we all let it rest 3 weeks ago. -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm for the rest of his

[PHP] Re: RE: Sale 79% OFF !!!

2008-09-20 Thread Michelle Konzack
Am 2008-08-21 15:12:07, schrieb Per Jessen: Ashley Sheridan wrote: And do they really expect it to work?! Yes, and it does. Even for women? :-P Thanks, Greetings and nice Day/Evening Michelle Konzack Systemadministrator 24V Electronic Engineer Tamay Dogan Network

Re: [PHP] Re: Re: Why MS Won't Retire Browsers -- was: Interntet Explorer 8 beater 2

2008-09-20 Thread Ashley Sheridan
On Sat, 2008-09-20 at 03:30 +0200, Michelle Konzack wrote: Am 2008-09-14 17:09:53, schrieb Ashley Sheridan: on earth anyone is going to give Debian to a Linux newbie, and if they do they should be taken out and shot! If I find you I will kill you!!! I am Debian GNU/Linux Consultant for

Re: [PHP] Re: Shopping Carts/Checkout Software

2008-09-20 Thread Ashley Sheridan
On Sat, 2008-09-20 at 04:30 +0200, Michelle Konzack wrote: Design can not be changed (colors, look and feel) since it is HTML table fixed. Also the boxes left and in the middle have broken headings (Titles) which I have tried to solv, but since the sourcecode is not realy clear it is

Re: [PHP] Re: Browser could not get mp3 files from http site

2008-09-20 Thread hce
On Sat, Sep 20, 2008 at 1:29 PM, Michelle Konzack [EMAIL PROTECTED] wrote: Am 2008-09-12 18:14:23, schrieb hce: Hi, I have a php file audio.php to send mp3 file audio.mp3 to browsers, the browser needs following html code to play mp3 file. I thought it should work if I put the the audio.mp3

Re: [PHP] Re: The Best PHP Editor.

2008-09-20 Thread Michael S. Dunsavage
On Sat, 2008-09-20 at 04:52 +0200, Michelle Konzack wrote: What is the best to edit my PHP file? Recently I've been doing quick updates in vim but I designed my friends DJ website in Geany and Quantum. Geany is really quite good. You'll need GTK libraries, it's a Gnome program. -- Michael S.

Re: [PHP] Error message

2008-09-20 Thread Shawn McKenzie
Terry J Daichendt wrote: The error message told it all. Jochem was correct albiet not in the style I prefer. I had the code in an HTML page after the header. I've been a programmer for 15 years but I'm brand new to PHP. Anyone can make a rookie mistake. Thanks everyone for the help. Everyone