Affixing Picture Field to the User Registration Solution Pack
Now the Next issue -- the captcha images are not showing even on my local host both before and after I modified the users_Registration.php to include file\picture upload.
Before I made the modifications -- the preview was loading the captcha image on the localhost as "xed out" image\picture. The same way after the modification -- it also xed out. The captcha did not even showed\loaded when lauched over the internet from the remost hosting site -- you may test this aspect yourself if you want. See site link below.
www.africanheritage.info
Q1: How do I get this fixed.
Another issue is when I checked for the uploaded picture -- nothing showed up on the phpMyAdmin and the Admin portion of the User Reg Pack.
Q2: Why is the Captcha not loading both on the localhost and the remote hosting site?
Q3: Also why didn't the uploaded pictures shown on the database? The database was modified to hold maximum of 7 pictures.
Many thanks in advance,
Michael
Below please find the modified users_Registration.php
.
.
.
<?php
// WA_UploadResult1 Params Start
$WA_UploadResult1_Params = array();
// WA_UploadResult1_1 Start
$WA_UploadResult1_Params["WA_UploadResult1_1"] = array(
'UploadFolder' => "",
'FileName' => "[FileName]",
'DefaultFileName' => "",
'ResizeType' => "4",
'ResizeWidth' => "120",
'ResizeHeight' => "120",
'ResizeFillColor' => "#FFFFFF" );
// WA_UploadResult1_1 End
// WA_UploadResult1 Params End
?>
<?php
WA_DFP_SetupUploadStatusStruct("WA_UploadResult1");
if(isset($_POST["Register_x"])){
WA_DFP_UploadFiles("WA_UploadResult1", "upload", "2", "[NewFileName]_[Increment]", "JPG:80", $WA_UploadResult1_Params);
}
?>
I need some answer please.
Thanks,
Michael
