Recent

Author Topic: An internet order online form software  (Read 13608 times)

jmpessoa

  • Hero Member
  • *****
  • Posts: 2329
Re: An internet order online form software
« Reply #15 on: December 25, 2012, 01:07:26 am »
Yes, here too! 8-)
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

aminer

  • Hero Member
  • *****
  • Posts: 956
Re: An internet order online form software
« Reply #16 on: December 25, 2012, 01:11:31 am »


Hello,

Here is your order  jmpessoa from Brasil:

==

User name is: jmpessoa
User address is: Brasil
User phone is: XXXXXXX
User email is: jmpessoa@coolmail.com
Products ordered:
1 x Product p1 @ $1050.00 
1 x Product p9 @ $899.00 
Total price is: $1949.00
Method of payment is: Invoice me

===


You see it's working now.

Try to look at the source code and see how it's working and if you have any
question about the program just ask. And you can also change easily the source code
to use MySQL or SQLITE database if you want. I have designed it like that for small companies and it's working now.



Thank you,
Amine Moulay Ramdane/








jmpessoa

  • Hero Member
  • *****
  • Posts: 2329
Re: An internet order online form software
« Reply #17 on: December 25, 2012, 01:15:21 am »
Ok, Thank you!

Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

aminer

  • Hero Member
  • *****
  • Posts: 956
Re: An internet order online form software
« Reply #18 on: December 25, 2012, 01:18:04 am »

Hello again,

My program compiles with Delphi 7 and up nd it works under windows,
i will soon port it to Freepascal, i have to use a DLL for that  cause i am using
Sakmail that doesn't compile with Freepascal but just with Delphi.


Thank you,
Amine Moulay Ramdane,.

aminer

  • Hero Member
  • *****
  • Posts: 956
Re: An internet order online form software
« Reply #19 on: December 25, 2012, 01:31:35 am »


Hello,

Take a look at the source code and read order.dpr for example, you will
notice that i am using libfcgi2.pas library and calling it like this:

FastCGI_LoadLibray('libfcgi2.dll');
FCGX_URLDecode(pchar(sDati),  length(sDati)); // InPlace Decoding
FastCGI_FreeLibrary;



Cause i have to decode the QUERY_STRING , cause it contains special
charracters, and the CGI object pascal  libraries that you find on internet
don't do that.


Other than that as you have noticed the code of the products is starting at p1 to  p75 .

So you have to set the hidden field item_name to p the (string before the numbers)  and the hidden field min to 1 cause we are starting at p1 and the hidden field max at 75 cause
the last code product in my html page is p75.

If you have any other question about the program just ask.



Thank you,
Amine Moulay Ramdane.








 






aminer

  • Hero Member
  • *****
  • Posts: 956
Re: An internet order online form software
« Reply #20 on: December 25, 2012, 03:23:57 am »



And Merry Christmas! For all!


Amine Moulay Ramdane.


aminer

  • Hero Member
  • *****
  • Posts: 956
Re: An internet order online form software
« Reply #21 on: December 26, 2012, 11:12:55 pm »

Hello,

I have updated the code of my program and now it's compiling with Freepascal and Lazarus

You can download all my source codes from:

http://pages.videotron.com/aminer/zip/myprog.zip


Thank you,
Amine Moulay Ramdane.



aminer

  • Hero Member
  • *****
  • Posts: 956
Re: An internet order online form software
« Reply #22 on: December 26, 2012, 11:15:53 pm »

Hello,

You have to compile only the order.dpr program that will use the sendmail.dll,
and to be able to use the program you have to set the host,username,from,sendto
parameters of sendmail().


Thank you,
Amine Moulay Ramdane.

aminer

  • Hero Member
  • *****
  • Posts: 956
Re: An internet order online form software
« Reply #23 on: December 27, 2012, 06:26:57 pm »


Hello,

I have used Dtree , and added a hidden filed category, and here is what it looks
like now:

http://pages.videotron.com/aminer/home.html

You can easily add a MySQL or SQLITE databaseto the source code if you want,
 but i have designed it like that for small companies.

