FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Php Include bug in firefox
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Php Include bug in firefox [message #169573 is a reply to message #169569] Sat, 18 September 2010 09:12 Go to previous messageGo to previous message
Denis McMahon is currently offline  Denis McMahon
Messages: 634
Registered: September 2010
Karma:
Senior Member
On 18/09/10 03:05, GarryJones wrote:
> Is there another way of including a secondary file to a first?
>
> I have just started to use ajax, it loads in php pages that are
> written on the server.
>
> My ajax script is at the bottom of this for info only, there is not
> problem with the ajax code, it works perfectly except for one little
> problem caused by php.
>
> One of the documents I am reading from the server calls another file
> with php like this.
>
> <? include ("ct04a.php") ?>
>
> This works on msie. This does not work on firefox!!

What makes you think that this is the problem with firefox?

Incidentally, although

<? php_statement(s) ?>

may work on some web servers (and at this point, it's being interpreted
by the web server, not the browser) the recommended use is:

<?php php_statement(s) ?>

> Is the problem a bug in php or ajax or javascript?

If the php include is not working for firefox, the issue is something
obscure in your webserver configuration, as it seems it is looking at
the user agent and conditionally processing the include statement for
some reason.

> Is there another php command that I can test to include a secondary
> php file

Nope, but to be honest, nothing you've posted so far convinces me that
the php include isn't working. It sounds more like your javascript isn't
working with firefox, and that would be an issue for a javascipt
newsgroup or forum, not a php one.

[deleted javascript code]

Do you have a url we could look at to see the problem? That often helps.

Rgds

Denis McMahon
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: @sessionstart()
Next Topic: Advanced SQL injection complete tool pack(tutorials,scanners,admin finder,shells,md5)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Sep 27 17:24:46 GMT 2024

Total time taken to generate the page: 0.07335 seconds