User Profile
Collapse
-
PHP variables to Coldfusion variables
Hi there I am trying to figure out how I can pass variables from a PHP file to a CF file. I need to create the admin part of my project website in Coldfusion and the public part in PHP. I tried passing it through the url but then if someone were to guess that they'd just be able to directly input the variable and the value into the address bar. Do session variables cross over to CF from PHP or are they different? I'm not sure how to go about doing... -
Right, thanks alot for the help, will just go set this up. Its only a student project so this minimal amount of protection should be good enough.
Thanks again! -
Validate form input to protect against SQL Attack
Hi there I am trying to get my action page of the website I'm building to check to see if the form input values are empty, if they are not it will then check to see if any of the form inputs contain any SQL. I have read in some other places that you can use cfparam or cfqueryparam to stop this but I don't really know how to use them.
This is the code:
...Code:<cfif len(form.username) EQ 0 OR len(form.password) EQ
No activity results to display
Show More
Leave a comment: