Re: [PHP] Hi

2010-09-06 Thread chris h
On Mon, Sep 6, 2010 at 1:45 PM, chris h wrote: > Per PHPdocs on $_FILES['userfile']['type']... > > "The mime type of the file, if the browser provided this information. An > example would be "image/gif". This mime type is however not checked on the > PHP side and therefore don't take its value fo

Re: [PHP] Hi

2010-09-06 Thread a...@ashleysheridan.co.uk
As far as I can remember It's supplied by the client user agent, hence the big issue with jpeg images uploaded by IE, as it uses a different type to all the other browsers. Thanks, Ash http://www.ashleysheridan.co.uk - Reply message - From: "Richard Quadling" Date: Mon, Sep 6, 2010 16:

Re: [PHP] Hi

2010-09-06 Thread Richard Quadling
On 6 September 2010 15:04, a...@ashleysheridan.co.uk wrote: > I think you should not focus so much on the file extension, as that is mostly > meaningless if someone wanted to attack your system. > > Instead, you could wrap a call to the command line 'file' command, which > gives mostly accurate

Re: [PHP] Hi

2010-09-06 Thread a...@ashleysheridan.co.uk
I think you should not focus so much on the file extension, as that is mostly meaningless if someone wanted to attack your system. Instead, you could wrap a call to the command line 'file' command, which gives mostly accurate information about a file. Basically it reads the first few bytes to s

Re: [PHP] Hi

2010-09-06 Thread Richard Quadling
On 6 September 2010 14:46, Jordan Jovanov wrote: > Hi All > > I need me a little help. > I create scripte for upload file is work very good but the problem is next: > I neet to upload only .zip file i need to disable some user to shoise to > upload another file Extensions. > > Can somebody help me

Re: [PHP] Hi

2010-09-06 Thread chris h
You can check the extension of the uploaded file http://www.php.net/manual/en/features.file-upload.post-method.php But to be sure that it's truly a zip file you could actually open the file with php's zip function. http://php.net/manual/en/ref.zip.php Chris. On Mon, Sep 6, 2010 at 9:46 AM, Jo

Re: [PHP] Hi

2010-09-06 Thread kranthi
use some thing like http://uploadify.com u can always check for the uploaded file extension/mime-type on the server side -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Hi!! I Joined the PHP Mailing List

2009-03-09 Thread Picu Priya
Thank you all for the warm welcome. I Love PHP :) On 3/10/09, haliphax wrote: > On Mon, Mar 9, 2009 at 12:54 PM, Picu Priya wrote: >> Hello Everyone, I have just joined the PHP Community.. I hope, I will >> spend >> good time here.. I am already a PHP programmer, and Love to learn a lot of >> n

Re: [PHP] Hi!! I Joined the PHP Mailing List

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 12:54 PM, Picu Priya wrote: > Hello Everyone, I have just joined the PHP Community.. I hope, I will spend > good time here.. I am already a PHP programmer, and Love to learn a lot of > new php tricks while helping others, as best of my knowledge. :) Hello, and welcome! Just

Re: [PHP] Hi,

2008-11-22 Thread Craige Leeder
idan72 wrote: I would like to write code where the user will input directory name. I want it to be able to browse to directory and choose it. With HTML if can only choose file. Can I do that in PHP ? Thanks I have to say I have NO idea what you just said besides you want to build a file

Re: [PHP] Hi,

2008-11-22 Thread Ashley Sheridan
On Sat, 2008-11-22 at 08:30 -0800, idan72 wrote: > I would like to write code where the user will input directory name. > I want it to be able to browse to directory and choose it. > > With HTML if can only choose file. > > Can I do that in PHP ? > > Thanks > > -- > View this message in cont

Re: [PHP] Hi. I need your help here

2007-06-24 Thread Alan Milnes
Here are a couple of links that will help you:- http://uk2.php.net/trim http://www.catb.org/~esr/faqs/smart-questions.html Alan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Hi

2007-04-23 Thread Sancar Saran
On Monday 23 April 2007 15:09, Nathan Wallis wrote: > Hi guys and girls, > > > > I have question for you all. > > > > I have developed a flash application which is a test for students. For > each test their is an accompanying excel spreadsheet that has information > related to each question they

Re: [PHP] Hi

2007-04-23 Thread Wolf
You can cheat... If you have MySQL running on that server, write the results to a DB (so that lost emails/files/scores can be recovered) and then do a data pull from it at the end, making the file a csv file. Or, just make your file a csv file and email it out... There are a number of class

Re: [PHP] Hi

2007-04-23 Thread Zoltán Németh
2007. 04. 23, hétfő keltezéssel 22.09-kor Nathan Wallis ezt írta: > Hi guys and girls, > > > > I have question for you all. > > > > I have developed a flash application which is a test for students. For each > test their is an accompanying excel spreadsheet that has information related >

