Re[2]: [PHP] Re: weird header() (bug may be)

2004-02-12 Thread Richard Davey
Hello Jason, Thursday, February 12, 2004, 6:38:05 AM, you wrote: It should be this: header(Location: another_page.php); and NOT header(Location:another_page.php); JW Also it should be an absolute URL otherwise it might break on some (standards JW compliant only) browsers: While I totally

[PHP] Re: Zlib - Insert files?

2004-02-12 Thread Till Krüss
Thanks But how can i put it into an tar archive before? rgds Till -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] getting month from date variable

2004-02-12 Thread Angelo Zanetti
HI, I have looked the php manual and cannot find a function where I can extract the month (in words) from a variable which contains a date. eg: I input : 2004-01-26 and the function must return: January Is there a php function like this? I dont want to reinvent the wheel. If there isnt i

RE: [PHP] getting month from date variable

2004-02-12 Thread Vincent Jansen
Don't reinvent http://www.php.net/manual/en/function.strftime.php -Original Message- From: Angelo Zanetti [mailto:[EMAIL PROTECTED] Sent: donderdag 12 februari 2004 10:13 To: [EMAIL PROTECTED] Subject: [PHP] getting month from date variable HI, I have looked the php manual and

[PHP] find some application

2004-02-12 Thread Poltak Reynold Priyadi
dear all, i'm new in php programming i would like to find some sample application to increase my knowledge. would you tell me where will i find a sample application or maybe some of you want to sent me anything about php or the sample code thank you best regards -- Poltak Reynold Priyadi

RE: [PHP] find some application

