Search found 5 matches

by jmetzen
Sat Feb 13, 2010 9:48 pm
Forum: PHP - Code
Topic: my page security script doesnt work!!!!!!!!!!!
Replies: 4
Views: 102

Re: my page security script doesnt work!!!!!!!!!!!

I think this highly depends on exactly what you're trying to do. If you're trying to keep certain parts of your website private or something like that, I would highly recommend some kind of authentication system. If you just want to make sure that a pageID (or a page? I'm not sure how you're applica...
by jmetzen
Sat Feb 13, 2010 4:54 pm
Forum: PHP - Code
Topic: Terminating and Executing batch files?
Replies: 2
Views: 65

Re: Terminating and Executing batch files?

Hi, It looks to me like your code to execute should work. I set a small test script up on my localhost with a batch file to make sure. So if your batch file isn't executing I don't think I would be able to help without more information about what you're trying to do. Killing a running process in PHP...
by jmetzen
Sat Feb 13, 2010 4:32 pm
Forum: PHP - Code
Topic: Access Array of _POSTed values - gotta be simple...
Replies: 2
Views: 59

Re: Access Array of _POSTed values - gotta be simple...

Hello,

I could be mistaken, but I think you're looking for something like:

Code: Select all

 
$userVotes = $_POST["user_votes"][$i];
 
Let me know if that works.
by jmetzen
Sat Feb 13, 2010 4:27 pm
Forum: PHP - Code
Topic: my page security script doesnt work!!!!!!!!!!!
Replies: 4
Views: 102

Re: my page security script doesnt work!!!!!!!!!!!

Hey there, The best way to "secure" your site probably depends on what you're trying to do exactly. When you mention a security script, I'm not sure whether or not you really need some kind of session system, etc. Looking at your code, I would accomplish the redirect using something like t...
by jmetzen
Sat Feb 13, 2010 1:32 pm
Forum: PHP - Code
Topic: Using Oracle named datatype without an array?
Replies: 0
Views: 98

Using Oracle named datatype without an array?

Hi all, I'm working on a project using PHP/OCI8 and I decided to get fancy and route most of my database work through a set of Oracle stored procs/functions. I have a function that takes a few arguments to create an entry in a "users" table. I chose to represent contact information for a u...