Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
3
Posts with Downvotes
1
Downvoting Members
3
0 Endorsements
~4K People Reached
Favorite Tags
Member Avatar for pallen

I'm jumping into Python/Django, and have been hitting some speed bumps. I'm a somewhat novice programmer. I know the basics, but haven't done anything more than create a PHP webform, and build very simple websites. I have a thousand questions about Django (most centering around Views and customizing the Admin, …

Member Avatar for JO_4
0
955
Member Avatar for pallen

I am trying out a function from a book for the first time. I could use some help. It goes: [CODE] function sanitizeString($var) { $var = stripslashes($var); $var = htmlentities($var); $var = strip_tags($var)' return $var; } [/CODE] I have two simple forms. One that asks for an email address and …

Member Avatar for owlowl076
0
1K
Member Avatar for Kiba Ookami

I was wondering, why are there so many programming languages out there? I mean, I've learned a bit of Visual Basic, a bit of C++ and a bit of Java (which I didn't like) and I was wondering, why others keep making more langauges. I can see Java having to …

Member Avatar for Mrewan79
0
748
Member Avatar for pallen

This one might not make much sense to anyone. It doesn't to me. I'm creating a child theme for a Wordpress site. I have to create a style sheet in a new directory and import the style sheet from the parent theme. I'm trying to use @import to import the …

Member Avatar for pallen
0
139
Member Avatar for pallen

I am adding a page to my site that allows doctors to send me referrals. Some of the data will be highly sensitive, so I need to be sure that it is handled as securely as possible. The data doesn't get stored in a database. It is simply emailed directly …

Member Avatar for urtrivedi
0
125
Member Avatar for pallen

Hi folks, I have 2 very similar html contact forms on my site that run through PHP and get the results to the staff in an email. I use strip_tags to remove malicious content on each step of the form. Recently, a user sent an email that included some URL's. …

Member Avatar for diafol
0
152
Member Avatar for pallen

I know this is the PHP forum, but I couldn't find a better place for this question (I don't CMS as an option). So, I'm using Drupal to build out my site and run have into an issue with the "chat room" module. The problem involves inviting another user to …

Member Avatar for Kraai
0
234
Member Avatar for pallen

So I have a basic database of books set up. I am trying to use PHP to query the db and send back the results. I can sort of get it to work, but not working how I would like. The issue is that the search term that queries the …

Member Avatar for richieking
0
256
Member Avatar for pallen

I am testing out some PHP code from a book just to see how it works. This is it: [CODE]<?php $f = $c = ""; if (isset($_POST['f'])) $f = sanitizeString($_POST['f']); if (isset($_POST['c'])) $c = sanitizeString($_POST['c']); if ($f != '') { $c = ((5/9) * ($f - 32)); $out = "$f …

Member Avatar for pallen
0
168
Member Avatar for pallen

OK, this is as basic a question as any of you will get on this site. Here's the deal. I have a very basic PHP file saved, of course, as php. I have an HTML page built in Dreamweaver. So, how do I include that file in the HTML so …

Member Avatar for Lsmjudoka
0
226