Go Back   Novahq.net Forum > phphq.Net > phphq.Net Forums
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-04-2008, 07:47 AM
softec is offline softec
Registered User

Join Date: Jun 2008
Posts: 4

phMailer issue????

Hi to all!

I've downloaded and set up this little script, but it doesn't work, at least running with WAMP Server and in Firefox, it gives me the form totally filled with the php code!

Does anyone has run with this same issue????

Oh, and by the way, can i customize the code???
Ie, translate it to Portuguese???

Many thanks for all the help!
Reply With Quote
  #2  
Old 06-04-2008, 08:14 AM
Lakie is offline Lakie

Join Date: Mar 2002
Posts: 5,540

ive had it running on a WAMP setup fine..

are you allowing short tags in php.ini?
Reply With Quote
  #3  
Old 06-04-2008, 08:49 AM
softec is offline softec
Registered User

Join Date: Jun 2008
Posts: 4

Quote:
Originally posted by Mike
ive had it running on a WAMP setup fine..

are you allowing short tags in php.ini?
Thank you for the reply...

I'll have to check it out...

Anyway, i've also noticed that on the top left corner of the form page, it appears the following: 0) {?>

My guess is it also might be an issue with the 5th line here:

PHP Code:
<table align="center" class="table">
    <tr>
        <td colspan="2" class="table_header" width="100%"><?=$websitename;?></td>
    </tr>
[COLOR=orangered]<?If($allowattach 0) {?>[/COLOR] 
        <tr>
            <td width="100%" class="attach_info" colspan="2">
                <b>Valid Attachment Types:</b> <?=$types?><br />
                <b>Max size per file:</b> <?=$max_file_size?>kb.<br />
                <b>Max combined file size:</b> <?=$max_file_total?>kb.
            </td>
        </tr>
    <?}?>
Reply With Quote
  #4  
Old 06-05-2008, 06:07 AM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,927

Theres no problem with the phMailer code nor should there be any problems as long as you are running it on a webserver that supports PHP and php is installed correctly..

Like Mike said, some settings in your php.ini could make that happen. Otherwise I would check you WAMP install.

Create two files:

test1.php
PHP Code:
<?
echo "Hello World";
?>
test2.php
PHP Code:
<?php
echo "Hello World";
?>
If test1.php does not show Hello World when run in your browser but test2.php does enable short tags in your php.ini. If neither show then php is not installed correctly.

Yes you can customize the code to fit your needs.
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote
  #5  
Old 06-05-2008, 07:07 AM
softec is offline softec
Registered User

Join Date: Jun 2008
Posts: 4

Quote:
Originally posted by Scott

If test1.php does not show Hello World when run in your browser but test2.php does enable short tags in your php.ini. If neither show then php is not installed correctly.

Yes you can customize the code to fit your needs. [/B]
Thanks for the reply.

Both files you posted runs...

In the phmailer script, i've had to change the
PHP Code:
<?=$max_file_size?>
code to
PHP Code:
<? echo $max_file_size?>
...
And in some cases i've had to echo all the HTML from the edit boxes...

Quite weird, huh????

Anyway, i'll have to translate the script, and also i'm wondering to make a few code and visual modifications to it....
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
phMailer Layout issue bobbeth phphq.Net Forums 0 06-24-2010 06:30 PM
phMailer Question AMC phphq.Net Forums 1 03-27-2010 05:53 PM
PhMailer: help xist phphq.Net Forums 0 05-19-2008 04:07 PM
phMailer k1200lt phphq.Net Forums 4 12-11-2007 12:02 AM
phMailer attachment Fallu phphq.Net Forums 3 12-25-2004 01:09 AM


All times are GMT -5. The time now is 10:05 AM.




Powered by vBulletin®