GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   PHP Scripts (https://gfy.com/showthread.php?t=399600)

mkx 12-07-2004 08:04 PM

PHP Scripts
 
Where is the best free online resource for simple to advanced php scripts? I already passed W3school. :)

candyflip 12-07-2004 08:05 PM

HotScripts has just about everything you'd ever need.

fris 12-07-2004 08:08 PM

if you ever need help phpbuilder.com and devshed.com will help you out

mkx 12-07-2004 08:08 PM

Bookmarked, I suppose they are free. Thanks!

candyflip 12-07-2004 08:10 PM

SitePoint is my homepage. Lots of info there as well.

http://www.sitepoint.com/

mkx 12-07-2004 08:10 PM

Hotscripts isn't free. Looking for free ones. Basic guides that go over common advanced scripting. Not looking for website scripts etc, just trying to learn the language

mkx 12-07-2004 08:13 PM

I am specifically trying to find out how to let only logged in users have access to a
index.php?action=XXX page

candyflip 12-07-2004 08:15 PM

Quote:

Originally posted by raulph
Hotscripts isn't free. Looking for free ones. Basic guides that go over common advanced scripting. Not looking for website scripts etc, just trying to learn the language
Do some digging and you'll find that Hotscripts has plenty of that info :winkwink:

And yes...lots of it is FREE!

kirupai 12-07-2004 08:17 PM

http://www.pscode.com/ is all you need :)

candyflip 12-07-2004 08:18 PM

Quote:

Originally posted by candyflip
Do some digging and you'll find that Hotscripts has plenty of that info :winkwink:

And yes...lots of it is FREE!

Here's the listing of PHP tutorials:

http://hotscripts.com/PHP/Tips_and_Tutorials/index.html

Intrigue 12-07-2004 08:20 PM

php.net's documentation is my best friend

mkx 12-07-2004 08:24 PM

Quote:

Originally posted by Intrigue
php.net's documentation is my best friend
too confusing :(

mkx 12-07-2004 08:29 PM

Actually I think I found what I was looking for on php.net. Thanks guys!

http://www.php.net/manual/en/features.http-auth.php

TheFrog 12-07-2004 08:35 PM

Quote:

Originally posted by raulph
I am specifically trying to find out how to let only logged in users have access to a
index.php?action=XXX page

You might want to look into PHP sessions for having 'logged in' users. Although htauth will work too.

budz 12-07-2004 08:48 PM

Quote:

Originally posted by Intrigue
php.net's documentation is my best friend

that's what I was going to say :)

mkx 12-07-2004 08:58 PM

I can't seem to find what I am looking for. The problem is I am having is that anyone can simply type in www.site.com/index.php?action=hello

and get access to the full page. I want to make it so only logged in users can access this page.

Here is the member login box source if that helps:

case "1":
if(isset($_COOKIE['USERNAME'])) {
$oldSignin = $_COOKIE['USERNAME'];
}
echo "<form name=\"form1\" method=\"post\" action=\"\" style=\"margin-left:17px; margin-right:12px;\">\n
<br />\n
<div class=\"loginFormTxt\">\n
Login:\n
</div>\n
<input name=\"login\" type=\"text\" value=\"{$oldSignin}\"size=\"16\">\n
<div class=\"loginFormTxt\">Password:</div>\n
<input name=\"password\" type=\"password\" size=\"16\">\n
&nbsp;&nbsp;<input type=\"submit\" name=\"Submit\" value=\" login \" class=\"loginFormButton\" size=\"20\">\n
<br />\n


All times are GMT -7. The time now is 09:52 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123