Quantcast
Channel: ExeOutput for PHP - G.D.G. Software Forum
Viewing all 1024 articles
Browse latest View live

Home page arguments

$
0
0

@Sebbou wrote:

Hello,
I’m using ExeOutput to generate the EXE of a website but locally, I use for instance the address : http://localhost/index.php?mode=debug when I need to display specific information.

Is there a solution to launch the EXE with a parameter in the command to open this specific address (with the argument) instead of index.php only?

Thanks in advance for your help.

Posts: 2

Participants: 2

Read full topic


I can not enter data in my forms

$
0
0

@dangonz01 wrote:

Hello, I downloaded ExeOutput for PHP 2019 released (January 8th, 2019) and so far everything has worked very well, except that I can not enter data in my forms, the following code lines do not work: <fieldset class = “form-group form-group-lg”> <label for = “account-firstname”> Name </ label> <input type = “text” class = “form-control” id = “account-firstname” name = “account-firstname” value = “<? php echo $ name?>” autofocus = “”> </ fieldset>
Could you help me with that? Thank you.

Posts: 5

Participants: 3

Read full topic

2019 help file won't load

$
0
0

@orionmetrics wrote:

Hi, I have upgraded to version 2019, but the help file system doesn’t work… ExoHelp.exe - I get the progress bar, but then gets stucks, and won’t load.

on the progress bar this is as far as it gets… eventually, I have to use system toolbar to kill the process.

stuck-loading

Would be nice to get it working again. Thanks for any help.

Posts: 6

Participants: 3

Read full topic

Is it possible to just compile the HTML5/CSS/Javascript alone?

$
0
0

@Androidicus wrote:

This is probably a daft question… I have recently added (licensed) ExeOutput to my ‘tool box’.

I was originally looking for a compiler (to exe) for HTML5/CSS/Javascript/jQuery only. Had a play with HTML Executable as that did what I wanted BUT uses I.E./Edge as the baked in browser…

I then found ExeOutput for PHP amongst GDG Soft’s offerings and as much of my work is indeed PHP/MySQL based this was even better AND what a relief to find that it uses Chromium (Chrome) as baked in browser!

Now for the ‘probably daft question’…! Is it possible to compile without including compiling in PHP? I.e. effectively creating the standalone server & Chromium browser but without the overhead of PHP? So for HTML only ‘apps’ no PHP… I do not wish to use HTML Executable as Chrome for me is a must have… not IE/Edge!

I guess I am looking at a best of both worlds scenario…

Posts: 2

Participants: 2

Read full topic

Duplicates Not Allowed Error

Simple ZIP files no longer working

$
0
0

@oldteacher wrote:

Just recompiled a project made with V2018.3 using V2019.0

Simple code and have used it since V2 release. The zip is being created, just not being downloaded and no errors produced.

$yourfile = $storagelocation.'tmp/example.zip';
$file_name = basename($yourfile);
header('Content-Description: File Transfer'); 
header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment; filename='.basename($yourfile));
header('Content-Transfer-Encoding: binary');
header('Expires: 0');
header('Cache-Control: must-revalidate');
header('Pragma: public');
header('Content-Length: ' . filesize($yourfile));
readfile($yourfile);
sleep (2);
unlink($storagelocation.'tmp/example.zip');
exit;

Also, about every 3-4 times during/after compile getting some silly message like this:

Cannot open file “C:\ProgramData\english101\CEF3357818600\libcef.dll”. The process cannot access the file becuase it is being used by another process.

I have nothing in code that would use the ProgramData folder?

Again, this all started when upgraded to V2019.

PLEASE, please either tell me how to downgrade to 2018.3 or get me a copy of 2019 that works. Trying to run a business and really hate to go back to Visual Studio which would take me months…

Posts: 3

Participants: 2

Read full topic

Additional Chromium Args

$
0
0

@oldteacher wrote:

Cannot seem t get EXEOut to recognize any entered args. For instance the ones below have absolutely no effect:

–allow-insecure-localhost --allow-outdated-plugins --ppapi-flash-path=Plugins/pepflashplayer.dll --ppapi-flash-version=32.0.0.114

I know they are good, use them all the time in nodejs projects.I normally use this site to obtain https://peter.sh/experiments/chromium-command-line-switches/

I also enabled “Plugins” and nothing changes. How the heck do I use this feature?

Thanks.

Posts: 2

Participants: 2

Read full topic

ExeOutput Viewer Error

$
0
0

@boutross wrote:

Testing exeoutput2019 I have created a Database composed only of a customer table and 2 field Photo and Name.
It works well on my local host.

with exeoutput adding a name and a photo the program shows me the following error:

“PHP Error: PHP Warning: count (): Parameter must be an array or an object that implements Countable in C: \ Users \ user \ Desktop \ output \ Data \ admin \ incFunctions.php on line 1320”

