Search found 120 matches

Actual Results

Post Posted: February 22nd, 2006, 4:02 am

:D Thanks for the extra idea, I'll try the preg_match() version now.

Fee

Post Posted: February 21st, 2006, 2:01 pm

Thanks, I'll go take a look at those and see what I come up with. Loads more questions probably! But it's all good learning experience...

Post Posted: February 21st, 2006, 7:25 am

Update: I've got this to work, but I need a little help refining this. I'm using PHP_SELF to pick up the page name which gives me:
Code: [ Select ]
/name.php
Having the / infront of the filename was what I think was giving giving me problems, so my current solution is to have: [code] <?session_st...

Post Posted: February 21st, 2006, 5:31 am

I'm probably going to kick myself when I find out the answer to this! :D I have a filename saved in a session variable. I want to access this via PHP include function. I think the code will be something along the lines of: [code]<?session_start(); $page=$_SESSION['page']; include&...

Post Posted: February 17th, 2006, 11:09 am

:D Thanks for solving that for me, feeling much more confident now!

Post Posted: February 17th, 2006, 10:34 am

Thanks for quick reply and improved code! So, just to clear things in my head so i'll know this for next time, what is the difference between "content-type" and [content-type] when used in an expression this way? does "content-type" look for that phrase and [content-type] look fo...

Post Posted: February 17th, 2006, 8:33 am

I want the program to exit if the strings are found. The variables are coming from a text box on a form and I'm trying to make sure that headers can't be injected via the form, in terms of inserting bcc and cc to send out spam. This has happend to me already and I'm not going to let it happen again!...

Post Posted: February 17th, 2006, 2:37 am

I've been having a few issues this week with bad people messing about with my php form scripts. So, I'm adding more validation in to make things more secure. This is a portion of my script where I am trying to make sure that if content-type, bcc: or cc: are submitted in my text box, then my script w...

Post Posted: February 8th, 2006, 4:11 am

Thanks, that looks great. It's exactly the start that I need.

Thanks,

Fee

Post Posted: February 7th, 2006, 6:51 am

Yeh, that's the type of thing. The function of the list will be to identify products names. So for example, instead of the person filling in the form having to remember that product #67 is an apple, the drop down list will use the product id number to look up the product name and display that in the...

Post Posted: February 6th, 2006, 7:49 am

I'm trying to do a google search for some script/a tutorial which will help me create a drop down box on an HTML form. This drop-down will look up the values in a MySQL table then return the results to the form. I'm not sure I'm explaining it properly, I'm basically trying to achieve the same result...

Post Posted: November 11th, 2005, 2:49 am

PHP Freaks also have some good tutorials and examples of PHP/MYSQL

http://www.phpfreaks.com/

Post Posted: November 11th, 2005, 2:31 am

Before you jump in and learn mysql, i recommend you find out a bit about database design first. That way, when you come to mysql things will make a lot more sense! I just had a quick look on google for "relational database design tutorial" and came up with this: http://www.visualcase.com/tutorials/d...

Post Posted: November 3rd, 2005, 3:00 am

You need to save your file as a .php file for your code to work. If you save it as HTML, then your code will not be parsed.

Post Posted: November 3rd, 2005, 2:50 am

Thanks for your help. Looking at the bottom of the article, it was created in 1998! But it's good to know that it is supported now. I work for a college so that means that any web-based materials we produce have to be accessible as possible. So this will be a good feature to add to our forms I think.
  • Sort by
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.