[PHP] Re: [PHP-WEBMASTER] Simple question

2011-05-09 Thread Richard Quadling
On 9 May 2011 14:53, Vincent McGinley vmcgin...@re-thinkitinc.com wrote: Can you remove the @. Do you get an error? Tried this and got same result (page loads up halfway and no error message). Can you change the location to ./folder/$Product.php ? Changed path and same result. Does the

[PHP] Re: [PHP-WEBMASTER] Simple question

2011-05-09 Thread Richard Quadling
On 9 May 2011 15:59, Vincent McGinley vmcgin...@re-thinkitinc.com wrote: Notice:  Undefined variable: Product in /Applications/MAMP/htdocs/Pages/Products/Bamboo_Zoo/index.php on line 181 And there's the issue. In your old system, you probably had something called register_globals enabled.

[PHP] A simple question, however it's urgent

2010-05-17 Thread Andre Polykanine
Hello everyone, Just can't imagine what happens. There is the simplest function in the world: function LineBreaks ($str) { $what=array(\r\n, \n, \r); $with=array(br); $str=str_replace($what, $with, $str); return $str; } And... it does work on one site and doesn't on another. Same hosting

Re: [PHP] A simple question, however it's urgent

2010-05-17 Thread Ashley Sheridan
On Mon, 2010-05-17 at 15:26 +0300, Andre Polykanine wrote: Hello everyone, Just can't imagine what happens. There is the simplest function in the world: function LineBreaks ($str) { $what=array(\r\n, \n, \r); $with=array(br); $str=str_replace($what, $with, $str); return $str; }

Re[2]: [PHP] A simple question, however it's urgent

2010-05-17 Thread Andre Polykanine
@ yandex.ru; Jabber: arthaelon @ jabber.org Yahoo! messenger: andre.polykanine; ICQ: 191749952 Twitter: m_elensule - Original message - From: Ashley Sheridan a...@ashleysheridan.co.uk To: Andre Polykanine an...@oire.org Date: Monday, May 17, 2010, 3:24:37 PM Subject: [PHP] A simple question

Re: Re[2]: [PHP] A simple question, however it's urgent

2010-05-17 Thread Ashley Sheridan
Polykanine an...@oire.org Date: Monday, May 17, 2010, 3:24:37 PM Subject: [PHP] A simple question, however it's urgent On Mon, 2010-05-17 at 15:26 +0300, Andre Polykanine wrote: Hello everyone, Just can't imagine what happens. There is the simplest function in the world: function LineBreaks

Re[4]: [PHP] A simple question, however it's urgent

2010-05-17 Thread Andre Polykanine
- Original message - From: Ashley Sheridan a...@ashleysheridan.co.uk To: Andre Polykanine an...@oire.org Date: Monday, May 17, 2010, 3:34:07 PM Subject: [PHP] A simple question, however it's urgent On Mon, 2010-05-17 at 15:36 +0300, Andre Polykanine wrote: Hey Ash, I do a print_r($_POST

Re: Re[4]: [PHP] A simple question, however it's urgent

2010-05-17 Thread Ashley Sheridan
! messenger: andre.polykanine; ICQ: 191749952 Twitter: m_elensule - Original message - From: Ashley Sheridan a...@ashleysheridan.co.uk To: Andre Polykanine an...@oire.org Date: Monday, May 17, 2010, 3:34:07 PM Subject: [PHP] A simple question, however it's urgent On Mon, 2010-05

Re: [PHP] A simple question, however it's urgent

2010-05-17 Thread Al
On 5/17/2010 8:53 AM, Andre Polykanine wrote: Ash, Magic quotes are disabled: http://gviragon.org/study/php.php Any ideas? Thanks a lot! Your code should work for something as simple as this, almost regardless of the php setup. Change your $what=array(\r\n, \n, \r); $with=array(br);

Re: [PHP] Another simple question (Probably) FINISHED!!!!!

2007-07-11 Thread Jason Pruim
So after many days and many questions and the help of many many people, I have finished my task scheduler! I just wanted to say thank you to all who helped. Now I just need to make it look pretty and add some comments so I know why I did what I did. :) Anyone interested in looking at

