Jump to content

Sorry for dumb newbie question


Recommended Posts

I've been given the task of putting a website up for my department. Unfortunately our organizations IT division does not have MySQL installed on the server and the prospect of it looks dim. :(

Being [b]very[/b] new to PHP, I find myself in a quandry.

I have a form, to update my department heads message on the main page, that is an include based on a users cookie. However, I need to make sure that no one stumbles across this form and updates it unless they are authorized. Does PHP provide a way to detect the exact referring page? Would this be poor security due to, my understanding, some servers not reporting the referring page?

I've thought about splitting the form so the submit button is not in the include file but it looks like garbage when I do that.

Any help for a newbie would be greatly appreciated. Thanks.
Link to comment
Share on other sites

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.

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.