Re: [PHP] Hi!

2005-12-20 Thread John Nichel
Nanu Kalmanovitz wrote: Hi! Using a Win 2000 WS (work station), I'm trying to write the first PHP page as shown at http://il2.php.net/manual/en/tutorial.firstpage.php. The server is a Netware (Novell) 6.5 running Apache, PHP & MySQL all 3 on same server but different volumes. I created

RE: [PHP] Hi!

2005-12-20 Thread Erin Fortenberry
It does't look like PHP is setup in Apache. You should have a line that looks something like this; And some others that look like this; AddType application/x-httpd-php .php AddType application/x-httpd-php .inc AddType application/x-httpd-php-source .phps Check out your apache config file. -Er

[PHP] Re: בעניין: Re: [PHP] Hi!

2005-12-20 Thread Mike Smith
On 12/20/05, Nanu Kalmanovitz <[EMAIL PROTECTED]> wrote: > > Thanks! > > Since I am a newbie with the Apache \ PHP \ MySQL, can u tell me what file > and what shall I add\change in it? > > TIA > > Nanu > Google for install php netware Try: http://developer.novell.com/ndk/whitepapers/namp.htm -- PH

Re: [PHP] Hi!

2005-12-20 Thread Gustav Wiberg
Hi there! View source-code of output. Maybe that could give you a clue! :-) /G http://www.varupiraten.se/ - Original Message - From: "Nanu Kalmanovitz" <[EMAIL PROTECTED]> To: Sent: Tuesday, December 20, 2005 8:10 PM Subject: [PHP] Hi! Hi! Using a Win 2000 WS (work station), I'm

Re: [PHP] hi everyone

2005-12-03 Thread Unknown Unknown
Quiet? you GOTTA be kidding me, i got like 400 PHP email's here, I don't have to time to read em all On 12/1/05, Mehmet Fatih AKBULUT <[EMAIL PROTECTED]> wrote: > > hi. > me is registered but till now have had no crucial questions to ask :p > but soon will need professional help on php ldap functi

Re: [PHP] hi everyone

2005-12-01 Thread Mehmet Fatih AKBULUT
hi. me is registered but till now have had no crucial questions to ask :p but soon will need professional help on php ldap functions :) then will ask for help from you masters :p Regards. Bye for now.

RE: [PHP] Hi ALL

2005-02-25 Thread Chris W. Parker
John Nichel on Friday, February 25, 2005 9:43 AM said: > Yeah, not so long ago, when the stats were mailed to the list > monthly, I was averaging 65-70 posts a month, and John would always > be more than double that. > > I think he just liked to hear himself talk.

Re: [PHP] Hi ALL

2005-02-25 Thread John Nichel
Chris Shiflett wrote: --- Jochem Maas <[EMAIL PROTECTED]> wrote: i have mailed the list 235 times since 12-1-05 Richard certainly contributes a lot, and I think he's in the top 10 (Curt Zirzow actually compiled these statistics a while back), but no one comes close to John Holmes. Chris = Chri

Re: [PHP] Hi ALL

2005-02-25 Thread Richard Lynch
Chris Shiflett wrote: > --- Jochem Maas <[EMAIL PROTECTED]> wrote: >> i have mailed the list 235 times since 12-1-05 > > Nice trick. :-) > >> I'd put my money on Richard Lynch for all categories: >> >> 1. total number of posts >> 2. highest average no. of posts/week >> 3. longest post >> 4. total n

Re: [PHP] Hi ALL

2005-02-25 Thread Jason Barnett
Chris Shiflett wrote: > --- Jochem Maas <[EMAIL PROTECTED]> wrote: > >> >>1. total number of posts >>2. highest average no. of posts/week >>3. longest post >>4. total no. of words written >>5. highest average no. of words/post > > > Richard certainly contributes a lot, and I think he's in the to

Re: [PHP] Hi ALL

2005-02-25 Thread Chris Shiflett
--- Jochem Maas <[EMAIL PROTECTED]> wrote: > i have mailed the list 235 times since 12-1-05 Nice trick. :-) > I'd put my money on Richard Lynch for all categories: > > 1. total number of posts > 2. highest average no. of posts/week > 3. longest post > 4. total no. of words written > 5. highest a

Re: [PHP] Hi ALL

2005-02-23 Thread Rory Browne
Sorry didn't mean to accuse you of attacking. Just had a more hectic day than usual, and maybe lost it a bit. Anyway, this is rapidly getting off topic, so.. On Wed, 23 Feb 2005 16:52:25 +0100, Jochem Maas <[EMAIL PROTECTED]> wrote: > Rory Browne wrote: > > Jocham: > > Uh???

