php-windows Digest 11 Jun 2003 18:39:37 -0000 Issue 1771

Topics (messages 20271 through 20276):

Win XP pro + Apache2 + php 4.3.2 config problem
        20271 by: FBN
        20272 by: FBN

how do i send a request by pressing a button
        20273 by: itai
        20274 by: Luis Ferro
        20276 by: erythros

escapeshellarg() that works for cmd.exe?
        20275 by: Jeff Stewart

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message --- Hi.
I have unpaked last php 4.3.2 zip dist over my old 4.3.1 directory tree.
I have copyed new dlls to windows/system32 directory and i have keeped my old php.ini file.
I have copied new php4ts.dll to windows/system32.


Now the problem... when i use php.exe all goes ok, but when i start apache2 (that use php4apache2.dll)
it fail and tell me


Unknown(): Unable to load dynamic library 'g:\driver\php\extensions\php_gd2.dll'


g:\driver\php\extensions\php_gd2.dll it's the right path and the php 4.3.1 load it fine.
What's the problem???


Thanks at all..
*FbN*®



--- End Message ---
--- Begin Message ---
opsss... i found the problem... apache was loading the old  php4ts.dll
now all it's right :)
excuseme :P


FBN wrote:


Hi.
I have unpaked last php 4.3.2 zip dist over my old 4.3.1 directory tree.
I have copyed new dlls to windows/system32 directory and i have keeped my old php.ini file.
I have copied new php4ts.dll to windows/system32.


Now the problem... when i use php.exe all goes ok, but when i start apache2 (that use php4apache2.dll)
it fail and tell me


Unknown(): Unable to load dynamic library 'g:\driver\php\extensions\php_gd2.dll'


g:\driver\php\extensions\php_gd2.dll it's the right path and the php 4.3.1 load it fine.
What's the problem???


Thanks at all..
*FbN*®






--- End Message ---
--- Begin Message ---
hi
i want to place a button on my home page which will create
a file on the server when pressed, how can i do it?
the button should call a php file or something but no new windows should
open and no refresh shuld be done on the site.
thanks

--
+Email: [EMAIL PROTECTED]



--- End Message ---
--- Begin Message --- You have a load of options but all depend on either frames, iframes or url's or anything that has the ability to call a file from the server like flash, java and the like... You need a technology that allows you to transpose from the client-side - the browser - to the server side - the php page.

With frames, you can point a form submit button to a page that opens the php file that creates the file on the server and then presents the success and or insuccess of it.

With iframes, you can use javascript to change the source document of the iframe to the same php file. The same goes to replace the source of an image (which can be changed to the same page, if the page in the end sends correctly an image).

With java and flash you can do the same... In flash for instance, you can either process it directly by making the button a flash file, or using javascript to order flash to do get the php page (and thrus creating your file)...

There are much more options ;)

Cheers,
Luis Ferro



itai wrote:

hi
i want to place a button on my home page which will create
a file on the server when pressed, how can i do it?
the button should call a php file or something but no new windows should
open and no refresh shuld be done on the site.
thanks

--
+Email: [EMAIL PROTECTED]








--- End Message ---
--- Begin Message ---
you don't need frames to do this with php. just have the form submit to the
current page. that'll reload the page and trigger the php. depending on how
big a script your talking this can be done very easily with minimal
distraction the user.

"Luis Ferro" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> You have a load of options but all depend on either frames, iframes or
> url's or anything that has the ability to call a file from the server
> like flash, java and the like... You need a technology that allows you
> to transpose from the client-side - the browser - to the server side -
> the php page.
>
> With frames, you can point a form submit button to a page that opens the
> php file that creates the file on the server and then presents the
> success and or insuccess of it.
>
> With iframes, you can use javascript to change the source document of
> the iframe to the same php file. The same goes to replace the source of
> an image (which can be changed to the same page, if the page in the end
> sends correctly an image).
>
> With java and flash you can do the same... In flash for instance, you
> can either process it directly by making the button a flash file, or
> using javascript to order flash to do get the php page (and thrus
> creating your file)...
>
> There are much more options ;)
>
> Cheers,
> Luis Ferro
>
>
>
> itai wrote:
>
> >hi
> >i want to place a button on my home page which will create
> >a file on the server when pressed, how can i do it?
> >the button should call a php file or something but no new windows should
> >open and no refresh shuld be done on the site.
> >thanks
> >
> >--
> >+Email: [EMAIL PROTECTED]
> >
> >
> >
> >
> >
>
>



--- End Message ---
--- Begin Message ---
I'm finding that escapeshellarg() doesn't protect against malicious strings
used against Windows' shell, cmd.exe.  Is there a function in PHP for
escaping strings according to the Windows shell's rules?

--
Jeff S.



--- End Message ---

Reply via email to