Author Topic: hfs and php/mysql  (Read 12079 times)

0 Members and 1 Guest are viewing this topic.

Offline bmartino1

  • Tireless poster
  • ****
  • Posts: 837
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
Re: hfs and php/mysql
« Reply #15 on: May 23, 2014, 05:25:29 AM »
i think it is an issue with the jvcl pascal files, but i'm haveing isues compiling have fetched a lot of code... now i'm stuck trying to find a pascla source code called turbo.pas

error while compiling:
C:\Windows\System32\Turbo Delphi Portable\lib\JCL.INC(41) Fatal: F1026 File not found: '"C:\Windows\System32\Turbo.pas'

attached is the compile log via comand line


I'm only trying to help i mean no offense.
thank you for your time and patience,
Bmartino1

Offline bmartino1

  • Tireless poster
  • ****
  • Posts: 837
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
Re: hfs and php/mysql
« Reply #16 on: May 23, 2014, 04:04:10 PM »
* Post has been updated...

libs folder download:
https://drive.google.com/file/d/0B9u5dgydfOEuZ213a1UxdmdlLWs/edit?usp=sharing

if it helps, i have attached the lib folder which contains all of the source codes and pascal files that i'm using to attempt to compile the lattest build source. as posted previous post with updates modification and others....

I'm experiencing issues compiling hfs source code.

( I have given up trying to program the source code )

by using the only known(atleast to me) seemingly free program provided by mars ( portable turbo delphi )...

--------
i'm at the point where i question if this is even worth it....
It would have been a nice jester ...
---

it has come to my attention that this is a waste of my time seeing that i'm have been posting multiple times with very little to no responses... on editing the source code
---------

Issues that i have run into would be:
Once the program is download, to set it up:

for security measures there would have to be a batch to change the passwords and add account info to mysql, and some type of notes on prope setup to open multipe ports and incorporation of a database viewing program....
---------

Which is what i have separate and alone....

so if any one has a "cure" for:
C:\Windows\System32\Turbo Delphi Portable\lib\JCL.INC(41) Fatal: F1026 File not found: '"C:\Windows\System32\Turbo.pas'

please let me known other wise i'm waiting on a different form to download a base project...:
http://www.codeforge.com/article/906
(which will never be available)

or going through the libs and fixing the jedi vlc pascal files...

Made this post to explain and vent my issues as i found the program to be pointless to use as a compiler if it is missing. needing a pascal script to compile...

Previous post on asking what code language it was, after looking i would say it is Delphi Objective C code mixed with other coding languages (i could be wrong but that what i could decode and follow...)
« Last Edit: June 17, 2014, 02:44:48 AM by bmartino1 »
I'm only trying to help i mean no offense.
thank you for your time and patience,
Bmartino1

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12945
    • View Profile
Re: hfs and php/mysql
« Reply #17 on: May 25, 2014, 10:13:52 PM »
bmartino1, as i said you, you can use HFS scripting system to achieve what you want, you don't need to modify HFS itself, so you don't need to compile it.

You want to run commands to MySQL. Fine.
Create a software that reads from a file the query/command, and gives the output on the standard output.
Let's say this program is called "dbrun".
You can create this program with the language or tool you want.

Whenever you need to execute a command X in mysql from HFS you will just do this way

{.save|commands.txt|X.}
{.exec|dbrun|out=result.}

Follow members gave a thank to your post:


Offline bmartino1

  • Tireless poster
  • ****
  • Posts: 837
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
Re: hfs and php/mysql
« Reply #18 on: May 27, 2014, 01:55:34 AM »
*Have fixed spelling and updated.. sorry for the inconvience

bmartino1, as i said you, you can use HFS scripting system to achieve what you want, you don't need to modify HFS itself, so you don't need to compile it.

You want to run commands to MySQL. Fine.
Create a software that reads from a file the query/command, and gives the output on the standard output.
Let's say this program is called "dbrun".
You can create this program with the language or tool you want.

Whenever you need to execute a command X in mysql from HFS you will just do this way



