Mombu the Php Forum

Go Back   Mombu the Php Forum > Php > Question regarding linking PHP Parser library into my private Http server
User Name
Password
REGISTER NOW! Mark Forums Read




Reply
1 3rd November 18:27
talyanevo
External User
 
Posts: 1
Default Question regarding linking PHP Parser library into my private Http server



Hi,

I am porting my software from Linux to µC/OS-II OS.
On Linux I ran the Boa Web server with PHP.
The µC/OS-II has a basic open source Http Server that does not support PHP or CGI.

What I was able to do - is from the Http server, each time an http request is received, call using 'System' function the PHP interpreter program (like from cli) with input the requested page.
This seams to basically work but it is not efficient at all.

What I would like to do is to link the Http Server to the basic PHP parser library and call the 'parse' function each time the server gets an http request.

Is this possible?
Does anyone know how to do this - which library to link to, which function to call, maybe an example.

Thanks for your help.

Talya Nevo
talya.nevo@celeno.com
  Reply With Quote


 


2 3rd November 18:27
quickshiftin
External User
 
Posts: 1
Default Question regarding linking PHP Parser library into my private Http server



though i have not interacted with them, i suspect this question may be
better received on the internals list.

-nathan
  Reply With Quote


 


3 4th November 09:57
quickshiftin
External User
 
Posts: 1
Default Question regarding linking PHP Parser library into my private Http server


or maybe something more lean like lighttpd would be a bit easier.
(it supports php via cgi and optionally fastcgi)

-nathan
  Reply With Quote
4 8th November 19:09
sunnrunner
External User
 
Posts: 1
Default - forbidden error 403 - XML request error


Hello,

Any help would be immensely appreciated.

Clicking on the Image upload button > browse server button

I get

Forbidden error 403 - XML request error -

You don't have permission to access
/fckeditor/editor/filemanager/browser/default/browser.html on this server.

Apache/1.3.39 Ben-SSL/1.57
Php 4.3

Googled it but can't find anything that works. Permissions are set properly.
We've even tried opening everything up to the world and it still throws an
error.

File image upload works just fine.

Thanks ahead.

T
  Reply With Quote
5 8th November 19:09
parasane
External User
 
Posts: 1
Default - forbidden error 403 - XML request error


If that error message is correct, you installed fckeditor in the
root directory. I can't think of a single Good Reason[tm] for doing
this, but I can think of several reasons (security being paramount)
why it's a Bad Idea[tm].

--
Daniel P. Brown
[Phone Numbers Go Here!]
[They're Hidden From View!]

If at first you don't succeed, stick to what you know best so that you
can make enough money to pay someone else to do it for you.
  Reply With Quote
6 8th November 19:09
lists
External User
 
Posts: 1
Default - forbidden error 403 - XML request error


Could be a jailed apache install

--
Jim Lucas

"Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them."

Twelfth Night, Act II, Scene V
by William Shakespeare
  Reply With Quote
7 9th November 00:45
sunnrunner
External User
 
Posts: 1
Default - forbidden error 403 - XML request error


Thanks Jim,

Turned out to be mod security. Geezus

Thanks again

-----Original Message-----
From: Jim Lucas [mailto:lists@cmsws.com]
Sent: Tuesday, January 08, 2008 6:23 PM
To: Daniel Brown
Cc: TS; php-general@lists.php.net
Subject: Re: [php] [FCK 2.5.1] - forbidden error 403 - XML request error

Could be a jailed apache install

--
Jim Lucas

"Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them."

Twelfth Night, Act II, Scene V
by William Shakespeare
  Reply With Quote
8 9th November 00:45
parasane
External User
 
Posts: 1
Default - forbidden error 403 - XML request error


Touche, salesman.

I was thinking too one-dimensionally. Good call. --
</Dan>

Daniel P. Brown
Senior Unix Geek and #1 Rated "Year's Coolest Guy" By Self Since 1979.
  Reply With Quote
Reply


Thread Tools
Display Modes




666