what do you use...
#1
Posted 22 September 2007 - 09:17 PM
#2
Posted 22 September 2007 - 10:03 PM
#3
Posted 22 September 2007 - 11:19 PM
#4 _*Creative Insanity_*
Posted 23 September 2007 - 02:02 AM
DW code is what I would call sledgehammer code. Like using a sledgehammer to crack an egg hehe. Also DW code ain't to logical or secure either which is why I now edit it.
On the PC I used UltraEdit 11 (not free) but there is a free one called CONtext which is pretty good.
On the Mac now I use a lot more Smultron, which is freeware, and pretty good.
#5
Posted 23 September 2007 - 03:59 AM
#6
Posted 23 September 2007 - 04:40 AM
i always liked phpdesigner, went to download it on my laptop the other day though and could not find the free version, oh well. so i downloaded pspad instead... very basic but heh did the job the me.
#7
Posted 23 September 2007 - 07:20 AM
#8
Posted 23 September 2007 - 08:39 AM
creative - what do you mean by edit the code?
#9 _*Creative Insanity_*
Posted 23 September 2007 - 09:03 AM
Lastcrime I mean like this:
DW insert code:
if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "add")) { $insertSQL = sprintf("INSERT INTO album (img, title, cat) VALUES (%s, %s, %s)", GetSQLValueString($_POST['img'], "text"), GetSQLValueString($_POST['title'], "text"), GetSQLValueString($_POST['cat'], "text")); mysql_select_db($database_DBcifarewell, $DBcifarewell); $Result1 = mysql_query($insertSQL, $DBcifarewell) or die(mysql_error()); $insertGoTo = "album_upload.php"; if (isset($_SERVER['QUERY_STRING'])) { $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?"; $insertGoTo .= $_SERVER['QUERY_STRING']; } header(sprintf("Location: %s", $insertGoTo)); }
My change to DW code:
if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "add_track")) { $acat = $_POST['act_cat']; $action = $_POST['action']; $datee = $_POST['datee']; $img = $_POST['img']; $title = $_POST['title']; $cat = $_POST['cat']; mysql_query("INSERT INTO `webthin_pface`.`album` (`img`,`title`,`cat`) VALUES (`$img`,`$title`,`$cat`)")or die(mysql_error()); $insertGoTo = "track_upload.php"; if (isset($_SERVER['QUERY_STRING'])) { $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?"; $insertGoTo .= $_SERVER['QUERY_STRING']; } header(sprintf("Location: %s", $insertGoTo)); }
#10
Posted 23 September 2007 - 09:32 AM
#11
Posted 23 September 2007 - 10:52 AM
#12
Posted 23 September 2007 - 11:36 AM
#13 _*Creative Insanity_*
Posted 23 September 2007 - 12:35 PM
When UltraDev came out from Macromedia I nearly creamed my jeans seeing that you could do now asp and php with it.
That was so exciting and just stuck with it. Once they combinded UltraDev and DW we got the MX versions and from there most would know the history.
DW is damn good in my books and in most cases it's code does the trick (and why reinvent the wheel), but now some of the stuff I am doing requires to be a little more secure and some edits are needed. But in saying that 90% of the code I upload somewhere is DW and I am find with that.
#14
Posted 23 September 2007 - 12:57 PM
#15
Posted 23 September 2007 - 03:09 PM
#16
Posted 23 September 2007 - 03:18 PM
#17 _*Creative Insanity_*
Posted 23 September 2007 - 04:20 PM
First impressions are really positive. Maybe $US80 might be worth the investment.
#18
Posted 24 September 2007 - 01:28 AM
have a look in the free resources section. there are a few in there.
i always liked phpdesigner, went to download it on my laptop the other day though and could not find the free version, oh well. so i downloaded pspad instead... very basic but heh did the job the me.
*just looked up phpdesigner"
http://www.mpsoftware.dk/downloads.php
#19
Posted 24 September 2007 - 07:12 AM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users