Re: [PHP] Another simple question (Probably) FINISHED!!!!!

2007-07-11 Thread Daniel Brown
On 7/11/07, Jason Pruim [EMAIL PROTECTED] wrote: So after many days and many questions and the help of many many people, I have finished my task scheduler! I just wanted to say thank you to all who helped. Now I just need to make it look pretty and add some comments so I know why I did what I

Re: [PHP] Another simple question (Probably)

2007-07-10 Thread Jason Pruim
On Jul 9, 2007, at 9:09 AM, Shafiq Rehman wrote: Hi, correct syntax for mktime is mktime( int hour, int minute, int second, int month, int day, int year) When I did that I got this error: [Tue Jul 10 09:33:12 2007] [error] PHP Parse error: syntax error, unexpected T_LNUMBER in

Re: [PHP] Another simple question (Probably)

2007-07-10 Thread Jason Pruim
On Jul 9, 2007, at 10:56 AM, Jim Lucas wrote: Jason Pruim wrote: Okay so given this section of code: $taskTime=mktime(00,00,00,$_POST['txtReschedule']); where are you getting the $_POST['txtReschedule'] var from? in the html below, your var is $_POST['tasks'][#]['txtReschedule'] What does

Re: [PHP] Another simple question (Probably)

2007-07-10 Thread David Giragosian
On 7/10/07, Jason Pruim [EMAIL PROTECTED] wrote: Currently that is the date I get when I try to submit any date through the form. I'm sure I just have something messed up in my mktime, or in the way I'm grabbing the variable $taskTime=mktime(int 00,int 00,int 00, int $month, int $day,

Re: [PHP] Another simple question (Probably)

2007-07-10 Thread Jason Pruim
On Jul 10, 2007, at 9:52 AM, David Giragosian wrote: On 7/10/07, Jason Pruim [EMAIL PROTECTED] wrote: Currently that is the date I get when I try to submit any date through the form. I'm sure I just have something messed up in my mktime, or in the way I'm grabbing the variable

Re: [PHP] Another simple question (Probably)

2007-07-10 Thread David Giragosian
On 7/10/07, Jason Pruim [EMAIL PROTECTED] wrote: On Jul 10, 2007, at 9:52 AM, David Giragosian wrote: On 7/10/07, Jason Pruim [EMAIL PROTECTED] wrote: Currently that is the date I get when I try to submit any date through the form. I'm sure I just have something messed up in my mktime,

Re: [PHP] Another simple question (Probably)

2007-07-10 Thread Tijnema
On 7/10/07, Jason Pruim [EMAIL PROTECTED] wrote: While we are on the subject of certain dates, does this date mean anything? :) Tue, Nov-30-99 12:00:00? November 30th, 1999 - In Seattle, Washington, United States, protests against the WTO meeting by anti-globalization protesters catch police

Re: [PHP] Another simple question (Probably)

2007-07-10 Thread Jason Pruim
On Jul 10, 2007, at 10:07 AM, Tijnema wrote: On 7/10/07, Jason Pruim [EMAIL PROTECTED] wrote: While we are on the subject of certain dates, does this date mean anything? :) Tue, Nov-30-99 12:00:00? November 30th, 1999 - In Seattle, Washington, United States, protests against the WTO

Re: [PHP] Another simple question (Probably)

2007-07-10 Thread Jason Pruim
While we are on the subject of certain dates, does this date mean anything? :) Tue, Nov-30-99 12:00:00? Currently that is the date I get when I try to submit any date through the form. I'm sure I just have something messed up in my mktime, or in the way I'm grabbing the variable. Thanks

Re: [PHP] Another simple question (Probably)

2007-07-10 Thread Jim Lucas
Jason Pruim wrote: On Jul 9, 2007, at 10:56 AM, Jim Lucas wrote: Jason Pruim wrote: Okay so given this section of code: $taskTime=mktime(00,00,00,$_POST['txtReschedule']); where are you getting the $_POST['txtReschedule'] var from? in the html below, your var is

Re: [PHP] Another simple question (Probably)

