logo-dw

Go Back   Dreamweaver Club Forums > Search Forums
Register FAQ Members List Search Today's Posts Mark Forums Read

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: tux
Forum: PHP 07-27-2013, 07:35 AM
Replies: 14
Views: 344,932
Posted By tux
I have tried hard coding an email address like...

I have tried hard coding an email address like this but still it won't send.

$mail->AddAddress("me@website.co.uk", "Paul");

It works in this test page.....

<?php

if($_GET['email'] ==...
Forum: PHP 07-26-2013, 11:31 AM
Replies: 14
Views: 344,932
Posted By tux
Could this be something to do with the...

Could this be something to do with the ob_start();?
Forum: PHP 07-26-2013, 11:00 AM
Replies: 14
Views: 344,932
Posted By tux
Just to confirm, the function does add the user...

Just to confirm, the function does add the user to the DB okay but just will not send the email!
Forum: PHP 07-26-2013, 10:56 AM
Replies: 14
Views: 344,932
Posted By tux
Thanks Edbr, still struggled getting PEAR to work...

Thanks Edbr, still struggled getting PEAR to work so checked with my Host who strangely pointed me back to PHP MAILER.

But, although I can get it to work in a test page and send email I still cant...
Forum: PHP 07-25-2013, 04:01 PM
Replies: 14
Views: 344,932
Posted By tux
Struggling to get this to work. What PEAR...

Struggling to get this to work. What PEAR packages do I need to install? I have installed MAIL & PEAR(basic)

Here is my test code, can you see anything I've done wrong.....

<?php
...
Forum: PHP 07-25-2013, 09:28 AM
Replies: 14
Views: 344,932
Posted By tux
Thanks Edbr, I will check this out later. I did...

Thanks Edbr, I will check this out later. I did come accross Swift Mailer last night and got it working in a test page fine. But, cant seem to get it to work from inside my function. I'll post my...
Forum: PHP 07-24-2013, 08:31 PM
Replies: 14
Views: 344,932
Posted By tux
email() function alternative

My host has disabled the php email() function. I used it in a function to send account activation to new users.

email('To', 'Subject', "Body", 'Headers');

What alternative is there to use that...
Forum: HTML and CSS 07-24-2013, 06:36 PM
Replies: 26
Views: 2,132
Posted By tux
No problem, glad to help.

No problem, glad to help.
Forum: PHP 07-21-2013, 09:03 PM
Replies: 86
Views: 8,248
Posted By tux
You only have to change the page that is using...

You only have to change the page that is using php, not every page. At this point I think you only have the freetrial page to do and it should all work.
Forum: PHP 07-21-2013, 06:36 PM
Replies: 86
Views: 8,248
Posted By tux
Christie, you have all you need to make this work...

Christie, you have all you need to make this work now. I really don't have time right now to start finding a solution to something else, especially DW created code!

You only need to open your...
Forum: PHP 07-21-2013, 03:44 PM
Replies: 86
Views: 8,248
Posted By tux
Yes, php is a scripting language. The server...

Yes, php is a scripting language. The server looks at the php code, processes it and then sends it to the browser with the html to be displayed. It wont effect how the page looks. With an .html affix...
Forum: HTML and CSS 07-21-2013, 09:10 AM
Replies: 26
Views: 2,132
Posted By tux
Firstly, to help keep posts clean and easy to...

Firstly, to help keep posts clean and easy to read select any code you post and click either the code, html or php button in the editor.

If you are going to go down this route you will have to re...
Forum: PHP 07-21-2013, 08:06 AM
Replies: 86
Views: 8,248
Posted By tux
Also, if you are going to be using freetrial.php...

Also, if you are going to be using freetrial.php instead of contact.php you will have to change the redirects in contact_submit.php like this....

$redirect_url = "freetrial.php?do=y&name=$fname";...
Forum: PHP 07-21-2013, 07:43 AM
Replies: 86
Views: 8,248
Posted By tux
We are working with 'php' and looking at your...

We are working with 'php' and looking at your screenshot and at the live site here www.lifecoachingbydeano.com all your pages are saved as html.

You need to re save all of your files as php files....
Forum: PHP 07-20-2013, 11:54 PM
Replies: 86
Views: 8,248
Posted By tux
It looks like this..... <?php ...

It looks like this.....

<?php

$do = $_GET['do'];
$firstname = $_GET['name'];

if($do == "y"){
$thankyou = "<span class=\"success\">
Forum: PHP 07-20-2013, 09:30 PM
Replies: 86
Views: 8,248
Posted By tux
Did you use the code I sent you as it was or have...

Did you use the code I sent you as it was or have you tried to add the code to your own page.

You need to use the two files I sent you earlier. contact.php which you do not need to change and...
Forum: PHP 07-20-2013, 08:56 PM
Replies: 86
Views: 8,248
Posted By tux
Doesn't have to be the root but the 4 files have...

Doesn't have to be the root but the 4 files have to be in the same folder.

What is it exactly that shows up at the top of the page?
Forum: PHP 07-20-2013, 07:55 PM
Replies: 86
Views: 8,248
Posted By tux
No don't change that at all.

No don't change that at all.
Forum: PHP 07-20-2013, 07:54 PM
Replies: 86
Views: 8,248
Posted By tux
You should not have a contact_error.php file? You...

You should not have a contact_error.php file? You only need the 4 files. Use the contact.php as I sent it and the contact_submit.php as I sent but with your details and the amendments I said in the...
Forum: PHP 07-20-2013, 07:46 PM
Replies: 86
Views: 8,248
Posted By tux
$query = "INSERT INTO users...

$query = "INSERT INTO users (clientname, email, message) values ('$clientname', '$email', '$message_db')"; // CHANGE TO SUIT YOUR REQUIRED DATABASE ENTRIES

On my iPhone so can't reply...
Forum: HTML and CSS 07-20-2013, 06:39 PM
Replies: 26
Views: 2,132
Posted By tux
Yes having the same name for an I'd and a class...

Yes having the same name for an I'd and a class is fine.

As for templates, if you plan on going back to hand coding, think about this.

Copy a section of your code and save it as a php file. You...
Forum: HTML and CSS 07-20-2013, 01:52 PM
Replies: 26
Views: 2,132
Posted By tux
Try removing all the Editable Region code and...

Try removing all the Editable Region code and creating a new Editable Region.

I'm not too up on the Dreamweaver functions like templates and library items etc. I hand code so rarely use them!
Forum: PHP 07-20-2013, 01:48 PM
Replies: 86
Views: 8,248
Posted By tux
Okay Christie, try these files. Replace them with...

Okay Christie, try these files. Replace them with your original files, you should need to retain any of your existing code but back them up first just in case. You will still have to enter your own...
Forum: PHP 07-19-2013, 05:59 PM
Replies: 86
Views: 8,248
Posted By tux
The validation is done in contact_submit,php, you...

The validation is done in contact_submit,php, you will not need to do any more validation. This form doesn't look right and I don't like the MM_ validation, I think that is done by Dreamweaver and...
Forum: PHP 07-19-2013, 10:10 AM
Replies: 86
Views: 8,248
Posted By tux
Did you include the <?php ?> tags? ...

Did you include the <?php ?> tags?


<?php

//code block here//

?>

<!doctype> etc...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT. The time now is 02:14 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com