2004-02-12 Thread Jonathan Wilkes
How lazy are you ? Just look up PHP on the web, give www.google.com a go - you might just learn something. -Original Message- From: Poltak Reynold Priyadi [mailto:[EMAIL PROTECTED] Sent: 12 February 2004 09:58 To: [EMAIL PROTECTED] Subject: [PHP] find some application dear all, i'm

RE: [PHP] [Q]PHP not taking input values from forms

2004-02-12 Thread Ford, Mike [LSS]
On 11 February 2004 18:01, Dan Aloma wrote: Sorry about not including code the first time. Here is a snippet of code I am fairly certain should be doing something. Thank you SOOO much for the help. I've been working on setting up php for four days now and EVERYTHING else works (phpinfo()

[PHP] Imagejpeg and image size question

2004-02-12 Thread John
Hi, I am new to manipulating JPGs using PHP. But i managed to create an application that displays an JPG image in the browser (see below). I have boiled the code down to the most nesesary. My problem is that when i load the file c:\file.jpg directly in the IE browser (using IMG

RE: [PHP] find some application

2004-02-12 Thread Angelo Zanetti
go to www.php.net and www.phpfreaks.com and look at the manual and on the NET!!! -Original Message- From: Poltak Reynold Priyadi [mailto:[EMAIL PROTECTED] Sent: Thursday, February 12, 2004 11:58 AM To: [EMAIL PROTECTED] Subject: [PHP] find some application dear all, i'm new in php

Re: [PHP] find some application

2004-02-12 Thread Richard Davey
Hello Poltak, Thursday, February 12, 2004, 9:58:09 AM, you wrote: PRP i would like to find some sample application to increase my knowledge. PRP would you tell me where will i find a sample application PRP or maybe some of you want to sent me anything about php or the sample code

[PHP] bar code scaning in intranet ap

2004-02-12 Thread Michal Strnad
Hi, I would like to make an application for DVD,VHS rental with PHP,MySQL, but I don't know how to connect it with bar code scaner. Do you have an idea? I hope, that I can use PHP for it :-) Thanks Michal -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Unique ID - again

2004-02-12 Thread Alex
Hi folks, I'm using usual md5(microtime()); to create IDs, but now I've encountered a problem with that. I need to create explicitly 6 digit unique number(decimal). Yes, I know I can use for/while loop to fill a string with digits, but is it ABSOLUTELY sure that the random will never return same

Re: [PHP] Unique ID - again

2004-02-12 Thread Richard Davey
Hello Alex, Thursday, February 12, 2004, 11:00:41 AM, you wrote: A I'm using usual md5(microtime()); to create IDs, but now I've encountered a A problem with that. I need to create explicitly 6 digit unique A number(decimal). Yes, I know I can use for/while loop to fill a string with A digits,

RE: [PHP] Please help me understand gmmktime()

2004-02-12 Thread Ford, Mike [LSS]
On 11 February 2004 20:26, Richard Day wrote: Hello: Environment: Linux server PHP 4.3.4 This code: echo 'br'.strftime('%T %Z',mktime()).', Timestamp='.mktime(); echo 'br'.strftime('%T GMT',gmmktime()).', Timestamp='.gmmktime(); yields this result:

Re[2]: [PHP] weird header() (bug may be)

2004-02-12 Thread adwinwijaya
Hello Chris, Thursday, February 12, 2004, 5:57:55 PM, you wrote: CS Nope. As others have pointed out, your Location header is improperly CS formed. CS However, your immediate problem is that, regardless of whether $foo == CS 'something', you *always* set the Location header to

Re[3]: [PHP] weird header() (bug may be)

2004-02-12 Thread Richard Davey
Hello adwinwijaya, Thursday, February 12, 2004, 11:11:48 AM, you wrote: -- because in my logic ... after sending the (redirect) to another -- page .. the process shall be stopped In PHP's logic however, it doesn't stop :) (Unless you tell it to by either using an exit() call or just making the

RE: [PHP] mutliple select form not passing multiple values

2004-02-12 Thread Ford, Mike [LSS]
On 11 February 2004 21:39, Ben Ramsey wrote: Ah-ha! I missed that, and I always do. Let's hope I don't anymore. While we're on the subject, why is PHP set up this way? Why can't it just add the elements to the array automatically, since adding the square brackets to one's HTML form name is

Re: [PHP] bar code scaning in intranet ap

2004-02-12 Thread Andrew Séguin
Programming bar code reader from PHP? It truly largely depends on the brand of bar code reader, and even then, the model. For example, I programed for an Intermec Antares 24xx series handheld (that model is made for standalone/independant operation). For your operations, this isn't very good

Re: [PHP] Running Apache in one machine and php in another

2004-02-12 Thread Harry Sufehmi
On 06/02/2004 at 11:55 Mrs. Geeta Thanu wrote: This is in addition to my previous mail. I feel the PHP script and the C program should be in one machine and apache in another. When a user click the link the php script should upload a form get the input and show the result. So apache should support

[PHP] Call to a member function on a non-object

2004-02-12 Thread Angelo Zanetti
HI, I used my scripts yesterday and suddenly today they dont work and I get this error: Call to a member function on a non-object it points to erroneous line that calls a function in 1 of my classes. The class and this particular file have not been changed since i used them yest. I also checked

Re[2]: [PHP] Re: weird header() (bug may be)

2004-02-12 Thread adwinwijaya
Hello Eric, Thursday, February 12, 2004, 10:57:57 PM, you wrote: EB That's pretty wierd EB Think i'll do some research on headers, need more info anyway ;) EB But did my tip work in your script when you took a space there? EB Just wondering... EB Eric No it still doesnt work ... I have

Re[3]: [PHP] Re: weird header() (bug may be)

2004-02-12 Thread Richard Davey
Hello adwinwijaya, Thursday, February 12, 2004, 12:27:07 PM, you wrote: a In my logic, after we call header('location: foo.php'); the php a processor should terminated and open the page foo.php instead ... Except that doesn't happen. See my other reply on this subject. -- Best regards,

Re: [PHP] weird header() (bug may be)

2004-02-12 Thread Marek Kilimajer
adwinwijaya wrote: -- ok guys ... thanks for your answer and my another question -- why the php didnt stop processing after sending the header ? -- because in my logic ... after sending the (redirect) to another -- page .. the process shall be stopped and thanks for your -- advise ... I

Re: [PHP] Call to a member function on a non-object

2004-02-12 Thread Richard Davey
Hello Angelo, Thursday, February 12, 2004, 12:33:39 PM, you wrote: AZ I used my scripts yesterday and suddenly today they dont work and I get this AZ error: Call to a member function on a non-object If you have changed *nothing* at all that could influence the outcome of this script then I

Re: [PHP] Call to a member function on a non-object

2004-02-12 Thread adwinwijaya
Hello Angelo, Thursday, February 12, 2004, 11:33:39 PM, you wrote: AZ HI, AZ I used my scripts yesterday and suddenly today they dont work and I get this AZ error: Call to a member function on a non-object AZ it points to erroneous line that calls a function in 1 of my classes. The AZ class

[PHP] Re: weird header() (bug may be)

2004-02-12 Thread memoimyself
On 12 Feb 2004 at 17:20, adwinwijaya wrote: Hello php-generaler's , I have a script like this : if($foo == 'something'){ header('Location:to_another_page.php') ; }else { do another thing in here } header('Location:to_previous_page.php'); I got a

[PHP] {ot help needed} mod_auth_mysql

2004-02-12 Thread Jay Blanchard
Does anyone here use mod_auth_mysql for authentication? I am STFW like crazy, but I cannot find a solution for connecting to another mysql server on the network. TVMIA! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: form array

2004-02-12 Thread memoimyself
On 12 Feb 2004 at 0:29, Matthew Oatham wrote: I have a form on page1 that i want to submit to another php page - page2 the form has the fields input type=hidden name=image[one] value=one input type=hidden name=image[two] value=two input type=hidden name=image[three] value=three

Re: [PHP] weird header() (bug may be)

2004-02-12 Thread Marek Kilimajer
adwinwijaya wrote: Hello php-generaler's , I have a script like this : if($foo == 'something'){ header('Location:to_another_page.php') ; }else { do another thing in here } header('Location:to_previous_page.php'); I got a problem ... when $foo == 'something' .. it

Re: [PHP] bar code scaning in intranet ap

2004-02-12 Thread Michal
Great idea. Can I use a keyboard and bar code scanner together? How to use a keyboard, if i connect a scanner into a keyboard port? Michal Andrew Séguin [EMAIL PROTECTED] píse v diskusním príspevku news:[EMAIL PROTECTED] Programming bar code reader from PHP? It truly largely depends on the

Re: [PHP] bar code scaning in intranet ap

2004-02-12 Thread Michal
Great idea. Can I use a keyboard and bar code scanner together? How to use a keyboard, if i connect a scanner into a keyboard port? Michal Andrew Séguin [EMAIL PROTECTED] píse v diskusním príspevku news:[EMAIL PROTECTED] Programming bar code reader from PHP? It truly largely depends on the

Re: [PHP] bar code scaning in intranet ap

2004-02-12 Thread Michal
Great idea. Can I use a keyboard and bar code scanner together? How to use a keyboard, if i connect a scanner into a keyboard port? Michal Andrew Séguin [EMAIL PROTECTED] píse v diskusním príspevku news:[EMAIL PROTECTED] Programming bar code reader from PHP? It truly largely depends on the

[PHP] Re: bar code scaning in intranet ap

2004-02-12 Thread Michal
Great idea. Can I use a keyboard and bar code scanner together? How to use a keyboard, if i connect a scanner into a keyboard port? Michal Michal Strnad [EMAIL PROTECTED] pí¹e v diskusním pøíspìvku news:[EMAIL PROTECTED] Hi, I would like to make an application for DVD,VHS rental with

Re: [PHP] Re: I think this is a mysql question

2004-02-12 Thread Marek Kilimajer
Ronald Ramos wrote: create table oras( NameVARCHAR(30), TimeIn DATETIME, TimeOut DATETIME, Total DATETIME ); insert into oras values('Nhadie','2004-10-10 10:10:00','2004-11-11 12:12:00','TIMEDIFF(TimeIn,TImeOut)'); Hi, Are those correct? Because the value on the Total field is 000-00-00

Re: [PHP] Re: I think this is a mysql question

2004-02-12 Thread Marek Kilimajer
Ronald Ramos wrote: create table oras( NameVARCHAR(30), TimeIn DATETIME, TimeOut DATETIME, Total DATETIME ); insert into oras values('Nhadie','2004-10-10 10:10:00','2004-11-11 12:12:00','TIMEDIFF(TimeIn,TImeOut)'); Hi, Are those correct? Because the value on the Total field is 000-00-00

Re: [PHP] bar code scaning in intranet ap

2004-02-12 Thread James E Hicks III
On Thursday 12 February 2004 08:26 am, Michal wrote: Great idea. Can I use a keyboard and bar code scanner together? How to use a keyboard, if i connect a scanner into a keyboard port? Michal You use a thing called a wedge. It plugs into your keyboard port on your computer. Then you plug in

Re: [PHP] Imagejpeg and image size question

2004-02-12 Thread Tom Rogers
Hi, Tuesday, February 10, 2004, 9:50:20 PM, you wrote: J Hi, J I am new to manipulating JPGs using PHP. But i managed to create an J application that displays an JPG image in the browser (see below). J I have boiled the code down to the most nesesary. J My problem is that when i load the file

[PHP] Problem with SQL Server.

2004-02-12 Thread Juan Torres
Hello, I'm working with a DB SQL Server. This DB has a table with Japanese characters. When I read a field (with Japanese characters) with function mssql_fetch_array(), always it return characters '?'. If I put 'print((Japanese characters));', these Japanese characters are shown correctly. My

Re: [PHP] Problem with XSLT Sablotron

2004-02-12 Thread Raditha Dissanayake
Hi, I believe it's hiccuping at this: msxsl:script language=JScript implements-prefix=user ![CDATA[ function EscapeURL(selection) { if (selection(0) == null) return ; else if (selection(0).hasChildNodes()) return escape(selection(0).childNodes(0).nodeTypedValue); else

[PHP] PHP and DDE

2004-02-12 Thread Manuel Ochoa
Can PHP interface with other programs through DDE?

[PHP] recode segmentation fault

2004-02-12 Thread mehdi
hi, I am having problems with recode extension for php 4.3.4. this is the configure options : './configure' '--prefix=/usr/local/linkbynet/php' '--with-gd=/usr/local/linkbynet/gd2' '--enable-gd-native-ttf' '--with-freetype-dir=/usr/local/linkbynet/freetype2'

Re: [PHP] [Q]PHP not taking input values from forms

2004-02-12 Thread Dan Aloma
that tag is working fine and shows me the info. For some reason php will take input values only from the URL, not from the html code. any ideas? From: André Cerqueira [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [PHP] [Q]PHP not taking input values from forms Date: Wed, 11 Feb 2004

Re: [PHP] [Q]PHP not taking input values from forms

2004-02-12 Thread Philip Olson
On Thu, 12 Feb 2004, Dan Aloma wrote: that tag is working fine and shows me the info. For some reason php will take input values only from the URL, not from the html code. any ideas? A few questions: a) What's the exact version of PHP? b) Please post the smallest possible form that

Re: Re[2]: [PHP] weird header() (bug may be)

2004-02-12 Thread Chris Shiflett
--- adwinwijaya [EMAIL PROTECTED] wrote: why the php didnt stop processing after sending the header? because in my logic ... after sending the (redirect) to another page .. the process shall be stopped This might make sense to you, but only because you're thinking of header() as a redirect

Re: [PHP] Unique ID - again

2004-02-12 Thread Galen
MySQL (or another SQL database) is the answer. You can check for an existing OR use it's auto_increment or whatever else you like. Create a field to track all this stuff. There is no other way to guarantee that an ID is unique than to check it against existing. Random functions yield random

Re: [PHP] [Q]PHP not taking input values from forms

2004-02-12 Thread Dan Aloma
Thanks for the suggestions, first of all. I tried that exact code from the code you included and I cut and pasted the Simple HTML Form, and below that I pasted the Accessing Data... php code. When I go to the page, all it does after I hit the submit button with data in the fields, is say no

Re: [PHP] A dumb question

2004-02-12 Thread David T-G
Jeremy -- You have started a new thread by taking an existing message and replying to it while merely changing the Subject: line. That is bad, because it breaks threading. Whenever you reply to a message, your mail client generates a References: header that tells all recipients to which

RE: [PHP] A dumb question

2004-02-12 Thread Alex Hogan
HAND? I haven't seen that one... -Original Message- From: David T-G [mailto:[EMAIL PROTECTED] Sent: Thursday, February 12, 2004 11:34 AM To: PHP General list Cc: Jeremy Schroeder Subject: Re: [PHP] A dumb question Jeremy -- You have started a new thread by taking an existing

Re: [PHP] A dumb question

2004-02-12 Thread John Nichel
Alex Hogan wrote: HAND? I haven't seen that one... Have A Nice Day -- By-Tor.com It's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] A dumb question

2004-02-12 Thread Jeremy Schroeder
Sorry for the mistake. I check the email I sent and I only sent it to the group, I changed the subject an removed all the of the message. Blake David T-G wrote: Jeremy -- You have started a new thread by taking an existing message and replying to it while merely changing the Subject: line.

[PHP] Re: weird header() (bug may be)

2004-02-12 Thread Anil Kumar K.
This is not a bug. Here you expect that the script should end executing after the statement:header('Location:to_another_page.php') if the if statement is true. But it won't and it proceeds to the next statement; the next header statement:header('Location:to_previous_page.php'); An exit statement

[PHP] Using date() with the function fileatime() doesn't return accurate timestamp...

2004-02-12 Thread Scott Fletcher
I saw the article at http://us2.php.net/manual/en/function.fileatime.php and gave it a shot with the timestamp for the file but it doesn't work correctly because it only returned the current timestamp (as it is from our watch or clock) but not the one from the file... I had verify that the file

[PHP] PHP with FTP installation

2004-02-12 Thread rodner
Hi, I just know how to reconfigure php installation with --ftp-enable. I already did a ./configure --ftp-enable command but when echo the phpinfo() hust to see if its been updated, its still showing ./configure' '--with-mysql' '--with-apxs=/www/bin/apxs' on the configure command. I would

[PHP] Re: Using date() with the function fileatime() doesn't return accurate timestamp...

2004-02-12 Thread Scott Fletcher
Oh I understand now. There is a different between fileatime(), filectime() and filemtime(), with a letter 'a', 'c' or 'm'... The one with the m is what work with Unix/Linux.. Scott F. Scott Fletcher [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I saw the article at

RE: [PHP] Re: Using date() with the function fileatime() doesn't return accurate timestamp...

2004-02-12 Thread Roger B.A. Klorese
Oh I understand now. There is a different between fileatime(), filectime() and filemtime(), with a letter 'a', 'c' or 'm'... The one with the m is what work with Unix/Linux.. Um, they all work with Unix/Linux -- they just mean different things. Atime is the time a file was last

[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

[PHP] PHP License question

2004-02-12 Thread Ben Ramsey
I currently developing a project that I wish to release under a, preferably, open-source and copy-left license. So, I'm taking a close look at the GNU GPL for this, and it seems to serve this purpose, well. However, I am aware that the PHP license conflicts with the GNU GPL, and, thus,

[PHP] sql query question

2004-02-12 Thread tony
hi if i have new car and i want to search each word in description can i do SELECT * FROM table WHERE descript = new OR descript =car?? any help is appreciated -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: sql query question

2004-02-12 Thread Ben Ramsey
This is a SQL question, rather than a PHP question, so I would suggest doing a google search on SQL tutorials, but I think what you are trying to do would work like this: SELECT * FROM table WHERE descript LIKE '%new%' OR descript LIKE '%car%' Tony wrote: hi if i have new car and i want

[PHP] (retry) [ANN] Kwartz -- a template system for PHP, Ruby and Java

2004-02-12 Thread [EMAIL PROTECTED]
Hi all, (B (BI'm pleased to announce a public release of Kwartz. (B (BKwartz(*1) is a template sysmtem for web-designer and web-programmer. (B (BKwartz has the following features. (B (B* Kwartz can separate presentation logic from a template. (B* Kwartz can be available in PHP,

[PHP] IMAP/SSL on Windows

2004-02-12 Thread Dan Phiffer
Hello, I'm trying to get an SSL-encrypted IMAP connection to work on my Windows box. Here's the error message I get when attempting to connect: Warning: imap_open(): Couldn't open stream {snip:993/imap/ssl/novalidate-cert}INBOX in D:\Dan\Projects\Mail\mail.php on line 92 I'm running Windows XP

Re: [PHP] [Q]PHP not taking input values from forms

2004-02-12 Thread Philip Olson
that tag is working fine and shows me the info. For some reason php will take input values only from the URL, not from the html code. any ideas? A few questions: a) What's the exact version of PHP? b) Please post the smallest possible form that creates this problem.

[PHP] Re: PHP License question

2004-02-12 Thread Dan Phiffer
Ben Ramsey wrote: Now, to my question: if a PEAR package is released under the PHP license, and my product is under the GPL, can I include the PEAR package in my product? I don't know if this satisfies the legal requirement, but perhaps you could script some kind of automatic PEAR installation

RE: [PHP] [Q]PHP not taking input values from forms

2004-02-12 Thread Vail, Warren
Suggestion, Stick the following line of code in a spot in the php code that gets control from the form submit and see what is actually being passed from the form; foreach($_POST as $k = $v) echo POST[.$k.] = [.$v.]br; see if this shows you what you are looking for. NOTE: if you are not using

[PHP] negative impact on session management after turning off trans_id?

2004-02-12 Thread Chris W. Parker
Hi. I'm wondering if there are any negative side affects to turning off the trans_id? Does it just mean that the site can't keep track of a user unless they have cookies turned on? There are enough parts of my site that don't require a session that I think requiring cookies is not a problem so

[PHP] Re: PHP License question

2004-02-12 Thread Greg Beaver
Ben, You can ship the package as two separately licensed components. The PEAR packages will retain their original licenses. If you customize the package, then you should redistribute it as a different thing under your own license, and probably rename the files/classes so that they don't

[PHP] Re: sql query question

2004-02-12 Thread Steve Solomon
select * from table where locate(new,descript)0 or locate(car,descript)0; Tony [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] hi if i have new car and i want to search each word in description can i do SELECT * FROM table WHERE descript = new OR descript =car?? any help is

[PHP] Mp3 with php?

2004-02-12 Thread carlos castillo
does anyone know how to reproduce a mp3 file with php? Thanks Carlos A. Castillo. Ingeniero de desarrollo [EMAIL PROTECTED] Su Aliado Efectivo en Internet www.imagine.com.co (57 1)2182064 - (57 1)6163218 Bogotá - Colombia

RE: [PHP] Mp3 with php?

2004-02-12 Thread Chris W. Parker
carlos castillo mailto:[EMAIL PROTECTED] on Thursday, February 12, 2004 3:53 PM said: does anyone know how to reproduce a mp3 file with php? What do you mean reproduce? Copy? Create from scratch? Represent visually? In any case.. I'd say PHP cannot do anything but create a copy of a file.

[PHP] IPTC image comments utility

2004-02-12 Thread Paul Furman
Does anyone know of a utility for WRITING or at least reading IPTC data in images with PHP? I found lots of EXIF utilities and did an experimental thing with that. PHP even has a built in EXIF reader but the only IPTC utilities I've found are expensive ActiveX or Delphi components and I don't

RE: [PHP] Re: sql query question

2004-02-12 Thread Hamid Hossain
Hi, It is better to use FullText. Convert the description field to FullText. You will gain a powerfull control in this case. For more information on how to use FullText read a little-bit in the MySql manual (MATCH AGAINST) commands. Regards, Hamid Hossain --- Check

[PHP] Re: IPTC image comments utility

2004-02-12 Thread Paul Furman
OK this looks like the thing: http://multipart-mixed.com/photo/iptc.html It's a perl module. Can I use that in PHP? Paul Furman wrote: Does anyone know of a utility for WRITING or at least reading IPTC data in images with PHP? I found lots of EXIF utilities and did an experimental thing with

Re: [PHP] Mp3 with php?

2004-02-12 Thread Gerard Samuel
On Thursday 12 February 2004 06:52 pm, carlos castillo wrote: does anyone know how to reproduce a mp3 file with php? reproduce??? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Browser Detection another page

2004-02-12 Thread PETCOL
PHP Newbie here, I have been able to work out how to detect the browser I'm looking for. Then I need to take the user to another page. ? php if (strstr($HTTP_USER_AGENT,'Windows CE')) { //go to the Windows CE version of the site } else { // go to or Stay on the large version } ?

Re: [PHP] Browser Detection another page

2004-02-12 Thread Richard Davey
Hello PETCOL, Friday, February 13, 2004, 12:57:59 AM, you wrote: P I have been able to work out how to detect the browser I'm looking for. P Then I need to take the user to another page. P if (strstr($HTTP_USER_AGENT,'Windows CE')) { P //go to the Windows CE version of the site P } else { P

Re: [PHP] Browser Detection another page

2004-02-12 Thread joel boonstra
On Fri, Feb 13, 2004 at 11:57:59AM +1100, PETCOL wrote: Then I need to take the user to another page. ? php if (strstr($HTTP_USER_AGENT,'Windows CE')) { //go to the Windows CE version of the site } else { // go to or Stay on the large version } ? Hopefully you're aware that

[PHP] Re: [SOLVED][PHP] Browser Detection another page

2004-02-12 Thread PETCOL
Richard, Thanks for that, looks too simple ;-) It's exactly what I want for this particular application. Thanks Col Richard Davey [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello PETCOL, Friday, February 13, 2004, 12:57:59 AM, you wrote: P I have been able to work out how

Re: [PHP] Mp3 with php?

2004-02-12 Thread John Nichel
carlos castillo wrote: does anyone know how to reproduce a mp3 file with php? Copy an existing file? Yes. Other than that, the only thing I know you can do with Mp3's is modify/add/delete id3 tags. -- By-Tor.com It's all about the Rush http://www.by-tor.com -- PHP General Mailing List

RE: [PHP] Re: IPTC image comments utility

2004-02-12 Thread Andy Crain
This might help: http://pear.php.net/package/Image_IPTC Andy -Original Message- From: Paul Furman [mailto:[EMAIL PROTECTED] Sent: Thursday, February 12, 2004 7:36 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: IPTC image comments utility OK this looks like the thing:

Re: [PHP] PHP with FTP installation

2004-02-12 Thread Jason Wong
On Friday 13 February 2004 03:19, [EMAIL PROTECTED] wrote: I just know how to reconfigure php installation with --ftp-enable. I already did a ./configure --ftp-enable command but when echo the phpinfo() hust to see if its been updated, its still showing ./configure' '--with-mysql'

[PHP] E-Commerce

2004-02-12 Thread Jimmy
Hi all. Is PHP a suitable language for building an online shop? Where would I go to find out more info on this? Thanks in advance! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: date() funtion language

2004-02-12 Thread Don Read
On 12-Feb-2004 André Cerqueira wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 i had problems with locale i think its safer to make a dayname and monthname array, and use getdate(), than build the string yourself snip //the follow should, but doesnt seem to work

RE: [PHP] E-Commerce

2004-02-12 Thread PHP Email List
Jimmy jimmy jimmy... Now if your question is, Can PHP be the most versatile languge that one should use for creating the best online shop ever? Then yes. Can PHP interact with MySql and just about every other Database program to store all your wonderful merchandise, in a nice compact easy to

Re: [PHP] E-Commerce

2004-02-12 Thread Philip J. Newman
I just about wet my self laughing. Just look around the net, PHP is used in about 40% of the online shopping sites. - Original Message - From: PHP Email List [EMAIL PROTECTED] To: Jimmy [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, February 13, 2004 6:48 PM Subject: RE: [PHP]

Re: [PHP] Re: IPTC image comments utility

2004-02-12 Thread Paul Furman
Andy Crain wrote: This might help: http://pear.php.net/package/Image_IPTC Andy Thanks, I don't know why I didn't find that. No documentation though and some unfamiliar stuff with @ and references to other commands which I guess this replaces (not sure). If so I can't figure out how to run the

Re: [PHP] E-Commerce

2004-02-12 Thread Terence
all in one awesome package: www.oscommerce.com - Original Message - From: PHP Email List [EMAIL PROTECTED] To: Jimmy [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, February 13, 2004 1:48 PM Subject: RE: [PHP] E-Commerce Jimmy jimmy jimmy... Now if your question is, Can PHP be

Re: [PHP] E-Commerce

2004-02-12 Thread John Nichel
Terence wrote: all in one awesome package: www.oscommerce.com I just got finished building a site for a customer who wanted OSCommerce (didn't want to pay for a 'real' shopping cart, or for me to build him one), and in my 8+ years of web development, they have to be one of the worst in most

php-general Digest 13 Feb 2004 07:08:21 -0000 Issue 2587

2004-02-12 Thread php-general-digest-help
php-general Digest 13 Feb 2004 07:08:21 - Issue 2587 Topics (messages 177537 through 177572): PHP with FTP installation 177537 by: rodner.edigitalweb.com 177564 by: Jason Wong Re: Using date() with the function fileatime() doesn't return accurate timestamp... 177538

RE: [PHP] E-Commerce

2004-02-12 Thread Angelo Zanetti
JOhn, do you have any other recommendations that you might have looked at after your experience with OS commerce? -Original Message- From: John Nichel [mailto:[EMAIL PROTECTED] Sent: Friday, February 13, 2004 9:10 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] E-Commerce Terence wrote:

Re: [PHP] E-Commerce

2004-02-12 Thread Radwan Aladdin
Okay.. these are for the Shopping Cart.. Can anybody here tell me.. how to build a Payment Gateway? For example: like 2CheckOut did.. not only applicatios connected with 2CheckOut... I want to know how to build a company like 2CheckOut.. Of course I know it is too hard.. but I must know about

Re: [PHP] E-Commerce

2004-02-12 Thread John Nichel
Radwan Aladdin wrote: Okay.. these are for the Shopping Cart.. Can anybody here tell me.. how to build a Payment Gateway? For example: like 2CheckOut did.. not only applicatios connected with 2CheckOut... I want to know how to build a company like 2CheckOut.. Of course I know it is too hard..

Re: [PHP] E-Commerce

2004-02-12 Thread Radwan Aladdin
Cool!!! Do you mean by this I can open a company like PaySystems or 2CheckOut! Must I contact banks all over the world to make the Credit Card Transaction? Or must I register in an organization? What to do now after registratin here http://www.ospayments.com/001/contact.html what must I