Re: [PHP] phpsadness

2011-06-03 Thread Haig Dedeyan
On 11-06-03 04:47 PM, David Harkness wrote: The original PHP Sadness page didn't actually make me sad. This thread, however, *is*. Can we all agree that we have different opinions on what makes an appropriate joke and move on? Here's to less sadness in the world . . . David Here's some joy

Re: [PHP] Are there free prebuild websites?

2009-10-28 Thread Haig Dedeyan
Hi Peng, here's a site that has free css templates for you to use: http://www.templatemo.com/page/1 Peng Yu wrote: I want to build a website using PHP. But to make a website from scratch will take a long time. I observed many websites look similar. Therefore, I think that there are a lot of

Re: [PHP] MySql Injection advice

2009-07-13 Thread Haig Dedeyan
On July 12, 2009 03:34:49 pm Haig Dedeyan wrote: On Sat, 11 Jul 2009 21:26:36 -0400, Haig Dedeyan wrote: On Sun, Jul 12, 2009 at 4:09 AM, Haig Dedeyan hdede...@videotron.ca wrote: mysql_query(INSERT INTO phonedir (fname, lname) VALUES('$new_fname','$new_lname')) or die(mysql_error

Re: [PHP] MySql Injection advice

2009-07-13 Thread Haig Dedeyan
On July 12, 2009 08:52:56 am Haig Dedeyan wrote: At 6:39 PM -0400 7/11/09, Haig Dedeyan wrote: [1] mysql_query(INSERT INTO phonedir (fname, lname) VALUES('$new_fname','$new_lname')) or die(mysql_error()); or [2] mysql_query(INSERT INTO phonedir (fname, lname) VALUES

Re: [PHP] MySql Injection advice

2009-07-13 Thread Haig Dedeyan
On July 13, 2009 09:48:54 am Haig Dedeyan wrote: On Monday 13 July 2009 14:31:09 tedd wrote: At 3:53 PM -0400 7/12/09, Paul M Foster wrote: On Sun, Jul 12, 2009 at 09:07:45AM -0400, tedd wrote: snip As for prepared statements, I'm no authority on them, but from what I've read

Re: [PHP] MySql Injection advice

2009-07-11 Thread Haig Dedeyan
On July 11, 2009 10:57:14 am Haig Dedeyan wrote: At 10:12 PM -0400 7/10/09, Haig Dedeyan wrote: [1] $fname = mysql_real_escape_string($fname); $lname = mysql_real_escape_string($lname); $sql = UPDATE phonedir SET fname = '$fname',lname = '$lname' WHERE id=$id; $result = mysql_query

Re: [PHP] MySql Injection advice

2009-07-11 Thread Haig Dedeyan
On July 11, 2009 08:21:34 pm Haig Dedeyan wrote: On Sun, Jul 12, 2009 at 4:09 AM, Haig Dedeyan hdede...@videotron.ca wrote: On July 11, 2009 10:57:14 am Haig Dedeyan wrote: At 10:12 PM -0400 7/10/09, Haig Dedeyan wrote: [1] $fname = mysql_real_escape_string($fname); $lname

[PHP] MySql Injection advice

2009-07-10 Thread Haig Dedeyan
Hi everyone, I'm starting to experiment with an edit form and I am seeing the following behaviour: $fname = mysql_real_escape_string($fname); $lname = mysql_real_escape_string($lname); $sql = UPDATE phonedir SET fname = '$fname',lname = '$lname' WHERE id=$id; $result = mysql_query($sql);

Re: [PHP] MySql Injection advice

2009-07-10 Thread Haig Dedeyan
On July 10, 2009 11:26:04 pm Haig Dedeyan wrote: Haig Dedeyan wrote: Hi everyone, I'm starting to experiment with an edit form and I am seeing the following behaviour: $fname = mysql_real_escape_string($fname); $lname = mysql_real_escape_string($lname); $sql = UPDATE phonedir

[PHP] Flow chart tool

2008-10-08 Thread Haig Dedeyan
Hi everyone, is there a software that will create a flow chart indicating what php pages are using what tables in a MySql dbase? Haig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Flow chart tool

2008-10-08 Thread Haig Dedeyan
Ashley Sheridan wrote: On Wed, 2008-10-08 at 18:45 -0400, Haig Dedeyan wrote: Hi everyone, is there a software that will create a flow chart indicating what php pages are using what tables in a MySql dbase? Haig To my knowledge no such software exists. You could include an extra

Re: [PHP] Google Chrome

2008-09-03 Thread Haig Dedeyan
On September 2, 2008 09:36:42 pm Haig Dedeyan wrote: On September 2, 2008 09:33:30 pm Haig Dedeyan wrote: On Wed, Sep 3, 2008 at 2:12 AM, Haig Dedeyan [EMAIL PROTECTED] wrote: On September 2, 2008 05:56:23 pm Haig Dedeyan wrote: Does anyone know what this implies? It's the 2nd section

Re: [PHP] Google Chrome

2008-09-02 Thread Haig Dedeyan
On September 2, 2008 05:56:23 pm Haig Dedeyan wrote: Does anyone know what this implies? It's the 2nd section from their license agreement: By submitting, posting or displaying the content you give Google a perpetual, irrevocable, worldwide, royalty-free, and non-exclusive license to reproduce

Re: [PHP] Google Chrome

2008-09-02 Thread Haig Dedeyan
On September 2, 2008 09:33:30 pm Haig Dedeyan wrote: On Wed, Sep 3, 2008 at 2:12 AM, Haig Dedeyan [EMAIL PROTECTED] wrote: On September 2, 2008 05:56:23 pm Haig Dedeyan wrote: Does anyone know what this implies? It's the 2nd section from their license agreement: By submitting, posting

Re: [PHP] WAMP servers

2008-03-27 Thread Haig Dedeyan
http://apache2triad.net/ is also good. Haig Ashley M. Kirchner wrote: Rod Clay wrote: Hello. Does anyone use a WAMP server? And, if so, have you found one to be better than another? I am using a WAMP server entitled, aptly enough, WampServer (formerly WAMP5). In the few weeks I have

Re: [PHP] export to csv

2007-06-06 Thread Haig Dedeyan
Jim Lucas [EMAIL PROTECTED] wrote: Haig (Home) wrote: Hi everyone, I have a small problem when exporting mysql into csv format. The export works fine. The problem is, if the mysql table has a carriage return, opening the csv file in excel will display a square box where the carriage

Re: [PHP] Can't link image directory?

2007-05-18 Thread Haig Dedeyan
Sorry for the lack of information. I also was wrong about the subdirectory name. It's Images and not Image The workstation is running WinXP Pro while PHP 5 Apache 2 are on Suse 10.1. I also installed apache2 php5 on a WinXP Pro system and the same problem occurs. I have tried 7

RE: [PHP] Can't link image directory?

2007-05-18 Thread Haig Dedeyan
shows me the subdirectories that exist in the directory I configure the script for, but no further levels of subdirectories as it stands. That could be modified *very* easily, but that's a different matter. On my system, it shows /images without a problem, which more or less adds