Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
php serverpackage online creator
php serverpackage online creator
Okey.
I just created a very easy script using php programming.
I have no idea if anyone would be interested in something like this, but i'm all for sharing ideas. the script requires a webserver with php capabilities.
With this online creator, you could have one package, and just change pchelpware settings in strings (in the file getPackage.php) instead of building the package using the viewer. the server package(singleclick pchelpware exe) is dynamicly put togheter when someone access getPackage.php page.
http://labs.seln.no/
http://www.7-zip.org/
If you have any questions or some comments, go a head and post theme!
and it would be nice if anyone posts feedback if they find it usefull!
I just created a very easy script using php programming.
I have no idea if anyone would be interested in something like this, but i'm all for sharing ideas. the script requires a webserver with php capabilities.
With this online creator, you could have one package, and just change pchelpware settings in strings (in the file getPackage.php) instead of building the package using the viewer. the server package(singleclick pchelpware exe) is dynamicly put togheter when someone access getPackage.php page.
http://labs.seln.no/
http://www.7-zip.org/
If you have any questions or some comments, go a head and post theme!
and it would be nice if anyone posts feedback if they find it usefull!
Last edited by thor918 on 2010-01-10 15:46, edited 2 times in total.
Re: php serverpackage online creator
would be nice to at least get one comment
the forum seems almost dead silent latly. hope to see some more action here. and I hope we will se another version of pchelpware
the forum seems almost dead silent latly. hope to see some more action here. and I hope we will se another version of pchelpware
Re: php serverpackage online creator
The pchelpware project is on hold until ultra vnc 1.04 is released all the developers are currently working on that .. Thanks for the keeping the pchelpware project moving
Bevtech
Windows XP Home, Pro SP2, Windows 2003 SBS server SP2(EN), Windows Media Center Editon 2005,Windows Vista Home Prem.,Fedora Core 6,Win9X, PChelpware Rel 1.0,
UVNC V 1.0.8.2
User not developer..
Windows XP Home, Pro SP2, Windows 2003 SBS server SP2(EN), Windows Media Center Editon 2005,Windows Vista Home Prem.,Fedora Core 6,Win9X, PChelpware Rel 1.0,
UVNC V 1.0.8.2
User not developer..
Re: php serverpackage online creator
Thanks for the update.bevtech wrote:The pchelpware project is on hold until ultra vnc 1.04 is released all the developers are currently working on that .. Thanks for the keeping the pchelpware project moving
well from the activity on the forum, one could come to the conclusion that the project is dead.. so it's good to hear that it's progress going on.
and for the script. it seems like nobody had use for it.
at least I find it usefull
I got sick and tiered to create a new package and upload a new package, when the only change was the ID or connection setting.
hopefully we can see a pchelpware with full vista support soon
Last edited by thor918 on 2007-09-29 13:14, edited 1 time in total.
Re: php serverpackage online creator
pchelpware works fine in vista i use it everyday.. I agree it needs some work but will not be any updating till uvnc is completed. so we will just have to wait..
Bevtech
Windows XP Home, Pro SP2, Windows 2003 SBS server SP2(EN), Windows Media Center Editon 2005,Windows Vista Home Prem.,Fedora Core 6,Win9X, PChelpware Rel 1.0,
UVNC V 1.0.8.2
User not developer..
Windows XP Home, Pro SP2, Windows 2003 SBS server SP2(EN), Windows Media Center Editon 2005,Windows Vista Home Prem.,Fedora Core 6,Win9X, PChelpware Rel 1.0,
UVNC V 1.0.8.2
User not developer..
Re: php serverpackage online creator
So it does work with helping out vista users?
I tought it had some problems there...
I tought it had some problems there...
Re: php serverpackage online creator
problem is with uvnc 1.02 and the dsm plugin not with pchelpware. Also if using encryption with single click you may have issues with vista. The DSM plugin is hit and miss on vista and they are trying to correct that..
Bevtech
Windows XP Home, Pro SP2, Windows 2003 SBS server SP2(EN), Windows Media Center Editon 2005,Windows Vista Home Prem.,Fedora Core 6,Win9X, PChelpware Rel 1.0,
UVNC V 1.0.8.2
User not developer..
Windows XP Home, Pro SP2, Windows 2003 SBS server SP2(EN), Windows Media Center Editon 2005,Windows Vista Home Prem.,Fedora Core 6,Win9X, PChelpware Rel 1.0,
UVNC V 1.0.8.2
User not developer..
Re: php serverpackage online creator
@bevtech
thanks for pointing out that it does work in vista.
I just tested it my self, and it seemed to me that it worked without flaws
thanks for pointing out that it does work in vista.
I just tested it my self, and it seemed to me that it worked without flaws
Re: php serverpackage online creator
I'm getting a:
I was not able to find what part of the header is wrong, someone an idea ?
Code: Select all
malformed header from script. Bad header=296115: php, referer:
Re: php serverpackage online creator
Hi there Matt.
jeiiii... a comment :p after almost a year after post date
error messages can be deceiving...
have you used any non-english character's in the variables?
does other php-scripts run fine?
I have used this code for near a year now on my server, no problems yet.
jeiiii... a comment :p after almost a year after post date
error messages can be deceiving...
have you used any non-english character's in the variables?
does other php-scripts run fine?
I have used this code for near a year now on my server, no problems yet.
Re: php serverpackage online creator
Yes, I like it even more that you still be active after a year here ! that's good and not often seen that people check their old topicsthor918 wrote:Hi there Matt.
jeiiii... a comment :p after almost a year after post date
error messages can be deceiving...
have you used any non-english character's in the variables?
does other php-scripts run fine?
I have used this code for near a year now on my server, no problems yet.
As far as I can see everything is stock, other script are running OK... I'm debugging now.
Do I need some extra packges on the server for the server itself or PHP maybe ?
At least it's good that it works from your side.
Last edited by Matts on 2008-07-27 19:10, edited 2 times in total.
Re: php serverpackage online creator
non of the code require any extra packages.
I noticed that I used short tags, so you can at least change <? to <?php
what server do you use? IIS/Apache? windows/linux?
I noticed that I used short tags, so you can at least change <? to <?php
what server do you use? IIS/Apache? windows/linux?
Re: php serverpackage online creator
Shorttags is indeed something that can be added, but still, that's no solution yet.
I run
Apache/2.2.8 (Unix)
PHP Version 5.2.5
As you can see linux.
It's really something I can't find out yet, I think we can come to something
I run
Apache/2.2.8 (Unix)
PHP Version 5.2.5
As you can see linux.
It's really something I can't find out yet, I think we can come to something
Re: php serverpackage online creator
so you tried with longtags?
My system is running a similar setup:
PHP Version 5.1.2
Server version: Apache/2.0.55
Server built: May 29 2006 01:52:53
Linux Debian based
php: safe_mode Off
php: short_open_tag On
looks like I will have to update my system soon
can you post your test variables?
$customPackage,$sfxPackage,$downloadFilename,$repeater,$ID,$password
My system is running a similar setup:
PHP Version 5.1.2
Server version: Apache/2.0.55
Server built: May 29 2006 01:52:53
Linux Debian based
php: safe_mode Off
php: short_open_tag On
looks like I will have to update my system soon
can you post your test variables?
$customPackage,$sfxPackage,$downloadFilename,$repeater,$ID,$password
Matts wrote:Shorttags is indeed something that can be added, but still, that's no solution yet.
I run
Apache/2.2.8 (Unix)
PHP Version 5.2.5
As you can see linux.
It's really something I can't find out yet, I think we can come to something
Re: php serverpackage online creator
If it ain't broken, don' t fix itthor918 wrote:so you tried with longtags?
My system is running a similar setup:
PHP Version 5.1.2
Server version: Apache/2.0.55
Server built: May 29 2006 01:52:53
Linux Debian based
php: safe_mode Off
php: short_open_tag On
looks like I will have to update my system soon
Maybe you miss some stuff, but I think you even don' t need it
Mh.. I use your package as stock, so.. like it's in the package you have it for download.
can you post your test variables?
$customPackage,$sfxPackage,$downloadFilename,$repeater,$ID,$password
What must I change in in your idea ?
/me is going to check the short/long tags further in the time between.
Re: php serverpackage online creator
oh yes. it should work even if the download package is changed. I just tried the 7z-content here. worked without any errors.
the code dosent report any errors with php shorttag support is turned off. it's just posts the whole php.file as it's suppose to do.(I was thinking for a moment that it returned an error)
hmm. the only thing I can recommend is to try, commenting out line by line from the bottom and upwards till you see a change in error code.
the code dosent report any errors with php shorttag support is turned off. it's just posts the whole php.file as it's suppose to do.(I was thinking for a moment that it returned an error)
hmm. the only thing I can recommend is to try, commenting out line by line from the bottom and upwards till you see a change in error code.
Last edited by thor918 on 2008-07-27 20:52, edited 1 time in total.
Re: php serverpackage online creator
I have tried that, if comment the the following line out, I get output of the configTXT in my browser:
header('Content-length: '. filesize($sfxPackage) + filesize($customPackage) + mb_strlen( $configTxt, '8bit') );
So, it echo' s it than, and something there is going wrong.
I was not able to see what goes wrong using var_dump and so on.
Thanks so far already, nice too see this progres.
header('Content-length: '. filesize($sfxPackage) + filesize($customPackage) + mb_strlen( $configTxt, '8bit') );
So, it echo' s it than, and something there is going wrong.
I was not able to see what goes wrong using var_dump and so on.
Thanks so far already, nice too see this progres.
Re: php serverpackage online creator
hmm strange...
what does these return?
on my server the total bytecount of the message using the stocked files and vars is this:
that header is required to have compability according to HTTP spesifications:
http://www.w3.org/Protocols/rfc2616/rfc ... tml#sec4.4
however I may have used another header that conflicts with this line.
as I recall that I struggled a little to have IE follow. there may be a header there just to suite IE :p
what does these return?
Code: Select all
echo filesize($sfxPackage)."<br>";
echo filesize($customPackage)."<br>";
echo mb_strlen( $configTxt, '8bit')."<br>";
Code: Select all
header('Content-length: 394935');
http://www.w3.org/Protocols/rfc2616/rfc ... tml#sec4.4
however I may have used another header that conflicts with this line.
as I recall that I struggled a little to have IE follow. there may be a header there just to suite IE :p
Re: php serverpackage online creator
I get the following:thor918 wrote:hmm strange...
what does these return?Code: Select all
echo filesize($sfxPackage)."<br>"; echo filesize($customPackage)."<br>"; echo mb_strlen( $configTxt, '8bit')."<br>";
98816
295946
170
Everything together makes indeed: 394932
This is weird if you ask me.
Re: php serverpackage online creator
OK, I managed to get it done, the Content-length: was not parsed right, so I ripped that part out and seperated it and made a variable of it.
works ok now
works ok now
Re: php serverpackage online creator
I don't need this at this moment, but this is really good stuff.
Re: php serverpackage online creator
can you post the code change (only the lines you changed)?Matts wrote:OK, I managed to get it done, the Content-length: was not parsed right, so I ripped that part out and seperated it and made a variable of it.
works ok now
so it was a number til string problem?
Re: php serverpackage online creator
Thanks!DrNo wrote:I don't need this at this moment, but this is really good stuff.
Re: php serverpackage online creator
Just place the stuff in the content length in a variable and place that variable in the content-lenght.thor918 wrote:can you post the code change (only the lines you changed)?Matts wrote:OK, I managed to get it done, the Content-length: was not parsed right, so I ripped that part out and seperated it and made a variable of it.
works ok now
so it was a number til string problem?
That's all.
Actually we also can check why the contentlength is not parsed right, so I know it's there, maybe we need to place it between () ?
Re: php serverpackage online creator
okey then.
it's most likly that php got confused by str, number and +
(perhaps newer php versions are more strict)
so perhaps it's just, like you say and pack the numbers in a ()
or we can have a variabel just for total byte count of the body message, like this
thanks for your input
it's most likly that php got confused by str, number and +
(perhaps newer php versions are more strict)
so perhaps it's just, like you say and pack the numbers in a ()
or we can have a variabel just for total byte count of the body message, like this
Code: Select all
$Contentlength = filesize($sfxPackage) + filesize($customPackage) + mb_strlen( $configTxt, '8bit');
header("Content-length: $Contentlength");
Matts wrote:Just place the stuff in the content length in a variable and place that variable in the content-lenght.thor918 wrote:can you post the code change (only the lines you changed)?Matts wrote:OK, I managed to get it done, the Content-length: was not parsed right, so I ripped that part out and seperated it and made a variable of it.
works ok now
so it was a number til string problem?
That's all.
Actually we also can check why the contentlength is not parsed right, so I know it's there, maybe we need to place it between () ?
Last edited by thor918 on 2008-07-28 08:43, edited 1 time in total.
Re: php serverpackage online creator
Indeed, that is what I do now, I thought to post it later on when I know for sure the way you made it will not work, some PHP guru's thought it also should work.thor918 wrote:okey then.
it's most likly that php got confused by str, number and +
(perhaps newer php versions are more strict)
so perhaps it's just, like you say and pack the numbers in a ()
or we can have a variabel just for total byte count of the body message, like thisCode: Select all
$Contentlength = filesize($sfxPackage) + filesize($customPackage) + mb_strlen( $configTxt, '8bit'); header("Content-length: $Contentlength");
Maybe you can check it when you upgraded your box
Re: php serverpackage online creator
if the code I posted above works for you, there is nothing to dwell about that code is more easier on the eyes to read, so I may change the original download with this change...
Thanks. one bug destroyed/avoided
Thanks. one bug destroyed/avoided
-
- Posts: 1
- Joined: 2009-07-24 11:37
- Contact:
Re: php serverpackage online creator
Thor918, I would apprecate if you can help me, your solution may be something I can maybe pay you for, could you drop me a PM or give me a contact email and perhaps we can help each other out?
Re: php serverpackage online creator
i share a portion of filemakers' interest. can you provide a working link for downloads?
-
- Posts: 6
- Joined: 2009-11-16 23:17
Re: php serverpackage online creator
Hi,
unfortunately the link is down
That would be great. Thanx a lot!
Regards,
scrooge313
unfortunately the link is down
Would anybody could be so kind to give me a working link?
That would be great. Thanx a lot!
Regards,
scrooge313