Jump to content

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


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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.