Re: [PHP] Hi ALL

2005-02-23 Thread Jochem Maas
Rory Browne wrote: Jocham: Uh??? First of all, no that was not intended at you. Dhanasekar asked a question, and I answered it. I don't think the rest of your message/attack is particularly relevent, with the above taken into no attack meant - please tell the russians its a false alarm :-) I wasn't

Re: [PHP] Hi ALL

2005-02-23 Thread Rory Browne
Jocham: Uh??? First of all, no that was not intended at you. Dhanasekar asked a question, and I answered it. I don't think the rest of your message/attack is particularly relevent, with the above taken into account. I simply saw a question that I knew the answer to, and answered it as best I coul

Re: [PHP] Hi ALL

2005-02-23 Thread Jochem Maas
Rory Browne wrote: How to use this list best: Search the archives at lists.php.net for [NEWBIE GUIDE] It was written by Jay Blanchard earlier this year I believe. Read it. heh Rory, is this aimed at me or did you just reply to my mail for convienience? I happen to know the NEWBIE GUIDE quiet intima

Re: [PHP] Hi ALL

2005-02-22 Thread Rory Browne
How to use this list best: Search the archives at lists.php.net for [NEWBIE GUIDE] It was written by Jay Blanchard earlier this year I believe. Read it. Then read this: http://www.catb.org/~esr/faqs/smart-questions.html Then try learning PHP from the PHP manual. If you come across a problem, the

Re: [PHP] Hi ALL

2005-02-22 Thread Jochem Maas
Bret Hughes wrote: On Tue, 2005-02-22 at 05:27, Dhanasekar T wrote: hi all, i m new to this group ...now i want to learn php. right now? not in five minutes. i want all u r guidence to utilise this group... thanks in advance dhanas Dhanas, do you have php installed ? can you access http://php.ne

Re: [PHP] Hi ALL

2005-02-22 Thread Bret Hughes
On Tue, 2005-02-22 at 05:27, Dhanasekar T wrote: > hi all, > i m new to this group ...now i want to learn php. > i want all u r guidence to utilise this group... > thanks in advance > dhanas I would start by looking at and dare I say reading the manual at php.net. Then surf around for a beginn

Re: [PHP] hi all can you read me ?

2004-06-21 Thread Daniel Clark
Can read you now(). >>Hi all just wanna check if you can read me >> >>Thx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] hi all can you read me ?

2004-06-20 Thread Michael Lauzon
That's just to funny! On Mon, 21 Jun 2004 02:55:58 +0200, Marek Kilimajer <[EMAIL PROTECTED]> wrote: > > Pierre wrote --- napísal:: > > > Hi all just wanna check if you can read me > > > > Thx > > http://www.amazon.com/exec/obidos/tg/detail/-/0064432521/qid=1087779137 > > Well, I feel a little

Re: [PHP] hi all can you read me ?

2004-06-20 Thread Marek Kilimajer
Pierre wrote --- napísal:: Hi all just wanna check if you can read me Thx http://www.amazon.com/exec/obidos/tg/detail/-/0064432521/qid=1087779137 Well, I feel a little old to read you :-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] hi all can you read me ?

2004-06-20 Thread Joel Kitching
I'm not quite sure, do you have something written on you? On Mon, 21 Jun 2004 01:51:51 +0200, Pierre <[EMAIL PROTECTED]> wrote: > > Hi all just wanna check if you can read me > > Thx > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Hi

2003-07-23 Thread skate
the poker game is actually really weak anyway... a pair of 6's shouldn't win anything... - Original Message - From: "Rausch Alexandru" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 22, 2003 9:42 AM Subject: [PHP] Hi MYSQL problems problems. I want to install an user lo

Re: [PHP] Hi

2003-07-22 Thread CPT John W. Holmes
Quit spamming us. We don't want to visit your lousy poker site. ---John Holmes... - Original Message - From: "Rausch Alexandru" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 22, 2003 4:42 AM Subject: [PHP] Hi MYSQL problems problems. I want to install an user login ap

Re: [PHP] Hi All i need help..

2003-07-02 Thread Jeff Harris
On Jul 2, 2003, "Beogradjanin" claimed that: |Hi All I want to install PHP under Suse 8.2. How can I do it? | | | |Thanks Unless you have a custom install, probably the easiest way is to install the rpms through YaST. -- Registered Linux user #304026. "lynx -source http://jharris.rallycentral.u

RE: [PHP] Hi I get some problems while using eregi_replace

2003-06-08 Thread Boaz Yahav
Try these : A function that parses a string and replaces http://whatever with a link, and email addresses with a mailto link. This function was designed for the motd package. But will work freely on its own. http://examples.weberdev.com/get_example.php3?count=1235 How to change all of the link

Re: [PHP] Hi I get some problems while using eregi_replace

