Jump to content

kabucek

Members
  • Posts

    52
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

kabucek's Achievements

Member

Member (2/5)

0

Reputation

  1. hi all, we are using xcart as our shopping cart. We're in testing phase now and find out that there is no profile ability for providers. Is there a add-on or module that we could download for that? Thanks
  2. hello all, I'm trying to create a shopping cart for my website in php/mysql but have some problems. I've found some tutorials from which I'm trying to combine into one product, because its free and I can see all the coding. One is using couple functions in php but is lacking of billing, confirmation, review page. Another one is plaincart - it has all other pages but its configured for using pay-on-delivery or paypal with developers account, which kinda sucks. Does anyone know some good tutorial to create shopping cart or maybe some cheap shopping cart that we can configure for our needs? Another thing is that we need to use paypal for payment processing. (API) I went through 30 different shopping carts and all have monthly fees, which sucks. We're looking for one time fee. I tried magento, but the code inside doesn't cooperate with our css and couple functions. Any kind of help would be appreciated !! Thanks !!
  3. hello all, i got simple query with listing: $result2 = mysql_query("SELECT * FROM tbl_usr_pic_info where usr_email ='$email1' LIMIT 0 , 3 "); echo "<TABLE BORDER=0 CELLPADDING=4><TR>"; while($row2 = mysql_fetch_array($result2) ) { // $row2[4] echo ' <TD><img src =\'' . $row2[12] .'\' width="140" height="160" border="0" >'; // $row2[3] echo "<br />"; echo $row2[1]; echo "<br /> $"; echo $row2[2]; echo "</TD>"; echo "<TD width='10px'></TD>"; } ?> and another code to list one big picture with some data: $result4 = mysql_query("SELECT * FROM tbl_usr_pic_info where usr_email ='$email1' and pic_info_id < '2' "); $row4 = mysql_fetch_array($result4); $num4=mysql_numrows($result4); ?> <TABLE BORDER=0 CELLPADDING=4> <TR> <TH ROWSPAN='15' ><img src ="<?php echo $row4[12]; ?>" width="240" height="320" border="0" ></TH> <td></td> <TD ><p style='font-size:small;font-weight:bold'> <?php echo $row4[1]; ?></p></TD> <TD> </TD> </TR> <TR> <td></td> <TD> </TD> <TD> </TD> </TR> <TR> <td></td> <TD> </TD> <TD> </TD> </TR> <TR> <td></td> <TD> </TD> <TD> </TD> </TR> <TR> <td></td> <TD><p style='font-size:x-small;'>Price</p> </TD> <TD></TD> <td><p style='font-size:x-small;'> $ <?php echo $row4[2]; ?></p></td> </TR> <TR> <td></td> <TD><p style='font-size:x-small;'>Original/Reproduction</p> </TD> <TD></TD> <td><p style='font-size:x-small;'><?php echo $row4[3]; ?></p></td> </TR> <TR> <td></td> <TD><p style='font-size:x-small;'>Style</p> </TD> <TD></TD> <td><p style='font-size:x-small;'><?php echo $row4[4]; ?></p></td> </TR> <TR> <td></td> <TD><p style='font-size:x-small;'>Listed by</p> </TD> <TD></TD> <td><p style='font-size:x-small;'><?php echo $row4[5]; ?></p></td> </TR> <TR> <td></td> <TD><p style='font-size:x-small;'>Size Type/Largest Dimension</p> </TD> <TD></TD> <td><p style='font-size:x-small;'><?php echo $row4[6]; ?>"</p></td> </TR> <TR> <td></td> <td><p style='font-size:x-small;'>Signed?</p></TD> <TD></TD> <td><p style='font-size:x-small;'><?php echo $row4[7]; ?></p></td> </TR> <TR> <td></td> <td><p style='font-size:x-small;'>Date of Creation</p></TD> <TD></TD> <td><p style='font-size:x-small;'><?php echo $row4[8]; ?></p></td> </TR> <TR> <td></td> <TD><p style='font-size:x-small;'>Medium</p> </TD> <TD></TD> <td><p style='font-size:x-small;'><?php echo $row4[9]; ?></p></td> </TR> <TR> <td></td> <TD><p style='font-size:x-small;'>Region of Origin</p> </TD> <TD></TD> <td><p style='font-size:x-small;'><?php echo $row4[10]; ?></p></td> </TR> <TR> <td></td> <TD><p style='font-size:x-small;'>Subject </p></TD> <TD></TD> <td><p style='font-size:x-small;'><?php echo $row4[11]; ?></p></td> </TR> <TR> <td></td> <TD><p style='font-size:x-small; font-weight:bold'>Description of Work</p> </TD> <TD></TD> <td><?php echo $row4[13]; ?></td> </TR> <TR> <td></td> <TD> </TD> <TD> </TD> </TR> <TR> <td></td> <TD> </TD> <TD> </TD> </TR> </TABLE> [\CODE] How to implement these 2 into 1(or other ways?) so if I click on one of the pic from first listing the second listing changes ? Meaning if I click on "small-1-pic" from the listing it will show up on the second. Thanks
  4. hello all, I'm working on code for listing pictures from database. I got the listing, in next step I want to create link "edit info" for each of the listed items. What should I put in editing.php so it will edit each picture? Here is my code for listing $result2 = mysql_query("SELECT * FROM tbl_usr_gal_pic where usr_email ='$email1' "); while($row2 = mysql_fetch_array($result2) ) { echo " <TABLE BORDER=0 CELLPADDING=2> <TR> <TH ROWSPAN=8 BGCOLOR='#99CCFF'>"; echo '<img src =\'' . $row2[4] .'\' width="140" height="140" border="0" >'; echo "</TH> <td></td> <TD><p style='font-size:small; font-weight:bold;'>"; echo $row2[2]; echo "</p> </TD> <TD> </TD> <TD><p style='font-size:x-small;'>";?> <a href='editing.php'> <?php echo " Edit Information</a></p></TD> </TR> <TR> <td></td> <TD>"; if ( $num4 == "1" ) { echo $num4;echo "$nbsp photo";} else { echo $num4;echo "$nbsp photos"; } echo " <br> created on "; echo $row2[7]; echo" </TD> <TD> </TD> </TR> <TR> <td></td> <TD> </TD> <TD> </TD> </TR> <TR> <td></td> <TH rowspan=4><p style='font-size:small; font-weight:bold;'> some text will be here</p> <p style='font-size:small; font-weight:normal;'>Statement will be here</p> </TH> <TD></TD> <td></td> </TR> <br> </TABLE> Thanks
  5. hello all, I got small query to pull out image from database. It creates a table but second image is displayed below (verticaly). I want it to be displayed horizontaly, how can I achieve that? Thanks !! $result2 = mysql_query("SELECT * FROM tbl_usr_gal_pic where usr_email ='$email1' "); while($row2 = mysql_fetch_array($result2) ) { echo " <TABLE BORDER=0 CELLPADDING=4> <TR> <td>"; echo '<img src =\'' . $row2[3] .'\' width="140" height="160" border="0" >'; echo "</td> <TD></TD> <TD> </TD> </TR> <TR> <td>Name</td> <TD> </TD> <TD> </TD> </TR> <TR> <td>$1,000.00</td> <TD> </TD> <TD> </TD> </TR> </TABLE>"; } ?>
  6. hello @LL, I have couple hard drives from different linux distro's. on the hdd's are logical volumes created. what i want to do is to backup the data from those hdd's. but when I connect some of them and boot up the system it gives me an error that there are volume group duplicated and it list the UUID. My host system is centos 5. What is the best solution to rename those volume groups or to mount the drives from other systems, so the data will not get lost? Thanks
  7. I've tried that and nothing. what you use for smtp? maybe I have older version where this bug was not fixed.
  8. hi @LL, we are using PHPMailer for sending response emails to our form, and we want to add CC field to it but for some reason I can't get it to work. This is CentOS Server. Here is the part of the script: $PHPMailerLink->AddAddress($destEmailAdr, $destEmailName); $PHPMailerLink->AddCC("WebTester <me@me.com>" ); $PHPMailerLink->AddCC($ccEmailAdr, $ccEmailName); $PHPMailerLink->headers .= "Cc: me@me.com"; $PHPMailerLink->From=$fromEmailAdr; $PHPMailerLink->FromName=$fromName; $PHPMailerLink->Subject = $subjectString; $PHPMailerLink->Body = $messageString; All CC commands doesn't do anything. On this page they say that CC is not supported in Linux, http://www.bahamasgateway.com/shop/inc/modules/shop/lib/phpmailer/phpdoc/phpmailer.html#AddCC(var,%20var) is that true? Is there a way to make it work? Thanks
  9. I tried those, but with no result: case '11': $pattern="^NONE$"; $emailTest=ereg($pattern, $inString); if (!$emailTest) { appendError("MUST BE NONE"); } break; case '13': $pattern="^[[:n:]][[:]][[:n:]][[:e:]]$"; $emailTest=ereg($pattern, $inString); if (!$emailTest) { appendError("MUST BE NONE"); } break; case '15': $pattern='#^(?:[\w-]+ ?)*$#'; $emailTest=ereg($pattern, $inString); if (!$emailTest) { appendError("MUST BE NONE"); } break;
  10. hi @LL, we are using simple code for validation in zip, but now we want to be able to type the word "NONE" also. How this code can be modified to do that? case 'zip': if ($inString=='') { appendError("Required Field"); } else { $length=strlen($inString); switch($length) { default: appendError("Must be 5 digit zip '00000', or zip+4 '00000-0000' or 'NONE'"); break; case '5': $pattern="^[[:digit:]][[:digit:]][[:digit:]][[:digit:]][[:digit:]]$"; $emailTest=ereg($pattern, $inString); if (!$emailTest) { appendError("Only numbers allowed in zip"); } break; case '7': $pattern="^[[:digit:]][[:digit:]][[:digit:]][[:space:]][[:digit:]][[:digit:]][[:digit:]]$"; $emailTest=ereg($pattern, $inString); if (!$emailTest) { appendError("Canadian postal codes must be three digits, one space, three digits"); } break; case '10': $pattern="^[[:digit:]][[:digit:]][[:digit:]][[:digit:]][[:digit:]]-[[:digit:]][[:digit:]][[:digit:]][[:digit:]]$"; $emailTest=ereg($pattern, $inString); if (!$emailTest) { appendError("Not a valid Zip+4 format"); } break; Thanks
  11. Hi All, We are using self build online store on CentOS server(php,mysql,https) - CMS. First Developer created for us field in online store back-end where we can modify emails that are send to customers. As of now, 2 copies are send in separate emails. We want them to be send as one with CC field. How can we modify attached script to do that? Thanks. 1: emailResponseScript:$salesParameters['directoryURL']="https://somedirsomedir/somedir";$salesParameters['submitButtonURL']="https://somedir/somedir/somedir/images/signupnow.gif"; $salesParameters['fieldLabelStyleString']="style=\'font-size:10pt;color:red;padding-right:5pt;\'";$salesParameters['tagFormatString']="<DIV style=\'width:100%;text-align:left;\'><!tag!></DIV>";$salesParameters['anchorStyleString']="style=\'text-decoration:none;color:#4C310D;font-size:12pt;font-weight:bold;\' "; $emailMessagesArray['1']['templateURL']="https://somedir/somedir/emailTemplates/customerNotification.html";$emailMessagesArray['1']['subjectTemplate']="TEST <!first!> <!last!> <!cartHeader:totalPrice!> <!city!> <!state!> (#<!cartHeader:itemID!>)"; $emailMessagesArray['1']['fromEmailAdr']="registration@something.com"; $emailMessagesArray['1']['fromEmailName']="REGISTRTION DEPARTMENT"; $emailMessagesArray['1']['destEmailAdrTemplate']="<!emailAdr!>"; $emailMessagesArray['1']['destEmailNameTemplate']="<!first!> <!last!>"; $emailMessagesArray['2']['templateURL']=" https://somedir/somedir/emailTemplates/customerNotification.html "; $emailMessagesArray['2']['subjectTemplate']="Party <!first!> <!last!> <!cartHeader:totalPrice!> <!city!> <!state!> (#<!cartHeader:itemID!>)"; $emailMessagesArray['2']['fromEmailAdr']="registration@something.com"; $emailMessagesArray['2']['fromEmailName']="REGISTRATION DEPARTMENT"; $emailMessagesArray['2']['destEmailAdrTemplate']="registrationdept@something.com"; $emailMessagesArray['2']['destEmailNameTemplate']="Registration"
  12. code-007100 .. code-007125 and I wanted to be code-007126 .. code-007150
  13. in fact i'm using vim, because in cygwin there is vim not vi . I'm lazy and I got used to vi name what if I have: ..01 ..25 and want to have ..26 ..50 ? thanks
  14. what if i got ..01 ..25 and want to change it to ..26 ..50 ?
  15. hello, I have the large file (textfile) there are word: code-007100 ... code-007199 How to substitute those all words(using vi editor), so it will change all instances to: code-007200 ... code-007299 Thanks
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.