These ideas are great and all, but I'm a real PHP newb so I have some
questions.
It was that I should "look for the user in the database that stores the
access info" Could I just use an array for that? Or does it have to be MySQL or
something.
$_Session['user_id']= (who) - Does that just add t
Hey,
I need a particular type log in script. I'm not sure how to do it or
where I could find a tutorial that would help me, so I'll describe what I need
and then maybe someone could tell me what kind of script I need (sessions or
whatever) and where I could get the script/learn how to mak
Thanks for the input, but unfortunately I have no idea how to do that, though
I do have a MySQL server for my site. I'm still trying to learn basic PHP, I
haven't moved on to PHP and MySQL connections and stuff yet.
-Andrew
Now moving on to using password protecting with more than one factor.
I'm trying to figure out how to password protect with more than two factors:
username and password. Here's the form:
http://www.thesonicworld.net/pages/testing2.php";>
Username:
http://www.thesonicworld.net/pages/testing2.php
You were right, my display_error function was turned off. I turned it on and
get this:
Parse error: syntax error, unexpected T_IS_EQUAL in c:\TSW\pages\testing2.php
on line 3
So it isn't working. How do I get to let me make comparisons between the post
data and something else? I figure if I ca
I appreciate the help, but unfortunately it still doesn't work. I changed
testing2.php, the action page to do this:
I still get a blank page. What's more I turned on Display Errors and
restarted the server, but still got no error message.
I don't know what the problem is, maybe there is somet
Hello,
I'm trying to password protect a page with PHP, using forms and $_POST data
and all that stuff. However, I'm running into problems setting it so that if
the POST is equal to a certain thing, it'll do this or that (using if...else
commands) and also problems with just getting blank pages w
Problem resolved.
I set my SMTP server in php.ini to my ISP's SMTP server, smtp.comcast.net,
and now everything works.
Thanks everyone who helped me with this even though it is sort of off-topic.
-Andrew
I did some research and found out that my ISP's SMTP server is
smtp.comcast.net.
If I configure my mail functions to connect to this should my script be able
to send e-mails?
Research and Experimentation (yes, I did some!):
I tried connecting to it using this telnet command:
telnet smtp.comca
--- Begin Message ---
Are you referring to this post:
you just want to see if mail() works try it.
if(mail(...)) echo 'yay!';
else echo 'boo!';
?>
Or this post?
Your SMTP server is the thing that actually transmits the email. On a
Windows XP box like you're using, set the SMTP server to be t
I tried your command:
telnet localhost 25
to see if my SMTP server was up. Obviously it is not, because this is the
response I received.
Connecting to localhost...could not open connection to host on port 25. No
connection could be made because the target machine actively refused it.
So how
I'm trying to use the eFiction fanction/story archiving script for my website
(view the script here: http://www.thesonicworld.net/efiction/), but the
registration process is giving me trouble. It's one of those where you fill
in your
email and username and they send you a default password. Wel
I'm trying to use the eFiction fanction/story archiving script for my website
(view the script here: http://www.thesonicworld.net/efiction/), but the
registration process is giving me trouble. It's one of those where you fill in your
email and username and they send you a default password. Well,
I'm trying to make sure that my mail functons are on for a script I need to
work. I run an Apache 1.3.31, so I am my own webhost. Now I just need to know
how to make sure my mailfunctions are on.
Here is the mail functions part of php.ini pertaining to me (the windows part
because I am on XP):
--- Begin Message ---
Background:
Server-Apache 1.3.31
OS-Windows XP
PHP-5
Problem-I'm trying to run eFiction, a story/fanfiction archive script. On
this, people self register, and they are supposed to get an e-mail with their
password. However, I and one other attempted signing up, and neith
If you have Windows, PHP can only use an extrenal smtp server, so you have to
open that server up to connections from your web server to your mail server.
That could be on the same physical machine as your web server, in which case
the mail server will have to be configured to accept connecti
Background:
Server-Apache 1.3.31
OS-Windows XP
PHP-5
Problem-I'm trying to run eFiction, a story/fanfiction archive script. On
this, people self register, and they are supposed to get an e-mail with their
password. However, I and one other attempted signing up, and neither of us got
our passwo
17 matches
Mail list logo