1318 function insert ($ tn, $ set_array) {
1319 $ set = prepare_sql_set ($ set_array);
1320 if (! Count ($ set)) return false;
1321
1322 return sql (“INSERT INTO{$ tn}SET {$ set}”, $ eo);
}

I am a beginner in this field can someone help me to solve this problem?
thank you

Posts: 2

Participants: 2

Read full topic


PHP 7.2 Thread safe

$
0
0

@power132 wrote:

Everytime I build my exe, it automatically compiles the php with thread safe disabled. How would I enable thread safe, I’ve tried downloading php 7.2 TS and replace it in the PHP7Runtime folder but it still compiles php without thread safe

Posts: 1

Participants: 1

Read full topic

PHP Warning about unable to load dynamic libary

$
0
0

@sbguy01 wrote:

Using Exeoutput 2019.

At first, my PHP EXE failed to run because of curl and https calls. So I went into PHP Extensions, right clicked on php_curl and php_openssl entries and selected them to be compiled into the EXE, including all dependencies.

The compiled EXE appears to execute correctly, but gives these Warnings at the beginning. C:\Users is just the directory where the EXE resides.

==================================
PHP Warning: PHP Startup: Unable to load dynamic library ‘curl’ (tried: C:\Users\Data\ext\curl (The specified module could not be found.), C:\Users\Data\ext\php_curl.dll (The specified module could not be found.)) in Unknown on line 0

PHP Warning: PHP Startup: Unable to load dynamic library ‘openssl’ (tried: C:\Users\Data\ext\openssl (The specified module could not be found.), C:\Users\Data\ext\php_openssl.dll (The specified module could not be found.)) in Unknown on line 0

Then when I move the EXE to another computer (it’s ultimate home) it fails to run and shows only 1 message - Exception (2019.0) Could not load PHP DLL in memory

What am I doing wrong?

Thanks for your help.

Posts: 1

Participants: 1

Read full topic

Console application + portable MySQL

$
0
0

@canse wrote:

Hi, I am evaluating the trial version. My goal is to build a console application using the portable MariaDB.
However the MySQL Support button is greyed in the PHP Settings tab then I cannot activate this feature.

Is that a limitation of the trial or the console has disabled this useful feature?

Posts: 1

Participants: 1

Read full topic

Cannot access external image while exporting pdf

$
0
0

@sgupta wrote:

I am trying to export a pdf using mpdf library. I am using PHP 7.3 for compiling my application. The png file has been placed inside rs folder which resides in the same location as my exe. If I access the image on a webpage, image is visible but if I try to access the image on pdf, it doesnot work.
Below is my code:
<img src="rs\logo.png" />

Pdf export code:

ob_clean();
header('Content-type: application/pdf');
header('Content-Disposition: inline; filename="'.$billno.'.pdf"');
header('Content-Transfer-Encoding: binary');
header('Accept-Ranges: bytes');
include($_SERVER['DOCUMENT_ROOT']."/application/views/admin/mpdf/vendor/autoload.php");
$mpdf = new \Mpdf\Mpdf();
$mpdf->WriteHTML($output);
$mpdf->SetJS('this.print();');
$mpdf->Output();
exit;

I also tried:
<img src="%PATH%\rs\logo.png" />

Issue 1.: Image is not visible on generated PDF.
Issue 2.: Pdf Preview has a download button which works in browsers, but they donot work here in compiled application.

I have also tried the following but still no wonders:
File Manager -> Right Click png file -> Properties -> Exclude the selected files from application
The gave %PATH%\rs as the path to folder where external file will be available.
This approach has also not worked.
Please give some solution.

Posts: 1

Participants: 1

Read full topic

EXE compiled into app not showing in file manager

$
0
0

@oldteacher wrote:

I have compiled an EXE program into my app and it will not show in the “virtual path” screen (or application root)? But, the EXE is there for sure.

Since it is not showing, cannot start with script or heopenit://

How fix this?

Posts: 1

Participants: 1

Read full topic

Image not visible on using mpdf

$
0
0

@sgupta wrote:

I am using mpdf to show image on generated pdf, but images are not shown.
I have used an image as an external resource, have tried call it by passing subfolder/imagename as src in image tag, but images are not visible.
I have also spent a lot of time in uploading image to database BLOB column and then bringing it out on pdf.
When I run my codeigniter project in browser, I can see the image.
When I run my project in exeoutput application using localhost/application name in base url, image is shown
But,
when i use http://heserver/ in base url, image stops showing.

I have also tried to use an absolute path for Data folder, no wonders. I executed application without absolute path to data folder, no wonders.

I also tried a relative path, but no wonders.

I have also tried
'<img width="30px" src="'.exo_getglobalvariable('HEPubStorageLocation', '').'rs\logo.png" />'
which returns the correct path but image is still not visible on pdf

I have started feeling depressed as this is the third time I am working in exeoutput and failed to deliver the project to client.