2003-06-08 Thread poetbox
hi,php-general,winst0n I'm from china,my English is not very good,too. Here's some example,perhaps it will help you a little. $post =str_replace("[b]","",$post); $post =str_replace("[/b]","",$post); $post = eregi_replace("\\[hr=([^\\[]*)\\]","",$post); $post=eregi_replace("\\[swf\\](.+\.swf

Re: [PHP] Hi!!

2002-12-16 Thread Chris Shiflett
--- Tomas Lopez <[EMAIL PROTECTED]> wrote: > can someone tell me where can i enroll in a > good proyect o someone to help.. I would recommend finding an open source project to contribute to. You can find many projects that are currently seeking help here: http://sourceforge.net/people/ Chris -

Re: [PHP] hi

2002-06-11 Thread Liam MacKenzie
Err, that's not going to unsubscribe you mate... Follow the directions at the bottom of the email. - Original Message - From: "Bjorn Abt" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 12, 2002 12:07 AM Subject: [PHP] hi > unsubscribe > -- PHP General Mailin

Re: [PHP] Hi all & Help :D

2002-06-01 Thread Anthony
I have sorted the problem, thanks for all the support "Adam Voigt" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Try reversing the filelocations in your ftp_put, like > if you have "remotelocation" and "mylocation", switch > them to say "mylocation" then "re

Re: [PHP] Hi all & Help :D

2002-05-30 Thread Adam Voigt
Try reversing the filelocations in your ftp_put, like if you have "remotelocation" and "mylocation", switch them to say "mylocation" then "remotelocation". Just a thought. Adam Voigt [EMAIL PROTECTED] On Thu, 2002-05-30 at 22:26, Anthony wrote: > Hi all, this is my first post on the php news gro

Re: [PHP] Hi all & Help :D

2002-05-30 Thread Ed Gorski
hehI laugh but it's not past the realm of what people do... JH>For all we know, the problem is because you actually wrote the program in Pascal, but thought it was PHP because you renamed your computer to PHP and you are trying to load the code up in MS Word on Windows 3.11. ed At 02:47 P

RE: [PHP] Hi to you anti-spammers HAHA

2002-04-01 Thread Vlad Kulchitski
Phpinfo(); works all the time, unless you went ahead and reprogrammed php yourself :) Hello to AFRIKA from SOVIETS! CCCP rules! -Original Message- From: vins [mailto:[EMAIL PROTECTED]] Sent: 1 êâ³òíÿ 2002 ð. 15:43 To: [EMAIL PROTECTED] Subject: [PHP] Hi to you anti-spammers HAHA

Re: [PHP] Hi to you anti-spammers HAHA

2002-04-01 Thread Scott St. John
On Mon, 1 Apr 2002, vins wrote: > Happy Happy Easter. > and to all you peeps out there who don't celebrate this day. > Hope you enjoyed your day. > > And just too keep the cool > How do i run that script that give all the information about php ? > Someone told me the you type PHPINFO(); > but

RE: [PHP] Hi!

2002-03-22 Thread Rick Emery
> How is possible to on an image and run a php function? > Also how is possible to pass some php vars to javascript vars? Can't do it directly. JavaScript is client-side. PHP is server-side. As you execute a PHP script, it will "create" the values for the JavaScript source that PHP is creati

Re: [PHP] Hi! Is there any equivalent function with header?

2002-03-19 Thread Jason Wong
On Tuesday 19 March 2002 22:37, Balaji Ankem wrote: > Thanks for the reply!!! > I want equivalent statement to header ("Location: > http://www.domain.com/user.php";); > > Because I am getting the problem saying "php.exe has generated errors > and will be closed by windows. You need to restart the

Re: [PHP] Hi! Is there any equivalent function with header?

2002-03-19 Thread Joe Webster
I wouldn't say you NEED a full url, it should handle relative URL's as well. I don't know if it's part of the specification, but it will work. As far as your problem I hope that line break isn't in the string and it's just there because of the email. -Joe "Jason Wong" <[EMAIL PROTECTED]> wrote i

RE: [PHP] Hi! Is there any equivalent function with header?

2002-03-19 Thread Balaji Ankem
uot; And no error is logged in error log. Thanks in advance Balaji -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 19, 2002 7:57 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Hi! Is there any equivalent function with header? On Tuesday 19 March 2002 22:20

Re: [PHP] Hi! Is there any equivalent function with header?