2007-07-10 Thread Jason Pruim
On Jul 10, 2007, at 10:41 AM, Jim Lucas wrote: Jason Pruim wrote: On Jul 9, 2007, at 10:56 AM, Jim Lucas wrote: Jason Pruim wrote: Okay so given this section of code: $taskTime=mktime(00,00,00,$_POST['txtReschedule']); where are you getting the $_POST['txtReschedule'] var from? in the

Re: [PHP] Another simple question (Probably)

2007-07-10 Thread Jim Lucas
Jason Pruim wrote: here is the print_r($_POST); Array ( [tasks] = Array ( [31] = Array ( [txtReschedule] = 07/07/08 [chkDone] = 31 ) [39] = Array ( [txtReschedule] = 07/08/08 [chkDone] = 39 ) [34] = Array ( [txtReschedule] = 07/09/09 [chkDone] = 34 ) [36] = Array ( [txtReschedule] = ) [35]

Re: [PHP] Another simple question (Probably)

2007-07-10 Thread Jason Pruim
On Jul 10, 2007, at 11:08 AM, Jim Lucas wrote: Jason Pruim wrote: here is the print_r($_POST); Array ( [tasks] = Array ( [31] = Array ( [txtReschedule] = 07/07/08 [chkDone] = 31 ) [39] = Array ( [txtReschedule] = 07/08/08 [chkDone] = 39 ) [34] = Array ( [txtReschedule] = 07/09/09

Re: [PHP] Another simple question (Probably)

2007-07-10 Thread Jim Lucas
Jason Pruim wrote: here is the print_r($_POST); Array ( [tasks] = Array ( [31] = Array ( [txtReschedule] = 07/07/08 [chkDone] = 31 ) [39] = Array ( [txtReschedule] = 07/08/08 [chkDone] = 39 ) [34] = Array ( [txtReschedule] = 07/09/09 [chkDone] = 34 ) [36] = Array ( [txtReschedule] = ) [35] =

Re: [PHP] Another simple question (Probably)

2007-07-10 Thread Jason Pruim
On Jul 10, 2007, at 11:56 AM, Jim Lucas wrote: Jason Pruim wrote: here is the print_r($_POST); Array ( [tasks] = Array ( [31] = Array ( [txtReschedule] = 07/07/08 [chkDone] = 31 ) [39] = Array ( [txtReschedule] = 07/08/08 [chkDone] = 39 ) [34] = Array ( [txtReschedule] = 07/09/09

Re: [PHP] Another simple question (Probably)

2007-07-10 Thread Jim Lucas
Jason Pruim wrote: On Jul 10, 2007, at 11:56 AM, Jim Lucas wrote: Jason Pruim wrote: here is the print_r($_POST); Array ( [tasks] = Array ( [31] = Array ( [txtReschedule] = 07/07/08 [chkDone] = 31 ) [39] = Array ( [txtReschedule] = 07/08/08 [chkDone] = 39 ) [34] = Array ( [txtReschedule] =

Re: [PHP] Another simple question (Probably)

2007-07-10 Thread Jason Pruim
On Jul 10, 2007, at 3:25 PM, Jim Lucas wrote: Jason Pruim wrote: On Jul 10, 2007, at 11:56 AM, Jim Lucas wrote: Jason Pruim wrote: here is the print_r($_POST); Array ( [tasks] = Array ( [31] = Array ( [txtReschedule] = 07/07/08 [chkDone] = 31 ) [39] = Array ( [txtReschedule] = 07/08/08

Re: [PHP] Another simple question (Probably)

2007-07-10 Thread Jim Lucas
Jason Pruim wrote: Yes, the text box that is currently showing up under Day to Complete is the one that will have the date entered as MM/DD/YY then that info will be displayed in the Reschedule Date field. Once I can get it storing the date correctly I want to make it show up if it's not been

[PHP] Another simple question (Probably)

2007-07-09 Thread Jason Pruim
Okay so given this section of code: $taskTime=mktime(00,00,00,$_POST['txtReschedule']); echo HTML tr td bgcolor={$rowColor}ID#, {$row['id']} /td td bgcolor={$rowColor}TicklerName, {$row['task_name']} /td td bgcolor={$rowColor}Instructions, a href='{$row

Re: [PHP] Another simple question (Probably)

2007-07-09 Thread clive
Jason Pruim wrote: Okay so given this section of code: $taskTime=mktime(00,00,00,$_POST['txtReschedule']); im not certain, but I dont think you can pass the date to mktime as 1 variable, the function requires the following mktime($hour, $minute,$second, $month , $day ,$year); so maybe

Re: [PHP] Another simple question (Probably)

2007-07-09 Thread Shafiq Rehman
Hi, correct syntax for mktime is mktime( int hour, int minute, int second, int month, int day, int year) -- Shafiq Rehman (ZCE) http://www.phpgurru.com | http://shafiq.pk Cell: +92 300 423 9385 On 7/9/07, Jason Pruim [EMAIL PROTECTED] wrote: Okay so given this section of code:

Re: [PHP] Another simple question (Probably)

2007-07-09 Thread Jason Pruim
On Jul 9, 2007, at 9:02 AM, clive wrote: Jason Pruim wrote: Okay so given this section of code: $taskTime=mktime(00,00,00,$_POST['txtReschedule']); im not certain, but I dont think you can pass the date to mktime as 1 variable, the function requires the following mktime($hour,

Re: [PHP] Another simple question (Probably)

2007-07-09 Thread Jim Lucas
Jason Pruim wrote: Okay so given this section of code: $taskTime=mktime(00,00,00,$_POST['txtReschedule']); where are you getting the $_POST['txtReschedule'] var from? in the html below, your var is $_POST['tasks'][#]['txtReschedule'] What does this var value look like? try strtotime() on

Re: [PHP] Another simple question (Probably)

2007-07-09 Thread Daniel Brown
On 7/9/07, Shafiq Rehman [EMAIL PROTECTED] wrote: Hi, correct syntax for mktime is mktime( int hour, int minute, int second, int month, int day, int year) -- Shafiq Rehman (ZCE) http://www.phpgurru.com | http://shafiq.pk Cell: +92 300 423 9385 On 7/9/07, Jason Pruim [EMAIL PROTECTED] wrote:

Re: [PHP] Another simple question (Probably)

2007-07-09 Thread Tijnema
On 7/9/07, Daniel Brown [EMAIL PROTECTED] wrote: On 7/9/07, Shafiq Rehman [EMAIL PROTECTED] wrote: Hi, correct syntax for mktime is mktime( int hour, int minute, int second, int month, int day, int year) -- Shafiq Rehman (ZCE) http://www.phpgurru.com | http://shafiq.pk Cell: +92 300

Re: [PHP] Another simple question (Probably)

2007-07-09 Thread Daniel Brown
On 7/9/07, Tijnema [EMAIL PROTECTED] wrote: On 7/9/07, Daniel Brown [EMAIL PROTECTED] wrote: On 7/9/07, Shafiq Rehman [EMAIL PROTECTED] wrote: Hi, correct syntax for mktime is mktime( int hour, int minute, int second, int month, int day, int year) -- Shafiq Rehman (ZCE)

Re: [PHP] Another simple question (Probably)

2007-07-09 Thread Tijnema
On 7/9/07, Daniel Brown [EMAIL PROTECTED] wrote: On 7/9/07, Tijnema [EMAIL PROTECTED] wrote: On 7/9/07, Daniel Brown [EMAIL PROTECTED] wrote: On 7/9/07, Shafiq Rehman [EMAIL PROTECTED] wrote: Hi, correct syntax for mktime is mktime( int hour, int minute, int second, int month,

[PHP] Re: Simple question on simplexml

2007-04-09 Thread Timothy Murphy
Haydar TUNA wrote: You can use following example:) ?php $xml = simplexml_load_file(test.xml); $xml-body[0]-addChild(book, Atat�rk The Rebirth Of A Nation); ? This doesn't work. It allows to add a child with some text, as in your example. But it doesn't allow you to add a

[PHP] Re: Simple question on simplexml

2007-04-09 Thread Timothy Murphy
Jochem Maas wrote: there is this: http://php.net/manual/en/function.simplexml-element-addChild.php which will allow adding of string data (so you won't be needing to create the new SimpleXMLElement object as per your example below). obviously you will have to first load tghe complete

[PHP] Re: Simple question on simplexml

2007-04-07 Thread Haydar TUNA
Hello, You can use following example:) ?php $xml = simplexml_load_file(test.xml); $xml-body[0]-addChild(book, Atatürk The Rebirth Of A Nation); ? Republic Of Turkey - Ministry of National Education Education Technology Department Ankara / TURKEY Web: http://www.haydartuna.net

[PHP] array simple question

2005-09-13 Thread matt VanDeWalle
hello, I have a simple question, not really a problem this time. I know that the function print_r() will print an array but if that array has sub-arrays it prints everything and if you don't use more command or a pipe of some kind that could be useless in some cases, but I am just wondering,

Re: [PHP] array simple question

2005-09-13 Thread [EMAIL PROTECTED]
tray print the array this way: echo 'pre'; print_r($array); echo '/pre'; -afan matt VanDeWalle wrote: hello, I have a simple question, not really a problem this time. I know that the function print_r() will print an array but if that array has sub-arrays it prints everything and if you

Re: [PHP] array simple question

2005-09-13 Thread Jordan Miller
please provide code and an example output, and say how this is different than you would like. what you describe is unclear. Jordan On Sep 13, 2005, at 4:04 PM, matt VanDeWalle wrote: hello, I have a simple question, not really a problem this time. I know that the function print_r() will

Re: [PHP] array simple question

2005-09-13 Thread Jasper Bryant-Greene
matt VanDeWalle wrote: hello, I have a simple question, not really a problem this time. I know that the function print_r() will print an array but if that array has sub-arrays it prints everything and if you don't use more command or a pipe of some kind that could be useless in some cases, but

Re: [PHP] array simple question

2005-09-13 Thread Mike Bellerby
If you want to print the keys for all the arrays in the main array then use allkeys. matt VanDeWalle wrote: hello, I have a simple question, not really a problem this time. I know that the function print_r() will print an array but if that array has sub-arrays it prints everything and if

[PHP] A simple question

2004-11-13 Thread Chuck PUP Payne
Hey, I have just upgrade my box and my forms are no longer passing information into the database. I did a simple echo test and sure enough nothing. I was using Apache 1.3 with php 4.1 I am now using Apache 2 with php 4.3.4, I thinking there is something that needs to be turn on in my php.ini that

Re: [PHP] A simple question

2004-11-13 Thread Brad Bonkoski
Read this.. http://www.php.net/release_4_1_0.php (Especially the part about global variables...) - Original Message - From: Chuck PUP Payne [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, November 13, 2004 9:02 PM Subject: [PHP] A simple question Hey, I have just upgrade my box

Re: [PHP] A simple question

2004-11-13 Thread Chuck PUP Payne
about global variables...) - Original Message - From: Chuck PUP Payne [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, November 13, 2004 9:02 PM Subject: [PHP] A simple question Hey, I have just upgrade my box and my forms are no longer passing information

Re: [PHP] A simple question

2004-11-13 Thread Curt Zirzow
* Thus wrote Chuck PUP Payne: Hey, I have just upgrade my box and my forms are no longer passing information into the database. I did a simple echo test and sure enough nothing. I was using Apache 1.3 with php 4.1 I am now using Apache 2 with php 4.3.4, I thinking there is something that

Re: [PHP] A simple question

2004-11-13 Thread Chuck PUP Payne
[EMAIL PROTECTED] wrote: Read this.. http://www.php.net/release_4_1_0.php (Especially the part about global variables...) - Original Message - From: Chuck PUP Payne [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, November 13, 2004 9:02 PM Subject: [PHP] A simple

[PHP] Re: Simple question

2003-12-28 Thread Andy Higgins
Hi Lab, I normally use code of the following format, which I think is quite neat: //Note that you do not need curely brackets in an if statement is there is only one line if ($_SERVER['REQUEST_METHOD'] == 'POST') $add = $HTTP_POST_VARS['textbox']; if ($add == 'Hello') do something

[PHP] Really simple question - /php directory above /web tree .htaccess contents

2003-03-08 Thread news.php.net
Greetings, I am using php on a Sun Cobalt Linux server with many virtual hosts. I want to have the /php directory one directory above the /web root so it is not accessible from browser command line execution but will execute from a click on an html page. CGI-PHP is installed but I need to know

Re: [PHP] Really simple question - /php directory above /web tree .htaccess contents

2003-03-08 Thread Ernest E Vogelsinger
At 17:58 08.03.2003, news.php.net said: [snip] I want to have the /php directory one directory above the /web root so it is not accessible from browser command line execution but will execute from a click on an html page. CGI-PHP is installed but I need to

[PHP] A simple question please.

2003-01-22 Thread Denis L. Menezes
Hello friends. I need to add a part of html (the banner, top menus and the logo) in all pages dynamically. I made this part of the html and converted same to php code using Print command. Now, how do I add this code in the other pages? Should I inclue require or include command? if yes?

Re: [PHP] A simple question please.

2003-01-22 Thread Henry
it doesn't matter beforebody or after body as I know - Original Message - From: Denis L. Menezes [EMAIL PROTECTED] To: PHP general list [EMAIL PROTECTED] Sent: Wednesday, January 22, 2003 11:21 PM Subject: [PHP] A simple question please. Hello friends. I need to add a part of html

RE: [PHP] A simple question please.

2003-01-22 Thread Clarkson, Nick
- From: Denis L. Menezes [mailto:[EMAIL PROTECTED]] Sent: 22 January 2003 15:21 To: PHP general list Subject: [PHP] A simple question please. Hello friends. I need to add a part of html (the banner, top menus and the logo) in all pages dynamically. I made this part of the html and converted same

[PHP] Re: Simple question I guess.

2002-07-23 Thread Richard Lynch
I have a site with all my movies and stuff stored in a database. And I have made a admin page where I can add, delete and update records. When I add new records, I have made a listbox for the category (ex. action, comedy etc.) so I dont have to write it every time I add a new record. But when I

[PHP] RE: simple question

2002-04-03 Thread Tim Ward
Try http://www.idocs.com/tags/forms/ http://www.idocs.com/tags/forms/ Also (as the definitive reference for html) http://www.w3.org/MarkUp/ http://www.w3.org/MarkUp/ Once you've got html forms working okay, then the fields you've named in your form are available as variables in the php page

[PHP] Re: Simple Question

2001-12-12 Thread Gaylen Fraley
strip_slashes() -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com PHP KISGB v2.6 Guest Book http://www.gaylenandmargie.com/phpwebsite Tom Ray [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have a quick question that I haven't been able to find

Re: [PHP] Re: Simple Question

2001-12-12 Thread Tom Ray
oh no, Iv'e gotten two answers... stripslashes() and strip_slashes() which one? which one?! G Gaylen Fraley wrote: strip_slashes() -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com PHP KISGB v2.6 Guest Book http://www.gaylenandmargie.com/phpwebsite Tom Ray [EMAIL PROTECTED]

RE: [PHP] Re: Simple Question

2001-12-12 Thread Martin Towell
Gaylen is prob right - I didn't check me syntax :( -Original Message- From: Tom Ray [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 13, 2001 3:11 PM To: Gaylen Fraley Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Re: Simple Question oh no, Iv'e gotten two answers... stripslashes

Re: [PHP] Re: Simple Question

2001-12-12 Thread Rio Uniwaly
stripslashes() Rio :-) - Original Message - From: Tom Ray [EMAIL PROTECTED] To: Gaylen Fraley [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, December 13, 2001 11:10 AM Subject: Re: [PHP] Re: Simple Question oh no, Iv'e gotten two answers... stripslashes

Re: [PHP] Re: Simple Question

2001-12-12 Thread Gaylen Fraley
is prob right - I didn't check me syntax :( -Original Message- From: Tom Ray [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 13, 2001 3:11 PM To: Gaylen Fraley Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Re: Simple Question oh no, Iv'e gotten two answers... stripslashes() and strip

RE: [PHP] Re: Simple Question

2001-12-12 Thread Martin Towell
you look at the docs or did you do it the trail-and-error way? -Original Message- From: Gaylen Fraley [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 13, 2001 3:22 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Re: Simple Question Nope. fatfingered :) stripslashes() is correct

Re: [PHP] Re: Simple Question

2001-12-12 Thread Gaylen
PROTECTED] Sent: Wednesday, December 12, 2001 10:56 PM Subject: RE: [PHP] Re: Simple Question you look at the docs or did you do it the trail-and-error way? -Original Message- From: Gaylen Fraley [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 13, 2001 3:22 PM

RE: [PHP] Re: Simple Question

2001-12-12 Thread Martin Towell
: Re: [PHP] Re: Simple Question To be honest, the book PHP4 Developer's Guide by Blake Schwendiman has it listed as strip_slashes(). I just happened to be reading it when I saw the original message and copied it as it's listed in the index. So, rather than blaming him, I took the blame :). I

Re: [PHP] Re: Simple Question

2001-12-12 Thread J.F.Kishor
hello, I don't know how for I got your problem but, If you trying to print a string like this eg : print This is Tom's book; In the above case you need not use a back slash to escape the single quote coz' php accepts single quote's within a double quote. Otherwise you

[PHP] Re: Simple(?) Question

2001-12-05 Thread Chris Lee
do a header re-direct. header(Location: http://domain.com/page.php;); include any variables you want, inc session vars if needed. -- Chris Lee [EMAIL PROTECTED] Andrew Forgue [EMAIL PROTECTED] wrote in message

[PHP] Re: Simple Question: PHP, MySQL, HTML Form and NULL

2001-12-04 Thread Fred
Your form returns the date as an empty string which is an invalid date. MySQL sets all invalid dates to -00-00. There is a big difference between an empty string and NULL. If you want to insert NULL into the MySQL date field you will need to insert /0 which is the escape sequence for NULL.

[PHP] Re: simple question...

2001-09-20 Thread Emile Bosch
Checkdate is the solution for that: checkdate (int month, int day, int year) Ker Ruben Ramos [EMAIL PROTECTED] schreef in berichtnieuws 00f801c14251$5aa288b0$[EMAIL PROTECTED] ey guys.. how do i check if the postdata is a valid time format? something like '2001-09-15' I hate it when they'll

[PHP] Another simple question (dont hurt me)

2001-07-31 Thread Kyle Smith
In php, oh wait well this is really 2 questions.. 1 in a form how do i make it email a file to someone, and the second how do i make it get recieved as an attatchement...? -lk6- http://www.StupeedStudios.f2s.com New address new site ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM:

Re: [PHP] Another simple question (dont hurt me)

2001-07-31 Thread Matt Kaufman
Use the mail() function. http://www.php.net/mail Matt Kaufman - Original Message - From: Kyle Smith [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 31, 2001 8:33 PM Subject: [PHP] Another simple question (dont hurt me) In php, oh wait well this is really 2 questions

[PHP] a simple question

2001-07-17 Thread Hamed
Hi, Can anyone tell me please what is the equivelant of this statement from perl, in PHP? $variable = qq~a value with any quotes which doesnt need \'\'s~; i use it to get away with all the s\lashes behind quotes. can anyone tell me how to do that in php? Regards Hamed -- PHP General

Re: [PHP] a simple question

2001-07-17 Thread Rasmus Lerdorf
$variable = BLAH '' BLAH; On Wed, 18 Jul 2001, Hamed wrote: Hi, Can anyone tell me please what is the equivelant of this statement from perl, in PHP? $variable = qq~a value with any quotes which doesnt need \'\'s~; i use it to get away with all the s\lashes behind quotes. can

[PHP] a (simple) question?

2001-04-27 Thread Ivan Porro
Hi, anyone know a simple way to realize multiple-upload at once (something like Msoft CTRL-multiple selection when browsing and uniqe Upload button). I've found only a multiple file input field in a form but the numbers of file I'had to upload is unknow. TIA -- (p)Ivan Student DIST Bio-Lab

Re: [PHP] a (simple) question?

2001-04-27 Thread Michael Kimsal
You can only do one file in each box - get a yahoo mail account and see how they handle file uploading. Ivan Porro wrote: Hi, anyone know a simple way to realize multiple-upload at once (something like Msoft CTRL-multiple selection when browsing and uniqe Upload button). I've found only a