Can anybody help me out and save me from quitting?

Posts: 1

Participants: 1

Read full topic

Can you help me to make my site work with exeoutput 404

$
0
0

@sva260 wrote:

hello ,
i have problem with exeoutput , when i build my app i can’ see images or use dirs
ex :
Resource Request: public\images\logo.png
Resource NOT COMPILED - trying external file
ERROR: public\images\logo.png

Resource Request: public\images\logo.png
Resource NOT COMPILED - trying external file
404 ERROR: public\images\logo.png

Posts: 11

Participants: 2

Read full topic


Need urgent help with 403 Forbidden Error Using cURL

$
0
0

@AndyBlackSEO wrote:

Hey there, I seem to be stuck on an issue after having done as much research and Googling as I possibly can.

When using cURL to crawl pages I’m seeing more and more 403 Forbidden errors. Most pages are 403 Forbidden.

If I cURL a http:// url that re-directs to a https:// then it shows the 403 error. If I cURL the https:// then it’s just a blank page.

I have followed your instructions on your site about placing the cacert.pem file in my root which I have done. (However, didn’t get these from your site as your link is broken).

Here is my function for cURL. Wondered if you could let me know what I am doing wrong, or how I can fix this, in clear detail (please)…

function get_page_now($url) {
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,$url);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(“User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.15) Gecko/20080623 Firefox/2.0.0.15”) );
curl_setopt($ch, CURLOPT_NOBODY, false);
curl_setopt($ch, CURLOPT_CAINFO, getcwd() . “\cacert.pem”);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_AUTOREFERER, true);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 20);
curl_setopt($ch, CURLOPT_REFERER, $_SERVER[‘REMOTE_ADDR’]);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
$result= curl_exec ($ch);
curl_close ($ch);
return $result;
}

I have tried removing the CURLOPT_SSL_VERIFYPEER option too and still no luck.

I have also tried replacing the CURLOPT_HTTPHEADER line with this line…

curl_setopt($ch, CURLOPT_USERAGENT, “Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.15) Gecko/20080623 Firefox/2.0.0.15”);

But still no joy.

If I need to add a cookie setopt then could you please let me know exactly how to do that. ie - the exact lines of code that I’d need to add.

I look forward to receiving some help. Much appreciated!

Best regards

Andy

Posts: 2

Participants: 2

Read full topic

Adding application to firewall whitelist

$
0
0

@sgupta wrote:

I created an application and when I executed it for the first time on a fresh machine, portable mysql database server refused the connection. Automatically firewall exception adding window popped up. I selected Private, Public, Work networks and clicked “Allow Access”, then restarted the application and then application started working. I compiled the software by requesting elevated rights as admin.
Is there any way to avoid this fist time firewall problem?

Posts: 1

Participants: 1

Read full topic

How to change name in Ribbon

$
0
0

@Gilmichel wrote:

Hello,

I have created different tabs in Ribbon Bar.
If I want to hide Ribbon Bar Its works well with :
SetUIProp(“Ribbon1scToolPager1”, “Visible”, “FALSE”);

But what about to change the name of a tab, using SetUIProp is it possible ?
I have tried addind tab name as follow :
The name of the tab is : scToolPagerPage1.
So I use the following :
SetUiProp(“Ribbon1scToolPager1scToolPagerPage1”, “Caption”,“text”);

But it is not working, any idea ?

Thank-you
Gilbert

Posts: 1

Participants: 1

Read full topic

Randomly appearing Access Violation

$
0
0

@jaydadhania08 wrote:

Using ExeOutput4PHP 2019, licenced version.

My application, when launched gives 4-5 errors saying “Access violation at address XXXX in module ‘test.exe’”

The app also freezes for some time before these errors appear.

I don’t know what causes these errors, my PHP files run just fine in my local WAMPserver. There may be an issue with EXEoutput.

Posts: 1

Participants: 1

Read full topic

Open EXE with Scripting

$
0
0

@oldteacher wrote:

Way back in V1.7 created a EXE (with secret) which can only be opened from within another EXE.

It is placed in “Data” folder and still works great with V2019. What I wish to do is move from Data folder and compile directly into EXE.

Using below hescript. But, if compile into EXE no longer opens using toolbar button:

procedure MacroExecuteProgram(filename: String);
var
 EbookPath, MyProgram: String;
begin
 EbookPath := GetGlobalVar("HEPublicationPath", "");
 MyProgram := EbookPath + "currentmathanswers.exe";
 RunAProgram(MyProgram, "mysecret", EbookPath, false, SW_SHOWNORMAL);
end;

Toolbar button is simply using “Execute an HEScript Function” to start it.

Also tried “Unpack to virtual memory at startup” and no success.

Is there something else I should do to make work when compiling into final EXE?

Posts: 1

Participants: 1

Read full topic

Viewing all 1024 articles
Browse latest View live