2002-03-19 Thread Jason Wong
On Tuesday 19 March 2002 22:20, Balaji Ankem wrote: > Hi friend, > Is there any equivalent statement to header ("Location: > user.php"); > Because I am getting problem with that line in fresh browser > context. The correct usage is: header ("Location: http://www.domain.com/user.php"

RE: [PHP] Hi some logic help is required!!!!!

2002-03-14 Thread Niklas Lampén
Last X should be Y. Niklas -Original Message- From: Niklas Lampén [mailto:[EMAIL PROTECTED]] Sent: 14. maaliskuuta 2002 14:05 To: Php-General Subject: RE: [PHP] Hi some logic help is required! First of all, take that 'I want to know when you received my e-mail' -th

RE: [PHP] Hi some logic help is required!!!!!

2002-03-14 Thread Niklas Lampén
First of all, take that 'I want to know when you received my e-mail' -thingie away. It's anoying. But to the solution: if ((x < A || x > B) && (y < A || x > B)) { do something.. } Niklas -Original Message- From: Balaji Ankem [mailto:[EMAIL PROTECTED]] Sent: 14. maaliskuuta 2

RE: [PHP] Hi some logic help is required!!!!!

2002-03-14 Thread Ford, Mike [LSS]
> -Original Message- > From: Balaji Ankem [mailto:[EMAIL PROTECTED]] > Sent: 14 March 2002 11:51 > > Hi friend, > I need some help on this logic... > > > 1. I have some range (A to B) which is fixed and A,B are very large > numbers.(A > 2. I have X to Y and I want to check this r

Re: [PHP] Hi what is diff. Between mktime() and UNIX_TIMESTAMP()

2002-03-14 Thread Jason Wong
On Thursday 14 March 2002 18:11, Jon Haworth wrote: > > Unixtimestamp from Mysql :1016679600 > > Unixtimestamp from PHP :953699601 > > y this much difference? > > A PHP timestamp is the number of seconds since 1st Jan 1970 To be pedantic, in PHP it is time() > A MySQL UNIX_TIMESTAMP is the dat

Re: [PHP] Hi what is diff. Between mktime() and UNIX_TIMESTAMP()

2002-03-14 Thread Jason Wong
On Thursday 14 March 2002 18:03, Balaji Ankem wrote: > Hi, >UNIX_TIMESTAMP(2002-03-21 08:30:00) and >mktime(2002,03,21,08,30,00) equal or not? > > But both are same timestamp..but returning values are > different.y? > > Unixtimestamp from Mysql :1016679600 >

Re: [PHP] Hi what is diff. Between mktime() and UNIX_TIMESTAMP()

2002-03-14 Thread Rasmus Lerdorf
>UNIX_TIMESTAMP(2002-03-21 08:30:00) and >mktime(2002,03,21,08,30,00) equal or not? Careful, 08 != 8 A leading 0 indicates an octal number in PHP. Also, you have the arguments to mktime() completely messed up. It is hour, minute, second, month, day, year. 2002 is a strange-loo

Re: [PHP] Hi what is the prob with this small file?

2002-03-14 Thread Jason Wong
On Thursday 14 March 2002 17:38, Balaji Ankem wrote: [snip] > $sql1="select UNIX_TIMESTAMP('start_date') > startdate,UNIX_TIMESTAMP('end_date') enddate from request where > req_status='Approved'"; Did you try entering this query ($sql1) into mysql at the command line to ensure t

RE: [PHP] Hi what is diff. Between mktime() and UNIX_TIMESTAMP()

2002-03-14 Thread Jon Haworth
> Unixtimestamp from Mysql :1016679600 > Unixtimestamp from PHP :953699601 > y this much difference? A PHP timestamp is the number of seconds since 1st Jan 1970 A MySQL UNIX_TIMESTAMP is the date in MMDDHHMMSS format. Cheers Jon -- PHP General Mailing List (http://www.php.net/) To uns

RE: [PHP] Hi How to convert the time from mysql(DATETIME) table to the format DD/MM/YYYY HH:MM AM or PM in PHP?

2002-03-12 Thread Balaji Ankem
, March 13, 2002 7:04 AM To: Balaji Ankem; 'Php-General' Subject: Re: [PHP] Hi How to convert the time from mysql(DATETIME) table to the format DD/MM/ HH:MM AM or PM in PHP? Try date("d/m/Y h:m A"); On Tuesday 12 March 2002 18:29, Balaji Ankem wrote: > Hi, >

Re: [PHP] Hi How to convert the time from mysql(DATETIME) table to the format DD/MM/YYYY HH:MM AM or PM in PHP?

2002-03-12 Thread Faisal Abdullah
Try date("d/m/Y h:m A"); On Tuesday 12 March 2002 18:29, Balaji Ankem wrote: > Hi, > I have stored the date and time in mysql table with DATETIME > type. > > I want to change it in to DD/MM/ HH:MM AM or PM. > > How can I do this? > > Thanks in advance > Balaji -- PHP Gene

RE: [PHP] Hi can we write a form inside td element of a table?

2002-03-12 Thread Rick Emery
-Original Message- From: Balaji Ankem [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 12, 2002 12:12 AM To: Php-General Subject: [PHP] Hi can we write a form inside td element of a table? Hi, can we give a form element as td inside table element? Thanks in advance Balaji --

Re: [PHP] Hi How to compare two dates using PHP which are from mysqldatabase?

2002-03-12 Thread Jan Rademaker
On Tue, 12 Mar 2002, Jason Lotito wrote: > Why not compare them in the SQL Query itself? > That could work just as well, depending in what you want to do with the data. -- Jan Rademaker <[EMAIL PROTECTED]> http://www.ottobak.com -- PHP General Mailing List (http://www.php.net/) To unsubsc

RE: [PHP] Hi How to compare two dates using PHP which are from mysqldatabase?

2002-03-12 Thread Jan Rademaker
> Sent: Tuesday, March 12, 2002 6:40 PM > To: Balaji Ankem > Cc: Php-General > Subject: Re: [PHP] Hi How to compare two dates using PHP which are from > mysql database? > > > On Tue, 12 Mar 2002, Balaji Ankem wrote: > > http://www.php.net/manual/en/function.strtotime

Re: [PHP] Hi How to convert the mysql(DATETIME) time to the format DD/MM/YYYY HH:MM AM or PM using PHP?

2002-03-12 Thread Jason Wong
On Tuesday 12 March 2002 19:43, Balaji Ankem wrote: > Hi friend, > I never ued strftime function. I am confusing with the syntax. > > My problem is like this: > > I have the DATETIME in the variable $row->fromdate as -MM-DD > HH:MM:SS. > > > Is it possible to convert it

Re: [PHP] Hi How to compare two dates using PHP which are from mysql database?

2002-03-12 Thread Jason Lotito
Why not compare them in the SQL Query itself? Jason Lotito www.newbienetwork.net - Original Message - From: "Balaji Ankem" <[EMAIL PROTECTED]> To: "'Jan Rademaker'" <[EMAIL PROTECTED]> Cc: "Php-General" <[EMAIL PROTECTED]> Sent:

RE: [PHP] Hi How to compare two dates using PHP which are from mysql database?

2002-03-12 Thread Balaji Ankem
: Tuesday, March 12, 2002 6:40 PM To: Balaji Ankem Cc: Php-General Subject: Re: [PHP] Hi How to compare two dates using PHP which are from mysql database? On Tue, 12 Mar 2002, Balaji Ankem wrote: http://www.php.net/manual/en/function.strtotime.php you can compare the results with > < =, etc...

Re: [PHP] Hi How to compare two dates using PHP which are from mysqldatabase?

2002-03-12 Thread Jan Rademaker
On Tue, 12 Mar 2002, Balaji Ankem wrote: http://www.php.net/manual/en/function.strtotime.php you can compare the results with > < =, etc... > Hi, > I would like to compare the two dates (including time stamp) > using php. > Is it possible? > > Any help would be apprciable. >

RE: [PHP] Hi How to convert the mysql(DATETIME) time to the format DD/MM/YYYY HH:MM AM or PM using PHP?

2002-03-12 Thread Balaji Ankem
TED] Subject: Re: [PHP] Hi How to convert the time from mysql(DATETIME) table to the format DD/MM/ HH:MM AM or PM in PHP? > Hi, > I have stored the date and time in mysql table with DATETIME type. > > I want to change it in to DD/MM/ HH:MM AM or PM. > > H

RE: [PHP] Hi How to convert the time from mysql(DATETIME) table to the format DD/MM/YYYY HH:MM AM or PM in PHP?

2002-03-12 Thread Niklas Lampén
You have to parse your dates in anyway you like best to pieces, then use mktime() and then date() function. :) Niklas -Original Message- From: Balaji Ankem [mailto:[EMAIL PROTECTED]] Sent: 12. maaliskuuta 2002 12:35 To: [EMAIL PROTECTED]; 'Php-General' Subject: RE: [PHP]

Re: [PHP] Hi How to convert the time from mysql(DATETIME) table to the format DD/MM/YYYY HH:MM AM or PM in PHP?

2002-03-12 Thread Jason Wong
> Hi, > I have stored the date and time in mysql table with DATETIME > type. > > I want to change it in to DD/MM/ HH:MM AM or PM. > > How can I do this? When you select the 'datetime' field from mysql use UNIX_TIMESTAMP(). Then in PHP use strftime() to format the 'datetime

RE: [PHP] Hi How to convert the time from mysql(DATETIME) table to the format DD/MM/YYYY HH:MM AM or PM in PHP?

2002-03-12 Thread Balaji Ankem
Thankyou for reply!! I want to do it in PHP. Thanks in advance Balaji -Original Message- From: Niklas Lampén [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 12, 2002 4:04 PM To: Php-General Subject: RE: [PHP] Hi How to convert the time from mysql(DATETIME) table to the format DD

RE: [PHP] Hi How to convert the time from mysql(DATETIME) table to the format DD/MM/YYYY HH:MM AM or PM in PHP?

2002-03-12 Thread Niklas Lampén
Do you want to do this in mySQL or PHP? Niklas -Original Message- From: Balaji Ankem [mailto:[EMAIL PROTECTED]] Sent: 12. maaliskuuta 2002 12:30 To: 'Php-General' Subject: [PHP] Hi How to convert the time from mysql(DATETIME) table to the format DD/MM/ HH:MM AM or PM in PHP? Hi,

Re: [PHP] Hi problem with selected value!!

2002-03-11 Thread Jan Rademaker
I don't know what the problem is because it works fine here (IE 5.5) On Mon, 11 Mar 2002, Balaji Ankem wrote: > Hi friend, > could u plz. Tell me how to display the slected option value in alert > box? > > Code I wrote is like this.. But I am getting NULL.. Any help would be > appreciable..

Re: [PHP] Hi problem with selected value!!

2002-03-11 Thread Edward van Bilderbeek - Bean IT
guess that should be: alert(document.babai.bongu.selectedIndex); Greets, Edward - Original Message - From: "Balaji Ankem" <[EMAIL PROTECTED]> To: "Php-General" <[EMAIL PROTECTED]> Sent: Monday, March 11, 2002 11:23 AM Subject: [PHP] Hi problem with selected value!! > Hi friend, > c

Re: [PHP] Hi

2002-02-28 Thread Andy
http://www.phpbuilder.com is an excellent site. Features articles and tutorials! Good luck Andy "Simon Willison" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED].; > dharmavatar wrote: > > >Hi everybody, > >I am new in this group,so could any one tell me how to start learn P

Re: [PHP] Hi

2002-02-28 Thread Simon Willison
dharmavatar wrote: >Hi everybody, >I am new in this group,so could any one tell me how to start learn PHP? >I had install PHP in IIS so where is good place to start. >Thanks in advance. >Regards >Dharmavatar > www.devshed.com has some excellent beginners tutorials in their PHP section (the PHP 1

Re: [PHP] Hi

2002-02-28 Thread S.Murali Krishna
Hi dharma Better go about PHP manual ( since I started with that ). when you finish that, you would have some idea on where to go further. On Thu, 28 Feb 2002, dharmavatar wrote: > Hi everybody, > I am new in this group,so could any one tell me how to start learn PHP? > I had install P

Re: [PHP] Hi - newbie questions...

2002-01-31 Thread Miles Thompson
At 02:14 PM 1/31/2002 -0500, Michael Kimsal wrote: >>>4th >>>sessions, can they be accessed from an asp script and the other way round? >> >>No, they cannot. They are specific to PHP. > > >not directly, but an ASP script on the same domain should be able to read >the cookie storing the session I

Re: [PHP] Hi - newbie questions...

2002-01-31 Thread Michael Kimsal
Miles Thompson wrote: >> 3rd >> does php have application like asp?? > > > Well, PHP is essentially an application like asp in that it parses a > script which normally has a .php extension and either executes commands > embedded within it or echoes HTML. The output from a PHP script is > str

Re: [PHP] Hi - newbie questions...

2002-01-31 Thread Miles Thompson
You've got an interesting mix of PHP and HTML questions, and some reading will be required. At 01:56 AM 1/31/2002 +0100, Pafo wrote: >1st >How to start a cookie/how to delete a cookie and how to change/retrive >information from it Search Netscape's site for something like "developer cookie"

RE: [PHP] hi

2001-09-10 Thread Seb Frost
Well you can't just have a link to this function. Make a page like so: showsource.php ** yourfile.php ** view source"; ?> - seb -Original Message- From: Balaji Ankem [mailto:[EMAIL PROTECTED]] Sent: 10 September 2001 10:25 To: [EMA

Re: [PHP] hi

2001-09-10 Thread Ing. Lalka Peter
and what about this one? view source";?> - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, September 10, 2001 12:19 PM Subject: RE: [PHP] hi > It still won't work tho

RE: [PHP] hi

2001-09-10 Thread Lawrence . Sheed
IL PROTECTED] Subject: RE: [PHP] hi Fixed: view source"; ?> - seb -Original Message- From: Balaji Ankem [mailto:[EMAIL PROTECTED]] Sent: 10 September 2001 10:25 To: [EMAIL PROTECTED] Subject: [PHP] hi Hi, what z wrong in this code?? >>>

RE: [PHP] hi

2001-09-10 Thread Seb Frost
Fixed: view source"; ?> - seb -Original Message- From: Balaji Ankem [mailto:[EMAIL PROTECTED]] Sent: 10 September 2001 10:25 To: [EMAIL PROTECTED] Subject: [PHP] hi Hi, what z wrong in this code?? > \">view source"; ?> >>> I

Re: [PHP] hi

2001-09-03 Thread
Hey there, This is the solution for setting the width of your select-box (which I think you want to do): ---options here--- The width-attribute sets the width in NS, while the style-attribute sets the width in IE. Don't you just love this kind of compatibility?!?! Anyway... using both attr

Re: [PHP] hi

2001-08-31 Thread Hugh Danaher
It sounds like you want to set the select box to something wider than the product names so that it always comes out the same width. There is likely some elegant way to do this, but a quick fix would be to fill one of the cells with a line of unprintable characters;. You could make it the first

Re: [PHP] Hi! PHP & SQL!

2001-07-25 Thread David Robley
On Thu, 26 Jul 2001 09:47, Dana Holt wrote: > Hello everyone, > > I am very new to PHP (only 2 days now!), and I am having a problem with > MySQL. > > This is probably simple. > > Ok, I insert a new row into a database that has an AUTO_INCREMENT key > defined. > > How to get the value of the AUTO_

Re: [PHP] Hi all.

2001-07-17 Thread Christopher Ostmo
Johan Vikerskog (ECS) pressed the little lettered thingies in this order... > When i install PHP. > > Do i have to make anything special to activate the ldap function? > > //Johan > ./configure --with-ldap http://www.php.net/manual/en/install.configure.php Good luck... Christopher Ostmo a.

Re: [PHP] hi, highlight_string.

2001-05-22 Thread Michel 'ZioBudda' Morelli
On Mon, 21 May 2001, Alexander Wagner wrote: >Michel 'ZioBudda' Morelli wrote: >> Hi, I want to save into a variable ($tmp) the value of >> highlight_string command. Any one? or any similar function? > >Have a look at PHP 4's output buffering functions. You can use them to >safe the output instea

Re: [PHP] hi, highlight_string.

2001-05-21 Thread Alexander Wagner
Michel 'ZioBudda' Morelli wrote: > Hi, I want to save into a variable ($tmp) the value of > highlight_string command. Any one? or any similar function? Have a look at PHP 4's output buffering functions. You can use them to safe the output instead of displaying it. regards Wagner -- "Some guy

RE: [PHP] Hi!

2001-05-11 Thread Tom Carter
> Sent: den 11 maj 2001 10:10 > To: Johan Vikerskog (ECS); php-general > Subject: RE: [PHP] Hi! > > > You can so this with JavaScript: > > Go back Two Pages > > > -- Ben Cairns - Head Of Technical Operations > intasept.COM > Tel: 01332 365333 > Fax: 01

RE: [PHP] Hi!

2001-05-11 Thread Johan Vikerskog (ECS)
:10 To: Johan Vikerskog (ECS); php-general Subject: RE: [PHP] Hi! You can so this with JavaScript: Go back Two Pages -- Ben Cairns - Head Of Technical Operations intasept.COM Tel: 01332 365333 Fax: 01332 346010 E-Mail: [EMAIL PROTECTED] Web: http://www.intasept.com "MAKING sense o

RE: [PHP] Hi!

2001-05-11 Thread Ben Cairns
You can so this with JavaScript: Go back Two Pages -- Ben Cairns - Head Of Technical Operations intasept.COM Tel: 01332 365333 Fax: 01332 346010 E-Mail: [EMAIL PROTECTED] Web: http://www.intasept.com "MAKING sense of the INFORMATION TECHNOLOGY age @ WORK.." -- PHP General Mailing List (

Re: [PHP] HI

2001-05-04 Thread Hrishi
Jorge Amaya wrote: > I am new user of php, I have installed apache 1.3.x, php3 and mysql, but > I have a problem, My navigator doesn't recognize the files of php3, that > is to say it doesn't work me php in the navigator, I have configured > such and like says the manual in php.ini and also in th

Re: [PHP] HI

2001-05-02 Thread Geir Eivind Mork
On Thursday 03 May 2001 09:55, Jorge Amaya wrote: > I am new user of php, I have installed apache 1.3.x, php3 and mysql, but > I have a problem, My navigator doesn't recognize the files of php3, that why install php3, not php4 ? > is to say it doesn't work me php in the navigator, I have co

Re: [PHP] HI

2001-05-02 Thread todd kennedy
you need to tell apache that .php3 or .php or whatever extension you're using is a web file. this is done in the httpd.conf file. Jorge Amaya wrote: > Jorge Amaya wrote: > > > Hello All > > > > I am new user of php, I have installed apache 1.3.x, php3 and mysql, > > but I have a problem, My nav

  1   2   >