trq
Staff Alumni-
Posts
30,999 -
Joined
-
Last visited
-
Days Won
26
Everything posted by trq
-
Assuming you have the two emails addresses you want to send to in the variables $Email and $EmailTo. To simply send the email to both of these addresses, just separate them by a comma as indicated in plain English in the manual page I linked to and the particular section I actually copied and quoted for you. $success = mail("$Email,$EmailTo", $Subject, $Body, "From: <$EmailFrom>");
-
Tutorials? css, html, js and php ought to cover it. Once you know those you wont need specific tutorials.
-
I asked: This is the description given for the first argument `to`. Still stuck?
-
http://google.com
-
What does that have to do with the first argument?
-
Have you looked at the first argument in the manual? http://php.net/mail
-
https://github.com/smalot/pdfparser
-
Nothing? So the request is not being made? Have you looked in the network tab? The request / response? What does the response look like? print_r() really? Do you not have a php debugger?
-
Your code is severely out of date, relying on register globals being switched on, it has been off by default (for security reasons) for a long time (probably 8+ years). You will now need to use `$_POST['navn]` instead of plain old `$navn` in your code.
-
It doesn't. I also removed the .. in front of each file just for safe keeping and it seems to be working. That indeed would have been the cause of your issue.
-
Does... <link type="text/css" rel="css/stylesheet" href="../css/reset.css"> <link type="text/css" rel="css/stylesheet" href="../css/metallic.css"> <link type="text/css" rel="css/stylesheet" href="../css/style.css"> <link type="text/css" rel="css/stylesheet" href="../css/shCoreDefault.css"> Appear in your source ?
-
https://github.com/ircmaxell/password_compat
-
Must have missed this: http://forums.phpfreaks.com/topic/195880-this-board-is-not-a-script-repository ?
-
So.. what is happening exactly?
-
https://packagist.org - Packagist is the main Composer repository. It aggregates all sorts of PHP packages that are installable with Composer.
-
Just be aware its not something your going to learn over night. It's a programming language. In fact, I would forget whatever project plans you have for the moment, and just spend a few months at least getting your head around the basics. http://www.phptherightway.com
-
help me to create a login and logout form with session
trq replied to MachineGamer's topic in PHP Coding Help
The password is checked in the query. -
help me to create a login and logout form with session
trq replied to MachineGamer's topic in PHP Coding Help
Seriously, there must be already hundreds of tutorials on this subject. Do you want use to write another one just for you? How about, you try an existing one and come and ask a specific question when/if you get stuck. -
I think your missing the point of a "Help" forum. We are not here to write code for people.
-
That makes little sense. Again, what does the $row array look like? Hint, use var_dump.
-
What does the data in $row look like?
-
Because finally will always be called no matter what error is thrown, while your catch is only catching an error of type "error".
-
For starters, there are still failing tests with my framework of choice (Symfony2). I know things are improving, but I'm not running failing code in production.