Hi Anikin,
Ok as far as I know the absolute file system path on the clients ISP is included below (this is the path used for php includes for example):
// Foto //
if (file_exists("/u/web/circul/production/img/retratos/".$row['ID'].".jpg")) {
echo ("<img...
Hi,
// EMAIL FUNCTION
function send_mail($recipient, $subject, $email, $content) {
if (!$mu) {
mail($recipient, $subject, $content, "From: $email\n");
}
}
This uses an external file as a template for the autoresponder allowing variables to be read from the template file...
Hi,
I'm trying to use the file_exists() function to load an image but get repeated errors. Code is as follows:
// Foto //
if (file_exists("/production/img/retratos/".$row['ID'].".jpg")) { ?>
<img src='/production/img/retratos/<?PHP echo $row['ID'] ?>.jpg"'...
Hi Starway,
Thanks for your comments - the validation which included the language check no longer causes a problem with the extra ()'s included.
The radio check still generates the taskbar error (although as before it does in fact perform the validation). The error is clearly pinpointed here...
Hi,
BUG 1.
I'm using the following code to validate a group of 4 radio buttons. The validation works but when "submit" is finally entered after all validation a pesky taskbar error displays before the user is taken to the next page. It appears to be syntax related (I think). Any...
Hey Anikin,
$mail_en = file("mail_en.php");
$mail_en = join("", $mail_en);
eval("\$content_en =\"$mail_en\";");
Is the bees knees - thanks for your help!
Gary
Hi,
My formprocessor script uses the file() function to read the text for an autoresponder email. It reads the text no problem but is not parsing the PHP variables contained in the file. How can I do this if I want to include the user name in the external template?
$mailtext2 =...
Hi,
I'm getting an error displayed in the task bar when I click submit in a form (only when submit is clicked). The form processes and redirects as normal, and at such a speed that I'm unable to read the error type that flashes up.
Code I'm using is included below. Can anyone shed any light...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.