Jump to content

Okay, silly question. http://yoursite.com/store.php?item="item"


Ilovetopk

Recommended Posts

I've worked with php, but I've never really found something about this in tutorials.  How do you make a webpage work like this:

 

you have a store at http://yoursite.com/store.php

and someone looks at an item and the address bar says this:

http://yoursite.com/store.php?item="item"

 

 

[*]how does the ?item="item" work?

[*]how can i use it in my coding (make pages that that show that)?

[*]Does it involve a database?

 

I have more questions to, but start with these.

 

Thanks,

Ilvoetopk.

 

Just remember to escape the charactors on ANY $_GET['array']; Because people can use these to very easily 'hack' your website if they aren't secured.

 

That depends on what you want to do with this data. Blindly escaping everything was how magic_quotes_gpc works, and it's now being deprecated.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.