I have modified also the source code so that sakmail doesn't use TComponent ,
and it have shrinked the size of the sendmail DLL more...

You can download all my source code from:

http://pages.videotron.com/aminer/zip/myprog.zip


Thank you,
Amine Moulay Ramdane.


aminer

  • Hero Member
  • *****
  • Posts: 956
Re: An internet order online form software
« Reply #24 on: December 27, 2012, 06:41:57 pm »

Hello again,


I want to see if all is ok, so i will ask you to fill an order just for a test,
but you don't  have to give your true name, address , phone and email.


Welcome:

http://pages.videotron.com/aminer/home.html


Thank you,
Amine Moulay Ramdane.



aminer

  • Hero Member
  • *****
  • Posts: 956
Re: An internet order online form software
« Reply #25 on: December 27, 2012, 08:16:57 pm »


Hello,


I have wrote my program listening at the same time  to a morrocan song
(i am maroccan), this song speaks about suffering  and call us to be generous
and socialist to lighten the suffer and the difficulties of this humanity, so
i invite you to listen to this song...

https://www.youtube.com/watch?v=XmY7tyXQ8l0


And welcome...


Thank you,
Amine Moulay Ramdane.


fredycc

  • Sr. Member
  • ****
  • Posts: 264
Re: An internet order online form software
« Reply #26 on: December 27, 2012, 09:05:50 pm »
Works  ;D.

Greetings from Mexico

regards

aminer

  • Hero Member
  • *****
  • Posts: 956
Re: An internet order online form software
« Reply #27 on: December 27, 2012, 10:09:27 pm »
Hello,

Here the Tree menu that i have used , it's very good and it's called Dtree:

http://www.articlediary.com/article/dtree-flexible-javascript-tree-menu-230.html


I have used it in my following website:

http://pages.videotron.com/aminer/home.html



Thank you,
Amine Moulay Ramdane.











aminer

  • Hero Member
  • *****
  • Posts: 956
Re: An internet order online form software
« Reply #28 on: December 27, 2012, 10:14:14 pm »


Here is the index.html that uses framset that i am using in my website,
the html tree.html is the html that contains Dtree:

==-

<HTML>
<HEAD>
<TITLE>A  frameset document</TITLE>
</HEAD>
<FRAMESET >
  <FRAMESET cols="18, 80">
      <FRAME name="frame1" 1" src="tree.html">
      <FRAME name="frame2" src="welcome.html">
  </FRAMESET>
  //<FRAME src="contents_of_frame3.html">
 
</FRAMESET>
</HTML>

===




Thank you,
Amine Moulay Ramdane.



aminer

  • Hero Member
  • *****
  • Posts: 956
Re: An internet order online form software
« Reply #29 on: December 27, 2012, 10:29:20 pm »

Hello,


Here is the tree.html taht contains the Dtree configurations,
that i am using in my website:

===

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html>

<head>
   <title>Destroydrop &raquo; Javascripts &raquo; Tree</title>

   <link rel="StyleSheet" href="dtree.css" type="text/css" />
   <script type="text/javascript" src="dtree.js"></script>

</head>

<body>


<div class="dtree">

   <p><a href="javascript: d.openAll();">open all</a> | <a href="javascript: d.closeAll();">close all</a></p>

   <script type="text/javascript">
      <!--

      d = new dTree('d');

      d.add(0,-1,'Welcome to MegaX','http://70.81.144.15:88/welcome.html','','frame2');
            d.add(1,0,'Computers','http://70.81.144.15:88/computers.html','','frame2');
      d.add(2,0,'Processors','http://70.81.144.15:88/processors.html','','frame2');
      d.add(3,0,'Motherboards','http://70.81.144.15:88/motherboards.html','','frame2');
      d.add(4,0,'Recycle Bin','','','','img/trash.gif');

      document.write(d);

      //-->
   </script>

</div>
</body>

</html>


===



Thank you,
Amine Moulay Ramdane.



 

TinyPortal © 2005-2018