Thank you for this, i have considered that path, but in the long run or at least form the user side, having a scripted "rarw possible" template that would do this would be very easy to misinterpret commands settings and configs.. i was going to attempt a beta such as silent plz has done that would incorporate the resource files(programs that i have used and currently using) and with a few clicks change major setting such as login access to mysql, config files and port setting for data translation...

It would probably be easier but once i post the "sfx zip" or what i have/had is what would be hard to leave for me as my mysql... its more because of  the username and password would then become public causing security issues... among other things...

It was more of an idea/thought that i would liked to have seen and a way for me to dive into the code to see what is actual running and making "HFS" tick....(as you claim it is open source, but source code "as i'm not a Delphi programmer.." is a bit confusing...)

I'm actual working on a template to incorporate the previous rarw template command such as what raybob has done with fhfs...(Although i would have like to have it pre-built within hfs and programmed it to incorporated tabs and other setting....)

here is an example so far: at least the breakdown of what i'm testing and trying to build..
---example/testing with the hfs default template....---
{.exec|"%path%\prgram.exe and/or mysql dos batch or other service..."}
---

Still would like a link to the wiki if possible
(found link and is further in posts)
« Last Edit: June 17, 2014, 02:33:59 AM by bmartino1 »
I'm only trying to help i mean no offense.
thank you for your time and patience,
Bmartino1

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12945
    • View Profile
Re: hfs and php/mysql
« Reply #19 on: May 27, 2014, 11:21:28 AM »
i don't understand some parts of your message because of the typos.


what about the wiki? what link do you want?

Offline bmartino1

  • Tireless poster
  • ****
  • Posts: 837
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
Re: hfs and php/mysql
« Reply #20 on: May 27, 2014, 04:50:02 PM »
Sorry, working with a bad keyboard... i think i found the wiki, thatnk youf or your help!
http://www.rejetto.com/wiki/index.php?title=HFS_Documentation_(English)

(the wiki link to the template info to program it with {exec}

or possible the programing links??? are they the same?)

was looking for this link:
http://www.rejetto.com/wiki/index.php?title=HFS:_Template_macros

and these link:
http://www.rejetto.com/wiki/index.php?title=HFS:_scripting_commands

http://www.rejetto.com/forum/html-templates/hfs-templates-vars-and-section-help/msg1010138/#msg1010138
« Last Edit: June 17, 2014, 02:57:27 AM by bmartino1 »
I'm only trying to help i mean no offense.
thank you for your time and patience,
Bmartino1

Offline bmartino1

  • Tireless poster
  • ****
  • Posts: 837
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
Re: hfs and php/mysql
« Reply #21 on: May 27, 2014, 10:41:48 PM »
i guess i was trying to do something like this(as it has already been done), except use hfs not appache:

http://www.server2go-web.de/

Download forms(unkonw if it is free...)
http://www.server2go-web.de/download/download.html
I'm only trying to help i mean no offense.
thank you for your time and patience,
Bmartino1

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12945
    • View Profile
Re: hfs and php/mysql
« Reply #22 on: June 02, 2014, 05:41:41 PM »
let me know if you have are successful with the commands

Offline bmartino1

  • Tireless poster
  • ****
  • Posts: 837
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
Re: hfs and php/mysql
« Reply #23 on: June 06, 2014, 11:00:00 PM »
computer "hfs machine" went down... busy at work, haven't tried full templating yet..., will get to it when i have some  free time. Thank you so far for your help and support
I'm only trying to help i mean no offense.
thank you for your time and patience,
Bmartino1

Offline bmartino1

  • Tireless poster
  • ****
  • Posts: 837
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
Re: hfs and php/mysql
« Reply #24 on: June 17, 2014, 02:49:19 AM »
i have stooped trying other and previous methods and will be trying something else:
I appreciate everyone's time and help on this so far and may not be continuing on it...

In a previous post with the "server to go", i will attempt to use and setup with hfs (with possible Apache as well )

And i'm starting over.

Again, i would like to thank all the users who have posted and given some form of help
As I would not have gotten this far with out there expertise and information!

THANK YOU

(I will post my finding with the server to go as most likely i will have to run Apache along side with hfs...)
I'm only trying to help i mean no offense.
thank you for your time and patience,
Bmartino1